Tracking Unused Code
Ruby tools for tracking unused code:
- debride does some static analysis
- rcov builds reports of what lines get executed arbitrarily (typically would be run on your test suite)
- coverband runs rcov in production to show what code is actually being used by users, rather than just tests.