Why this matters
Reduces maintenance cost and cognitive overhead.
Delete unreachable branches and unused methods; rely on VCS for history.
Reduces maintenance cost and cognitive overhead.
Side-by-side examples engineers can pattern-match during review.
def old_impl; end # no callers# removed; tests ensure coverage of live pathsif false then ... endremove the branch entirelyFrom the same buckets as this rule.