A Feature Selection Method for Software Defect Prediction Based on Improved Beluga Whale Optimization Algorithm

被引:0
作者
Qiu, Shaoming [1 ]
He, Jingjie [1 ]
Wang, Yan [1 ]
E, Bicong [1 ]
机构
[1] Dalian Univ, Sch Informat Engn, Dalian 116622, Peoples R China
来源
CMC-COMPUTERS MATERIALS & CONTINUA | 2025年 / 83卷 / 03期
关键词
Software defect prediction; feature selection; beluga optimization algorithm; triangular wandering strategy; cauchy mutation; reverse learning;
D O I
10.32604/cmc.2025.061532
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software defect prediction (SDP) aims to find a reliable method to predict defects in specific software projects and help software engineers allocate limited resources to release high-quality software products. Software defect prediction can be effectively performed using traditional features, but there are some redundant or irrelevant features in them (the presence or absence of this feature has little effect on the prediction results). These problems can be solved using feature selection. However, existing feature selection methods have shortcomings such as insignificant dimensionality reduction effect and low classification accuracy of the selected optimal feature subset. In order to reduce the impact of these shortcomings, this paper proposes a new feature selection method Cubic Traverse Ma Beluga whale optimization algorithm (CTMBWO) based on the improved Beluga whale optimization algorithm (BWO). The goal of this study is to determine how well the CTMBWO can extract the features that are most important for correctly predicting software defects, improve the accuracy of fault prediction, reduce the number of the selected feature and mitigate the risk of overfitting, thereby achieving more efficient resource utilization and better distribution of test workload. The CTMBWO comprises three main stages: preprocessing the dataset, selecting relevant features, and evaluating the classification performance of the model. The novel feature selection method can effectively improve the performance of SDP. This study performs experiments on two software defect datasets (PROMISE, NASA) and shows the method's classification performance using four detailed evaluation metrics, Accuracy, F1-score, MCC, AUC and Recall. The results indicate that the approach presented in this paper achieves outstanding classification performance on both datasets and has significant improvement over the baseline models.
引用
收藏
页码:4879 / 4898
页数:20
相关论文
共 29 条
[21]   A systematic literature review on software defect prediction using artificial intelligence: Datasets, Data Validation Methods, Approaches, and Tools [J].
Pachouly, Jalaj ;
Ahirrao, Swati ;
Kotecha, Ketan ;
Selvachandran, Ganeshsree ;
Abraham, Ajith .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2022, 111
[22]   Cross-Project Defect Prediction: A Literature Review [J].
Pal, Sourabh ;
Sillitti, Alberto .
IEEE ACCESS, 2022, 10 :118697-118717
[23]   Improving Prediction Robustness of VAB-SVM for Cross-Project Defect Prediction [J].
Ryu, Duksan ;
Choi, Okjoo ;
Baik, Jongmoon .
2014 IEEE 17TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE), 2014, :994-999
[24]   Mutation boosted salp swarm optimizer meets rough set theory: A novel approach to software defect detection [J].
Sekaran, Kripa ;
Lawrence, Sherly Puspha Annabel .
TRANSACTIONS ON EMERGING TELECOMMUNICATIONS TECHNOLOGIES, 2024, 35 (03)
[25]   Enhanced software defect prediction using krill herd algorithm with stacked LSTM with attention mechanism [J].
Vasishth, Oshina ;
Bansal, Ankita .
INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2024,
[26]   A software defect prediction method using binary gray wolf optimizer and machine learning algorithms [J].
Wang, Hao ;
Arasteh, Bahman ;
Arasteh, Keyvan ;
Gharehchopogh, Farhad Soleimanian ;
Rouhi, Alireza .
COMPUTERS & ELECTRICAL ENGINEERING, 2024, 118
[27]  
Weston J., 2000, Adv Neural Inf Process Syst, P647, DOI DOI 10.5555/3008751.3008845
[28]   A Systematic Survey of Just-in-Time Software Defect Prediction [J].
Zhao, Yunhua ;
Damevski, Kostadin ;
Chen, Hui .
ACM COMPUTING SURVEYS, 2023, 55 (10)
[29]   Beluga whale optimization: A novel nature-inspired metaheuristic algorithm [J].
Zhong, Changting ;
Li, Gang ;
Meng, Zeng .
KNOWLEDGE-BASED SYSTEMS, 2022, 251