bf4/metric_fu

View on GitHub
.metrics

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby

# For testing that this file gets loaded
mf_debug "Metrics config loaded"
# example configuration
# MetricFu::Configuration.run do |config|
#   coverage_file = File.expand_path("coverage/rcov/rcov.txt", Dir.pwd)
#   config.add_metric(:rcov)
#   config.add_graph(:rcov)
#   config.configure_metric(:rcov, {:external => coverage_file})
#   config.cane = {:abc_max => 15, :line_length => 80, :no_doc => 'y', :no_readme => 'y'}
# end
# or
# MetricFu::Configuration.run do |config|
#   config.metrics -= [ :rcov ]
# end
# you may enable running rcov manually with
# MetricFu.run_rcov