-
Notifications
You must be signed in to change notification settings - Fork 1
/
.metrics
36 lines (29 loc) · 989 Bytes
/
.metrics
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# MetricFu::Configuration.run do |config|
# config.metrics -= [:rcov]
# end
MetricFu::Configuration.run do |config|
# config.rcov[:test_files] = ['spec/**/*_spec.rb']
# config.rcov[:rcov_opts] << "-Ispec" # Needed to find spec_helper
config.metrics = [:saikuro, :stats, :flay, :reek, :roodi, :hotspots]
# config.metrics = [:saikuro, :stats, :flay, :reek, :roodi, :rcov, :hotspots]
# :churn, :flog : failing
# config.graphs = [:flay, :reek, :roodi, :rcov, :rails_best_practices]
# AVAILABLE_GRAPHS = [:flog, :flay, :reek, :roodi, :rcov, :rails_best_practices]
# config.rcov = {
# :environment => 'test',
# :test_files => [
# 'test/**/*_test.rb',
# 'spec/**/*_spec.rb'
# ],
# :rcov_opts => [
# "--sort coverage",
# "--no-html",
# "--text-coverage",
# "--no-color",
# "--profile",
# "--rails",
# "--exclude /gems/,/Library/,/usr/,spec"
# ],
# :external => nil
# }
end