arrow
Return

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
Yuanfang Cai cover
Yuanfang Cai (Yuanfang Cai)
Q
Qinghua Zheng
刘洋 cover
刘洋 (Yang Liu)
刘烃 cover
刘烃 (Ting Liu) *
DOI:10.1007/s11432-020-3317-2delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
empirical software engineering
software maintenance
software evolution
software architecture
software design
Multilingual Source Code Analysis: A Systematic Literature Review
err2017-01-01
err19
errOAAI
errMushtaq, Zaigham; Rasool, Ghulam; Shehzad, Balawal
errShare
errSave
Measuring the Impact of Code Dependencies on Software Architecture Recovery Techniques
err2018-02-01
err56
errOAAI
errLutellier, Thibaud; Chollak, Devin; Garcia, Joshua; Tan, Lin; Rayside, Derek; Medvidovic, Nenad; Kroeger, Robert
errShare
errSave
errShare
errSave
Pythonic vs Refactorable Pythonic: On the relationship between Pythonic idioms and code quality in machine learning projects
err2026-01-16
err0
errOAAI
errGerardo Festa; Giammaria Giordano; Valeria Pontillo; Massimiliano Di Penta; Damian A. Tamburri; Fabio Palomba
errShare
errSave
errShare
errSave
On the adoption and effects of source code reuse on defect proneness and maintenance effort
err2023-12-12
err1
errOAAI
errGiordano, Giammaria; Festa, Gerardo; Catolino, Gemma; Palomba, Fabio; Ferrucci, Filomena; Gravino, Carmine
errShare
errSave

Journal

Science China Information Sciences cover
Science China Information Sciences
IF:
7.6
Papers:
4.9K
Citations:
1.2W

Organization

N
nanyang technological university
Scholars:
4.5K
Papers: 2.1K
Citations: 5.3W
Tianjin University cover
Tianjin University
Scholars:
9.3K
Papers: 2.7K
Citations: 4.7W
Nankai University cover
Nankai University
Scholars:
4.2K
Papers: 1.3K
Citations: 2.8W
Xi'an Jiaotong University cover
Xi'an Jiaotong University
Scholars:
1.1W
Papers: 3.1K
Citations: 5.5W
D
drexel university
Scholars:
529
Papers: 214
Citations: 9.6K
researcher View more organizations
Cited Papers

Cited Papers

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
errShare
errSave
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
errShare
errSave
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.
errShare
errSave
Pain with no cause! Nurses′ perception
err2012-01-01
err0
errOAAI
errGeetha Desai; SantoshK Chaturvedi
errShare
errSave
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
errShare
errSave
Fine-grained just-in-time defect prediction
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
errShare
errSave
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
errShare
errSave
researcher View more