期刊文献+

CMuJava:一个面向Java程序并发变异体生成系统 被引量:1

CMuJava:Concurrent Mutant Generation System for Java
下载PDF
导出
摘要 并发程序由多个共享存储空间并发执行的流程组成.由于流程之间执行次序的不确定性,使得并发软件系统的测试比较困难.变异测试是一种基于故障的软件测试技术,广泛用于评估测试用例集的充分性和测试技术的有效性.将变异测试应用于并发程序的一个关键问题是,如何高效地生成大量的模拟并发故障的变异体集合.给出了一种并发程序的变异测试框架,研制了一个并发变异体自动生成工具CMuJava.采用经验研究的方式评估了CMuJava生成的变异体集合的正确性与充分性,并且评估了变异体生成的效率.实验结果表明:CMuJava能够准确、充分地生成并发变异体集合,极大地提高了手工变异体生成的效率. Concurrent programs are composed of multiple concurrent execution flows,which usually share storage space in an explicit or implicit manner.Uncertainty in the execution order of flows poses challenges for concurrent program testing.Mutation testing is a fault-based testing technique that is widely adopted to evaluate the adequacy of test suites and the effectiveness of test techniques.A key issue to applying mutation testing to concurrent programs is how to efficiently derive a large number of mutants that simulate possible concurrency-specific faults.This study proposes a mutation testing framework for concurrent programs and presents an automated concurrent mutant generation system called CMuJava.An empirical study is conducted to evaluate the correctness and adequacy of mutant sets generated by CMuJava and the mutant generation efficiency of CMuJava.The experimental results show that CMuJava can not only generate correct and adequate mutants,but also significantly improve the efficiency of manual mutant generation.
作者 孙昌爱 耿宁 代贺鹏 顾友达 SUN Chang-Ai;GENG Ning;DAI He-Peng;GU You-Da(School of Computer and Communication Engineering,University of Science and Technology Beijing,Beijing 100083,China;State Key Laboratory of Computer Science(Institute of Software,Chinese Academy of Sciences),Beijing 100190,China)
出处 《软件学报》 EI CSCD 北大核心 2022年第2期397-409,共13页 Journal of Software
基金 国家自然科学基金(61872039) 中国科学院软件研究所计算机科学国家重点实验室开放课题(SYSKF1803) 中央高校基本科研业务费专项资金(FRF-GF-19-019B)。
关键词 并发程序 变异测试 并发变异算子 并发变异体 测试工具 concurrent programs mutation testing concurrent mutation operators concurrent mutants testing tools
  • 相关文献

参考文献5

二级参考文献141

  • 1姜瑛,辛国茂,单锦辉,张路,谢冰,杨芙清.一种Web服务的测试数据自动生成方法[J].计算机学报,2005,28(4):568-577. 被引量:50
  • 2Zhu H, Hall P, May J. Software unit test coverage and ade- quacy[J]. ACM Computing Survey, 1997, 29(4): 366-427.
  • 3Andrews J H, Briand L C, Labiche Y. Is mutation an appro- priate tool for testing experiments? [C]//Proceedings of the 27th International Conference on Software Engineering (ICSE '05), St Louis, Missouri, 2005. New York, NY, USA: ACM, 2005: 402-411.
  • 4Do H, Rothermel G. On the use of mutation faults in empiri- cal assessments of test case prioritization techniques[J]. IEEE Transactions on Software Engineering, 2006, 32(9): 733-752.
  • 5Hamlet R G. Testing programs with the aid of a compiler[J]. IEEE Transactions on Software Engineering, 1977, 3(4): 279-290.
  • 6DeMillo R A, Lipton R J, Sayward F G. Hints on test data selection: help for the practicing programmer[J]. Computer, 1978, 11(4): 34-41.
  • 7King K N, Offutt A J. A Fortran language system for muta- tion based software testing[J]. Software: Practice and Expe- rience, 1991, 21(7): 685-718.
  • 8Delamaro M E, Maldonado J C. Proteum-a tool for the assessment of test adequacy for C programs[C]//Proceedings of the Conference on Performability in Computing Systems (PCS '96), New Brunswick, New Jersey, 1996: 79-95.
  • 9Ma Y S, Offutt A J, Kwon Y R. MuJava: an automated class mutation system[J]. Software Testing, Verification and Reli- ability, 2005, 15(2): 97-133.
  • 10Smith B, Williams L. On guiding the augmentation of an automated test suite via mutation analysis[J]. Empirical Soft- ware Engineering, 2009, 14(3): 341-369.

共引文献29

同被引文献7

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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