Cost Measures Matter for Mutation Testing Study Validity

被引:7
|
作者
Guizzo, Giovani [1 ]
Sarro, Federica [1 ]
Harman, Mark [1 ]
机构
[1] UCL, Dept Comp Sci, London, England
基金
欧洲研究理事会;
关键词
Software Testing; Mutation Testing; Mutation Analysis; Cost Reduction; Number of Mutants; Execution Time; Mutant Reduction;
D O I
10.1145/3368089.3409742
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing research has often used the number of mutants as a surrogate measure for the true execution cost of generating and executing mutants. This poses a potential threat to the validity of the scientific findings reported in the literature. Out of 75 works surveyed in this paper, we found that 54 (72%) are vulnerable to this threat. To investigate the magnitude of the threat, we conducted an empirical evaluation using 10 real-world programs. The results reveal that: i) percentages of randomly sampled mutants differ from the true execution time, on average, by 44%, varying in difference from 19% to 91%; ii) errors arising from using the surrogate correlate with program size (rho = 0.74) and number of mutants (rho = 0.76), making the problem more pernicious for more realistic programs; iii) scientific findings concerning sampling strategies would have approximately 37% rank disagreement, indicating potentially dramatic impact on experiment validity. To investigate whether this threat matters in practice, we reproduced a seminal study on Selective Mutation (widely relied upon for more than two decades). The impact is stark: an inconclusive scientific finding using the surrogate is transformed to an unequivocal finding when using the true execution cost.
引用
收藏
页码:1127 / 1139
页数:13
相关论文
共 50 条
  • [31] Reducing the Cost of Mutation Testing using the Semantic Size of Mutant
    Sousa, Leonardo da S.
    Vincenzi, Auri M. R.
    Delamaro, Marcio Eduardo
    Vieira, Igor R.
    de Mendonca, Vinicius R. L.
    Rodrigues, Cassio L.
    2018 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2018, : 2675 - 2680
  • [32] Analysing the combination of cost reduction techniques in Android mutation testing
    Polo-Usaola, Macario
    Rodriguez-Trujillo, Isyed
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (07):
  • [33] Mutation Testing Techniques: A Comparative Study
    Hamimoune, Soukaina
    Falah, Bouchaib
    2016 INTERNATIONAL CONFERENCE ON ENGINEERING & MIS (ICEMIS), 2016,
  • [34] A Study on Cluster Validity Measures for Clustering Network Data
    Hamasuna, Yukihiro
    Ozaki, Ryo
    Endo, Yasunori
    2017 JOINT 17TH WORLD CONGRESS OF INTERNATIONAL FUZZY SYSTEMS ASSOCIATION AND 9TH INTERNATIONAL CONFERENCE ON SOFT COMPUTING AND INTELLIGENT SYSTEMS (IFSA-SCIS), 2017,
  • [35] A validity study of two projective object representations measures
    Hibbard, S
    Hilsenroth, MJ
    Hibbard, JK
    Nash, MR
    PSYCHOLOGICAL ASSESSMENT, 1995, 7 (04) : 432 - 439
  • [36] The Immediate Post-Concussion Assessment and Cognitive Testing battery and traditional neuropsychological measures: A construct and concurrent validity study
    Allen, Brittany J.
    Gfeller, Jeffrey D.
    BRAIN INJURY, 2011, 25 (02) : 179 - 191
  • [37] A Systematic Review of Cost Reduction Techniques for Mutation Testing: Preliminary Results
    Ferrari, Fabiano Cutigi
    Pizzoleto, Alessandro Viola
    Offutt, Jeff
    2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 1 - 10
  • [38] An Automated Framework for Cost Reduction of Mutation Testing Based on Program Similarity
    Guarnieri, Giovanni F.
    Pizzoleto, Alessandro, V
    Ferrari, Fabiano C.
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2022), 2022, : 179 - 188
  • [39] MQP: Mutants Quality Prediction for Cost-Effective Mutation Testing
    Wang, Xingya
    Zhang, Shiyu
    Liu, Fangxiao
    Feng, Lichao
    Zhao, Zhihong
    2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 45 - 50
  • [40] SiMut: Exploring Program Similarity to Support the Cost Reduction of Mutation Testing
    Pizzoleto, Alessandro, V
    Ferrari, Fabiano C.
    Dallilo, Lucas D.
    Offutt, Jeff
    2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2020, : 264 - 273