____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
#StandWithUkraine
Infection - PHP Mutation Testing Framework version 0.32.0
[notice] You are running Infection with PCOV enabled.
Running initial test suite...
PHPUnit version: 10.5.10
.: killed by tests, A: killed by SA, M: escaped, U: uncovered
E: fatal error, X: syntax error, T: timed out, S: skipped, I: ignored
Generate mutants...
Processing source code files...
II....MMM.
Escaped mutants:
================
1) /app/infection-builds/1ekw/src/Logger.php:11 [M] Concat [ID] 9002bba30eaa96a0b1784d86da65c538
@@ @@
{
public function info(string $message, array $context) : void
{
- print $message . count($context);
+ print count($context) . $message;
}
}
2) /app/infection-builds/1ekw/src/Logger.php:11 [M] ConcatOperandRemoval [ID] e773936da9357ac64def3c0d2b444853
@@ @@
{
public function info(string $message, array $context) : void
{
- print $message . count($context);
+ print count($context);
}
}
3) /app/infection-builds/1ekw/src/Logger.php:11 [M] ConcatOperandRemoval [ID] 5c76ca8d7934a6fcb9b2bf9837aaa260
@@ @@
{
public function info(string $message, array $context) : void
{
- print $message . count($context);
+ print $message;
}
}
10 mutations were generated:
5 mutants were killed by Test Framework
2 mutants were configured to be ignored
3 covered mutants were not detected
Metrics:
Mutation Code Coverage: 100%
Covered Code MSI: 62%
Generated Reports:
- /app/infection-builds/1ekw/infection.log.json
Please note that some mutants will inevitably be harmless (i.e. false positives).
Time: 2s. Memory: 18.00MB. Threads: 1