Experiment to identify dead code in our backend codebase
(Originally opened as https://gitlab.com/gitlab-org/gitlab/-/issues/420057)
## Context
It was mentioned in a recent meeting that a pet peeve was that sometimes we have HAML partials/Rails helpers that are **never called**. This is dead code that could be removed from the codebase.
## Goal
Experiment with the following tools to try to remove code that isn't used anywhere:
* https://github.com/seattlerb/debride
* https://github.com/unused-code/unused
* https://github.com/danmayer/coverband
## Unused Helpers
We have developed a script for detecting what we think might be unused methods:
`REPORT_ALL_UNUSED_METHODS=1 scripts/lint/unused_helper_methods.rb`
epic