首页> 外文会议>Software Security and Reliability (SERE), 2012 IEEE Sixth International Conference on >µTIL: Mutation-based Statistical Test Inputs Generation for Automatic Fault Localization
【24h】

µTIL: Mutation-based Statistical Test Inputs Generation for Automatic Fault Localization

机译:µTIL:基于突变的统计测试输入生成,用于自动故障定位

获取原文
获取原文并翻译 | 示例

摘要

Automatic Fault Localization (AFL) is a process to locate faults automatically in software programs. Essentially, an AFL method takes as input a set of test cases including failed test cases, and ranks the statements of a program from the most likely to the least likely to contain a fault. As a result, the efficiency of an AFL method depends on the "quality" of the test cases used to rank statements. More specifically, in order to improve the accuracy of their ranking within test budget constraints, we have to ensure that program statements are executed by a reasonably large number of test cases which provide a coverage as uniform as possible of the input domain. This paper proposes MuTIL, a new statistical test inputs generation method dedicated to AFL, based on constraint solving and mutation testing. Using mutants where the locations of injected faults are known, MuTIL is able to significantly reduce the length of an AFL test suite while retaining its accuracy (i.e., the code size to examine before spotting the fault). In order to address the motivations stated above, the statistical generator objectives are two-fold: 1) each feasible path of the program is activated with the same probability, 2) the sub domain associated to each feasible path is uniformly covered. Using several widely used ranking techniques (i.e., Tarantula, Jaccard, Ochiai), we show on a small but realistic program that a proof-of-concept implementation of MuTIL can generate test sets with significantly better fault localization accuracy than both random testing and adaptive random testing. We also show on the same program that using mutation testing enables a 75% length reduction of the AFL test suite without decrease in accuracy.
机译:自动故障定位(AFL)是在软件程序中自动定位故障的过程。本质上,AFL方法将包括失败测试用例的一组测试用例作为输入,并对程序中的语句从最有可能出现故障的可能性到最不可能发生的故障进行排序。结果,AFL方法的效率取决于用于对语句进行排名的测试用例的“质量”。更具体地说,为了提高在测试预算约束内的排名准确性,我们必须确保程序语句由相当多的测试用例执行,这些用例可以提供尽可能统一的输入域覆盖。本文提出了MuTIL,一种新的统计测试输入生成方法,专用于AFL,它基于约束求解和变异测试。使用已知注入故障位置的突变体,MuTIL能够显着缩短AFL测试套件的长度,同时保持其准确性(即在发现故障之前要检查的代码大小)。为了解决上述动机,统计生成器的目标有两个:1)以相同的概率激活程序的每个可行路径; 2)统一覆盖与每个可行路径相关的子域。通过使用几种广泛使用的排名技术(例如,塔兰图拉毒蛛,贾卡德,奥奇爱),我们在一个小而现实的程序上证明,MuTIL的概念验证实现可以生成比随机测试和自适应测试具有更好的故障定位精度的测试集随机测试。我们还在同一程序上显示,使用突变测试可以使AFL测试套件的长度减少75%,而不会降低准确性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号