Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization
Journal of Software: Evolution and Process · 2026-04 · 38 (4)
DOI: 10.1002/smr.70103 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Software: Evolution and Process, online erschienen am 09.04.2026. Verfasst von Hongdou He und 3 weiteren Autor:innen. Die Arbeit nennt 42 Literaturangaben. Gefördert von: National Natural Science Foundation of China.
Abstract (Originalsprache)
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 .
Förderung
- National Natural Science Foundation of China
Zitieren
APA
He, H., Ma, X., Xu, H., & Zhao, G. (2026). Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization. Journal of Software: Evolution and Process, 38(4). https://doi.org/10.1002/smr.70103
Vancouver
He H, Ma X, Xu H, Zhao G. Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization. Journal of Software: Evolution and Process. 2026;38(4). doi:10.1002/smr.70103
BibTeX
@article{He2026,
author = {He, Hongdou and Ma, Xiaoming and Xu, Huazhi and Zhao, Guyu},
title = {Graph Attention‐Based Contextual Semantic Correlation Analysis for Software Fault Localization},
journal = {Journal of Software: Evolution and Process},
year = {2026},
volume = {38},
number = {4},
doi = {10.1002/smr.70103}
}
EUVIMED