Leveraging Network Representation Methods to Optimize Software Defect Prediction

The importance of Software Defect Prediction (SDP) is well-recognized due to its ability to identify potential defects early in the software development lifecycle. Traditional SDP approaches that rely on metrics such as code complexity and coupling often fall short in capturing the intricate interrelationships and interactions typical of large-scale software systems. To design a more efficient and accurate SDP model, it is essential to better represent the structural dependencies within software. Network-based graphical representations—such as call graphs and class dependency networks—offer a promising means to capture these complex relationships and hidden patterns. Call graphs illustrate function-level interactions by mapping caller-callee relationships, while class dependency networks represent dependencies between software modules. This study investigates the effectiveness of call graphs and class dependency networks in developing a highly accurate SDP framework. The evaluation involves ten Java-based open-source projects and ten machine learning classifiers. Results show that call graphs outperform class dependency networks in most cases, with improvements in AUC ranging from 2.9% to 8.94%. This performance gain is attributed to the call graphs' superior ability to model intricate relationships between software components—an essential factor in defect prediction. Among the classifiers tested, the Generative Adversarial Network (GAN) emerged as the most effective, achieving an AUC of 0.91 and an accuracy of 92.5%.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-29
DOI
https://doi.org/10.5281/zenodo.15768407
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

Leveraging Network Representation Methods to Optimize Software Defect Prediction

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

Leveraging Network Representation Methods to Optimize Software Defect Prediction

article en

Abstract

The importance of Software Defect Prediction (SDP) is well-recognized due to its ability to identify potential defects early in the software development lifecycle. Traditional SDP approaches that rely on metrics such as code complexity and coupling often fall short in capturing the intricate interrelationships and interactions typical of large-scale software systems. To design a more efficient and accurate SDP model, it is essential to better represent the structural dependencies within software. Network-based graphical representations—such as call graphs and class dependency networks—offer a promising means to capture these complex relationships and hidden patterns. Call graphs illustrate function-level interactions by mapping caller-callee relationships, while class dependency networks represent dependencies between software modules. This study investigates the effectiveness of call graphs and class dependency networks in developing a highly accurate SDP framework. The evaluation involves ten Java-based open-source projects and ten machine learning classifiers. Results show that call graphs outperform class dependency networks in most cases, with improvements in AUC ranging from 2.9% to 8.94%. This performance gain is attributed to the call graphs' superior ability to model intricate relationships between software components—an essential factor in defect prediction. Among the classifiers tested, the Generative Adversarial Network (GAN) emerged as the most effective, achieving an AUC of 0.91 and an accuracy of 92.5%.

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Openalex Percentile: Top 44%
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.