EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Prediksi dan Deteksi Bug pada Visual Studio Code menggunakan Algoritma Naive Bayes

Siti Hardianti, Roberto Kaban

Repeater : Publikasi Teknik Informatika dan Jaringan · 23.07.2026 · 4 (3) · 63-74

DOI: 10.62951/repeater.v4i3.953 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Repeater : Publikasi Teknik Informatika dan Jaringan, online erschienen am 23.07.2026. Verfasst von Siti Hardianti und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Software quality is a critical aspect of modern software engineering. One of the primary challenges developers face is the early detection of bugs before software is released into the production environment. This study develops a bug prediction model using the Naive Bayes algorithm applied to the JM1 dataset from NASA's Metrics Data Program, sourced from Kaggle. The JM1 dataset consists of source code metrics from a NASA project, comprising 10,885 modules with 21 numerical features that include Halstead and McCabe metrics. All experimental stages were conducted using Python with the Pandas, Scikit-learn, NumPy, and Matplotlib libraries. Experimental results show that the Naive Bayes model achieved an accuracy of 79.93%, an ROC-AUC value of 0.6761, precision of 46.26%, recall of 23.52%, and an F1-Score of 31.18%. These findings indicate that while Naive Bayes effectively identifies non-defective modules, it faces challenges in detecting defective modules due to significant class imbalance (80.65% vs. 19.35%). The contributions of this study include an in-depth analysis of the impact of class imbalance on bug prediction performance, as well as recommendations for handling techniques such as SMOTE and ensemble learning to improve future performance.

Zitieren

APA

Hardianti, S., & Kaban, R. (2026). Prediksi dan Deteksi Bug pada Visual Studio Code menggunakan Algoritma Naive Bayes. Repeater : Publikasi Teknik Informatika dan Jaringan, 4(3), 63-74. https://doi.org/10.62951/repeater.v4i3.953

Vancouver

Hardianti S, Kaban R. Prediksi dan Deteksi Bug pada Visual Studio Code menggunakan Algoritma Naive Bayes. Repeater : Publikasi Teknik Informatika dan Jaringan. 2026;4(3):63-74. doi:10.62951/repeater.v4i3.953

BibTeX
@article{Hardianti2026,
  author = {Hardianti, Siti and Kaban, Roberto},
  title = {Prediksi dan Deteksi Bug pada Visual Studio Code menggunakan Algoritma Naive Bayes},
  journal = {Repeater : Publikasi Teknik Informatika dan Jaringan},
  year = {2026},
  volume = {4},
  number = {3},
  pages = {63--74},
  doi = {10.62951/repeater.v4i3.953}
}
Kostenlos starten →