$ ls
composer.json composer.lock infection.json.dist phpunit.xml.dist Ranges.php tests vendor
$ infection
____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
0 [>---------------------------] < 1 secRunning initial test suite...
Phpunit version: 6.5.5
20 [============================] 45 secs
Generate mutants...
Processing source code files: 6/6
Creating mutated files and processes: 68/68
.: killed, M: escaped, S: uncovered, E: fatal error, T: timed out
...............M....M...........M..M...M..M..M..M. (50 / 68)
.M..M...M..M...M.M (68 / 68)
68 mutations were generated:
54 mutants were killed
0 mutants were not covered by tests
14 covered mutants were not detected
0 errors were encountered
0 time outs were encountered
Metrics:
Mutation Score Indicator (MSI): 79%
Mutation Code Coverage: 100%
Covered Code MSI: 79%
Please note that some mutants will inevitably be harmless (i.e. false positives).
$ ls
composer.json composer.lock infection.json.dist infection-log.txt phpunit.xml.dist Ranges.php tests vendor
$ infection
____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
0 [>---------------------------] < 1 secRunning initial test suite...
Phpunit version: 6.5.5
20 [============================] 39 secs
Generate mutants...
Processing source code files: 6/7
In ParserAbstract.php line 293:
Syntax error, unexpected '-', expecting T_FUNCTION or T_CONST on line 1168
run [--test-framework TEST-FRAMEWORK] [--test-framework-options TEST-FRAMEWORK-OPTIONS] [--threads THREADS] [--only-covered] [-s|--show-mutations] [-c|--configuration CONFIGURATION] [--mutators MUTATORS] [--filter FILTER] [--formatter FORMATTER] [--min-msi MIN-MSI] [--min-covered-msi MIN-COVERED-MSI] [--log-verbosity [LOG-VERBOSITY]]
$ rm infection-log.txt && infection
____ ____ __ _
/ _/___ / __/__ _____/ /_(_)___ ____
/ // __ \/ /_/ _ \/ ___/ __/ / __ \/ __ \
_/ // / / / __/ __/ /__/ /_/ / /_/ / / / /
/___/_/ /_/_/ \___/\___/\__/_/\____/_/ /_/
0 [>---------------------------] < 1 secRunning initial test suite...
Phpunit version: 6.5.5
20 [============================] 46 secs
Generate mutants...
Processing source code files: 6/6
Creating mutated files and processes: 68/68
.: killed, M: escaped, S: uncovered, E: fatal error, T: timed out
...............M....M...........M..M...M..M..M..M. (50 / 68)
.M..M...M..M...M.M (68 / 68)
68 mutations were generated:
54 mutants were killed
0 mutants were not covered by tests
14 covered mutants were not detected
0 errors were encountered
0 time outs were encountered
Metrics:
Mutation Score Indicator (MSI): 79%
Mutation Code Coverage: 100%
Covered Code MSI: 79%
Please note that some mutants will inevitably be harmless (i.e. false positives).
$