Publication Type
Journal Article
Version
publishedVersion
Publication Date
7-2023
Abstract
The risk to using third-party libraries in a software application is that much needed maintenance is solely carried out by library maintainers. These libraries may rely on a core team of maintainers (who might be a single maintainer that is unpaid and overworked) to serve a massive client user-base. On the other hand, being open source has the benefit of receiving contributions (in the form of External PRs) to help fix bugs and add new features. In this paper, we investigate the role by which External PRs (contributions from outside the core team of maintainers) contribute to a library. Through a preliminary analysis, we find that External PRs are prevalent, and just as likely to be accepted as maintainer PRs. We find that 26.75% of External PRs submitted fix existing issues. Moreover, fixes also belong to labels such as breaking changes, urgent, and on-hold. Differently from Internal PRs, External PRs cover documentation changes (44 out of 384 PRs), while not having as much refactoring (34 out of 384 PRs). On the other hand, External PRs also cover new features (380 out of 384 PRs) and bugs (120 out of 384 PRs). Our results lay the groundwork for understanding how maintainers decide which external contributions they select to evolve their libraries and what role they play in reducing the workload.
Keywords
Third-party libraries, Pull Requests, OSS sustainability, Software Ecosystem
Discipline
Software Engineering
Research Areas
Software and Cyber-Physical Systems
Publication
Empirical Software Engineering
Volume
28
Issue
4
First Page
1
Last Page
23
ISSN
1382-3256
Identifier
10.1007/s10664-023-10315-w
Publisher
Springer
Citation
MAEPRASART, Vittunyuta; WATTANAKRIENGKRAI, Supatsara; KULA, Raula Gaikovina; TREUDE, Christoph; and MATSUMOTO, Kenichi.
Understanding the role of external pull requests in the NPM ecosystem. (2023). Empirical Software Engineering. 28, (4), 1-23.
Available at: https://ink.library.smu.edu.sg/sis_research/8797
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.1007/s10664-023-10315-w