Code metrics from Flog, Flay, Saikuro, Churn, Reek, Roodi, Code Statistics, and Rails Best Practices. (and optionally RCov)

Rubygem metric_fu

Total Downloads
Current Version
2015-02-27 00:00:00 UTC
First Release
2009-12-02 06:00:00 UTC

Github metricfu/metric_fu

Development activity
Less active
Last commit
2015-03-24 15:21:34 UTC


Sarah Kelleth (Blagaich) wrote 2011-10-11 14:45:12 UTC:

Note that if you're using ruby 1.9.2, flog and flay don't currently work for it, and you'll need to disable them in your .metrics file in order for the main rake metrics:all to run.

Sarah Kelleth (Blagaich) wrote 2011-10-11 14:57:30 UTC:

Sorry, I'm thinking of another gem - I meant disable them in configuration.

Benjamin Fleischer wrote 2013-01-28 19:09:18 UTC:

MetricFu is alive again. I'm maintaining it at

Benjamin Fleischer wrote 2013-02-08 19:33:42 UTC:

I'm the new maintainer of metric_fu and it should work now on ruby 1.9 without any problems. See configuration instructions at which include how you can have metric_fu load external coverage output (e.g. using simplecov)

Rcov on ruby 1.9 segfaults and fails a lot, so running it is disabled by default and the gem is no longer included as a dependency. However, you may still config it to run or load coverage stats you've already generated

Also, it works from the command-line now. Now need to bundle it or run rake or metrical

Post a comment

Markdown supported

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.