Fault Localization with Code Coverage Representation Learning
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose DeepRL4FL, a deep learning fault localization (FL) approach that locates the buggy code at the statement and method levels by treating FL as an image pattern recognition problem. DeepRL4FL does so via novel code coverage representation learning (RL) and data dependencies RL for program statements. Those two types of RL on the dynamic information in a code coverage matrix are also combined with the code representation learning on the static information of the usual suspicious source code. This combination is inspired by crime scene investigation in which investigators analyze the crime scene (failed test cases and statements) and related persons (statements with dependencies), and at the same time, examine the usual suspects who have committed a similar crime in the past (similar buggy code in the training data). For the code coverage information, DeepRL4FL first orders the test cases and marks error-exhibiting code statements, expecting that a model can recognize the patterns discriminating between faulty and non-faulty statements/methods. For dependencies among statements, the suspiciousness of a statement is seen taking into account the data dependencies to other statements in execution and data flows, in addition to the statement by itself. Finally, the vector representations for code coverage matrix, data dependencies among statements, and source code are combined and used as the input of a classifier built from a Convolution Neural Network to detect buggy statements/methods. Our empirical evaluation shows that DeepRL4FL improves the top-1 results over the state-of-the-art statement-level FL baselines from 173.1% to 491.7%. It also improves the top-1 results over the existing method-level FL baselines from 15.0% to 206.3%.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Feb 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 5; 2024: 5; 2025: 3; 2026: 2.
16 papers.
Sort:
By area:
- 2023Large Language Models for Test-Free Fault Localizationcited by 67
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysiscited by 33
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2025Tool-integrated Reinforcement Learning for Repo Deep Searchcited by 14
- 2024ChatDBG: Augmenting Debugging with Large Language Modelscited by 9
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
- 2022A Library for Representing Python Programs as Graphs for Machine Learningcited by 4
- 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
- 2023ARIST: An Effective API Argument Recommendation Approachcited by 2
- 2023Revisiting Estimation Bias in Policy Gradients for Deep Reinforcement Learningcited by 1
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Tracescited by 1
4 more
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Taskscited by 0
- 2024Aligning Programming Language and Natural Language: Exploring Design Choices in Multi-Modal Transformer-Based Embedding for Bug Localizationcited by 0
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Googlecited by 0
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysis17 Sep 2025
- 2025Tool-integrated Reinforcement Learning for Repo Deep Search5 Aug 2025
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces29 Jan 2025
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion20 Sep 2024
- 2024Aligning Programming Language and Natural Language: Exploring Design Choices in Multi-Modal Transformer-Based Embedding for Bug Localization25 Jun 2024
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Tasks17 Jun 2024
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr 2024
- 2024ChatDBG: Augmenting Debugging with Large Language Models25 Mar 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Large Language Models for Test-Free Fault Localization3 Oct 2023
4 more
- 2023ARIST: An Effective API Argument Recommendation Approach11 Jun 2023
- 2023Multi-Granularity Detector for Vulnerability Fixes23 May 2023
- 2023Revisiting Estimation Bias in Policy Gradients for Deep Reinforcement Learning20 Jan 2023
- 2022A Library for Representing Python Programs as Graphs for Machine Learning15 Aug 2022
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysiscited by 33
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agentscited by 0
- 2026PYTHALAB-MERA: Validation-Grounded Memory, Retrieval, and Acceptance Control for Frozen-LLM Coding Agents8 May 2026
- 2025Who is Introducing the Failure? Automatically Attributing Failures of Multi-Agent Systems via Spectrum Analysis17 Sep 2025
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion20 Sep 2024
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr 2024
- 2023Large Language Models for Test-Free Fault Localizationcited by 67
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2025Tool-integrated Reinforcement Learning for Repo Deep Searchcited by 14
- 2024ChatDBG: Augmenting Debugging with Large Language Modelscited by 9
- 2022A Library for Representing Python Programs as Graphs for Machine Learningcited by 4
- 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
- 2023ARIST: An Effective API Argument Recommendation Approachcited by 2
- 2023Revisiting Estimation Bias in Policy Gradients for Deep Reinforcement Learningcited by 1
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Tracescited by 1
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Taskscited by 0
- 2024Aligning Programming Language and Natural Language: Exploring Design Choices in Multi-Modal Transformer-Based Embedding for Bug Localizationcited by 0
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Googlecited by 0
- 2026LLM-Based Automated Diagnosis Of Integration Test Failures At Google13 Apr 2026
- 2025Tool-integrated Reinforcement Learning for Repo Deep Search5 Aug 2025
- 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Traces29 Jan 2025
- 2024Aligning Programming Language and Natural Language: Exploring Design Choices in Multi-Modal Transformer-Based Embedding for Bug Localization25 Jun 2024
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Tasks17 Jun 2024
- 2024ChatDBG: Augmenting Debugging with Large Language Models25 Mar 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Large Language Models for Test-Free Fault Localization3 Oct 2023
- 2023ARIST: An Effective API Argument Recommendation Approach11 Jun 2023
- 2023Multi-Granularity Detector for Vulnerability Fixes23 May 2023
- 2023Revisiting Estimation Bias in Policy Gradients for Deep Reinforcement Learning20 Jan 2023
- 2022A Library for Representing Python Programs as Graphs for Machine Learning15 Aug 2022