skip to main content
10.1145/3324884.3418921acmconferencesArticle/Chapter ViewAbstractPublication PagesaseConference Proceedingsconference-collections
short-paper

Identifying mutation subsumption relations

Published:27 January 2021Publication History

ABSTRACT

One recent promising direction in reducing costs of mutation analysis is to identify redundant mutations. We propose a technique to discover redundant mutations by proving subsumption relations among method-level mutation operators using weak mutation testing. We conceive and encode a theory of subsumption relations in Z3 for 40 mutation targets (mutations of an expression or statement). Then we prove a number of subsumption relations using the Z3 theorem prover, and reduce the number of mutations in a number of mutation targets. MuJava-M includes some subsumption relations in MuJava. We apply MuJava and MuJava-M to 187 classes of 17 projects. Our approach correctly discards mutations in 74.97% of the cases, and reduces the number of mutations by 72.52%.

References

  1. Paul Ammann, Marcio Eduardo Delamaro, and Jeff Offutt. 2014. Establishing theoretical minimal sets of mutants. In ICST (Cleveland, OH, USA). IEEE, Piscataway, NJ, USA, 21--30.Google ScholarGoogle Scholar
  2. Artifacts. 2020. https://colab.research.google.com/drive/1kldmXBGgJIOEpCCr6o9cm3P0Jnz7mMix?usp=sharing. (2020).Google ScholarGoogle Scholar
  3. Leonardo Mendonça de Moura and Nikolaj Bjørner. 2008. Z3: An Efficient SMT Solver. In TACAS (Budapest, Hungary). Springer, Berlin, Germany, 337--340.Google ScholarGoogle Scholar
  4. Richard A DeMillo, Richard J Lipton, and Frederick G Sayward. 1978. Hints on test data selection: Help for the practicing programmer. Computer 11, 4 (1978), 34--41.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Gordon Fraser and Andrea Arcuri. 2011. EvoSuite: automatic test suite generation for object-oriented software. In FSE (Szeged, Hungary). ACM, New York, NY, USA, 416--419.Google ScholarGoogle Scholar
  6. Rahul Gopinath, Iftekhar Ahmed, Mohammad Alipour, Carlos Jensen, and Alex Groce. 2017. Mutation Reduction Strategies Considered Harmful. IEEE TR 66 (2017), 854--874. Issue 3.Google ScholarGoogle Scholar
  7. Marcio Guimarães, Leo Fernandes, Márcio Ribeiro, Marcelo d'Amorim, and Rohit Gheyi. 2020. Optimizing Mutation Testing by Discovering Dynamic Mutant Subsumption Relations. In ICST (Porto, Portugal). IEEE, Piscataway, NJ, USA, To appear.Google ScholarGoogle Scholar
  8. William Howden. 1982. Weak Mutation Testing and Completeness of Test Sets. TSE 8, 4 (1982), 371--379.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Y. Jia and M. Harman. 2009. Higher Order Mutation Testing. IST 51, 10 (2009), 1379 -- 1393.Google ScholarGoogle Scholar
  10. René Just, Gregory M Kapfhammer, and Franz Schweiggert. 2012. Do redundant mutants affect the effectiveness and efficiency of mutation analysis?. In ICST (Montreal, QC, Canada). IEEE, Piscataway, NJ, USA, 720--725.Google ScholarGoogle Scholar
  11. Gary Kaminski, Paul Ammann, and Jeff Offutt. 2011. Better predicate testing. In AST (Waikiki, Honolulu, HI, USA). ACM, New York, NY, USA, 57--63.Google ScholarGoogle Scholar
  12. Marinos Kintis, Mike Papadakis, and Nicos Malevris. 2010. Evaluating mutation testing alternatives: A collateral experiment. In APSEC (Sydney, NSW, Australia). IEEE, Piscataway, NJ, USA, 300--309.Google ScholarGoogle Scholar
  13. Birgitta Lindström and András Márki. 2019. On strong mutation and the theory of subsuming logic-based mutants. STVR 29, 1--2 (2019), e1667.Google ScholarGoogle Scholar
  14. Yu-Seung Ma, Jeff Offutt, and Yong-Rae Kwon. 2005. MuJava: an automated class mutation system. STVR 15, 2 (2005), 97--133.Google ScholarGoogle Scholar
  15. M. Marcozzi, S. Bardin, N. Kosmatov, M. Papadakis, V. Prevosto, and L. Correnson. 2018. Time to Clean Your Test Objectives. In ICSE. ACM, Gothenburg, Sweden, 456--467.Google ScholarGoogle Scholar
  16. A. Jefferson Offutt and Stephen D. Lee. 1994. An empirical evaluation of weak mutation. TSE 20, 5 (1994), 337--344.Google ScholarGoogle Scholar
  17. Jeff Offutt. 2011. A mutation carol: Past, present and future. IST 53, 10 (2011), 1098 -- 1107.Google ScholarGoogle Scholar
  18. Carlos Pacheco, Shuvendu Lahiri, Michael Ernst, and Thomas Ball. 2007. Feedback-Directed Random Test Generation. In ICSE (Minneapolis, MN, USA). IEEE, Piscataway, NJ, USA, 75--84.Google ScholarGoogle Scholar
  19. Mike Papadakis, Christopher Henard, Mark Harman, Yue Jia, and Yves Le Traon. 2016. Threats to the Validity of Mutation-based Test Assessment. In ISSTA (Saarbrücken, Germany). ACM, New York, NY, USA, 354--365.Google ScholarGoogle Scholar
  20. Mike Papadakis, Marinos Kintis, Jie Zhang, Yue Jia, Yves Le Traon, and Mark Harman. 2019. Chap. six - Mutation Testing Advances: An Analysis and Survey. ADV COMPUT 112 (2019), 275--378.Google ScholarGoogle ScholarCross RefCross Ref
  21. Mike Papadakis and Nicos Malevris. 2010. An empirical evaluation of the first and second order mutation testing strategies. In ICST (Paris, France). IEEE, Piscataway, NJ, USA, 90--99.Google ScholarGoogle Scholar
  22. Dominik Winterer, Chengyu Zhang, and Zhendong Su. 2020. Validating SMT Solvers via Semantic Fusion. In PLDI (London, UK). ACM, New York, NY, USA, 718--730.Google ScholarGoogle Scholar
  1. Identifying mutation subsumption relations

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ASE '20: Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering
      December 2020
      1449 pages
      ISBN:9781450367684
      DOI:10.1145/3324884

      Copyright © 2020 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 27 January 2021

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • short-paper

      Acceptance Rates

      Overall Acceptance Rate82of337submissions,24%

      Upcoming Conference

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader