首页> 外文会议>World Congress on Software Engineering >Locating Faulty Code Using Failure-Causing Input Combinations in Combinatorial Testing
【24h】

Locating Faulty Code Using Failure-Causing Input Combinations in Combinatorial Testing

机译:使用在组合测试中使用故障引起的输入组合定位故障代码

获取原文

摘要

The high cost of locating faults in programs has motivated the development of techniques that assist in fault localization by automating part of the process of searching for faults. A method to automatically locate faulty code using failure-causing input combination in combinatorial testing is firstly presented in this paper. Firstly, four types of fault locations are figured out by using parameters in the combination to understand the context of the fault. Secondly, based on the four types of fault locations, an algorithm is proposed to isolate candidate faulty code and obtain cause-effect chains of the failure by means of changing values of parameters in the combination. Finally, experiments are carried out on 92 variations of four programs using the known measurement which is improved in search order and search space of code. Results show that the user could avoid searching over 77% of the program in order to localize faults at code-level. Our method has successfully extended the original method of rooting the fault via combinatorial testing from the input-level to the code-level. It could be easily applicable and broadly practicable in combinatorial testing, and greatly narrow down the search focus on code-level faults.
机译:定位程序中的故障的高成本具有激励开发技术,可以通过自动化搜索故障的一部分来帮助故障定位。本文首先介绍了使用组合测试中的故障引起的输入组合自动定位故障代码的方法。首先,通过使用组合中的参数来了解四种类型的故障位置以了解故障的上下文。其次,基于四种类型的故障位置,提出了一种算法来隔离候选故障代码,并通过在组合中的参数的值改变值来获得失败的原因效果链。最后,使用已知测量的四个程序的92个变体进行实验,该测量在搜索顺序中得到改善和搜索代码的搜索空间。结果表明,用户可以避免搜索超过77%的程序,以便在代码级别本地化故障。我们的方法通过从输入级别到代码级,通过组合测试成功扩展了根本源的原始方法。在组合测试中可以很容易地应用和广泛切实可行,并且大大缩小搜索专注于代码级故障。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号