public
Description: Rails Plugin - Find unused methods in your projects
Homepage:
Clone URL: git://github.com/jdunphy/crufty.git
crufty /
name age message
file CHANGELOG Tue May 05 15:09:29 -0700 2009 A version change. [jdunphy]
file MIT-LICENSE Wed Jun 25 08:30:12 -0700 2008 Initial commit of Crufty. [jdunphy]
file README Tue May 05 15:09:29 -0700 2009 A version change. [jdunphy]
directory lib/ Tue May 05 13:23:07 -0700 2009 A dumb cleanup one-liner. Don't need teh to_s ... [jdunphy]
directory tasks/ Wed Jun 25 10:15:19 -0700 2008 Cleaning up and simplifying things. [jdunphy]
README
= Crufty 0.2

Find dead code.  A dumb plugin to find methods that aren't called (or aren't called often).

== Usage

Simple usage:

rake crufty:find_methods DIR=app/models

That will print out a list of methods (and their files) in app/models that aren't called anywhere in app or lib.

Want to find methods that are just called just once?

rake crufty:find_methods DIR=app/models SENSITIVITY=2