首页> 外文会议>International Conference оп Computing for Sustainable Global Development >Towards a parallel approach for test data generation for branch coverage with genetic algorithm using the extended path prefix strategy
【24h】

Towards a parallel approach for test data generation for branch coverage with genetic algorithm using the extended path prefix strategy

机译:迈向使用扩展路径前缀策略的遗传算法并行测试数据生成分支覆盖的方法

获取原文

摘要

In this paper we present a proposal for an approach to test data generation for branch coverage with a structured genetic algorithm (GA) using the extended path prefix strategy. The structured GA implements a parallel master-slave distributed model in which each slave implements an elitist panmictic GA. Branches to be covered are selected by the master using the extended path prefix strategy and then dispatched to slaves. The slaves then conduct search for test data to cover the assigned target branch. The extended path prefix strategy ensures that each time a branch is selected for coverage, the sibling branch is already covered and that individuals are available that traverse the sibling. The strategy also permits a variable number of slaves to be used which can help speed up the test data generation process. Experiments on two programs with real inputs indicate that significant improvements are achieved over a simple panmictic GA in terms of number of generations and the coverage achieved.
机译:在本文中,我们提出了一种使用扩展路径前缀策略的结构化遗传算法(GA)测试分支覆盖数据生成方法的建议。结构化GA实现了并行的主从分布式模型,其中每个从属都实现了精英主义的泛型GA。主节点使用扩展路径前缀策略选择要覆盖的分支,然后将其分发给从节点。然后,从站搜索测试数据以覆盖分配的目标分支。扩展路径前缀策略可确保每次选择一个分支进行覆盖时,同级分支已被覆盖,并且遍历同级的个人可用。该策略还允许使用可变数量的从站,这可以帮助加快测试数据生成过程。在具有实际输入的两个程序上进行的实验表明,相对于简单的全景遗传算法,在代数和覆盖范围方面都取得了显着改善。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号