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

基于机器学习的缺陷报告分类实证研究

An Empirical Study on the Classification of Bug Reports with Machine Learning

Renato Andrade, César Teixeira, Nuno Laranjeiro, Marco Vieira

AI总结:

本文针对缺陷报告错误分类导致人工成本高的问题,利用超66万份异构项目问题报告数据,实证研究了项目语言等因素对机器学习分类模型性能的影响,并提出了数据与算法选择指南。

摘要:

软件缺陷是计算机系统可靠性的主要威胁。文献表明,大型软件项目中提交的缺陷报告中有超过30%被错误分类(即,是功能请求,或缺陷报告者犯的错误),导致开发人员投入大量精力手动检查它们。机器学习算法可用于问题报告的自动分类。然而,关于训练模型的关键方面,如编程语言和问题跟踪系统的影响,人们知之甚少。在本文中,我们使用包含超过660,000份问题报告的数据集,这些报告收集自托管在不同问题跟踪系统中的异构项目,以研究不同因素(例如,项目语言、报告内容)如何影响模型在处理问题报告分类时的性能。结果表明,使用报告标题或描述没有显著差异;支持向量机、逻辑回归和随机森林在分类问题报告方面是有效的;编程语言和问题跟踪系统影响分类结果;基于异构项目的模型可以对训练期间未出现的项目的报告进行分类。基于研究结果,我们提出了未来研究的指南,包括使用异构数据和选择高性能算法的建议。

英文摘要:

Software defects are a major threat to the reliability of computer systems. The literature shows that more than 30% of bug reports submitted in large software projects are misclassified (i.e., are feature requests, or mistakes made by the bug reporter), leading developers to place great effort in manually inspecting them. Machine Learning algorithms can be used for the automatic classification of issue reports. Still, little is known regarding key aspects of training models, such as the influence of programming languages and issue tracking systems. In this paper, we use a dataset containing more than 660,000 issue reports, collected from heterogeneous projects hosted in different issue tracking systems, to study how different factors (e.g., project language, report content) can influence the performance of models in handling classification of issue reports. Results show that using the report title or description does not significantly differ; Support Vector Machine, Logistic Regression, and Random Forest are effective in classifying issue reports; programming languages and issue tracking systems influence classification outcomes; and models based on heterogeneous projects can classify reports from projects not present during training. Based on findings, we propose guidelines for future research, including recommendations for using heterogeneous data and selecting high-performing algorithms.

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

↑