Published January 31, 2021 | Version v1
Dataset Open

Replication Package: Towards Using Package Centrality Trend to Identify Packages in Decline

Authors/Creators

Description

Due to its increasing complexity, today’s software systems are frequently built by leveraging reusable code in the form of libraries and packages. Software ecosystems (e.g., npm) are the primary enablers of this code reuse, providing developers with a platform to share their own and use others’ code. These ecosystems evolve rapidly: developers add new packages every day to solve new problems or provide alternative solutions, causing obsolete packages to decline in their importance to the community. Developers should avoid depending on packages in decline, as these packages are reused less over time and may become less frequently maintained. However, current popularity metrics are not fit to provide this information to developers.

In this paper, we propose a scalable approach that uses the package’s centrality in the ecosystem to identify packages in decline. We evaluate our approach with the npm ecosystem and show that the trends of centrality over time can correctly distinguish packages in decline with an ROC-AUC of 0.9. The approach can capture 87% of the packages in decline, on average 18 months before the trend is shown in currently used package popularity metrics. We implement this approach in a tool that can be used to augment npms metrics and help developers avoid packages in decline when reusing packages from npm.

Files

data.zip

Files (6.0 GB)

Name Size Download all
md5:667a64986cddce925c7595bb0ddc242a
6.0 GB Preview Download
md5:9fdacfdafc6af79d63baac9e8d0ee4a6
78.0 kB Preview Download