Background Software defects can have catastrophic consequences. Therefore, fixing these defects is crucial for the evolution of software. Software Defect Prediction (SDP) enables developers to investigate unscramble faults in the inaugural parts of the software progression mechanism. However, SDP faces many challenges, including the high magnitude of attributes in the datasets, which can degrade the prognostic performance of a defect forecasting model. Feature selection (FS), a compelling instrument for overcoming high dimensionality, selects only the relevant and best features while carefully discarding others. Over the years, several meta-heuristic algorithms such as the Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Differential Evolution (DE), and Ant Colony Optimization (ACO) have been used to develop defect prediction models. However, these models suffer from several drawbacks, such as high cost, local optima trap, lower convergence rate, and higher parameter tuning. To overcome the above shortcomings, this study aims to develop an innovative FS technique, namely, the Chernobyl Optimization Algorithm (FSCOA), to unwrap the most informative features that can produce a precise prediction model while minimizing errors. Methods The proposed FSCOA approach mimicked the process of nuclear radiation while attacking humans after an explosion. The proposed FSCOA approach was combined with four widely used classifiers, namely Decision Tree (DT), K-nearest neighbor (KNN), Naive Bayes (NB), and Quantitative Discriminant Analysis (QDA), to determine the finest attributes from the SDP datasets. Furthermore, the accuracy of the recommended FSCOA method is correlated with existing FS techniques, such as FSDE, FSPSO, FSACO, and FSGA. The statistical merit of the proposed measure was verified using Friedman and Holm tests. Results The experimental findings showed that the proposed FSCOA approach yielded the best accuracy in most cases and achieved an average rank of 1.75, followed by the other studied FS approaches. Furthermore, the Holm test showed that the p-value was lower than or equivalent to the value of α/(A-i), except for the FSCOA and FSGA and FSCOA and FSACO models. Conclusion The experimental findings showed that the prospective FSCOA procedure eclipsed alternative FS techniques with higher accuracy in almost all cases while selecting optimal features.
Read full abstract