Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Improving the Performance of TFS with Ensemble Learning for Cross-Project Software Defect Prediction

Author 1: Pathiah Abdul Samat Author 2: Yahaya Zakariyau Bala Author 3: Nur Hamizah Hamidi
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 16, No. 11 · Published 2025

DOI: https://doi.org/10.14569/IJACSA.2025.0161123

Abstract

Software defect prediction (SDP) plays a key role in improving software quality by identifying defect-prone modules early in the development cycle. While within-project prediction has been widely studied, cross-project defect prediction (CPDP) remains challenging due to differences in datasets, high feature dimensionality, and poor model generalization. To address these challenges, this study enhances the Transformation and Feature Selection (TFS) approach by integrating ensemble learning techniques. Three methods, Gradient Boosting Machine (GBM), stacking, and hybridization, were explored to evaluate their effectiveness in improving CPDP performance. Experiments were conducted using the AEEEM datasets, with preprocessing steps including normalization, feature reduction, and the Synthetic Minority Oversampling Technique (SMOTE) to handle data imbalance. The models were trained on source projects and tested on separate target projects, with the F1 score used as the main evaluation metric. Results show that the TFS × Stacking model achieved the highest overall performance, with a mean F1 score of 0.963, outperforming both TFS × GBM (0.958) and TFS × Hybridization (0.920). Compared to the original TFS × Random Forest method, the stacking approach consistently provided significant improvements across all project pairs. These findings highlight the potential of combining TFS with ensemble learning to enhance defect prediction in projects with limited or no historical data. This work not only advances CPDP research but also offers practical value to software teams by enabling more accurate identification of defect-prone modules and better allocation of testing resources.

Keywords

How to Cite this Article

Samat, P. A., Bala, Y. Z., & Hamidi, N. H. (2025). Improving the Performance of TFS with Ensemble Learning for Cross-Project Software Defect Prediction. International Journal of Advanced Computer Science and Applications, 16(11). https://doi.org/10.14569/IJACSA.2025.0161123

Samat, Pathiah Abdul, et al.. "Improving the Performance of TFS with Ensemble Learning for Cross-Project Software Defect Prediction." International Journal of Advanced Computer Science and Applications, vol. 16, no. 11, 2025, https://doi.org/10.14569/IJACSA.2025.0161123.

@article{Samat2025,
  title     = {Improving the Performance of TFS with Ensemble Learning for Cross-Project Software Defect Prediction},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {16},
  number    = {11},
  year      = {2025},
  publisher = {The Science and Information Organization},
  author    = {Pathiah Abdul Samat and Yahaya Zakariyau Bala and Nur Hamizah Hamidi},
  doi       = {10.14569/IJACSA.2025.0161123},
  url       = {https://doi.org/10.14569/IJACSA.2025.0161123}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.