期刊文献+

测试数据生成中遗传算法的改进 被引量:5

Genetic Algorithm Improvement in Test Data Generation
下载PDF
导出
摘要 为了提高测试数据自动生成的效率,提出基于改进遗传算法的多路径测试数据生成方法.首先将定向变异算子引入遗传算法,根据当前最优解产生变异个体,使变异向有利的方向进行,在保持种群多样性的同时提高局部搜索能力;然后综合考虑执行路径与目标路径间的路径相似程度以及谓词分支距离,设计了个体适应度评价函数,以有效地区分个体的优劣程度.针对基准程序进行实验,验证了该方法相对于传统方法的优越性. To improve the efficiency of automatic test data generation, the multi-path test data generation method based on improved genetic algorithm is proposed. Firstly, the directed mutation operator was introduced into the genetic algorithm. The mutant was created according to the current best individual. It made individuals mutate in a good direction. The population diversity is maintained and the local search ability is improved. Secondly, the similarity degree of execution path and target path, and predicate branch distance were considered. An individual fitness evaluation function was designed. It distinguishes good individuals and bad individuals effectively. Ex-perimental results on benchmarks show its superiority to the traditional methods.
作者 冯俊池 于磊
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2015年第10期2008-2014,共7页 Journal of Computer-Aided Design & Computer Graphics
关键词 测试数据生成 多路径 遗传算法 定向变异 test data generation multi-path genetic algorithm directed mutation
  • 相关文献

参考文献16

  • 1单锦辉,王戟,齐治昌.面向路径的测试数据自动生成方法述评[J].电子学报,2004,32(1):109-113. 被引量:46
  • 2王宇平著..进化计算的理论和方法[M].北京:科学出版社,2011:233.
  • 3王建民,蔡媛.基于维持种群多样性的测试数据生成算法的研究[J].计算机研究与发展,2012,49(5):1039-1048. 被引量:2
  • 4McMinn P. Search-based software test data generation: a survey[J]. Software Testing, Verification and Reliability, 2004,14(2): 105-156. 被引量:1
  • 5Aleb N, Kechid S. Automatic test data generation using a geneticalgorithm[C]// Proceedings of the 13th International Conferenceon Computational Science and its Applications. Heidelberg:Springer, 2013: 574-586. 被引量:1
  • 6霍远秦..基于遗传算法的多路径测试数据自动生成[D].北京化工大学,2013:
  • 7Sun J H, Jiang S J. An approach to automatic generating testdata for multi-path coverage by genetic algorithm[C] //Proceedingsof the 6th International Conference on Natural Computation.Los Alamitos: IEEE Computer Society Press, 2010:1533-1536. 被引量:1
  • 8Maragathavalli P, Kanmani S, Kirubakar J S, et al. Automaticprogram instrumentation in generation of test data using geneticalgorithm for multiple paths coverage[C] //Proceedings ofInternational Conference on Advances in Engineering, Scienceand Management. Los Alamitos: IEEE Computer Society Press,2012: 349-353. 被引量:1
  • 9Ahmed M A, Hermadi I. GA-based multiple paths test data generator[J]. Computers and Operations Research, 2008, 35(10):3107-3124. 被引量:1
  • 10Poli R, Kennedy J, Blackwell T. Particle swarm optimization[J].Swarm Intelligence, 2007, 1(1): 33-57. 被引量:1

二级参考文献41

  • 1单锦辉,姜瑛,孙萍.软件测试研究进展[J].北京大学学报(自然科学版),2005,41(1):134-145. 被引量:138
  • 2邱晓康,李宣东.一个面向路径的软件测试辅助工具[J].电子学报,2004,32(F12):231-234. 被引量:11
  • 3夏辉,宋昕,王理.基于Z路径覆盖的测试用例自动生成技术研究[J].现代电子技术,2006,29(6):92-94. 被引量:11
  • 4薛云志,陈伟,王永吉,赵琛,王青.一种基于Messy GA的结构测试数据自动生成方法[J].软件学报,2006,17(8):1688-1697. 被引量:14
  • 5Chen Y,Zhong Y.Automatic path-oriented test data generation using a multi-population genetic algorithm[A].Proceedings of the 4th International Conference on Natural Computation[C].Jinan,China:IPICNC,2008.566-570. 被引量:1
  • 6Sofokleous A A,Andreou A S.Automatic,evolutionary test data generation for dynamic software testing[J].The Journal of Systems and Software,2008,81(11):1883-1898. 被引量:1
  • 7Pajappa V,Biradar A,Panda S.Efficient software test case generation using genetic algorithm based graph theory[A].Proceedings of the 1st International Conference on Emerging Trends in Engineering and Technology[C].Nagpur,India:IPICETET.2008.298-303. 被引量:1
  • 8Bouchachia A.An immune genetic algorithm for software test data generation[A].Proceedings of the 7th International Conference on Hybrid Intelligent Systems[C].Washington,DC,USA:IP IC HIS,2007.84-89. 被引量:1
  • 9Ahmed M A,Hermadi I.GA-based multiple paths test data generator[J].Computer & Operations Research,2008,35(10):3107-3124. 被引量:1
  • 10David W Binkley.FlagRemover:A testability transfor-mation for transforming loop assigned flags[J].ACM Transactions on Software Engineering and Method-ology,2009,2(3):110-146. 被引量:1

共引文献74

同被引文献40

引证文献5

二级引证文献21

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部