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

利用监督机器学习模型进行软件项目中的缺陷严重性预测

Bug Severity Prediction in Software Projects Using Supervised Machine Learning Models

Daffodil International University(达福迪尔国际大学)

Nafisha Tamanna Nice

AI总结:

本研究利用监督机器学习模型,通过Eclipse Bugzilla的历史数据预测缺陷严重性,发现集成树方法和DistilBERT在准确性上表现最佳,线性模型在召回率上更优,为自动化缺陷分拣提供了有效方法。

摘要:

缺陷严重性预测在软件维护中非常重要,因为它有助于开发团队优先处理对系统运行、稳定性和安全性有重大影响的缺陷。在大型软件项目中,缺陷仓库会以非常快的速度增长,使得手动分类缺陷的严重性工作变得繁琐且不可靠,并容易受到人为偏见的影响。因此,许多努力都致力于在软件工程研究文献中寻找自动化严重性预测的方法。本研究比较了基于监督机器学习算法的不同分类器,利用Eclipse Bugzilla的历史仓库数据来预测缺陷严重性级别。评估的方法范围从线性分类器、梯度提升树、距离方法和基于变压器的模型,以及通过分词、TF-IDF和n-grams以及不平衡修正方法获得的文本特征。模型在准确性、精确率、召回率、F1分数、(AUC-ROC)和混淆矩阵等方面进行了评估。集成树方法和DistilBERT在总体准确性上表现最佳,而线性模型在关键缺陷的召回率上表现最佳,这表明在不平衡的严重性预测中存在一定的精确率-召回率权衡。这些发现为选择自动化缺陷分拣的算法提供了有用的可操作见解,可以提高软件质量,通过有效的可扩展优先级排序。

英文摘要:

Bug severity prediction is important in software maintenance, because it helps the development teams to prioritize bugs that have a significant impact on the operation, stability and security of the system. In large software projects bug repositories will grow at very rapid rate making classification of severity manual work labourious and unreliable and prone to human biasness. Many efforts have thus been dedicated on automated ways of severity prediction in the literature of software engineering research.This study compares different classifiers that are based on supervised machine learning algorithms for predicting bug severity levels using historical repository data from Eclipse Bugzilla. Evaluated methods range from linear classifiers, gradient boosting trees, distance method and transformer-based models, and text features, which are obtained from tokenization, TF-IDF, and n-grams and imbalance correction methods. Models were evaluated in terms of accuracy, precision, recall, F1 score, (AUC-ROC) and confusion matrix. Ensemble tree methods and DistilBERT achieved the top overall accuracy, while linear models performed best in recall of critical bugs which indicates some precision-recall tradeoff in imbalanced severity prediction. These findings provide useful actionable insight in choosing algorithms for automated bug triage, which can improve the quality of software through effective scalable prioritization. Keywords: Bug severity prediction, Supervised machine learning, Classification models, Software quality assurance, Historical bug data, Predictive analytics.

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

↑