Sentinel: A Hyper-Heuristic for the Generation of Mutant Reduction Strategies

Giovani Guizzo, Federica Sarro, Jens Krinke, Silvia Regina Vergilio
3/12/2021
cs.SEcs.AI

Official code: SOLAR-group/sentinel (1 star, Java, last commit 2022-05-20).

Abstract

Mutation testing is an effective approach to evaluate and strengthen software test suites, but its adoption is currently limited by the mutants' execution computational cost. Several strategies have been proposed to reduce this cost (a.k.a. mutation cost reduction strategies), however none of them has proven to be effective for all scenarios since they often need an ad-hoc manual selection and configuration depending on the software under test (SUT).

Show full abstract

In this paper, we propose a novel multi-objective evolutionary hyper-heuristic approach, dubbed Sentinel, to automate the generation of optimal cost reduction strategies for every new SUT. We evaluate Sentinel by carrying out a thorough empirical study involving 40 releases of 10 open-source real-world software systems and both baseline and state-of-the-art strategies as a benchmark. We execute a total of 4,800 experiments, and evaluate their results with both quality indicators and statistical significance tests, following the most recent best practice in the literature. The results show that strategies generated by Sentinel outperform the baseline strategies in 95% of the cases always with large effect sizes. They also obtain statistically significantly better results than state-of-the-art strategies in 88% of the cases, with large effect sizes for 95% of them. Also, our study reveals that the mutation strategies generated by Sentinel for a given software version can be used without any loss in quality for subsequently developed versions in 95% of the cases. These results show that Sentinel is able to automatically generate mutation strategies that reduce mutation testing cost without affecting its testing effectiveness (i.e. mutation score), thus taking off from the tester's shoulders the burden of manually selecting and configuring strategies for each SUT.

View on arXivView PDF

Code Implementations(1)

10JavaOct 20, 20164 years ago
algorithm-generationevolutionary-algorithmsgrammatical-evolutionhyper-heuristicjava+2 more

Similar Papers

Cite this paper

@article{guizzo2021sentinel,
  title  = {Sentinel: A Hyper-Heuristic for the Generation of Mutant Reduction Strategies},
  author = {Giovani Guizzo and Federica Sarro and Jens Krinke and Silvia Regina Vergilio},
  year   = {2021},
  eprint = {2103.07241},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.07241}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.07241.svg)](https://codeofpaper.com/paper/2103.07241)

Discussion