arrow
返回

A software defect prediction method using binary gray wolf optimizer and machine learning algorithms

delete2024-08-01
delete5
PRE
AI
王
王昊 (Hao Wang)
B
Bahman Arasteh *
K
Keyvan Arasteh
F
Farhad Soleimanian Gharehchopogh
A
Alireza Rouhi
DOI:10.1016/j.compeleceng.2024.109336delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: Software defect prediction means finding defect-prone modules before the testing process which will reduce testing cost and time. Machine learning methods can provide valuable models for developers to classify software faulty modules. Problem: The inherent problem of the classification is the large volume of the training dataset's features, which reduces the accuracy and precision of the classification results. The selection of the effective features of the training dataset for classification is an NP-hard problem that can be solved using heuristic algorithms. Method: In this study, a binary version of the Gray Wolf optimizer (bGWO) was developed to select the most effective features of the training dataset. By selecting the most influential features in the classification, the precision and accuracy of the software module classifiers can be increased. Contribution: Developing a binary version of the gray wolf optimization algorithm to optimally select the effective features and creating an effective defect predictor are the main contributions of this study. To evaluate the effectiveness of the proposed method, five real-world and standard datasets have been used for the training and testing stages of the classifier. Results: The results indicate that among the 21 features of the train datasets, the basic complexity, sum of operators and operands, lines of codes, number of lines containing code and comments, and sum of operands have the greatest effect in predicting software defects. In this research, by combining the bGWO method and machine learning algorithms, accuracy, precision, recall, and F1 criteria have been considerably increased.
Keyword:
Software defect prediction
Feature selection
Binary gray wolf optimizer
Machine learning
Module classification

期刊

C
Computers and Electrical Engineering
IF:
4.9
论文数:
6.7K
被引数:
1.3W

机构

B
Beijing Jiaotong University
学者数:
2.2W
论文数: 1.7W
被引数: 1.2W
I
Istinye University
学者数:
1.1K
论文数: 1.3K
被引数: 1.9K
I
Islamic Azad University
学者数:
4.0W
论文数: 3.3W
被引数: 9.8K
K
Khazar University
学者数:
284
论文数: 322
被引数: 23
学者 查看更多机构
引用论文

引用论文

Grey Wolf Optimizer灰狼优化器
err2014-03-01
err1.3W
PREAI
errMirjalili, Seyedali; Mirjalili, Seyed Mohammad; Lewis, Andrew
err分享
err收藏
Heparin Treatment in Aneurysmal Subarachnoid Hemorrhage: A Review of Human Studies
err2019-08-13
err0
PREAI
errNicolas K. Khattar; Esther Bak; Andrew C. White; Robert F. James
err分享
err收藏
Three-way decisions based software defect prediction
err2016-01-01
err64
PREAI
errLi, Weiwei; Huang, Zhiqiu; Li, Qing
err分享
err收藏
An efficient convergence-boosted salp swarm optimizer-based artificial neural network for the development of software fault prediction models
err2023-10-01
err8
PREAI
errAl-Laham, Mohamad; Kassaymeh, Sofian; Al-Betar, Mohammed Azmi; Makhadmeh, Sharif Naser; Albashish, Dheeb; Alweshah, Mohammed
err分享
err收藏
Ensemble MultiBoost Based on RIPPER Classifier for Prediction of Imbalanced Software Defect Data
err2019-01-01
err16
errOAAI
errHe, Haitao; Zhang, Xu; Wang, Qian; Ren, Jiadong; Liu, Jiaxin; Zhao, Xiaolin; Cheng, Yongqiang
err分享
err收藏
学者 查看更多内容