You know Frank Sinatra?
Large chunks of your existing code base?
OldYeller is a tool to track down dead code in Rails applications. It sizes
your application up and let’s you know which methods, partials, views, or
classes are never called.
To use Old Yeller, copy
./dead_code.rb.example to your
any parameters that need it and run
He’s dead, Jim
Old Yeller works by generating tests from
config/routes to request every
accessible page. These tests are run through RCov to generate a report on
which app code is used or not used. Tooling is added to
ActionView::Template to determine which templates are actually rendered.
Proper care and feeding of Old Yeller is facilitated by a couple of gems:
Copyright © 2009 Ben Hughes <email@example.com>, released under the MIT license