🕷 software projects

by ryan davis



Ruby complexity metrics

Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in (and harder it is to test).

Actual Output

% ./bin/flog -g lib
Total Flog = 1097.2 (17.4 flog / method)

   323.8: Flog total
    85.3: Flog#output_details
    61.9: Flog#process_iter
    53.7: Flog#parse_options

Get The Code

If you just want to use flog, you can install it via RubyGems:
gem install flog
Fork me on GitHub If you want to hack on flog, clone it from GitHub:
git clone git://github.com/seattlerb/flog

Latest Activity