A Unified Deep Learning Based Feature Representation Approach for Effective Software Defect Prediction

ABSTRACT Purpose Accurate software defect prediction (SDP) is critical to the success of any software project. Earlier studies have largely used static, semantic or structural features either in isolation or in pairs, offering a partial view of the source code. In reality, static features depict the statistical characteristics, semantic features depict the context and structural features depict data and control dependencies of the code. We propose a strong SDP model that integrates three types of features, achieving a holistic view of the source code, ultimately thereby enabling more robust and generalizable predictions. Methods First, the model extracts the static features from the open source PROMISE repository, semantic features from the Abstract Syntax Tree via CodeBERT followed by BiGRU and structural features from the Program Dependency Graph via Graph Convolutional Network. Second, feature alignment is performed for the fixed‐set representation of the three types of features using global attention pooling. Third, feature fusion is done for joint feature representation, followed by the application of additive attention to select the most suitable features. To handle the class imbalance scenario, cost‐sensitive gradient boosting is applied to penalize misclassifications more heavily. At last, the final feature set is fed to a classifier for defect prediction. Results Experiments conducted on eleven open source datasets reveal that the proposed unified feature representation approach achieves substantial performance improvements over the state‐of‐the‐art models. Moreover, the Wilcoxon signed‐rank test offers statistical validation for the relevance of these enhancements. Conclusion The integration of static, semantic and structural information results in a more holistic representation of source code, which substantially enhances defect prediction performance. The proposed approach addresses the partial view constraints of earlier approaches and offers strong potential for establishing a more reliable and robust SDP across various application domains.

Authors

Institutions

Publication Details

Journal
Software Practice and Experience
Published
2026-05-09
DOI
https://doi.org/10.1002/spe.70081
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

A Unified Deep Learning Based Feature Representation Approach for Effective Software Defect Prediction

Priya Singh, Ruchika Malhotra
Software Practice and Experience
Software Engineering Research
article

A Unified Deep Learning Based Feature Representation Approach for Effective Software Defect Prediction

Priya Singh, Ruchika Malhotra
article en

Abstract

ABSTRACT Purpose Accurate software defect prediction (SDP) is critical to the success of any software project. Earlier studies have largely used static, semantic or structural features either in isolation or in pairs, offering a partial view of the source code. In reality, static features depict the statistical characteristics, semantic features depict the context and structural features depict data and control dependencies of the code. We propose a strong SDP model that integrates three types of features, achieving a holistic view of the source code, ultimately thereby enabling more robust and generalizable predictions. Methods First, the model extracts the static features from the open source PROMISE repository, semantic features from the Abstract Syntax Tree via CodeBERT followed by BiGRU and structural features from the Program Dependency Graph via Graph Convolutional Network. Second, feature alignment is performed for the fixed‐set representation of the three types of features using global attention pooling. Third, feature fusion is done for joint feature representation, followed by the application of additive attention to select the most suitable features. To handle the class imbalance scenario, cost‐sensitive gradient boosting is applied to penalize misclassifications more heavily. At last, the final feature set is fed to a classifier for defect prediction. Results Experiments conducted on eleven open source datasets reveal that the proposed unified feature representation approach achieves substantial performance improvements over the state‐of‐the‐art models. Moreover, the Wilcoxon signed‐rank test offers statistical validation for the relevance of these enhancements. Conclusion The integration of static, semantic and structural information results in a more holistic representation of source code, which substantially enhances defect prediction performance. The proposed approach addresses the partial view constraints of earlier approaches and offers strong potential for establishing a more reliable and robust SDP across various application domains.

Software Practice and Experience
Delhi Technological University (IN)
Openalex Percentile: Top 3%
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.

A Unified Deep Learning Based Feature Representation Approach for Effective Software Defect Prediction — Priya Singh, Ruchika Malhotra · Software Practice and Experience (2026) | TGRS Research Map | TGRS