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
3秒前
优雅莞完成签到,获得积分0
4秒前
Angie发布了新的文献求助10
7秒前
xun完成签到,获得积分10
11秒前
xiadongbj完成签到 ,获得积分10
17秒前
曦麟完成签到,获得积分10
18秒前
阿策完成签到,获得积分10
18秒前
elebug完成签到,获得积分10
22秒前
shang完成签到,获得积分10
25秒前
成功的强完成签到,获得积分10
26秒前
无限萃完成签到,获得积分10
39秒前
zz完成签到,获得积分10
45秒前
霉盘完成签到,获得积分10
49秒前
Semy应助认真慕青采纳,获得30
51秒前
不知完成签到 ,获得积分10
56秒前
踏实谷蓝完成签到 ,获得积分10
59秒前
纯牛奶完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
认真慕青完成签到,获得积分20
1分钟前
迅速的幻雪完成签到 ,获得积分10
1分钟前
Angie发布了新的文献求助10
1分钟前
xiaofan完成签到,获得积分10
1分钟前
早日退休完成签到,获得积分10
1分钟前
嘲鸫完成签到,获得积分10
1分钟前
天天向上的RSJ完成签到,获得积分10
1分钟前
少年完成签到 ,获得积分10
1分钟前
卓卓卓完成签到 ,获得积分10
1分钟前
枫糖叶落完成签到,获得积分10
1分钟前
Su完成签到,获得积分10
1分钟前
qiqiqiqiqi完成签到 ,获得积分10
1分钟前
gengfu完成签到,获得积分10
1分钟前
1分钟前
CipherSage应助科研通管家采纳,获得10
1分钟前
汉堡包应助科研通管家采纳,获得10
1分钟前
杨洁完成签到,获得积分10
1分钟前
Tracy完成签到,获得积分10
1分钟前
haralee完成签到 ,获得积分10
1分钟前
老福贵儿完成签到,获得积分0
2分钟前
陈子宇完成签到 ,获得积分10
2分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 2000
Various Faces of Animal Metaphor in English and Polish 800
Signals, Systems, and Signal Processing 610
Photodetectors: From Ultraviolet to Infrared 500
On the Dragon Seas, a sailor's adventures in the far east 500
Yangtze Reminiscences. Some Notes And Recollections Of Service With The China Navigation Company Ltd., 1925-1939 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6353185
求助须知:如何正确求助?哪些是违规求助? 8168047
关于积分的说明 17191458
捐赠科研通 5409215
什么是DOI,文献DOI怎么找? 2863646
邀请新用户注册赠送积分活动 1840978
关于科研通互助平台的介绍 1689834