arrow
返回

Towards characterizing bug fixes through dependency-level changes in Apache Java open source projects

delete2022-06-10
delete2
PRE
AI
D
Di Cui
L
Lingling Fan
S
Sen Chen
Y
Yuanfang Cai
Q
Qinghua Zheng
刘
刘洋 (Yang Liu)
刘烃 封面图
刘烃 (Ting Liu) *
DOI:10.1007/s11432-020-3317-2delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The complexity and diversity of bug fixes require developers to understand bug fixes from multiple perspectives in addition to fine-grained code changes. The dependencies among files in a software system are an important dimension to inform software quality. Recent studies have revealed that most bug-prone files are always architecturally connected with dependencies, and as one of the best practices in the industry, changes in dependencies should be avoided or carefully made during bug fixing. Hence, in this paper, we take the first attempt to understand bug fixes from the dependencies perspective, which can complement existing code change perspectives. Based on this new perspective, we conducted a systematic and comprehensive study on bug fixes collected from 157 Apache open source projects, involving 140456 bug reports and 182621 bug fixes in total. Our study results show that a relatively high proportion of bug fixes (30%) introduce dependency-level changes when fixing the corresponding 33% bugs. The bugs, whose fixes introduce dependency-level changes, have a strong correlation with high priority, large fixing churn, long fixing time, frequent bug reopening, and bug inducing. More importantly, patched files with dependency-level changes in their fixes, consume much more maintenance costs compared with those without these changes. We further summarized three representative patch patterns to explain the reasons for the increasing costs. Our study unveils useful findings based on qualitative and quantitative analysis and also provides new insights that might benefit existing bug prediction techniques. We release a large set of benchmarks and also implement a prototype tool to automatically detect dependency-level changes from bug fixes, which can warn developers and remind them to design a better fix.
Keyword:
empirical software engineering
software maintenance
software evolution
software architecture
software design

期刊

Science China Information Sciences 封面图
Science China Information Sciences
IF:
7.6
论文数:
4.9K
被引数:
8.9K

机构

D
Drexel University
学者数:
1.3W
论文数: 1.1W
被引数: 2.2W
X
xi'an jiaotong university
学者数:
9.3W
论文数: 6.7W
被引数: 75
T
tianjin university
学者数:
8.0W
论文数: 5.8W
被引数: 88
N
Nanyang Technological University
学者数:
4.9W
论文数: 4.8W
被引数: 8.1W
N
nankai university
学者数:
4.8W
论文数: 3.3W
被引数: 74
学者 查看更多机构
引用论文

引用论文

The Gugging Swallowing Screen: A contribution to the cultural and linguistic validationfor the Portuguese context
err2018-03-20
err0
errOAAI
errAlexandra Ferreira; Ludmila Pierdevara; Inês Ventura; Amélia Gracias; Jorge Marques; Maria Reis
err分享
err收藏
The Role of the Nurse Practitioner and Asymptomatic Urinary Treatments
err2015-10-01
err0
errOAAI
errLeslie E. Morrison-Pandy; Carl A. Ross; Dianxu Ren; Linda Garand
err分享
err收藏
A Framework for Evaluating the Results of the SZZ Approach for Identifying Bug-Introducing Changes
err2017-07-01
err139
PREAI
errda Costa, Daniel Alencar; McIntosh, Shane; Shang, Weiyi; Kulesza, Uira; Coelho, Roberta; Hassan, Ahmed E.
err分享
err收藏
Pain with no cause! Nurses′ perception
err2012-01-01
err0
errOAAI
errGeetha Desai; SantoshK Chaturvedi
err分享
err收藏
A Qualitative and Quantitative Comparison of Two Rubella Virus-Specific IgG Antibody Immunoassays
err2010-08-01
err0
PREAI
errNicholas P. Greenwood; Inna G. Ovsyannikova; Robert A. Vierkant; Megan M. O'Byrne; Gregory A. Poland
err分享
err收藏
Fine-grained just-in-time defect prediction细粒度的及时缺陷预测
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
err分享
err收藏
Perspectives of low-income chronically ill patients on complex care management.
err2017-12-01
err0
errOAAI
errAlice Y. Mao; Rachel Willard-Grace; Leslie Dubbin; Louise Aronson; Alicia Fernandez; Nancy J. Burke; Julia Finch; Elizabeth Davis
err分享
err收藏
学者 查看更多内容