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 条
  • [21] Toolbox for Discovering Dynamic System Relations via TAG Guided Genetic Programming
    Nechita, Stefan-Cristian
    Toth, Roland
    Khandelwal, Dhruv
    Schoukens, Maarten
    IFAC PAPERSONLINE, 2021, 54 (07): : 379 - 384
  • [22] Evaluation of Mutant Sampling Criteria in Object-Oriented Mutation Testing
    Derezinska, Anna
    Rudnik, Marcin
    PROCEEDINGS OF THE 2017 FEDERATED CONFERENCE ON COMPUTER SCIENCE AND INFORMATION SYSTEMS (FEDCSIS), 2017, : 1315 - 1324
  • [23] A Coevolutionary Algorithm to Automatic Test Case Selection and Mutant in Mutation Testing
    Lobo de Oliveira, Andre Assis
    Camilo-Junior, Celso Goncalves
    Vincenzi, Auri M. R.
    2013 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2013, : 829 - 836
  • [24] URadar: Discovering Unrestricted File Upload Vulnerabilities via Adaptive Dynamic Testing
    Chen, Yuanchao
    Li, Yuwei
    Pan, Zulie
    Lu, Yuliang
    Chen, Juxing
    Ji, Shouling
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2024, 19 : 1251 - 1266
  • [25] Measuring Effectiveness of Metamorphic Relations for Image Processing Using Mutation Testing
    Jafari, Fakeeha
    Nadeem, Aamer
    JOURNAL OF IMAGING, 2024, 10 (04)
  • [26] On Comparing Mutation Testing Tools through Learning-based Mutant Selection
    Ojdanic, Milos
    Khanfir, Ahmed
    Garg, Aayush
    Degiovanni, Renzo
    Papadakis, Mike
    Le Traon, Yves
    2023 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST, 2023, : 35 - 46
  • [27] Test Generation via Dynamic Symbolic Execution for Mutation Testing
    Zhang, Lingming
    Xie, Tao
    Zhang, Lu
    Tillmann, Nikolai
    de Halleux, Jonathan
    Mei, Hong
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [28] K ras Mutation Testing by Mutant Enriched Multiplex PCR and Reverse Hybridization (RH)
    Urban, B. J.
    Knock, B. S.
    Rodino, S. L.
    Scicchitano, M. M.
    Paynton, B.
    JOURNAL OF MOLECULAR DIAGNOSTICS, 2010, 12 (06): : 898 - 898
  • [29] Optimizing Combinatorial Input-Output Based Relations Testing using Ant Colony Algorithm
    Ramli, Nuraminah
    Othman, Rozmie R.
    Ali, Mohd Shaiful Aziz Rashid
    2016 3RD INTERNATIONAL CONFERENCE ON ELECTRONIC DESIGN (ICED), 2016, : 586 - 590
  • [30] Optimizing full scale dynamic testing of building components: measurement sensors and monitoring systems
    Erkoreka, A.
    Bloem, J. J.
    Escudero, C.
    Martin, K.
    Sala, J. M.
    6TH INTERNATIONAL BUILDING PHYSICS CONFERENCE (IBPC 2015), 2015, 78 : 1738 - 1743