THE NUMBERS, EXPLAINED
How to use this calculator.
Invalid mutants are excluded from the valid-mutant score and included in the generated-mutant denominator. Equivalent mutants must be classified externally.
Start with your inputs
Enter killed mutants (count), surviving mutants (count), invalid mutants (count). Keep amounts in the units shown on each field. The example is a starting point, not a recommended value.
| Input | Example value |
|---|---|
| Killed mutants (count) | 60 |
| Surviving mutants (count) | 20 |
| Invalid mutants (count) | 10 |
A worked example
With the example inputs above, valid mutation score (%) is 75. Change the inputs to explore your own scenario.
| Result | Example answer |
|---|---|
| Valid mutation score (%) | 75 |
| Generated mutants (count) | 90 |
| Invalid share (%) | 11.111111 |
How this is calculated
Valid mutation score (%)
Divide killed mutants by killed plus surviving mutants.
Generated mutants (count)
Add all mutually exclusive outcome counts.
Invalid share (%)
Divide invalid mutants by all generated mutants.
Symbols and units
- a
- Killed mutants (count)
- b
- Surviving mutants (count)
- c
- Invalid mutants (count)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions and limits
Invalid mutants are excluded from the valid-mutant score and included in the generated-mutant denominator. Equivalent mutants must be classified externally.
Calculations use the values you enter. Blank or invalid inputs show an error instead of silently substituting zero. Results are displayed to useful precision; calculations retain the underlying numeric precision.
Questions about this tool
What does the result tell me?
Valid mutation score (%); Generated mutants (count); Invalid share (%). The result applies to the method and inputs described above. Check the units and assumptions before using it in a decision.
Why might another calculator differ?
Differences in units, rounding, timing or model definitions can produce different answers. Compare the input definitions and the method, rather than only the final number. For this tool: Invalid mutants are excluded from the valid-mutant score and included in the generated-mutant denominator. Equivalent mutants must be classified externally.
Are my inputs stored or sent to AI?
Calculations on this page happen in your browser. The separate AI question finder sends its submitted conversation to OpenAI; these calculator fields are not sent. Favourites and recent tool names are stored locally. A shared link contains the inputs you choose to include.
Further reading
Stryker Mutator — Mutant States and Metrics ↗
Background reading; this does not imply endorsement or independent review of SumFizz.
Review status
Software example and browser checks are recorded in our quality report. No external expert review is claimed. Created with coding assistance; calculations run as ordinary browser code.
Read the quality report →