Cogent Flog
Cogent Flog is a plugin that provides a rake task to run Flog against the code in your rails application. It will fail if the ABC (Assignment, Branches, Calls) metric of your code is too high. To execute it, simply run:
rake flog
Dependencies
- Flog (http://ruby.sadi.st/Flog.html)
Installation
EDGE
To install using SVN:ruby script/plugin install svn://rubyforge.org/var/svn/cogent-rails/trunk/plugins/cogent_flog
or using HTTP:
ruby script/plugin install http://cogent-rails.rubyforge.org/svn/trunk/plugins/cogent_flog
Stable
To install using SVN:ruby script/plugin install svn://rubyforge.org/var/svn/cogent-rails/branches/stable/plugins/cogent_flog
or using HTTP:
ruby script/plugin install http://cogent-rails.rubyforge.org/svn/branches/stable/plugins/cogent_flog
