• Home
  • Search
  • Improving fault localization via weighted execution graph and graph attention network
  • Cite Icon5
  • https://doi.org/10.1002/smr.2619Copy DOI Icon

Improving fault localization via weighted execution graph and graph attention network

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Abstract Software fault localization is commonly recognized as arduous and time consuming. Spectrum‐based fault localization (SBFL) has been widely used due to its lightness. However, the effectiveness of SBFL is limited since it only considers simple statistics on the coverage information, ignoring the tie problem that the spectrum matrixes of some statements are the same. Most existing deep learning‐based fault localization (DLFL) techniques convert the coverage information into a vector, which utilizes the spectrum in a simplified manner and still has limitations in practice. To solve the above problem, we propose an approach via the weighted execution graph and graph attention network (WEGAT). We use a graph structure to represent the coverage information between test cases and program elements. Then, we generate a weighted execution graph by applying the predicate execution sequence. Furthermore, we combine the weighted execution graph with the AST as an integrated graph, which is the input of the GAT for fault localization. We evaluate WEGAT in within‐project and cross‐project prediction scenarios on the Defects4J benchmark. Experimental results show that our approach outperforms traditional SBFL (Ochiai, DStar and Tarantula) and DLFL (TraPT, CNN‐FL, Grace, and AGFL) methods, effectively improving the accuracy of fault localization.

Similar Papers
  • Research Article
  • Citations87

Historical Spectrum Based Fault Localization

  • Nov 01, 2021
  • IEEE Transactions on Software Engineering
  • Ming Wen +6
  • Conference Article

MCFL: Improving Fault Localization by Differentiating Missing Code and Other Faults

  • Jul 01, 2020
  • Zijie Li +3
  • Conference Article
  • Citations15

Using Partition Information to Prioritize Test Cases for Fault Localization

  • Jul 01, 2015
  • Xiao-Yi Zhang +4
  • Conference Article
  • Citations25

An empirical study on clustering for isolating bugs in fault localization

  • Nov 01, 2013
  • Yanqin Huang +4
  • Conference Article
  • Citations112

“Automated Debugging Considered Harmful” Considered Harmful: A User Study Revisiting the Usefulness of Spectra-Based Fault Localization Techniques with Professionals Using Real Bugs from Large Systems

  • Oct 01, 2016
  • Xin Xia +3
  • Conference Article
  • Citations1

Hey APR! Integrate Our Fault Localization Skill: Toward Better Automated Program Repair

  • Jun 01, 2022
  • Kyosuke Yamate +4
  • Conference Article
  • Citations240

FLUCCS: using code and change metrics to improve fault localization

  • Jul 10, 2017
  • Jeongju Sohn +1
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Conference Article
  • Citations2

Leveraging Contextual Information from Function Call Chains to Improve Fault Localization

  • May 01, 2019
  • Arpad Beszedes +3
  • Conference Article
  • Citations2

Towards Context-Aware Spectrum-Based Fault Localization

  • Apr 01, 2023
  • Attila Szatmári
  • Conference Article
  • Citations6

A Test Suite Reduction Approach to Improving the Effectiveness of Fault Localization

  • Nov 01, 2017
  • Wenhao Fu +4
  • Conference Article
  • Citations10

Challenges of Operationalizing Spectrum-Based Fault Localization from a Data-Centric Perspective

  • Mar 01, 2017
  • Mojdeh Golagha +1
  • Conference Article
  • Citations11

Why train-and-select when you can use them all?

  • Jul 13, 2019
  • Jeongju Sohn +1
  • Research Article
  • Citations54

Fault localization for automated program repair: effectiveness, performance, repair correctness

  • Mar 26, 2016
  • Software Quality Journal
  • Fatmah Yousef Assiri +1
  • Conference Article
  • Citations5

Spectrum-Based Fault Localization Method with Test Case Reduction

  • Jul 01, 2015
  • Xiaohong Zhang +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.