Optimizing Mutation Testing by Discovering Dynamic Mutant Subsumption Relations

被引:15
|
作者
Guimaraes, Marcio Augusto [1 ]
Fernandes, Leo [2 ]
Ribeiro, Marcio [1 ]
d'Amorim, Marcelo [3 ]
Gheyi, Rohit [4 ]
机构
[1] Univ Fed Alagoas, Maceio, Alagoas, Brazil
[2] Fed Inst Alagoas, Maceio, Alagoas, Brazil
[3] Univ Fed Pernambuco, Recife, PE, Brazil
[4] Univ Fed Campina Grande, Campina Grande, Paraiba, Brazil
关键词
Mutation Testing; Redundant Mutants; Minimal Mutants Set; Dynamic Subsumption;
D O I
10.1109/ICST46399.2020.00029
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
One recent promising direction on reducing costs of mutation analysis is to identify redundant mutations, i.e., mutations that are subsumed by some other mutations. Previous works found out redundant mutants manually through the truth table. Although the idea is promising, it can only be applied for logical and relational operators. In this paper, we propose an approach to discover redundancy in mutations through dynamic subsumption relations among mutants. We focus on subsumption relations among mutations of an expression or statement, named here as "mutation target." By focusing on targets and relying on automatic test generation tools, we define subsumption relations for dozens of mutation targets in which the MUJAVA tool can apply mutations. We then implemented these relations in a tool, named MUJAVA-M, that generates a reduced set of mutants for each target, avoiding redundant mutants. We evaluated MUJAVA and MUJAVA- M using classes of five open-source projects. As results, we analyze 2,341 occurrences of 32 mutation targets in 168 classes. MUJAVA-M generates less mutants (on average 64.43% less) with 100% of effectiveness in 20 out of 32 targets and more than 95% in 29 out of 32 mutation targets. MUJAVA-M also reduced the time to execute the test suites against the mutants in 52.53% on average, considering the full mutation analysis process.
引用
收藏
页码:198 / 208
页数:11
相关论文
共 50 条
  • [1] Identifying Mutation Subsumption Relations
    Souza, Beatriz
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1388 - 1390
  • [2] CSR:: Discovering subsumption relations for the alignment of ontologies
    Spiliopoulos, Vassilis
    Valarakos, Alexandros G.
    Vouros, George A.
    SEMANTIC WEB: RESEARCH AND APPLICATIONS, PROCEEDINGS, 2008, 5021 : 418 - 431
  • [3] Coverage-Based Dynamic Mutant Subsumption Graph
    Li, Xiao-wei
    Wang, Ya-wen
    Lin, Huan
    INTERNATIONAL CONFERENCE ON MATHEMATICS, MODELLING AND SIMULATION TECHNOLOGIES AND APPLICATIONS (MMSTA 2017), 2017, 215 : 359 - 365
  • [4] Subsumption in Mutation Testing: An Automated Model Based on Genetic Algorithm
    Tenorio, Maria Cristina
    Vieira Lopes, Roberta Vilhena
    Fechine, Joseana
    Marinho, Tarsis
    Costa, Evandro
    16TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY-NEW GENERATIONS (ITNG 2019), 2019, 800 : 169 - 175
  • [5] Dynamic invocation model of web services using subsumption relations
    Nagano, S
    Hasegawa, T
    Ohsuga, A
    Honiden, S
    IEEE INTERNATIONAL CONFERENCE ON WEB SERVICES, PROCEEDINGS, 2004, : 150 - 156
  • [6] Identifying method-level mutation subsumption relations using Z3
    Gheyi, Rohit
    Ribeiro, Marcio
    Souza, Beatriz
    Guimaraes, Marcio
    Fernandes, Leo
    d'Amorim, Marcelo
    Alves, Vander
    Teixeira, Leopoldo
    Fonseca, Baldoino
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 132
  • [7] Mutant Selection Strategies in Mutation Testing
    Pitts, Rowland
    ICCQ 2023 - Proceedings of the 3rd International Conference on Code Quality, 2023, : 19 - 33
  • [8] Composite mutant: An innovative approach to mutation testing
    Worawatpibul, W
    Surarerks, A
    PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2004, : 353 - 358
  • [9] Priority Path for Mutant Repairs on Mutation Testing
    Arnomo, Sasa Ani
    Ibrahim, Noraini Binti
    2019 2ND INTERNATIONAL CONFERENCE ON APPLIED INFORMATION TECHNOLOGY AND INNOVATION (ICAITI2019), 2019, : 71 - 76
  • [10] MUPPET: Optimizing Performance in OpenMP via Mutation Testing
    Miao, Dolores
    Laguna, Ignacio
    Georgakoudis, Giorgis
    Parasyris, Konstantinos
    Rubio-Gonzalez, Cindy
    PROCEEDINGS OF THE 15TH INTERNATIONAL WORKSHOP ON PROGRAMMING MODELS AND APPLICATIONS FOR MULTICORES AND MANYCORES, PMAM 2024, 2024, : 22 - 31