From f3ab30ae39b6e8ea3a4fab0f8242e38cb2859628 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sun, 21 Apr 2013 02:26:36 +0200 Subject: [PATCH] Adjust flog score I'd love to exclude some methods, or whitelist them at a specific score! --- config/flog.yml | 2 +- lib/mutant/reporter/cli.rb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/flog.yml b/config/flog.yml index 0b91a104..30885955 100644 --- a/config/flog.yml +++ b/config/flog.yml @@ -1,2 +1,2 @@ --- -threshold: 37.6 +threshold: 56.1 diff --git a/lib/mutant/reporter/cli.rb b/lib/mutant/reporter/cli.rb index ff30cc82..72f9f974 100644 --- a/lib/mutant/reporter/cli.rb +++ b/lib/mutant/reporter/cli.rb @@ -73,9 +73,7 @@ module Mutant # def subject_results(runner) mutations = runner.mutations - if mutations.any? - puts # There is an open line - end + puts if mutations.any? time = mutations.map(&:runtime).inject(0, :+) mutations = mutations.length fails = runner.failed_mutations