Adjust flog score

I'd love to exclude some methods, or whitelist them at a specific score!
This commit is contained in:
Markus Schirp 2013-04-21 02:26:36 +02:00
parent ce26f75ae6
commit f3ab30ae39
2 changed files with 2 additions and 4 deletions

View file

@ -1,2 +1,2 @@
--- ---
threshold: 37.6 threshold: 56.1

View file

@ -73,9 +73,7 @@ module Mutant
# #
def subject_results(runner) def subject_results(runner)
mutations = runner.mutations mutations = runner.mutations
if mutations.any? puts if mutations.any?
puts # There is an open line
end
time = mutations.map(&:runtime).inject(0, :+) time = mutations.map(&:runtime).inject(0, :+)
mutations = mutations.length mutations = mutations.length
fails = runner.failed_mutations fails = runner.failed_mutations