debride version 1.15.2 has been released!
* home: <https://github.com/seattlerb/debride>
* rdoc: <http://docs.seattlerb.org/debride>
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
Changes:
### 1.15.2 / 2026-04-20
* 3 bug fixes:
* Fix #process_hash when there's a kwsplat in the middle. (carlos-musetti)
* Rescue StandardError in .run to handle wider gamut of errors gracefully.
* Add #process override to handle errors as well.
ยทยทยท
______________________________________________
ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/