首页> 外文期刊>Software Engineering Notes >Evolutionary Testing in the Presence of Loop-Assigned Flags: A Testability Transformation Approach
【24h】

Evolutionary Testing in the Presence of Loop-Assigned Flags: A Testability Transformation Approach

机译:循环分配标志存在下的进化测试:可测试性转换方法

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Evolutionary testing is an effective technique for automatically generating good quality test data. However, for structural testing, the technique degenerates to random testing in the presence of flag variables, which also present problems for other automated test data generation techniques. Previous work on the flag problem does not address flags assigned in loops. This paper introduces a testability transformation that transforms programs with loop-assigned flags so that existing genetic approaches can be successfully applied. It then presents empirical data demonstrating the effectiveness of the transformation. Untransformed, the genetic algorithm flounders and is unable to find a solution. Two transformations are considered. The first allows the search to find a solution. The second reduces the time taken by an order of magnitude and, more importantly, reduces the slope of the cost increase; thus, greatly increasing the complexity of the problem to which the genetic algorithm can be applied. The paper also presents a second empirical study showing that loop-assigned flags are prevalent in real world code. They account for just under 11% of all flags.
机译:进化测试是一种自动生成高质量测试数据的有效技术。但是,对于结构测试,该技术在存在标记变量的情况下退化为随机测试,这对于其他自动测试数据生成技术也存在问题。先前关于标志问题的工作无法解决循环中分配的标志。本文介绍了一种可测试性转换,该转换用循环分配的标志转换程序,以便可以成功地应用现有的遗传方法。然后提供了经验数据,证明了转换的有效性。遗传算法未经转换,会陷入困境,无法找到解决方案。考虑了两个变换。第一个允许搜索找到解决方案。第二种方法将所需的时间减少了一个数量级,更重要的是,降低了成本增加的幅度。因此,极大地增加了可以应用遗传算法的问题的复杂性。本文还提供了第二项实证研究,表明在现实世界代码中普遍使用了循环分配标志。它们占所有标志的不到11%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号