arrow
Return

Identifying method-level mutation subsumption relations using Z3

delete2021-04-01
delete14
PRE
AI
R
Rohit Gheyi *
M
Márcio Ribeiro
B
Beatriz Souza
M
Márcio Niemeyer Martins de Queiroz Guimarães
L
Leo Fernandes
M
Marcelo d’Amorim
V
Vander Alves
L
Leopoldo Teixeira
B
Baldoíno Fonseca
DOI:10.1016/j.infsof.2020.106496delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Mutation analysis is a popular but costly approach to assess the quality of test suites. One recent promising direction in reducing costs of mutation analysis is to identify redundant mutations, i.e., mutations that are subsumed by some other mutations. A previous approach found redundant mutants manually through truth tables but it cannot be applied to all mutations. Another work derives them using automatic test suite generators but it is a time consuming task to generate mutants and tests, and to execute tests. Objective: This article proposes an approach to discover redundant mutants by proving subsumption relations among method-level mutation operators using weak mutation testing. Method: We conceive and encode a theory of subsumption relations in the Z3 theorem prover for 37 mutation targets (mutations of an expression or statement). Results: We automatically identify and prove a number of subsumption relations using Z3, and reduce the number of mutations in a number of mutation targets. To evaluate our approach, we modified MuJava to include the results of 24 mutation targets and evaluate our approach in 125 classes of 5 large open source popular projects used in prior work. Our approach correctly discards mutations in 75.93% of the cases, and reduces the number of mutations by 71.38%. Conclusions: Our approach offers a good balance between the effort required to derive subsumption relations and the effectiveness for the targets considered in our evaluation in the context of strong mutation testing.
Keywords:
Mutation analysis
Redundant mutants
Theorem proving

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

U
universidade federal de campina grande
Scholars:
2.9K
Papers: 1.8K
Citations: 6
Universidade Federal de Alagoas cover
Universidade Federal de Alagoas
Scholars:
3.4K
Papers: 1.9K
Citations: 1.8K
U
Universidade Federal de Pernambuco
Scholars:
1.3W
Papers: 7.3K
Citations: 5.3K
I
instituto federal de alagoas (ifal)
Scholars:
178
Papers: 132
Citations: 0
U
universidade de brasilia
Scholars:
1.1W
Papers: 7.3K
Citations: 5
researcher View more organizations
Cited Papers

Cited Papers

errShare
errSave
Tongue thickness measured by ultrasonography is associated with tongue pressure in the Japanese elderly
err2020-08-07
err0
errOAAI
errMasahiro Nakamori; Eiji Imamura; Masako Fukuta; Keisuke Tachiyama; Teppei Kamimura; Yuki Hayashi; Hayato Matsushima; Kanami Ogawa; Masami Nishino; Akiko Hirata; Tatsuya Mizoue; Shinichi Wakabayashi
errShare
errSave
NICE guidance
err2009-05-01
err0
PREAI
errTina Bishop
errShare
errSave
Electrochemical Impedance Spectroscopy and Determination of the Internal Resistance as a Way to Estimate Lead-Acid Batteries Condition
err2018-12-12
err0
errOAAI
errWłodzimierz Majchrzycki; Ewa Jankowska; Marek Baraniak; Piotr Handzlik; Robert Samborski
errShare
errSave
A systematic literature review of techniques and metrics to reduce the cost of mutation testing
err2019-11-01
err73
PREAI
errPizzoleto, Alessandro Viola; Ferrari, Fabiano Cutigi; Offutt, Jeff; Fernandes, Leo; Ribeiro, Marcio
errShare
errSave
A 12-Gene Expression Signature Is Associated with Aggressive Histological in Prostate Cancer
err2012-11-01
err0
errOAAI
errLaia Agell; Silvia Hernández; Lara Nonell; Marta Lorenzo; Eulàlia Puigdecanet; Silvia de Muga; Nuria Juanpere; Raquel Bermudo; Pedro L. Fernández; José A. Lorente; Sergio Serrano; Josep Lloreta
errShare
errSave
Detecting Trivial Mutant Equivalences via Compiler Optimisations
err2018-04-01
err54
errOAAI
errKintis, Marinos; Papadakis, Mike; Jia, Yue; Malevris, Nicos; Le Traon, Yves; Harman, Mark
errShare
errSave
researcher View more