arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Software defect prediction
Feature selection
Binary gray wolf optimizer
Machine learning
Module classification

Journal

C
Computers and Electrical Engineering
IF:
4.9
Papers:
6.7K
Citations:
1.3W

Organization

B
Beijing Jiaotong University
Scholars:
2.2W
Papers: 1.7W
Citations: 1.2W
I
Istinye University
Scholars:
1.1K
Papers: 1.3K
Citations: 1.9K
I
Islamic Azad University
Scholars:
4.0W
Papers: 3.3W
Citations: 9.8K
K
Khazar University
Scholars:
284
Papers: 322
Citations: 23
researcher View more organizations
Cited Papers

Cited Papers

EVALUATION OF ANTICOAGULATION MANAGEMENT IN PATIENTS WITH SUSPECTED HEPARIN-INDUCED THROMBOCYTOPENIA AWAITING DIAGNOSIS CONFIRMATION
err2024-12-01
err0
PREAI
errGeorge, Alyssa R.; Sylvester, Katelyn; Kanaan, Dareen; Corcoran, Delaney; Lupi, Kenneth; Schuler, Brian; Connors, Jean M.
errShare
errSave
Grey Wolf Optimizer
err2014-03-01
err1.3W
PREAI
errMirjalili, Seyedali; Mirjalili, Seyed Mohammad; Lewis, Andrew
errShare
errSave
errShare
errSave
IMPACT OF MRNA COVID-19 VACCINATION ON D-DIMER LEVELS AND ANTI-PF4 SEROCONVERSION IN HEALTHY ADULTS: A SYSTEMATIC REVIEW
err2024-12-01
err0
PREAI
errMaroun, Evan Y.; Centrella, Megan; Hansen, Grace; Forsberg, Trevor; Rahaman, Tariq; Hoang Nguyen
errShare
errSave
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
errShare
errSave
Three-way decisions based software defect prediction
err2016-01-01
err64
PREAI
errLi, Weiwei; Huang, Zhiqiu; Li, Qing
errShare
errSave
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
errShare
errSave
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
errShare
errSave
researcher View more