Skip to main content
zenodoopen

Platform-Specific APIs

<p>This dataset was utilized in the research paper titled "Availability and Usage of Platform-Specific APIs: A First Empirical Study" for publication in &nbsp;Mining Software Repositories (MSR). Herein, we present a concise abstract of the study.</p> <p>A platform-specific API is an API implemented for a particular platform (e.g., operating system), therefore, it may not work on other platforms than the target one. In this paper, we propose a first empirical study to assess the availability and usage of platform-specific APIs. We analyze the platform-specific APIs provided by the Python Standard Library and mine their usage in 100 popular systems. We find that 21% of the Python Standard Library APIs are platform-specific and that 15% of the modules contain at least one. The platforms with the most availability restrictions are WASI (43.69%), Emscripten (43.64%), Unix (6,76%), and Windows (2.12%). Moreover, we find that platform-specific APIs are largely used in Python. We detect over 19K API usages in all 100 projects, in both production (52.6%) and test code (47.4%). We conclude by discussing practical implications for practitioners and researchers.</p> <p>&nbsp;</p> <p>For more information: <a href="https://dl.acm.org/doi/10.1145/3643991.3644925">https://dl.acm.org/doi/10.1145/3643991.3644925</a></p>

ShareScore

36/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
4
Harmonization
4
Access
20
Reuse readiness
8
Engagement
0

Dataset details

Repository
zenodo
Published
November 12, 2023
License
cc-by-4.0
DOI
10.5281/zenodo.10120106

Scored with release 0.9.0

ScienceDex for faculty

Your academic CV and NIH biosketch

Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.