$ fork-mutago --dry-run . neg.go: arithmetic/negate: 1 branch/if: 1 conditional/negated: 1 expression/comparison: 1 numbers/decrementer: 1 numbers/incrementer: 1 statement/return: 2 Per-mutator totals across all files: arithmetic/negate 1 branch/if 1 conditional/negated 1 expression/comparison 1 numbers/decrementer 1 numbers/incrementer 1 statement/return 2 Total: 8 mutation(s) would be generated. No files written, no tests run. Note: this count uses the same scope as a real run (changed lines, blacklist, duplicate edits, and --run-mutant-id). It does not apply coverage. exit=0 $ fork-mutago --dry-run --disable arithmetic/negate . neg.go: branch/if: 1 conditional/negated: 1 expression/comparison: 1 mypkg/flip-sign: 1 numbers/decrementer: 1 numbers/incrementer: 1 statement/return: 2 Per-mutator totals across all files: branch/if 1 conditional/negated 1 expression/comparison 1 mypkg/flip-sign 1 numbers/decrementer 1 numbers/incrementer 1 statement/return 2 Total: 8 mutation(s) would be generated. No files written, no tests run. Note: this count uses the same scope as a real run (changed lines, blacklist, duplicate edits, and --run-mutant-id). It does not apply coverage. exit=0 $ fork-mutago --workers=1 --exec-timeout=10 --disable arithmetic/negate . KILLED neg.go:6 (branch/if) ------------------------------------------------------------------------------------------------------------------------------------------------------ KILLED neg.go:5 (conditional/negated) ------------------------------------------------------------------------------------------------------------------------------------------------------ ESCAPED neg.go:5 (expression/comparison) ------------------------------------------------------------------------------------------------------------------------------------------------------ --- Original +++ New @@ -2,7 +2,7 @@ // Abs returns the absolute value of x. func Abs(x int) int { - if x < 0 { + if x <= 0 { return -x } return x KILLED neg.go:6 (mypkg/flip-sign) ------------------------------------------------------------------------------------------------------------------------------------------------------ ESCAPED neg.go:5 (numbers/decrementer) ------------------------------------------------------------------------------------------------------------------------------------------------------ --- Original +++ New @@ -2,7 +2,7 @@ // Abs returns the absolute value of x. func Abs(x int) int { - if x < 0 { + if x < (-1) { return -x } return x ESCAPED neg.go:5 (numbers/incrementer) ------------------------------------------------------------------------------------------------------------------------------------------------------ --- Original +++ New @@ -2,7 +2,7 @@ // Abs returns the absolute value of x. func Abs(x int) int { - if x < 0 { + if x < 1 { return -x } return x ESCAPED neg.go:8 (statement/return) ------------------------------------------------------------------------------------------------------------------------------------------------------ --- Original +++ New @@ -5,5 +5,5 @@ if x < 0 { return -x } - return x + return 0 } KILLED neg.go:6 (statement/return) ------------------------------------------------------------------------------------------------------------------------------------------------------ The mutation score is 50.00% (4 killed, 4 escaped, 0 errored, 0 not covered, 0 skipped, 8 total) Per-mutator breakdown: branch/if killed 1 / 1 (100%) conditional/negated killed 1 / 1 (100%) expression/comparison killed 0 / 1 (0%) mypkg/flip-sign killed 1 / 1 (100%) numbers/decrementer killed 0 / 1 (0%) numbers/incrementer killed 0 / 1 (0%) statement/return killed 1 / 2 (50%) exit=0