Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization

ABSTRACT Although the advanced spectrum‐based fault localization techniques introduce graph models to measure the faulty suspiciousness of entities, they still lack effective leverage of the contextual semantics of program units, making it difficult to reveal the complex causal relationships of bugs. Therefore, this paper proposes the C ontextual S emantic Coupling C orrelation Analysis for the Software F ault L ocalization (CSCFL), employing semantic embedding and coupling correlation of contextual associations based on contextual embedding and graph attention mechanism. Based on the test coverage graph representation, the pre‐trained self‐attention embedding model encodes the entity embeddings considering context associations, fully mining the contextual information among program entities to obtain contextual feature representation. CSCFL introduces the graph attention network to learn the context semantic coupling correlation between entities. By analyzing the causal relationships and semantic collaborations that lead to faults, the context semantics analysis module automatically weights and aggregates the influence of contextual entities to generate more accurate fault feature representations, thereby improving localization effectiveness. The experimental results show that, with respect to Top‐1, Top‐3, and Top‐5 metrics, the proposed method outperforms the baseline methods by , and , respectively, and outperforms cutting‐edge LLM‐based methods by , and .

Authors

Institutions

Publication Details

Journal
Journal of Software Evolution and Process
Published
2026-04-01
DOI
https://doi.org/10.1002/smr.70103
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization

Hao Xu, Guyu Zhao, Hongdou He, Xiaoming Ma
Journal of Software Evolution and Process
Software Engineering Research
article

Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization

Hao Xu, Guyu Zhao, Hongdou He, Xiaoming Ma
article en

Abstract

ABSTRACT Although the advanced spectrum‐based fault localization techniques introduce graph models to measure the faulty suspiciousness of entities, they still lack effective leverage of the contextual semantics of program units, making it difficult to reveal the complex causal relationships of bugs. Therefore, this paper proposes the C ontextual S emantic Coupling C orrelation Analysis for the Software F ault L ocalization (CSCFL), employing semantic embedding and coupling correlation of contextual associations based on contextual embedding and graph attention mechanism. Based on the test coverage graph representation, the pre‐trained self‐attention embedding model encodes the entity embeddings considering context associations, fully mining the contextual information among program entities to obtain contextual feature representation. CSCFL introduces the graph attention network to learn the context semantic coupling correlation between entities. By analyzing the causal relationships and semantic collaborations that lead to faults, the context semantics analysis module automatically weights and aggregates the influence of contextual entities to generate more accurate fault feature representations, thereby improving localization effectiveness. The experimental results show that, with respect to Top‐1, Top‐3, and Top‐5 metrics, the proposed method outperforms the baseline methods by , and , respectively, and outperforms cutting‐edge LLM‐based methods by , and .

Journal of Software Evolution and ProcessVol. 38(4)
Yanshan University (CN), Hebei University of Environmental Engineering (CN), Anhui Institute of Information Technology (CN)
National Natural Science Foundation of China
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.