Why do developers use trivial packages? an empirical case study on npm
The DOI matches its Crossref record; 3 of the 3 references it cites were found in a registry or an index.
Abstract
Code reuse is traditionally seen as good practice. Recent trends have pushed the concept of code reuse to an extreme, by using packages that implement simple and trivial tasks, which we call `trivial packages'. A recent incident where a trivial package led to the breakdown of some of the most popular web applications such as Facebook and Netflix made it imperative to question the growing use of trivial packages.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Five misunderstandings about case-study research
Flyvbjerg, B. (2006) · Qualitative Inquiry · doi:10.1177/1077800405284363 · Cited by 14,266 · cited 1×
“That said, historical evidence shows that examples of individual cases contributed significantly in areas such as physics, economics, social sciences and even software engineering [19].”
BackgroundFleiss, J. L., & Cohen, J. (1973) · Educational and Psychological Measurement · doi:10.1177/001316447303300309 · Cited by 3,354
Code Reuse in Open Source Software
Haefliger, S., von Krogh, G., & Spaeth, S. (2008) · Management Science · doi:10.1287/mnsc.1070.0748 · Cited by 333
Cited by
An empirical comparison of dependency network evolution in seven software packaging ecosystems
Decan, A., Mens, T., & Grosjean, P. (2019) · Empirical Software Engineering · doi:10.1007/s10664-017-9589-y · Cited by 259
(2018) · doi:10.1145/3180155.3180209 · Cited by 98
“The npm community is generally considered innovation friendly, frequently adopts external packages, values making it easy to contribute and publish packages, and shows a healthy competition between multiple equivalent packages to solve any single problem [1, 11, 22, 61].”
BackgroundSelecting third-party libraries: the practitioners’ perspective
Larios Vargas, E., Aniche, M., Treude, C., Bruntink, M., & Gousios, G. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3409711 · Cited by 84
“We also see works that focus on specific programming languages or software ecosystems (e.g. JavaScript [22], Android and Python [26], Java [10], Nodejs [1]).”
BackgroundInfluentialAn Empirical Study of Pre-Trained Model Reuse in the Hugging Face Deep Learning Model Registry
Jiang, W., Synovic, N., Hyatt, M., Schorlemmer, T. R., Sethi, R., Lu, Y.-H., Thiruvathukal, G. K., & Davis, J. C. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00206 · Cited by 76
What are the characteristics of highly-selected packages? A case study on the npm ecosystem
Mujahid, S., Abdalkareem, R., & Shihab, E. (2023) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111588 · Cited by 16
Self-citationModeling interconnected social and technical risks in open source software ecosystems
Schueller, W., & Wachs, J. (2024) · Collective Intelligence · doi:10.1177/26339137241231912 · Cited by 13
Metadata
- Authors
- Abdalkareem, R., Nourry, O., Wehaibi, S., Mujahid, S., & Shihab, E.
- Venue
- Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2017-08-21
- Pages
- 385-395
- OpenAlex
- W2740279154
- Cited by
- 151
- References
- 3
- FWCI
- 8.68
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.