A three-stage cross-project defect prediction framework based on feature representation and knowledge transfer

Software defect prediction is a critical process for enhancing software quality by identifying potential defects early in the development lifecycle. Cross-Project Defect Prediction (CPDP) broadens traditional defect prediction methods by leveraging data from source projects to predict defects in target projects. However, existing CPDP methods face two key issues: insufficient feature representation and inadequate alignment of data distributions between source and target projects. To address these challenges, this study introduces TriStage-CPDP, a novel three-stage framework. In the first stage, TriStage-CPDP harnesses the capabilities of CodeT5+ to extract nuanced semantic and syntactic features, combines GraphSAGE for software dependency representation, and incorporates traditional metrics to construct a comprehensive feature set, enabling a more nuanced representation of software features. The second stage employs an integrated feature selection strategy that combines Last Absolute Shrinkage and Selection Operator (LASSO) regression with Recursive Feature Elimination (RFE) to refine feature relevance and eliminate redundancy effectively. Finally, a domain adaptation mechanism based on Locality Preserving Projection (LPP) aligns data distributions between source and target projects in a shared subspace, ensuring practical knowledge transfer. Experiments on the PROMISE dataset demonstrate that TriStage-CPDP significantly outperforms state-of-the-art methods, improving F-measure, AUC, and MCC. These results highlight its effectiveness in enhancing defect prediction effectiveness for data-scarce or new projects, offering a robust solution for CPDP and valuable insights for future research.

Authors

Institutions

Publication Details

Journal
Complex & Intelligent Systems
Published
2025-09-16
DOI
https://doi.org/10.1007/s40747-025-02098-y
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
3.25

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A three-stage cross-project defect prediction framework based on feature representation and knowledge transfer

Yifan Zou, Huiqiang Wang
1 citations
Complex & Intelligent Systems
Software Engineering Research
3.25
article

A three-stage cross-project defect prediction framework based on feature representation and knowledge transfer

Yifan Zou, Huiqiang Wang
article en
1 citations

Abstract

Software defect prediction is a critical process for enhancing software quality by identifying potential defects early in the development lifecycle. Cross-Project Defect Prediction (CPDP) broadens traditional defect prediction methods by leveraging data from source projects to predict defects in target projects. However, existing CPDP methods face two key issues: insufficient feature representation and inadequate alignment of data distributions between source and target projects. To address these challenges, this study introduces TriStage-CPDP, a novel three-stage framework. In the first stage, TriStage-CPDP harnesses the capabilities of CodeT5+ to extract nuanced semantic and syntactic features, combines GraphSAGE for software dependency representation, and incorporates traditional metrics to construct a comprehensive feature set, enabling a more nuanced representation of software features. The second stage employs an integrated feature selection strategy that combines Last Absolute Shrinkage and Selection Operator (LASSO) regression with Recursive Feature Elimination (RFE) to refine feature relevance and eliminate redundancy effectively. Finally, a domain adaptation mechanism based on Locality Preserving Projection (LPP) aligns data distributions between source and target projects in a shared subspace, ensuring practical knowledge transfer. Experiments on the PROMISE dataset demonstrate that TriStage-CPDP significantly outperforms state-of-the-art methods, improving F-measure, AUC, and MCC. These results highlight its effectiveness in enhancing defect prediction effectiveness for data-scarce or new projects, offering a robust solution for CPDP and valuable insights for future research.

Complex & Intelligent SystemsVol. 11(11)
Harbin Engineering University (CN)
National Natural Science Foundation of China, Fundamental Research Funds for the Central Universities
Openalex Percentile: Top 6%
Software Engineering Research
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A three-stage cross-project defect prediction framework based on feature representation and knowledge transfer — Yifan Zou, Huiqiang Wang · Complex & Intelligent Systems (2025) | TGRS Research Map | TGRS