Particle Swarm and Genetic Algorithm applied to mutation testing for test data generation: A comparative evaluation

被引:27
作者
Jatana, Nishtha [1 ,2 ]
Suri, Bharti [3 ]
机构
[1] USICT, New Delhi, India
[2] MSIT, Dept Comp Sci & Engn, New Delhi, India
[3] GGSIPU, USICT, New Delhi, India
关键词
Particle Swarm Optimization; Search-based mutation testing; Genetic Algorithm; Test case generation; Test case optimization;
D O I
10.1016/j.jksuci.2019.05.004
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Search based test data generation has gained popularity in recent times. Mutation testing can assist in improving the effectiveness of the generated test data. We recently proposed PSO-MT (Particle Swarm Optimization along with Mutation Testing) for generation of test data. In this paper, we fortify our proposal by applying the proposed approach on larger programs from Software-artifact Infrastructure Repository (SIR). PSO exhibits similar working characteristics with those of Genetic Algorithm (GA) which has extensively been applied for evolution of test data with mutation testing. The results are evaluated against comparison with GA used with mutation testing (GA-MT) for generation of test data which is already implemented in the literature of Search based Mutation Testing. The results depict that PSO-MT exhibits better computational efficiency than GA-MT for most of the benchmark programs. Statistical test (MannWhitney U-test) has been conducted to statistically analyze the presented results. (C) 2019 The Authors. Production and hosting by Elsevier B.V. on behalf of King Saud University.
引用
收藏
页码:514 / 521
页数:8
相关论文
共 43 条
  • [1] [Anonymous], UBIQUITY CHAOS
  • [2] [Anonymous], 8 WROKSH SOFTW ENG U
  • [3] [Anonymous], IEEE INT C CONTR SYS
  • [4] [Anonymous], IEEE C EV COMP CEC
  • [5] [Anonymous], 8 INT WORK C SOURC C
  • [6] [Anonymous], IEEE 9 INT C EM TECH
  • [7] [Anonymous], FRONTIERS COMPUTER S
  • [8] [Anonymous], 2007, PORT C ART INT
  • [9] [Anonymous], P 33 INT C TECHN OBJ
  • [10] [Anonymous], 1998, P INT C EV PROGR SAN