...
首页> 外文期刊>Data technologies and applications >An error-propagation aware method to reduce the software mutation cost using genetic algorithm
【24h】

An error-propagation aware method to reduce the software mutation cost using genetic algorithm

机译:减少一个误差传播意识到方法使用遗传算法软件突变成本

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

摘要

Purpose The purpose of this study is to reduce the number of mutations and, consequently, reduce the cost of mutation test. The results of related studies indicate that about 40% of injected faults (mutants) in the source code are effect-less (equivalent). Equivalent mutants are one of the major costs of mutation testing and the identification of equivalent and effect-less mutants has been known as an undecidable problem. Design/methodology/approach In a program with n branch instructions (if instruction) there are 2n execution paths (test paths) that the data and codes into each of these paths can be considered as a target of mutation. Given the role and impact of data in a program, some of data and codes propagates the injected mutants more likely to the output of the program. In this study, firstly the error-propagation rate of the program data is quantified using static analysis of the program control-flow graph. Then, the most error-propagating test paths are identified by the proposed heuristic algorithm (Genetic Algorithm [GA]). Data and codes with higher error-propagation rate are only considered as the strategic locations for the mutation testing. Findings In order to evaluate the proposed method, an extensive series of mutation testing experiments have been conducted on a set of traditional benchmark programs using MuJava tool set. The results depict that the proposed method reduces the number of mutants about 24%. Also, in the corresponding experiments, the mutation score is increased about 5.6%. The success rate of the GA in finding the most error-propagating paths of the input programs is 99%. On average, only 7.46% of generated mutants by the proposed method are equivalent. Indeed, 92.54% of generated mutants are non-equivalent. Originality/value The main contribution of this study is as follows: Proposing a set of equations to measure the error-propagation rate of each data, basic-block and execution path of a program. Proposing a genetic algorithm to identify a most error-propagating path of program as locations of mutations. Developing an efficient mutation-testing framework that mutates only the strategic locations of a program identified by the proposed genetic algorithms. Reducing the time and cost of mutation testing by reducing the equivalent mutants.
机译:目的本研究的目的是减少数量的突变,因此,减少变异测试的成本。研究表明,大约40%的注射缺点(突变)在源代码中effect-less(等价)。的一个主要突变检测和成本等效和effect-less的识别突变体被称为一个不可判定的问题。设计/方法/方法在程序与n分支指令(指令)有2 n测试执行路径(路径)的数据码到这些路径可以被考虑作为一个突变的目标。在程序中数据的影响,一些数据和码传播注入的突变体的可能性更大程序的输出。首先程序的误差传播率使用静态分析的量化数据程序控制流图。error-propagating测试路径识别提出了启发式算法(遗传算法(GA))。只考虑的误差传播率战略位置突变测试。结果为了评估建议方法,一个广泛的一系列突变测试一组实验进行传统的基准程序使用MuJava工具集。减少了突变体的数量约为24%。相应的实验中,突变分数增加约5.6%。找到最error-propagating路径的遗传算法输入项目是99%。生成的突变体的方法等价的。是等效的。本研究的贡献如下:提出一组方程来衡量每个数据,误差传播的基本块和程序的执行路径。遗传算法确定一个最error-propagating道路项目的位置突变。mutation-testing框架,只变异战略位置的程序了提出的遗传算法。变异测试的时间和成本降低等效突变体。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号