Infection Playground
Infection 0.35.6 PHPUnit 13.4.1 PHP 8.5.11
Source code
PHPUnit test case
Results

Run Infection on your code

Infection makes small changes to the source code, called mutants, and runs your test against each one.

  • .Killed means a test failed with the change, so the tests noticed it.
  • MEscaped means every test still passed. A test is missing for that behavior.
  • UUncovered means no test executes that line.

Press Run or ⌘↵ to start.

Runs are public and listed in Explore. Don't paste code you can't share.