【24h】

Call Frequency-Based Fault Localization

机译:呼叫基于频率的故障定位

获取原文

摘要

Spectrum-Based Fault Localization (SBFL), in its basic form, uses only local information about a program element’s (such as a method’s) coverage to predict its faultiness, and rarely is any additional (contextual) information leveraged about the element itself, nor the test cases. As such an additional context, in the presented approach, we rely on the frequency of the investigated method occurring in call stack instances during the course of executing the failing test cases. The basic intuition is that if a method is called in many different contexts during a failing test case, it will be more probable to be accountable for the fault compared to other methods. We empirically evaluated the fault localization capability of the approach compared to five traditional SBFL techniques using the bug benchmark Defects4J. We found that the new algorithms (i) find the location of bugs at higher rank positions more often, (ii) can achieve 38%–52% rank position improvement compared to the baseline algorithms with statistical significance, and (iii) place more items at the top-10 positions of the suspiciousness ranking.
机译:基于频谱的故障定位(SBFL),其基本形式仅使用有关程序元素的本地信息(例如方法的)覆盖范围来预测其故障,并且很少是对元素本身的任何额外(上下文)信息,也不是测试用例。作为这样的另外的上下文,在呈现的方法中,我们依赖于在执行失败测试用例的过程中呼叫堆栈实例中发生的调查方法的频率。基本的直觉是,如果在失败的测试用例期间在许多不同的上下文中调用方法,则与其他方法相比,故障将更有可能对其负责。与使用BUG基准缺陷缺陷4j的五种传统的SBFL技术相比,我们经验凭经验评估了该方法的故障定位能力。我们发现新的算法(i)更频繁地找到了更高等级位置的错误的位置,(ii)可以实现与具有统计显着性的基线算法相比的38%-52%的等级改进,(iii)放置更多物品在可疑排名的前10个职位。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号