Enhancing software defect prediction: a framework with improved feature selection and ensemble machine learning

计算机科学 特征选择 机器学习 集成学习 人工智能 软件 选择(遗传算法) 特征(语言学) 软件错误 哲学 语言学 程序设计语言
作者
Mansoor Ali,Tehseen Mazhar,Amal Al‐Rasheed,Tariq Shahzad,Yazeed Yasin Ghadi,Muhammad Amir Khan
出处
期刊:PeerJ [PeerJ, Inc.]
卷期号:10: e1860-e1860
标识
DOI:10.7717/peerj-cs.1860
摘要

Effective software defect prediction is a crucial aspect of software quality assurance, enabling the identification of defective modules before the testing phase. This study aims to propose a comprehensive five-stage framework for software defect prediction, addressing the current challenges in the field. The first stage involves selecting a cleaned version of NASA’s defect datasets, including CM1, JM1, MC2, MW1, PC1, PC3, and PC4, ensuring the data’s integrity. In the second stage, a feature selection technique based on the genetic algorithm is applied to identify the optimal subset of features. In the third stage, three heterogeneous binary classifiers, namely random forest, support vector machine, and naïve Bayes, are implemented as base classifiers. Through iterative tuning, the classifiers are optimized to achieve the highest level of accuracy individually. In the fourth stage, an ensemble machine-learning technique known as voting is applied as a master classifier, leveraging the collective decision-making power of the base classifiers. The final stage evaluates the performance of the proposed framework using five widely recognized performance evaluation measures: precision, recall, accuracy, F-measure, and area under the curve. Experimental results demonstrate that the proposed framework outperforms state-of-the-art ensemble and base classifiers employed in software defect prediction and achieves a maximum accuracy of 95.1%, showing its effectiveness in accurately identifying software defects. The framework also evaluates its efficiency by calculating execution times. Notably, it exhibits enhanced efficiency, significantly reducing the execution times during the training and testing phases by an average of 51.52% and 52.31%, respectively. This reduction contributes to a more computationally economical solution for accurate software defect prediction.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
闪闪的屁股完成签到,获得积分10
刚刚
寻绿发布了新的文献求助10
刚刚
5762完成签到,获得积分10
刚刚
Jasper应助godblessyou采纳,获得10
刚刚
林峰发布了新的文献求助10
1秒前
魏佳奇发布了新的文献求助10
1秒前
慕青应助核桃采纳,获得10
2秒前
wanci应助核桃采纳,获得10
2秒前
qingfengpu应助核桃采纳,获得50
2秒前
咖啡逗发布了新的文献求助10
2秒前
2秒前
3秒前
zcx发布了新的文献求助10
3秒前
Sherry_L发布了新的文献求助10
3秒前
丘比特应助Li采纳,获得10
3秒前
4秒前
风里等你发布了新的文献求助10
4秒前
4秒前
cuiyanjie关注了科研通微信公众号
4秒前
无极微光应助zbc采纳,获得20
4秒前
香蕉觅云应助核桃采纳,获得10
5秒前
畔畔应助核桃采纳,获得50
5秒前
思源应助核桃采纳,获得10
5秒前
Ethan应助核桃采纳,获得10
5秒前
852应助核桃采纳,获得10
6秒前
领导范儿应助核桃采纳,获得10
6秒前
6秒前
6秒前
orixero应助核桃采纳,获得10
6秒前
NexusExplorer应助核桃采纳,获得10
6秒前
灿灿应助核桃采纳,获得10
6秒前
Owen应助核桃采纳,获得10
6秒前
arniu2008应助秋秋秋l采纳,获得30
6秒前
刘同学完成签到,获得积分10
6秒前
7秒前
lyw完成签到,获得积分10
7秒前
7秒前
7秒前
华影发布了新的文献求助10
8秒前
高分求助中
Overcoming Stigma and Bias in Obesity Management 1200
Signals, Systems, and Signal Processing 610
Software that combines deep learning,3D reconstruction and CFD to analyze the state of carotid arteries from ultrasound imaging 500
Bounds for Statistical Estimation in Semiparametric Models 500
Forced degradation and stability indicating LC method for Letrozole: A stress testing guide 500
Ideology and Meaning-Making under the Putin Regime 450
Adhesion Science: Principles & Practice 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6492186
求助须知:如何正确求助?哪些是违规求助? 8289880
关于积分的说明 17689415
捐赠科研通 5583896
什么是DOI,文献DOI怎么找? 2915252
邀请新用户注册赠送积分活动 1892392
关于科研通互助平台的介绍 1750377