A Longitudinal Analysis of Bloated Java Dependencies

César Soto-Valero, Thomas Durieux, Benoit Baudry
5/29/2021
cs.SE

Official code: ASSERT-KTH/longitudinal-bloat (6 stars, MIT, last commit 2021-06-23).

Abstract

We study the evolution and impact of bloated dependencies in a single software ecosystem: Java/Maven. Bloated dependencies are third-party libraries that are packaged in the application binary but are not needed to run the application.

Show full abstract

We analyze the history of 435 Java projects. This historical data includes 48,469 distinct dependencies, which we study across a total of 31,515 versions of Maven dependency trees. Bloated dependencies steadily increase over time, and 89.02% of the direct dependencies that are bloated remain bloated in all subsequent versions of the studied projects. This empirical evidence suggests that developers can safely remove a bloated dependency. We further report novel insights regarding the unnecessary maintenance efforts induced by bloat. We find that 22% of dependency updates performed by developers are made on bloated dependencies and that Dependabot suggests a similar ratio of updates on bloated dependencies.

View on arXivView PDF

Code Implementations(1)

MIT

Datasets and artifacts for the paper "A Longitudinal Analysis of Bloated Java Dependencies"

62Feb 23, 20215 years agoMIT
artifactdatasetdependenciesfsejava+1 more

Similar Papers

Cite this paper

@article{sotovalero2021longitudinal,
  title  = {A Longitudinal Analysis of Bloated Java Dependencies},
  author = {César Soto-Valero and Thomas Durieux and Benoit Baudry},
  year   = {2021},
  eprint = {2105.14226},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14226}
}

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/2105.14226.svg)](https://codeofpaper.com/paper/2105.14226)

Discussion