Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rails Plugin - Find unused methods in your projects
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
tasks
CHANGELOG
MIT-LICENSE
README

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
Something went wrong with that request. Please try again.