lib/metric_fu/base.rb in p8-metric_fu-0.8.9.1 vs lib/metric_fu/base.rb in p8-metric_fu-0.9.0
- old
+ new
@@ -140,10 +140,11 @@
yield MetricFu.configuration
end
def reset
@churn = {}
- @coverage = { :test_files => ['test/**/*_test.rb', 'spec/**/*_spec.rb'] }
+ @coverage = { :test_files => ['test/**/*_test.rb', 'spec/**/*_spec.rb'],
+ :rcov_opts => ["--sort coverage", "--html", "--rails", "--exclude /gems/,/Library/,spec"] }
@flay = { :dirs_to_flay => CODE_DIRS}
@flog = { :dirs_to_flog => CODE_DIRS}
@reek = { :dirs_to_reek => CODE_DIRS}
@roodi = { :dirs_to_roodi => CODE_DIRS}
@metrics = DEFAULT_METRICS
\ No newline at end of file