I'd like to think all of this code cleaning as a way to decrease hit amount especially with explosive weapons.
Sometimes it can. The main benefit is that it makes it easier for us to work with the code so we can more easily fix bugs or extend the functionality in that feature. But there are side benefits too like coming across minor bugs or inconsistencies for how the client and server handles something. And it usually reduces CPU and memory usage, and utilizes the CPU cache better.