Peningkatan Prediksi Cacat Perangkat Lunak Menggunakan Residual GraphSAGE Berbasis Graf k-NN Pada Dataset PROMISE
Software defect prediction supports quality assurance by prioritizing software modules that require inspection. Static-metric classifiers may overlook relationships among modules, whereas dependency-based graphs require structural code information that is not always available in tabular repositories. This study evaluates a developed Residual GraphSAGE architecture using k-nearest-neighbor (k-NN) graphs constructed from the similarity of 20 static software metrics. Eight PROMISE datasets were cleaned and assessed using five outer cross-validation folds per dataset, resulting in 40 test evaluations. Model configurations and classification thresholds were selected using validation data without using outer-test labels. Across 40 folds, the developed architecture achieved a mean test accuracy of 73.70%, F1-score of 0.6312, ROC-AUC of 0.7697, and Matthews correlation coefficient (MCC) of 0.4022. The matched GraphSAGE baseline obtained 73.62%, 0.6029, 0.7565, and 0.3736, respectively. F1-score and MCC improved on more datasets than accuracy did. Model performance varied substantially across datasets. Out-of-fold predictions yielded 1,925 true negatives, 550 false positives, 503 false negatives, and 997 true positives. The results indicate that residual aggregation and multilevel representations can improve defect identification, although they do not establish superior accuracy in every project or generalization to unseen projects.
Authors
- Mangapul Siahaan (ORCID: https://orcid.org/0000-0001-9640-6192)
- Suwarno Suwarno (ORCID: https://orcid.org/0000-0001-6516-7248)
- Derryl Derryl
Institutions
- International University of Batam (ID)
Publication Details
- Journal
- Jurnal Informatika Dan Tekonologi Komputer (JITEK)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.55606/jitek.v6i3.13620
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00