arrow
返回

On Refining the SZZ Algorithm with Bug Discussion Data

delete2024-07-24
delete0
delete
OA
AI
P
Pooja Rani *
F
Fernando Petrulio
A
Alberto Bacchelli
DOI:10.1007/s10664-024-10511-2delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Context Researchers testing hypotheses related to factors leading to low-quality software often rely on historical data, specifically on details regarding when defects were introduced into a codebase of interest. The prevailing techniques to determine the introduction of defects revolve around variants of the SZZ algorithm. This algorithm leverages information on the lines modified during a bug-fixing commit and finds when these lines were last modified, thereby identifying bug-introducing commits. Objectives Despite several improvements and variants, SZZ struggles with accuracy, especially in cases of unrelated modifications or that touch files not involved in the introduction of the bug in the version control systems (aka tangled commit and ghost commits). Methods Our research investigates whether and how incorporating content retrieved from bug discussions can address these issues by identifying the related and external files and thus improve the efficacy of the SZZ algorithm. Results To conduct our investigation, we take advantage of the links manually inserted by Mozilla developers in bug reports to signal which commits inserted bugs. Thus, we prepared the dataset, RoTEB, comprised of 12,472 bug reports. We first manually inspect a sample of 369 bug reports related to these bug-fixing or bug-introducing commits and investigate whether the files mentioned in these reports could be useful for SZZ. After we found evidence that the mentioned files are relevant, we augment SZZ with this information, using different strategies, and evaluate the resulting approach against multiple SZZ variations. Conclusion We define a taxonomy outlining the rationale behind developers' references to diverse files in their discussions. We observe that bug discussions often mention files relevant to enhancing the SZZ algorithm's efficacy. Then, we verify that integrating these file references augments the precision of SZZ in pinpointing bug-introducing commits. Yet, it does not markedly influence recall. These results deepen our comprehension of the usefulness of bug discussions for SZZ. Future work can leverage our dataset and explore other techniques to further address the problem of tangled commits and ghost commits.
Keyword:
Software quality
Pull request
Empirical research
Taxonomy
SZZ algorithm
Bug-introducing commits
Mozilla
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

U
university of zurich
学者数:
5.1W
论文数: 4.0W
被引数: 65
引用论文

引用论文

err分享
err收藏
Evaluation of testicular germ cell tumor proliferation using DNA flow cytometry and nucleolar organizer silver staining
err2005-06-23
err0
errOAAI
errSoichiro Hasegawa; Kikuo Okamura; Toshio Shimoji; Koji Miyake; Yoshinori Yamakawa; Hirofumi Sakamoto
err分享
err收藏
Differences in the proteome of high-grade versus low-grade canine cutaneous mast cell tumours
err2012-11-01
err0
PREAI
errP. Schlieben; A. Meyer; C. Weise; A. Bondzio; R. Einspanier; A.D. Gruber; R. Klopfleisch
err分享
err收藏
Best Management Practices and Nutrient Reduction: An Integrated Economic-Hydrologic Model of the Western Lake Erie Basin
err2020-12-18
err0
errOAAI
errHongxing Liu; Wendong Zhang; Elena Irwin; Jeffrey Kast; Noel Aloysius; Jay Martin; Margaret Kalcic
err分享
err收藏
Programmed sample delivery on a pressurized paper
err2014-10-24
err0
errOAAI
errJoong Ho Shin; Juhwan Park; Seung Hoon Kim; Je-Kyun Park
err分享
err收藏
err分享
err收藏
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收藏
学者 查看更多内容