A Bedbug Optimization-Based Machine Learning Framework for Software Fault Prediction
Predicting software faults and identifying defective modules is a significant challenge in developing reliable software products. Machine Learning (ML) approaches on the historical fault datasets are utilized to classify faulty software modules. The presence of irrelevant features within the training datasets undermines the accuracy and precision of the software prediction models. Consequently, selecting the most effective features for module classification constitutes an NP-hard problem. This research introduces the Binary Bedbug Optimization Algorithm (BBOA) to extract the most effective features of training datasets. The primary contribution lies in the development of a binary variant of the Bedbug Optimization Algorithm (BOA) designed to effectively select effective features and build a classifier for identifying faulty software modules using ANN, SVM, DT, and NB algorithms. The model’s performance was evaluated using five standard real-world NASA datasets. The findings reveal that among the 21 features analyzed, features such as code complexity, lines of code, the total number of operands and operators, lines containing both code and comments, the total count of operators and operands, and the number of branch instructions play a critical role in predicting software faults. The proposed method achieved notable improvements, with increases of 5.97% in accuracy, 3.86% in precision, 2.37% in sensitivity (recall), and 3.06% in F1-score.
Authors
- İbrahim Furkan İnce (ORCID: https://orcid.org/0000-0003-1570-875X)
- Bahman Arasteh (ORCID: https://orcid.org/0000-0001-5202-6315)
- Eduard C. Popovici (ORCID: https://orcid.org/0000-0003-2639-8048)
- Farzad Kiani (ORCID: https://orcid.org/0000-0002-0354-9344)
- Seyed Salar Sefati (ORCID: https://orcid.org/0000-0002-7208-3576)
Institutions
- Khazar University (AZ)
- Applied Science Private University (JO)
- Istinye University (TR)
- Fatih Sultan Mehmet Waqf University (TR)
- Universitatea Națională de Știință și Tehnologie Politehnica București (RO)
- Beykent University (TR)
Publication Details
- Journal
- Mathematics
- Published
- 2025-11-04
- DOI
- https://doi.org/10.3390/math13213531
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00