A Study of Equivalent and Stubborn Mutation Operators using Human Analysis of Equivalence

被引:125
作者
Yao, Xiangjuan [1 ]
Harman, Mark [2 ]
Jia, Yue [2 ]
机构
[1] China Univ Min & Technol, Coll Sci, Beijing Shi, Peoples R China
[2] UCL, CREST Ctr, London WC1E 6BT, England
来源
36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014) | 2014年
基金
英国工程与自然科学研究理事会;
关键词
Mutation Testing; Equivalent Mutant; Stubborn Mutant;
D O I
10.1145/2568225.2568265
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Though mutation testing has been widely studied for more than thirty years, the prevalence and properties of equivalent mutants remain largely unknown. We report on the causes and prevalence of equivalent mutants and their relationship to stubborn mutants (those that remain undetected by a high quality test suite, yet are non-equivalent). Our results, based on manual analysis of 1,230 mutants from 18 programs, reveal a highly uneven distribution of equivalence and stubbornness. For example, the ABS class and half UOI class generate many equivalent and almost no stubborn mutants, while the LCR class generates many stubborn and few equivalent mutants. We conclude that previous test effectiveness studies based on fault seeding could be skewed, while developers of mutation testing tools should prioritise those operators that we found generate disproportionately many stubborn (and few equivalent) mutants.
引用
收藏
页码:919 / 930
页数:12
相关论文
共 57 条
  • [1] Adamopoulos K, 2004, LECT NOTES COMPUT SC, V3103, P1338
  • [2] Alshahwan N., 2012, Proceedings of the 2012 International Symposium on Software Testing and Analysis - ISSTA 2012, P45
  • [3] [Anonymous], SOFTWARE
  • [4] [Anonymous], 1980, THESIS
  • [5] [Anonymous], 1995, P 12 INT C TEST COMP
  • [6] [Anonymous], 2007, Compilers: principles, techniques and tools
  • [7] [Anonymous], 2012, P ACM SIGSOFT 20 INT
  • [8] Arcuri Andrea, 2010, Proceedings of the Third IEEE International Conference on Software Testing, Verification and Validation (ICST 2010), P205, DOI 10.1109/ICST.2010.17
  • [9] Baldwin D, 1979, 276 YAL U
  • [10] MEASURING FUNCTIONAL COHESION
    BIEMAN, JM
    OTT, LM
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (08) : 644 - 657