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
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
活泼若烟完成签到 ,获得积分10
刚刚
1秒前
1秒前
1秒前
阿牛奶发布了新的文献求助10
2秒前
2秒前
hjy发布了新的文献求助10
2秒前
2秒前
科研通AI2S应助执笔采纳,获得10
2秒前
桐桐应助超级的爆米花采纳,获得30
3秒前
3秒前
ywl发布了新的文献求助10
3秒前
4秒前
传奇3应助李会琳采纳,获得10
4秒前
徐小慢发布了新的文献求助10
4秒前
正直的香薇完成签到,获得积分20
4秒前
xide发布了新的文献求助10
5秒前
康康发布了新的文献求助10
5秒前
5秒前
5秒前
6秒前
6秒前
7秒前
dream发布了新的文献求助10
7秒前
hefang完成签到,获得积分10
8秒前
Carhao应助感动花卷采纳,获得10
8秒前
能干大树完成签到,获得积分10
8秒前
搜集达人应助YUKIii采纳,获得10
9秒前
Zoe发布了新的文献求助10
9秒前
9秒前
wyr发布了新的文献求助10
10秒前
麻辣小龙虾完成签到,获得积分10
10秒前
贪玩绮菱发布了新的文献求助10
10秒前
10秒前
11秒前
11秒前
ywl完成签到,获得积分10
11秒前
nenoaowu应助畅快的枫采纳,获得30
11秒前
12秒前
12秒前
高分求助中
Smart but Scattered: The Revolutionary Executive Skills Approach to Helping Kids Reach Their Potential (第二版) 1000
PraxisRatgeber: Mantiden: Faszinierende Lauerjäger 700
The Heath Anthology of American Literature: Early Nineteenth Century 1800 - 1865 Vol. B 500
A new species of Velataspis (Hemiptera Coccoidea Diaspididae) from tea in Assam 500
Machine Learning for Polymer Informatics 500
2024 Medicinal Chemistry Reviews 480
Women in Power in Post-Communist Parliaments 450
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 基因 遗传学 催化作用 物理化学 免疫学 量子力学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 3222736
求助须知:如何正确求助?哪些是违规求助? 2871510
关于积分的说明 8175845
捐赠科研通 2538464
什么是DOI,文献DOI怎么找? 1370613
科研通“疑难数据库(出版商)”最低求助积分说明 645818
邀请新用户注册赠送积分活动 619700