+1 metric fu
Install as a gem. it was very tricky to vendor it.
Also install the reek and roodi gems.
It only has the following dependencies in the gem spec:flay, flog,
relevence-rcov, and mojombo-chronic.
My Rakefile has:
#add metric fu if it is available (rake metrics:all)
begin
require 'metric_fu'
MetricFu::Configuration.run do |config|
# config.metrics =
[:churn, :saikuro, :stats, :flog, :flay, :reek, :roodi, :rcov]
# config.graphs = [:flog, :flay, :reek, :roodi, :rcov]
config.rcov[:rcov_opts] << "-Itest"
end
rescue LoadError
end