arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.01274cs.SEcs.CLcs.LG
收藏

基于多文本信息和报告意图的缺陷报告自动分类

Automatic Classification of Bug Reports Based on Multiple Text Information and Reports' Intention

Northeast Electric Power University(东北电力大学)

Fanqi Meng, Xuesong Wang, Jingdong Wang, Peifang Wang

摘要:

随着软件规模和复杂性的快速增长,大量的缺陷报告被提交到缺陷跟踪系统中。为了加快缺陷修复,需要对这些报告进行准确分类,以便将其发送给相应的开发人员。然而,现有的分类方法只利用了bug报告的文本信息,导致分类性能低下。针对上述问题,提出了一种新的缺陷报告自动分类方法。创新之处在于,在对bug报告进行分类时,除了使用报告的文本信息外,还考虑了报告的意图(即建议或解释),从而提高了分类的性能。首先,我们从四个生态系统(Apache,Eclipse,Gentoo,Mozilla)收集错误报告,并手动注释它们以构建实验数据集。然后,我们使用自然语言处理技术对数据进行预处理。在此基础上,分别采用BERT和TF-IDF对文本的意图特征和多文本信息进行提取。最后,特征被用来训练分类器。在K-近邻分类器、朴素贝叶斯分类器、逻辑回归分类器、支持向量机和随机森林分类器上的实验结果表明,该方法取得了较好的分类效果,其F-测度达到了87.3%~ 95.5%。

英文摘要:

With the rapid growth of software scale and complexity, a large number of bug reports are submitted to the bug tracking system. In order to speed up defect repair, these reports need to be accurately classified so that they can be sent to the appropriate developers. However, the existing classification methods only use the text information of the bug report, which leads to their low performance. To solve the above problems, this paper proposes a new automatic classification method for bug reports. The innovation is that when categorizing bug reports, in addition to using the text information of the report, the intention of the report (i.e. suggestion or explanation) is also considered, thereby improving the performance of the classification. First, we collect bug reports from four ecosystems (Apache, Eclipse, Gentoo, Mozilla) and manually annotate them to construct an experimental data set. Then, we use Natural Language Processing technology to preprocess the data. On this basis, BERT and TF-IDF are used to extract the features of the intention and the multiple text information. Finally, the features are used to train the classifiers. The experimental result on five classifiers (including K-Nearest Neighbor, Naive Bayes, Logistic Regression, Support Vector Machine, and Random Forest) show that our proposed method achieves better performance and its F-Measure achieves from 87.3% to 95.5%.

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

↑