____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
#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...
MMM...
Escaped mutants:
================
1) /app/infection-builds/6l7g/src/SourceClass.php:16 [M] DecrementInteger [ID] e307096cf469dee6db21e308572bb7e9
@@ @@
}
public function add(int $a, int $b) : int
{
- $this->logger->log(1);
+ $this->logger->log(0);
return $a + $b;
}
}
2) /app/infection-builds/6l7g/src/SourceClass.php:16 [M] IncrementInteger [ID] a750d9291b587db6b782e77a3ec71938
@@ @@
}
public function add(int $a, int $b) : int
{
- $this->logger->log(1);
+ $this->logger->log(2);
return $a + $b;
}
}
3) /app/infection-builds/6l7g/src/SourceClass.php:16 [M] MethodCallRemoval [ID] 913b7d9a114b6cc4e35d67dd987a477b
@@ @@
}
public function add(int $a, int $b) : int
{
- $this->logger->log(1);
+
return $a + $b;
}
}
6 mutations were generated:
3 mutants were killed by Test Framework
3 covered mutants were not detected
Metrics:
Mutation Code Coverage: 100%
Covered Code MSI: 50%
Generated Reports:
- /app/infection-builds/6l7g/infection.log.json
Please note that some mutants will inevitably be harmless (i.e. false positives).
Time: 2s. Memory: 18.00MB. Threads: 1