arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1010.4092cs.SE
收藏

通过挖掘Bug报告预测Bug的组成部分

Predicting Bugs' Components via Mining Bug Reports

Deqing Wang, Hui Zhang, Rui Liu, Mengxiang Lin, Wenjun Wu, Hongping Hu

摘要:

复杂软件中的bug报告数量急剧增加。现在bug是手动分类的,bug分类或分配是一项劳动密集型和耗时的任务。在不了解软件结构的情况下,测试人员经常错误地指定新bug的组件。同时,故障诊断人员很难仅通过描述来确定故障的组成部分。我们在Eclipse Bug项目中挖掘出28,829个Bug的组件被错误指定并至少修改过一次。这导致这些错误必须重新分配,并延迟了错误修复的过程。错误指定的bug的平均修复时间比正确指定的bug的平均修复时间长。为了自动解决这个问题,我们使用历史的固定的错误报告作为训练语料库,并建立基于支持向量机和朴素贝叶斯分类器来预测一个新的错误的组件。在Eclipse项目的验证语料上,最佳预测准确率达到81.21%。平均而言,我们的预测模型可以为Triagers和开发人员节省大约54.3天的时间来修复bug。关键词:错误报告;错误分类;文本分类;预测模型

英文摘要:

The number of bug reports in complex software increases dramatically. Now bugs are triaged manually, bug triage or assignment is a labor-intensive and time-consuming task. Without knowledge about the structure of the software, testers often specify the component of a new bug wrongly. Meanwhile, it is difficult for triagers to determine the component of the bug only by its description. We dig out the components of 28,829 bugs in Eclipse bug project have been specified wrongly and modified at least once. It results in these bugs have to be reassigned and delays the process of bug fixing. The average time of fixing wrongly-specified bugs is longer than that of correctly-specified ones. In order to solve the problem automatically, we use historical fixed bug reports as training corpus and build classifiers based on support vector machines and Naïve Bayes to predict the component of a new bug. The best prediction accuracy reaches up to 81.21% on our validation corpus of Eclipse project. Averagely our predictive model can save about 54.3 days for triagers and developers to repair a bug. Keywords: bug reports; bug triage; text classification; predictive model

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

↑