arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.11031cs.SE
收藏

不是所有的bug都是一样的:理解,描述和分类bug的根本原因

Not All Bugs Are the Same: Understanding, Characterizing, and Classifying the Root Cause of Bugs

Gemma Catolino, Fabio Palomba, Andy Zaidman, Filomena Ferrucci

摘要:

现代版本控制系统,如Git或SVN,包括bug跟踪机制,通过该机制,开发人员可以通过bug报告突出bug的存在,即,报告问题的文本描述以及导致失败的步骤。在过去和最近几年,研究界深入研究了简化bug分类的方法,即将报告的bug的修复分配给最合格的开发人员的过程。然而,只有少数研究报告了如何支持开发人员理解报告的错误类型,这是在分配错误修复操作之前执行的第一个也是最耗时的步骤。在本文中,我们从两个方面来解决这个问题:首先,我们分析了119个流行项目的1,280个bug报告,这些项目属于Mozilla、Apache和Eclipse等三个生态系统,目的是建立报告bug的根本原因的分类法;然后,我们设计并评估了一个自动分类模型,该模型能够根据定义的分类法对报告的bug进行分类。结果,我们发现了所考虑系统中错误的九个主要常见根本原因。此外,我们的模型实现了较高的F-Measure和AUC-ROC(总体上分别为64%和74%)。

英文摘要:

Modern version control systems such as Git or SVN include bug tracking mechanisms, through which developers can highlight the presence of bugs through bug reports, i.e., textual descriptions reporting the problem and what are the steps that led to a failure. In past and recent years, the research community deeply investigated methods for easing bug triage, that is, the process of assigning the fixing of a reported bug to the most qualified developer. Nevertheless, only a few studies have reported on how to support developers in the process of understanding the type of a reported bug, which is the first and most time-consuming step to perform before assigning a bug-fix operation. In this paper, we target this problem in two ways: first, we analyze 1,280 bug reports of 119 popular projects belonging to three ecosystems such as Mozilla, Apache, and Eclipse, with the aim of building a taxonomy of the root causes of reported bugs; then, we devise and evaluate an automated classification model able to classify reported bugs according to the defined taxonomy. As a result, we found nine main common root causes of bugs over the considered systems. Moreover, our model achieves high F-Measure and AUC-ROC (64% and 74% on overall, respectively).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑