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 |

LPDA: Cross-Project Software Defect Prediction Approach via Locality Preserving and Distribution Alignment

Author 1: Jin Xian Author 2: Jinglei Li Author 3: Quanyi Zou Author 4: Yunting Xian
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 14, No. 12 · Published 2023

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

Abstract

Cross-Project Defect Prediction (CPDP) based on domain adaptation aims to achieve defect prediction tasks in an unlabeled target software project by borrowing the defect knowledge extracted from well-annotated source software projects. Most existing CPDP approaches enhance transferability between projects but struggle with misalignments due to limited exploration of class-specific features and inability to preserve original local relationships in transformed features. In order to tackle these challenges, The article introduces a novel Cross-Project Defect Prediction (CPDP) approach called Local Preserving and Distribution Alignment (LPDA). This approach addresses the challenge of misalignments in CPDP due to limited exploration of discriminative feature representations and the failure to preserve original local relationship consistency. LPDA combines transferability and discriminability for CPDP tasks. It uses locality-preserving projection to maintain module consistency and distribution alignment, which includes transferable and discriminant distribution alignment. The former narrows the distributions of both source and target projects, while the latter increases the discrepancy between different classes across projects. The effectiveness of LPDA was tested through 118 cross-project prediction tasks involving 22 software projects from four distinct repositories. The results showed that LPDA outperforms baseline CPDP methods by efficiently learning representations that integrate transferability and discriminability while preserving local geometry to optimize distances within and between categories.

Keywords

How to Cite this Article

Xian, J., Li, J., Zou, Q., & Xian, Y. (2023). LPDA: Cross-Project Software Defect Prediction Approach via Locality Preserving and Distribution Alignment. International Journal of Advanced Computer Science and Applications, 14(12). https://doi.org/10.14569/IJACSA.2023.0141290

Xian, Jin, et al.. "LPDA: Cross-Project Software Defect Prediction Approach via Locality Preserving and Distribution Alignment." International Journal of Advanced Computer Science and Applications, vol. 14, no. 12, 2023, https://doi.org/10.14569/IJACSA.2023.0141290.

@article{Xian2023,
  title     = {LPDA: Cross-Project Software Defect Prediction Approach via Locality Preserving and Distribution Alignment},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {14},
  number    = {12},
  year      = {2023},
  publisher = {The Science and Information Organization},
  author    = {Jin Xian and Jinglei Li and Quanyi Zou and Yunting Xian},
  doi       = {10.14569/IJACSA.2023.0141290},
  url       = {https://doi.org/10.14569/IJACSA.2023.0141290}
}

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.