Cross-Project Software Defect Prediction Based on Domain Adaptation and Feature Fusion

With the advancement of computer science, software has become increasingly prevalent across all facets of society, making software quality issues a focal point of industry concern. The scarcity of sufficient defect data in the early stages of projects undermines prediction accuracy, driving research into cross-project software defect prediction. The traditional manual measurement features face challenges due to the data distribution discrepancies between original and cross-project contexts, which hinder the prediction effectiveness. Furthermore, single features fail to comprehensively characterize software information. This paper proposes a domain adaptation and feature fusion-based cross-project software defect prediction method (DAFF-CPDP). The model employs the TCA+ algorithm for domain adaptation and utilizes an encoder layer for progressive feature fusion. Multiple Java projects were selected for evaluation. The comparisons with various baseline models demonstrated that the proposed model outperforms both the traditional machine learning-based feature models and the diverse deep learning-based single-feature or multi-feature models. Concurrently, this paper analyzes the impact of different source projects on target projects, confirming that class-balanced datasets and datasets with smaller distribution differences are more conducive to project prediction.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-03-26
DOI
https://doi.org/10.3390/a19040253
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cross-Project Software Defect Prediction Based on Domain Adaptation and Feature Fusion

P. Y. Zhang, Yaowu Song, Guanhua Guo
Algorithms
Software Engineering Research
article

Cross-Project Software Defect Prediction Based on Domain Adaptation and Feature Fusion

P. Y. Zhang, Yaowu Song, Guanhua Guo
article en

Abstract

With the advancement of computer science, software has become increasingly prevalent across all facets of society, making software quality issues a focal point of industry concern. The scarcity of sufficient defect data in the early stages of projects undermines prediction accuracy, driving research into cross-project software defect prediction. The traditional manual measurement features face challenges due to the data distribution discrepancies between original and cross-project contexts, which hinder the prediction effectiveness. Furthermore, single features fail to comprehensively characterize software information. This paper proposes a domain adaptation and feature fusion-based cross-project software defect prediction method (DAFF-CPDP). The model employs the TCA+ algorithm for domain adaptation and utilizes an encoder layer for progressive feature fusion. Multiple Java projects were selected for evaluation. The comparisons with various baseline models demonstrated that the proposed model outperforms both the traditional machine learning-based feature models and the diverse deep learning-based single-feature or multi-feature models. Concurrently, this paper analyzes the impact of different source projects on target projects, confirming that class-balanced datasets and datasets with smaller distribution differences are more conducive to project prediction.

AlgorithmsVol. 19(4)
Jiangsu University of Science and Technology (CN)
Industry, innovation and infrastructure
Openalex Percentile: Top 7%
Software Engineering Research
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.