An Empirical Study of Usages, Updates and Risks of Third-Party Libraries in Java Projects
Ying Wang, Bihuan Chen, Kaifeng Huang, Bowen Shi, Congying Xu, Xin, Peng, Yang Liu, Yijian Wu

TL;DR
This study analyzes how Java developers use, update, and manage risks associated with third-party libraries, revealing outdated usage patterns and proposing a bug-driven alerting system to enhance library maintenance and ecosystem sustainability.
Contribution
It provides a comprehensive empirical analysis of third-party library usage, updates, and risks in Java projects, and introduces a bug-driven alerting system for better library management.
Findings
High prevalence of outdated libraries in Java projects
Significant delays in updating third-party libraries
Potential risks from outdated libraries identified
Abstract
Third-party libraries are a central building block to develop software systems. However, outdated third-party libraries are commonly used, and developers are usually less aware of the potential risks. Therefore, a quantitative and holistic study on usages, updates and risks of third-party libraries can provide practical insights to improve the ecosystem sustainably. In this paper, we conduct such a study in the Java ecosystem. Specifically, we conduct a library usage analysis (e.g., usage intensity and outdatedness) and a library update analysis (e.g., update intensity and delay) using 806 open-source projects. The two analyses aim to quantify usage and update practices holistically from the perspective of both open-source projects and third-party libraries. Then, we conduct a library risk analysis (e.g., potential risk and developer response) in terms of bugs with 15 popularly-used…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Advanced Malware Detection Techniques · Software System Performance and Reliability
