Melola Discovery

← Melola Discovery

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

DOI
10.15294/sji.v11i4.16808
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-authorOrganisationJoint articles
I Gusti Lanang Agung Oka Cahyadi PradiptaAffiliation unknown1
Ahmad SaikhuInstitut Teknologi Sepuluh Nopember1
Diana PurwitasariInstitut Teknologi Sepuluh Nopember1
Daniel SiahaanInstitut Teknologi Sepuluh Nopember1
Dian SaputraAffiliation unknown1
Esti YuniarAffiliation unknown1
Joko Lianto BulialiInstitut Teknologi Sepuluh Nopember1
Dwi SunaryonoInstitut Teknologi Sepuluh Nopember1
Hazna At ThooriqohInstitut Teknologi Sepuluh Nopember1
Tiara Nur AnnisaInstitut Teknologi Sepuluh Nopember1
Eka Alifia KusnantiInstitut Teknologi Sepuluh Nopember1
Lauretha Devi Fajar VantieInstitut Teknologi Sepuluh Nopember1
Ary Mazharuddin ShiddiqiInstitut Teknologi Sepuluh Nopember1
Muhammad Faisal FananiInstitut Teknologi Sepuluh Nopember1
Amelia Devi Putri AriyantoInstitut Teknologi Sepuluh Nopember1
Lutfiyatul †̃AzizahInstitut Teknologi Sepuluh Nopember1
Wahyu Fajar SetiawanAffiliation unknown1
Ilham Putra AriatamaAffiliation unknown1
Muhammad AlfianAffiliation unknown1
Ratih Nur Esti AnggrainiInstitut Teknologi Sepuluh Nopember1
Wahyu Fajar SetiawanInstitut Teknologi Sepuluh Nopember1
Ilham Putra AriatamaInstitut Teknologi Sepuluh Nopember1
Rudy Agus Gemilang GultomAffiliation unknown1
Arif BadrudinIndonesia Defense University1
Siswo Hadi SumantriIndonesia Defense University1
I Nengah Putra ApriyantoIndonesia Defense University1
Fitria Dwi RatnasariUniversitas Airlangga1

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.

Metadata source: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/sji/oai, first harvested 6 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Improve Software Defect Prediction using Particle Swarm Optimization and Synthetic Minority Over-sampling Technique</dc:title>
	<dc:creator xml:lang="en">Amirullah, Afif</dc:creator>
	<dc:creator xml:lang="en">Umi Laili Yuhana</dc:creator>
	<dc:creator xml:lang="en">Muhammad Alfian</dc:creator>
	<dc:subject xml:lang="en">Software Defect</dc:subject>
	<dc:subject xml:lang="en">Particle Swarm Optimization</dc:subject>
	<dc:subject xml:lang="en">Synthetic Minority Oversampling Technique</dc:subject>
	<dc:subject xml:lang="en">Imbalanced dataset</dc:subject>
	<dc:description xml:lang="en">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.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2025-03-12</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/sji/article/view/16808</dc:identifier>
	<dc:identifier>10.15294/sji.v11i4.16808</dc:identifier>
	<dc:source xml:lang="en">Scientific Journal of Informatics; Vol. 11 No. 4: Special Issue; 1127-1136</dc:source>
	<dc:source>2407-7658</dc:source>
	<dc:source>2460-0040</dc:source>
	<dc:source>10.15294/sji.v11i4</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/sji/article/view/16808/3277</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2024 Scientific Journal of Informatics</dc:rights>
</oai_dc:dc>