Journal No SINTA rank
Improve Software Defect Prediction using Particle Swarm Optimization and Synthetic Minority Over-sampling Technique
Scientific Journal of Informatics · Vol. 11 No. 4 (2025) · pp. 1127–1136
- ISSN
- 2407-7658, 2460-0040
- Published
- 2025-03-12
- Publisher
- Universitas Negeri Semarang
- Language
- eng
Abstract
Purpose: Early detection of software defects is essential to prevent problems with software maintenance. Although much machine learning research has been used to predict software defects, most have not paid attention to the problems of data imbalance and feature correlation. This research focuses on overcoming the problems of imbalance dataset. It provides new insights into the impact of these two feature extraction techniques in improving the accuracy of software defect prediction. Methods: This research compares three algorithms: Random Forest, Logistic Regression, and XGBoost, with the application of PSO for feature selection and SMOTE to overcome the problem of imbalanced data. Comparison of algorithm performance is measured using F1-Score, Precision, Recall, and Accuracy metrics to evaluate the effectiveness of each approach. Result: This research demonstrates the potential of SMOTE and PSO techniques in enhancing the performance of software defect detection models, particularly in ensemble algorithms like Random Forest (RF) and XGBoost (XGB). The application of SMOTE and PSO resulted in a significant increase in RF accuracy to 87.63%, XGB to 85.40%, but a decrease in Logistic Regression (LR) accuracy to 72.98%. The F1-Score, Precision, and Recall metrics showed substantial improvements in RF and XGB, but not in LR due to the decrease in accuracy, highlighting the impact of the research findings. Novelty: Based on the comparison results, it is proven that the SMOTE and PSO algorithms can improve the Random Forest and XGB models for predicting software defect.
Keywords
Collaboration network of the authors
30 authors · 61 co-authorship links · 7 across different organisations
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
- Institut Teknologi Sepuluh Nopember
- Indonesia Defense University
- Universitas Airlangga
- Affiliation unknown
- Different organisations
- Same organisation
- Affiliation unknown
- Thicker line = more joint articles · bigger circle = more articles
Show as table
| Co-author | Organisation | Joint articles |
|---|---|---|
| I Gusti Lanang Agung Oka Cahyadi Pradipta | Affiliation unknown | 1 |
| Ahmad Saikhu | Institut Teknologi Sepuluh Nopember | 1 |
| Diana Purwitasari | Institut Teknologi Sepuluh Nopember | 1 |
| Daniel Siahaan | Institut Teknologi Sepuluh Nopember | 1 |
| Dian Saputra | Affiliation unknown | 1 |
| Esti Yuniar | Affiliation unknown | 1 |
| Joko Lianto Buliali | Institut Teknologi Sepuluh Nopember | 1 |
| Dwi Sunaryono | Institut Teknologi Sepuluh Nopember | 1 |
| Hazna At Thooriqoh | Institut Teknologi Sepuluh Nopember | 1 |
| Tiara Nur Annisa | Institut Teknologi Sepuluh Nopember | 1 |
| Eka Alifia Kusnanti | Institut Teknologi Sepuluh Nopember | 1 |
| Lauretha Devi Fajar Vantie | Institut Teknologi Sepuluh Nopember | 1 |
| Ary Mazharuddin Shiddiqi | Institut Teknologi Sepuluh Nopember | 1 |
| Muhammad Faisal Fanani | Institut Teknologi Sepuluh Nopember | 1 |
| Amelia Devi Putri Ariyanto | Institut Teknologi Sepuluh Nopember | 1 |
| Lutfiyatul †̃Azizah | Institut Teknologi Sepuluh Nopember | 1 |
| Wahyu Fajar Setiawan | Affiliation unknown | 1 |
| Ilham Putra Ariatama | Affiliation unknown | 1 |
| Muhammad Alfian | Affiliation unknown | 1 |
| Ratih Nur Esti Anggraini | Institut Teknologi Sepuluh Nopember | 1 |
| Wahyu Fajar Setiawan | Institut Teknologi Sepuluh Nopember | 1 |
| Ilham Putra Ariatama | Institut Teknologi Sepuluh Nopember | 1 |
| Rudy Agus Gemilang Gultom | Affiliation unknown | 1 |
| Arif Badrudin | Indonesia Defense University | 1 |
| Siswo Hadi Sumantri | Indonesia Defense University | 1 |
| I Nengah Putra Apriyanto | Indonesia Defense University | 1 |
| Fitria Dwi Ratnasari | Universitas Airlangga | 1 |
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.