An Empirical Study of Usages, Updates and Risks of Third-Party Libraries in Java Projects

Java 第三方 计算机科学 开源 万维网 软件 互联网隐私 程序设计语言
作者
Ying Wang,Bihuan Chen,Kaifeng Huang,Bowen Shi,Congying Xu,Xin Peng,Yijian Wu,Yang Liu
标识
DOI:10.1109/icsme46990.2020.00014
摘要

Third-party libraries play a key role in software development as they can relieve developers of the heavy burden of re-implementing common functionalities. However, third-party libraries and client projects evolve asynchronously. As a result, out-dated third-party libraries might be used in client projects while developers are not aware of the potential risk (e.g., security bug). Outdated third-party libraries may be updated in client projects in a delayed way, and developers may be less aware of the potential risk (e.g., API incompatibility) in updates. Developers of third-party libraries may be unaware of how their third-party libraries are used or updated in client projects. Therefore, a quantitative and holistic study on usages, updates and risks of third-party libraries in open-source projects can provide concrete evidences on these problems, and practical insights to improve the ecosystem. In this paper, we contribute such a study in Java ecosystem. In particular, we conduct a library usage analysis (e.g., usage intensity and outdatedness) and library update analysis (e.g., update intensity and delay) on 806 open-source projects and 13,565 third- party libraries. Then, we carry out a library risk analysis (e.g., usage risk and update risk) on 806 open-source projects and 544 security bugs. These analyses aim to quantify the usage and update practices and the potential risk of using and updating outdated third-party libraries with respect to security bugs from two holistic perspectives (i.e., open-source projects and third-party libraries). Our findings suggest practical implications to developers and researchers on problems and potential solutions in maintaining third-party libraries (e.g., smart alerting and automated updating of outdated third-party libraries). To indicate the usefulness of our findings, we design a smart alerting system for assisting developers to make confident decisions when updating third-party libraries. 33 and 24 open-source projects have confirmed and updated third-party libraries after receiving our alerts.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小木子发布了新的文献求助10
1秒前
1秒前
1秒前
SciGPT应助xibei采纳,获得10
1秒前
2秒前
小二郎应助科研通管家采纳,获得20
2秒前
xubobo发布了新的文献求助10
2秒前
星辰大海应助科研通管家采纳,获得10
2秒前
顾矜应助科研通管家采纳,获得10
2秒前
大模型应助科研通管家采纳,获得10
2秒前
FashionBoy应助科研通管家采纳,获得10
2秒前
Orange应助科研通管家采纳,获得10
2秒前
领导范儿应助科研通管家采纳,获得50
3秒前
qingmoheng应助科研通管家采纳,获得10
3秒前
NGU发布了新的文献求助10
3秒前
wxyshare应助科研通管家采纳,获得10
3秒前
Zyc完成签到,获得积分10
3秒前
研友_VZG7GZ应助科研通管家采纳,获得10
3秒前
浮游应助科研通管家采纳,获得10
3秒前
传奇3应助科研通管家采纳,获得10
3秒前
3秒前
iNk应助早睡采纳,获得20
3秒前
浮游应助科研通管家采纳,获得10
3秒前
wxyshare应助科研通管家采纳,获得10
3秒前
浮游应助科研通管家采纳,获得10
3秒前
科研通AI6应助科研通管家采纳,获得10
3秒前
领导范儿应助科研通管家采纳,获得10
3秒前
3秒前
3秒前
华仔应助科研通管家采纳,获得30
3秒前
Jasper应助科研通管家采纳,获得10
4秒前
香蕉觅云应助科研通管家采纳,获得10
4秒前
英俊的铭应助科研通管家采纳,获得20
4秒前
彭于晏应助科研通管家采纳,获得10
4秒前
wxyshare应助科研通管家采纳,获得10
4秒前
乌拉拉发布了新的文献求助10
4秒前
浮游应助科研通管家采纳,获得10
4秒前
NexusExplorer应助科研通管家采纳,获得10
4秒前
完美世界应助科研通管家采纳,获得10
4秒前
bkagyin应助科研通管家采纳,获得10
4秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1001
The Antibodies, Vol. 2,3,4,5,6 1000
Clinical Microbiology Procedures Handbook, Multi-Volume, 5th Edition 1000
On the application of advanced modeling tools to the SLB analysis in NuScale. Part I: TRACE/PARCS, TRACE/PANTHER and ATHLET/DYN3D 500
L-Arginine Encapsulated Mesoporous MCM-41 Nanoparticles: A Study on In Vitro Release as Well as Kinetics 500
Virus-like particles empower RNAi for effective control of a Coleopteran pest 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5461185
求助须知:如何正确求助?哪些是违规求助? 4566221
关于积分的说明 14304031
捐赠科研通 4491948
什么是DOI,文献DOI怎么找? 2460543
邀请新用户注册赠送积分活动 1449837
关于科研通互助平台的介绍 1425582