Worked example
Valid mutation score (%): 75
Inputs
- Killed mutants (count): 60
- Surviving mutants (count): 20
- Invalid mutants (count): 10
Invalid mutants are excluded from the valid-mutant score and included in the generated-mutant denominator.
Use the units shown.
Divide killed mutants by killed plus surviving mutants.
Add all mutually exclusive outcome counts.
Divide invalid mutants by all generated mutants.
Invalid mutants are excluded from the valid-mutant score and included in the generated-mutant denominator. Equivalent mutants must be classified externally.
Stryker Mutator — Mutant States and Metrics ↗Valid mutation score (%): 75
Valid mutation score (%): 60