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_whitelistto 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
-
Required Ruby Version
>= 0
Authors
Ryan Davis
Versions
-
1.15.2
-
source
- 1.15.2 source April 20, 2026 (22.5 KB)
-
-
1.15.1
-
source
- 1.15.1 source January 26, 2026 (22 KB)
-
-
1.15.0
-
source
- 1.15.0 source January 02, 2026 (22 KB)
-
-
1.14.0
-
source
- 1.14.0 source December 11, 2025 (21.5 KB)
-
-
1.13.0
-
source
- 1.13.0 source June 11, 2025 (21 KB)
-