arrow
返回

Learning a graph-based classifier for fault localization

delete2020-05-09
delete10
PRE
AI
H
Hao Zhong *
H
Hong Mei
DOI:10.1007/s11432-019-2720-1delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Because software emerged, locating software faults has been intensively researched, culminating in various approaches and tools that have been applied in real development. Despite the success of these developments, improved tools are still demanded by programmers. Meanwhile, some programmers are reluctant to use any tools when locating faults in their development. The state-of-the-art situation can be naturally improved by learning how programmers locate faults. The rapid development of open-source software has accumulated many bug fixes. A bug fix is a specific type of comments containing a set of buggy files and their corresponding fixed files, which reveal how programmers repair bugs. Feasibly, an automatic model can learn fault locations from bug fixes, but prior attempts to achieve this vision have been prevented by various technical challenges. For example, most bug fixes are not compilable after checking out, which hinders analyzing bug fixes by most advanced static/dynamic tools. This paper proposes an approach called ClaFa that trains a graph-based fault classifier from bug fixes. ClaFa is built on a recent partial-code tool called Grapa, which enables the analysis of partial programs by the complete code tool called WALA. Once Grapa has built a program dependency graph from a bug fix, ClaFa compares the graph from the buggy code with the graph from the fixed code, locates the buggy nodes, and extracts the various graph features of the buggy and clean nodes. Based on the extraction result, ClaFa trains a classifier that combines Adaboost and decision tree learning. The trained ClaFa can predict whether a node of a program dependency graph is buggy or clean. We evaluate ClaFa on thousands of buggy files collected from four open-source projects: Aries, Mahout, Derby, and Cassandra. The f-scores of ClaFa achieves are approximately 80% on all projects.
Keyword:
fault classifier
partial code analysis
bug fix analysis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Science China Information Sciences 封面图
Science China Information Sciences
IF:
7.6
论文数:
4.9K
被引数:
1.0W

机构

S
Shanghai Jiao Tong University
学者数:
9.9K
论文数: 2.9K
被引数: 19
引用论文

引用论文

Exposure of Pancreatic β-Cells to Excess Glucose Results in Bimodal Activation of mTORC1 and mTOR-Dependent Metabolic Acceleration
err2020-02-01
err0
errOAAI
errCourtney Zasha Rumala; Juan Liu; Jason Wei Locasale; Barbara Ellen Corkey; Jude Thaddeus Deeney; Lucia Egydio Rameh
err分享
err收藏
Phosphoproteomics and Proteomics Reveal Metabolism as a Key Node in LPS-Induced Acute Inflammation in RAW264.7
err2020-06-02
err0
PREAI
errYu Luo; Qing Jiang; Zhengwen Zhu; Haseeb Sattar; Jiasi Wu; Wenge Huang; Siyu Su; Yusheng Liang; Ping Wang; Xianli Meng
err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
学者 查看更多内容