arrow
返回

Variable-based Fault Localization via Enhanced Decision Tree

delete2023-12-21
delete2
delete
OA
AI
J
Jiajun Jiang
Y
Yumeng Wang
J
Junjie Chen *
D
Delin Lv
M
Mengjiao Liu
DOI:10.1145/3624741delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Fault localization, aiming at localizing the root cause of the bug under repair, has been a longstanding research topic. Although many approaches have been proposed in past decades, most of the existing studies work at coarse-grained statement or method levels with very limited insights about how to repair the bug (granularity problem), but few studies target the finer-grained fault localization. In this article, we target the granularity problem and propose a novel finer-grained variable-level fault localization technique. Specifically, the basic idea of our approach is that fault-relevant variables may exhibit different values in failed and passed test runs, and variables that have higher discrimination ability have a larger possibility to be the root causes of the failure. Based on this, we propose a program-dependency-enhanced decision tree model to boost the identification of fault-relevant variables via discriminating failed and passed test cases based on the variable values. To evaluate the effectiveness of our approach, we have implemented it in a tool called VarDT and conducted an extensive study over the Defects4J benchmark. The results show that VarDT outperforms the state-of-the-art fault localization approaches with at least 268.4% improvement in terms of bugs located at Top-1, and the average improvement is 351.3%. Besides, to investigate whether our finer-grained fault localization result can further improve the effectiveness of downstream APR techniques, we have adapted VarDT to the application of patch filtering, where we use the variables located by VarDT to filter incorrect patches. The results denote that VarDT outperforms the state-of-the-art PATCH-SIM and BATS by filtering 14.8% and 181.8% more incorrect patches, respectively, demonstrating the effectiveness of our approach. It also provides a new way of thinking for improving automatic program repair techniques.
Keyword:
Fault localization
program debugging
decision tree

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

T
tianjin university
学者数:
8.0W
论文数: 5.8W
被引数: 88
引用论文

引用论文

Transcriptome-wide quantification of double-stranded RNAs in live mouse tissues by dsRIP-Seq
err2021-03-01
err0
errOAAI
errYimeng Gao; Shirui Chen; Stephanie Halene; Toma Tebaldi
err分享
err收藏
Mitral annular calcification predicts immediate results of percutaneous transvenous mitral commissurotomy
err2011-10-28
err0
errOAAI
errMojtaba Salarifar; Mehrnaz Rezvanfard; Hakimeh Sadeghian; Azam Safir-mardanloo; Nahid Shafii
err分享
err收藏
err分享
err收藏
Role of the Gut Microbiota in Health and Disease
err2017-11-29
err0
PREAI
errHyunjoon Park; Soyoung Yeo; Karina Arellano; Hyeon Rae Kim; Wilhelm Holzapfel
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容