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

使用风格度量的缺陷预测

Defect Prediction Using Stylistic Metrics

Institute of Information Technology University of Dhaka Dhaka, Bangladesh

Rafed Muhammad Yasir, Ahmedul Kabir

AI总结:

本文研究编程风格度量对项目内和跨项目缺陷预测的影响,在5个开源项目的14个版本上使用4种机器学习算法进行实验,证明风格度量是有效的缺陷预测指标。

摘要:

缺陷预测因其在最小化软件质量保证工作方面的潜力而成为最受欢迎的研究主题之一。现有方法已从复杂度和开发者度量等多个视角对缺陷预测进行了研究。然而,这些方法均未考虑编程风格对缺陷预测的影响。本文旨在分析风格度量对项目内和跨项目缺陷预测的影响。在预测中,使用了4种广泛应用的机器学习算法,即朴素贝叶斯、支持向量机、决策树和逻辑回归。实验在5个流行的开源项目的14个版本上进行。通过检查F1、精确率和召回率来评估结果。结果表明,风格度量是缺陷的良好预测指标。

英文摘要:

Defect prediction is one of the most popular research topics due to its potential to minimize software quality assurance efforts. Existing approaches have examined defect prediction from various perspectives such as complexity and developer metrics. However, none of these consider programming style for defect prediction. This paper aims at analyzing the impact of stylistic metrics on both within-project and crossproject defect prediction. For prediction, 4 widely used machine learning algorithms namely Naive Bayes, Support Vector Machine, Decision Tree and Logistic Regression are used. The experiment is conducted on 14 releases of 5 popular, open source projects. F1, Precision and Recall are inspected to evaluate the results. Results reveal that stylistic metrics are a good predictor of defects.

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

↑