BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

debride

v1.15.2RubyGems· Ruby

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

The verdict
Maintained. Niche but maintained, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 1 month ago.
Popularity
3.3K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 1.15.21 month ago
  • 1.15.14 months ago
  • 1.15.05 months ago
  • 1.14.06 months ago
  • 1.13.012 months ago
  • 1.12.03 years ago
  • 1.11.03 years ago
  • 1.10.13 years ago
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 (Ruby / RubyGems) · Modules