RubyGems Navigation menu

debride 1.15.2

Analyze code for potentially uncalled / dead methods, now with auto-removal.

Features/Problems:

  • Static analysis of code. Can be easily hooked up to a CI.

  • As with all static analysis tools of dynamic languages, can’t be 100%.

  • Whitelisting known good methods by name or regexp.

  • Use –rails for Rails-specific domain knowledge.

  • Use debride_rm to brazenly remove all unused methods. BE CAREFUL.

  • Use debride_rails_whitelist to generate an emperical whitelist from logs.

  • Uses path_expander, so you can use:

    • dir_arg – expand a directory automatically

    • @file_of_args – persist arguments in a file

    • -path_to_subtract – ignore intersecting subsets of files/directories

Gemfile:
=

install:
=

Versions:

  1. 1.15.2 April 20, 2026 (22.5 KB)
  2. 1.15.1 January 26, 2026 (22 KB)
  3. 1.15.0 January 02, 2026 (22 KB)
  4. 1.14.0 December 11, 2025 (21.5 KB)
  5. 1.13.0 June 11, 2025 (21 KB)
Show all versions (22 total)

Runtime Dependencies (3):

path_expander ~> 2.0
prism ~> 1.7
sexp_processor ~> 4.17

Development Dependencies (3):

hoe ~> 4.6
rdoc >= 6.0, < 8
simplecov ~> 0.21

Owners:

Pushed by:

Authors:

  • Ryan Davis

SHA 256 checksum:

=

Signature validity period:

January 07, 2026 - January 07, 2027

Total downloads 1,474,456

For this version 577

Version Released:

License:

MIT

Required Ruby Version: >= 0

Links: