首页> 外文会议>10th International Conference on Frontiers of Information Technology. >Control Oriented Mutation Testing for Detection of Potential Software Bugs
【24h】

Control Oriented Mutation Testing for Detection of Potential Software Bugs

机译:面向控制的突变测试,用于检测潜在的软件错误

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

摘要

An effective test case suite is one that has the potential to reveal real faults in the code. Mutation testing is a fault-based technique that helps measure the strength of test case set and to generate effective test cases. Faults are injected through pre-defined mutation operators and mutation score is a mean to calculate usefulness of test case set. Mutation testing approach suffers from two of its inherent issues, it is computationally expensive, second generation of equivalent mutants. Along with original program, every mutant has to be executed against all the test cases. An equivalent mutant always produces same output on original and mutant program for every possible test case. Program's behavior comprises of two kinds of information, control flow and data flow. Mutation testing techniques that have been proposed so far consider only data flow information and they ignore the importance of flow of control within the program. In this paper we propose a new approach that encourages using control flow information along with data flow information in mutation testing for detection of bugs. Bugs can hide themselves within equivalent mutants and in these scenarios control flow information can be quite useful to uncover them. Experiments show that using control flow information can help revealing potential bugs in the program.
机译:一个有效的测试用例套件是有潜力揭示代码中实际错误的套件。变异测试是一种基于故障的技术,可帮助衡量测试用例集的强度并生成有效的测试用例。通过预定义的变异算子注入故障,变异分数是计算测试用例集有用性的一种手段。变异测试方法有两个固有的问题,它是计算上昂贵的第二代等效突变体。与原始程序一起,每个变体都必须针对所有测试用例执行。对于每个可能的测试用例,等效的变量总是在原始程序和变量程序上产生相同的输出。程序的行为包括两种信息,控制流和数据流。到目前为止,已经提出的变异测试技术仅考虑数据流信息,而忽略了程序内控制流的重要性。在本文中,我们提出了一种新方法,该方法鼓励在突变测试中使用控制流信息和数据流信息来检测错误。错误可以将自己隐藏在同等的变量中,在这些情况下,控制流信息对于发现它们非常有用。实验表明,使用控制流信息可以帮助发现程序中的潜在错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号