-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Context
We use Stryker HTML report a lot on @infection and now, as we added support for PHPStan Static Analysis killer, we would like to show this information in HTML report.
In PHP, static analysis is not a part of the language, but a standalone tool. So in our Infection reports we differentiate between
- killed mutants
- covered by Static Analysis mutants
and the same we would like to display in HTML report.
Feature request
Is it possible to somehow add columns in addition to "Killed". This way we would be able to add "Covered by Static Analysis" column, which also treated as Killed but it is good to show how many are killed by tests and how many are killed by static analysis and display them separately.

Example of how we show it in markdown logger at Infection:
Mutator | Mutations | Killed by Test Framework | Test Timings min/avg/max | Killed by Static Analysis | Static Analysis Timings min/avg/max | Escaped | Errors | Syntax Errors | Timed Out (Limit: 20 secs) | Skipped | Ignored | MSI (%s) | Covered MSI (%s) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
For_ | 8 | 1 | 0.00 / 0.00 / 0.00 secs | 0 | 0.00 / 0.00 / 0.00 secs | 1 | 1 | 1 | 1 | 1 | 1 | 66.67 | 80.00 |
PregQuote | 9 | 1 | 0.00 / 0.00 / 0.00 secs | 1 | 0.00 / 0.00 / 0.00 secs | 1 | 1 | 1 | 1 | 1 | 1 | 71.43 | 83.33 |
Note "Killed by Test Framework" and "Killed by Static Analysis" different kolumns (all mutants in both these columns are mapped to Killed for score calculations)