arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1712.03361cs.SE
收藏

基于信息论分析和统计因果推理的有效故障定位

Inforence: Effective Fault Localization Based on Information-Theoretic Analysis and Statistical Causal Inference

Farid Feyzi, Saeed Parsa

摘要:

在本文中,一种新的方法,Inforence,提出了隔离可疑的代码,可能包含故障。Inforence采用了一种基于互信息的特征选择方法,以识别那些可能导致程序失败的错误相关语句。由于大多数程序故障可能会被揭示为不希望的联合效果的程序语句对彼此和程序终止状态,不像国家的最先进的方法,信息试图识别和选择组相互依赖的语句,这完全可能影响程序故障。语句之间的相互依赖性是根据它们对彼此和对程序终止状态的相互影响来衡量的。为了提供失败的上下文,考虑到程序的静态结构,所选择的错误相关语句彼此链接。最后,所产生的因果链排名根据其组合的因果关系对程序失败。为了验证Inforence,我们的实验结果与七套程序,包括西门子套件,gzip,grep,sed,空间,使和bash。实验结果进行了比较,提供了不同的故障定位技术的单故障和多故障程序。实验结果证明了所提出的方法相比,国家的最先进的技术的优越性。

英文摘要:

In this paper, a novel approach, Inforence, is proposed to isolate the suspicious codes that likely contain faults. Inforence employs a feature selection method, based on mutual information, to identify those bug-related statements that may cause the program to fail. Because the majority of a program faults may be revealed as undesired joint effect of the program statements on each other and on program termination state, unlike the state-of-the-art methods, Inforence tries to identify and select groups of interdependent statements which altogether may affect the program failure. The interdependence amongst the statements is measured according to their mutual effect on each other and on the program termination state. To provide the context of failure, the selected bug-related statements are chained to each other, considering the program static structure. Eventually, the resultant cause-effect chains are ranked according to their combined causal effect on program failure. To validate Inforence, the results of our experiments with seven sets of programs include Siemens suite, gzip, grep, sed, space, make and bash are presented. The experimental results are then compared with those provided by different fault localization techniques for the both single-fault and multi-fault programs. The experimental results prove the outperformance of the proposed method compared to the state-of-the-art techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑