The Emergence of Software Diversity in Maven Central

César Soto-Valero, Amine Benelallam, Nicolas Harrand, Olivier Barais, Benoit Baudry
3/13/2019
38 citations
cs.SE

Official code: castor-software/oss-graph-metrics (5 stars, Jupyter Notebook, last commit 2019-10-21). 1 more implementation below.

Abstract

Maven artifacts are immutable: an artifact that is uploaded on Maven Central cannot be removed nor modified. The only way for developers to upgrade their library is to release a new version.

Show full abstract

Consequently, Maven Central accumulates all the versions of all the libraries that are published there, and applications that declare a dependency towards a library can pick any version. In this work, we hypothesize that the immutability of Maven artifacts and the ability to choose any version naturally support the emergence of software diversity within Maven Central. We analyze 1,487,956 artifacts that represent all the versions of 73,653 libraries. We observe that more than 30% of libraries have multiple versions that are actively used by latest artifacts. In the case of popular libraries, more than 50% of their versions are used. We also observe that more than 17% of libraries have several versions that are significantly more used than the other versions. Our results indicate that the immutability of artifacts in Maven Central does support a sustained level of diversity among versions of libraries in the repository.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
castor-software/oss-graph-metricsOfficial5Jupyter Notebook–2019-10-21
cesarsotovalero/msr-2019Official0HTML–2021-11-11

Tools to mine and compute metrics on OSS software.

53Jupyter Notebook, HTMLMar 11, 20197 years ago

Supplementary material for the paper: "The Emergence of Software Diversity in Maven Central", published in MSR-2019

00HTMLJan 21, 20195 years ago

Similar Papers

Cite this paper

@article{sotovalero2019emergence,
  title  = {The Emergence of Software Diversity in Maven Central},
  author = {César Soto-Valero and Amine Benelallam and Nicolas Harrand and Olivier Barais and Benoit Baudry},
  year   = {2019},
  eprint = {1903.05394},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.05394}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.05394.svg)](https://codeofpaper.com/paper/1903.05394)

Discussion