Informatics for Educators and Professional : Journal of Informatics
Vol. 10 No. 2 (2025): INFORMATICS FOR EDUCATORS AND PROFESSIONAL : JOURNAL OF INFORMATICS (Desember

Cross Project Defect Prediction Menggunakan Random Forest

Darusman Darusman (Nusamandiri University)
Agus Subekti (Universitas Nusa Mandiri Jakarta)



Article Info

Publish Date
22 Dec 2025

Abstract

This study develops a software defect prediction model using the Random Forest algorithm with a Many-to-One Cross-Project Defect Prediction approach. The model is tested using the AEEEM dataset as the training data source and the PROMISE dataset as the testing target. Both datasets consist of various software projects with important features such as code size, code churn, complexity, and other metrics that play a role in predicting software defects. The model’s performance is evaluated using metrics such as Accuracy, AUC, Recall, Precision, and F1-Score to measure its ability to detect defects across different datasets. The results show that the Random Forest model delivers excellent performance, with accuracy above 94% and AUC greater than 0.92 on most datasets. The model is also able to balance Recall and Precision effectively, resulting in more accurate and reliable predictions. Furthermore, this study applies ensemble techniques such as stacking and voting to combine predictions from multiple models, which significantly improve the stability and accuracy of the predictions. With this approach, the study demonstrates that the use of the Random Forest algorithm in CPDP can enhance the accuracy and efficiency of cross-project software defect prediction.

Copyrights © 2025






Journal Info

Abbrev

ITBI

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Engineering Other

Description

INFORMATICS FOR EDUCATORS AND PROFESSIONALS merupakan jurnal ilmiah yang diterbitkan oleh Program Studi Teknik Informatika STMIK BINA INSANI. Jurnal ini berisi tentang karya ilmiah hasil penelitian yang bertemakan: Networking, Aplikasi Sains, Animasi Interaktif, Pengolahan Citra, Sistem Pakar, ...