• Home
  • Search
  • How to kill them all: An exploratory study on the impact of code observability on mutation testing
  • Cite Icon15
  • https://doi.org/10.1016/j.jss.2020.110864Copy DOI Icon

How to kill them all: An exploratory study on the impact of code observability on mutation testing

Show More
  • Abstract
  • Highlights & Summary
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Mutation testing is well-known for its efficacy in assessing test quality, and starting to be applied in the industry. However, what should a developer do when confronted with a low mutation score? Should the test suite be plainly reinforced to increase the mutation score, or should the production code be improved as well, to make the creation of better tests possible? In this paper, we aim to provide a new perspective to developers that enables them to understand and reason about the mutation score in the light of testability and observability. First, we investigate whether testability and observability metrics are correlated with the mutation score on six open-source Java projects. We observe a correlation between observability metrics and the mutation score, e.g., test directness, which measures the extent to which the production code is tested directly, seems to be an essential factor. Based on our insights from the correlation study, we propose a number of ”mutation score anti-patterns”, enabling software engineers to refactor their existing code or add tests to improve the mutation score. In doing so, we observe that relatively simple refactoring operations enable an improvement or increase in the mutation score.

Similar Papers
  • PDF
  • Preprint Article
  • Citations3

How to kill them all: an exploratory study on the impact of code observability on mutation testing

  • Jun 11, 2019
  • Qianqian Zhu +2
  • Research Article
  • Citations62

On guiding the augmentation of an automated test suite via mutation analysis

  • Aug 21, 2008
  • Empirical Software Engineering
  • Ben H Smith +1
  • Conference Article
  • Citations3

A comparison of database fault detection capabilities using mutation testing

  • Sep 19, 2012
  • Donald W Mccormick +2
  • Research Article
  • Citations16

CBUA: A Probabilistic, Predictive, and Practical Approach for Evaluating Test Suite Effectiveness

  • Jul 21, 2020
  • IEEE Transactions on Software Engineering
  • Peng Zhang +7
  • Conference Article
  • Citations14

Evaluating the Effects of Compiler Optimizations on Mutation Testing at the Compiler IR Level

  • Oct 01, 2016
  • Farah Hariri +4
  • Research Article
  • Citations2

Introduction to the special issue on Mutation Testing

  • Aug 01, 2015
  • Software Testing, Verification and Reliability
  • Yue Jia +2
  • Research Article
  • Citations1

The application perspective of mutatoin testing

  • Jun 24, 2020
  • Research Repository (Delft University of Technology)
  • Qiuping Zhu
  • PDF
  • Research Article
  • Citations4

A Model for Predicting Statement Mutation Scores

  • Aug 23, 2019
  • Mathematics
  • Lili Tan +2
  • Conference Article
  • Citations6

Mutation score evaluation in terms of object-oriented metrics

  • Oct 01, 2014
  • Mahshid Helali Moghadam +1
  • Research Article
  • Citations22

Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness

  • Sep 19, 2020
  • Information and Software Technology
  • Alireza Aghamohammadi +2
  • Research Article
  • Citations45

Lightweight Assessment of Test-Case Effectiveness Using Source-Code-Quality Indicators

  • Apr 01, 2021
  • IEEE Transactions on Software Engineering
  • Giovanni Grano +2
  • Conference Article
  • Citations6

Empirical study of correlation between mutation score and model inference based test suite adequacy assessment

  • May 14, 2016
  • Hermann Felbinger +2
  • Conference Article
  • Citations29

Comparing Mutation Testing at the Levels of Source Code and Compiler Intermediate Representation

  • Apr 01, 2019
  • Farah Hariri +4
  • Conference Article
  • Citations8

Mutation testing meets approximate computing

  • May 01, 2017
  • Milos Gligoric +3
  • PDF
  • Research Article
  • Citations1

Multiple-Searching Genetic Algorithm for Whole Test Suites

  • Aug 19, 2021
  • Electronics
  • Wanida Khamprapai +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.