Table of Contents
Fetching ...

Formal Analysis of Reachability, Infection and Propagation Conditions in Mutation Testing

Seyed-Hassan Mirian-Hosseinabadi

TL;DR

A formal approach to calculate RIP conditions is proposed using the Dijkestra's weakest precondition predicate transformer (wp(_,_)) to calculate infection and propagation conditions.

Abstract

Finding test cases to kill the alive mutants in Mutation testing needs to calculate the Reachability, Infection and Propagation(RIP) conditions and full test specification. In this paper, a formal approach to calculate RIP conditions is proposed. The Dijkestra's weakest precondition predicate transformer (wp(_,_)) is used to calculate infection and propagation conditions. The rc(_) function is defined to calculate the reachability conditions generated by each statement. Four programs and their mutants are examined as running examples and as case studies to show the applicability of the method.

Formal Analysis of Reachability, Infection and Propagation Conditions in Mutation Testing

TL;DR

A formal approach to calculate RIP conditions is proposed using the Dijkestra's weakest precondition predicate transformer (wp(_,_)) to calculate infection and propagation conditions.

Abstract

Finding test cases to kill the alive mutants in Mutation testing needs to calculate the Reachability, Infection and Propagation(RIP) conditions and full test specification. In this paper, a formal approach to calculate RIP conditions is proposed. The Dijkestra's weakest precondition predicate transformer (wp(_,_)) is used to calculate infection and propagation conditions. The rc(_) function is defined to calculate the reachability conditions generated by each statement. Four programs and their mutants are examined as running examples and as case studies to show the applicability of the method.

Paper Structure

This paper contains 32 sections, 77 equations, 3 figures, 3 tables.

Figures (3)

  • Figure 1: BNF description of Dijkestra Guarded Commands syntax
  • Figure 2: Karno Map for $abd+ a\bar{b}c+ ad+ \bar{a}bc+\bar{a}c+bd+ \bar{b}c$
  • Figure 3: Karno Map for $a\bar{b}d + ad + \bar{a}d + \bar{a}\bar{b}c +\bar{a}b d + bd+ \bar{b}d$