Fault localization using itemset mining under constraint

本文介绍了一种基于项集挖掘的故障定位方法,该方法将故障定位问题形式化为寻找满足约束条件的最佳模式。通过约束编程解决项集基础的故障定位问题,并通过实验验证了该方法的有效性。

abstract:

We introduce in this paper an itemset mining approach to tackle the fault localization problem, which is one of the most difficult processes in software debugging. We formalize the problem of fault localization as finding the k best patterns satisfying a set of constraints modelling the suspicious statements. We use a Constraint Programming(CP) approach to model and to solve our itemset based fault localization problem. Our approach consists of two steps: (i) mining top-k suspicious suites of statements; (ii) fault localization by processing top-k patterns. Experiments performed on standard benchmark programs show that our approach enables to propose a more precise localization than a standard approach.

 

ps.  The second step aims at ranking in a more accurate way the whole top-k statements by taking benefit of two main observations:

(1) where faults are introduced in a program can be seen as a pattern (set of statements), which is more frequent in failing executions than passing ones;

(2) the difference beween a more suspicious pattern and a less suspicious one is a set of statements that appears/disappears in one or other; this difference helps us to know more about the location of the fault. 

We have shown how these two properties can be exploited in an ad-hoc ranking algorithm producing accuate localization. 

As future works, we plan to experiment our approach on programs with complex faults (more than one faulty statement). We also plan to explore other observations on the behavior of a faulty program and adding them as contraint for mining the location of faults.

转载于:https://www.cnblogs.com/YWahpu/p/7234853.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值