期刊文献+

消息传递并行程序的弱变异测试及其转化 被引量:2

Weak Mutation Testing and Its Transformation for Message Passing Parallel Programs
在线阅读 下载PDF
导出
摘要 并行程序执行的不确定性,增加了测试的复杂性和难度.研究消息传递并行程序的变异测试,提出其弱变异测试转化方法,以提高该程序变异测试的效率.首先,根据消息传递并行程序包含语句的类型和语句变异之后导致的变化构建相应的变异条件语句;然后,将构建好的所有变异条件语句插入到原程序中,形成新的被测程序,从而将原程序的弱变异测试问题转化为新程序的分支覆盖问题.这样做的好处是,能够利用已有的分支覆盖方法解决变异测试问题.将该方法应用于8个典型的消息传递并行程序测试中,实验结果表明,该方法不但是可行的,也是必要的. A parallel program can yield nondeterministic execution, which increases the complexity and the difficulty in program testing The mutation testing of a message passing parallel program is investigated, and an approach to transforming the weak mutation testing for the program is presented in this study with the purpose of improving the efficiency of the mutation testing. First, the mutation condition statements are built based on the type of statements and the changes resulted from mutating these statements. Then, a new program is formed by inserting all these mutation condition statements into the original program. As a result, the problem of the weak mutation testing of the original program can be transformed into that of covering the branches of the new program, therefore providing advantages of solving the problem of mutation testing by using previous methods of branch coverage. The proposed approach is applied to test eight benchmark message passing parallel programs, and the empirical results demonstrate that this new approach is not only feasible but also necessary.
出处 《软件学报》 EI CSCD 北大核心 2016年第8期2008-2024,共17页 Journal of Software
基金 国家自然科学基金(61375067) 国家重点基础研究发展计划(973)(2014CB046306-2) 江苏省自然科学基金(BK201 2566)~~
关键词 消息传递 并行程序 变异测试 弱变异测试 转化 变异条件语句 message passing parallel program mutation testing weak mutation testing transformation mutation condition statement
  • 相关文献

参考文献4

二级参考文献56

  • 1单锦辉,姜瑛,孙萍.软件测试研究进展[J].北京大学学报(自然科学版),2005,41(1):134-145. 被引量:139
  • 2邱晓康,李宣东.一个面向路径的软件测试辅助工具[J].电子学报,2004,32(F12):231-234. 被引量:13
  • 3王雪莲,赵瑞莲,李立健.一种用于测试数据生成的动态程序切片算法[J].计算机应用,2005,25(6):1445-1447. 被引量:6
  • 4夏辉,宋昕,王理.基于Z路径覆盖的测试用例自动生成技术研究[J].现代电子技术,2006,29(6):92-94. 被引量:11
  • 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.
  • 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.
  • 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.
  • 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.
  • 9Ahmed M A,Hermadi I.GA-based multiple paths test data generator[J].Computer & Operations Research,2008,35(10):3107-3124.
  • 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.

共引文献54

同被引文献8

引证文献2

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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