首页> 外文会议>2013 Fourth 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号