A Longitudinal Analysis of Bloated Java Dependencies

05/29/2021
by   César Soto Valero, et al.
0

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. 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 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 on bloated dependencies and that Dependabot suggests a similar ratio of updates on bloated dependencies.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset