____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
#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...
MMMMM..
Escaped mutants:
================
1) /app/infection-builds/4pvv/src/SourceClass.php:11 [M] DecrementInteger [ID] 870cc98561223f776f9959d801f94bd8
@@ @@
{
public function add(int $a, int $b) : int
{
- $c = 1 + 2;
+ $c = 0 + 2;
return $a + $b;
}
}
2) /app/infection-builds/4pvv/src/SourceClass.php:11 [M] IncrementInteger [ID] 22c4e481744107b5ddaa6d35d16577c6
@@ @@
{
public function add(int $a, int $b) : int
{
- $c = 1 + 2;
+ $c = 2 + 2;
return $a + $b;
}
}
3) /app/infection-builds/4pvv/src/SourceClass.php:11 [M] DecrementInteger [ID] 78ea0ec96ff7485ad9e445720e72c620
@@ @@
{
public function add(int $a, int $b) : int
{
- $c = 1 + 2;
+ $c = 1 + 1;
return $a + $b;
}
}
4) /app/infection-builds/4pvv/src/SourceClass.php:11 [M] IncrementInteger [ID] bfde5eed3dbd8560fd70a12e4b9f530b
@@ @@
{
public function add(int $a, int $b) : int
{
- $c = 1 + 2;
+ $c = 1 + 3;
return $a + $b;
}
}
5) /app/infection-builds/4pvv/src/SourceClass.php:11 [M] Plus [ID] 39e3948522913cbf1f9d150544854fca
@@ @@
{
public function add(int $a, int $b) : int
{
- $c = 1 + 2;
+ $c = 1 - 2;
return $a + $b;
}
}
7 mutations were generated:
2 mutants were killed by Test Framework
5 covered mutants were not detected
Metrics:
Mutation Code Coverage: 100%
Covered Code MSI: 28%
Generated Reports:
- /app/infection-builds/4pvv/infection.log.json
Please note that some mutants will inevitably be harmless (i.e. false positives).
Time: 2s. Memory: 18.00MB. Threads: 1