Hear me out.
You're going to then publicly embarrass another co worker. Not a good idea.
I need to clarify though, there's a difference between functional code that could have been written better, and code which does nothing at all .
I was at a company where three or four people literally were writing code that did nothing but was appearing to function correctly. Imagine an API that checks the status of another service, and you just code it to always return 200.
Instead of trying to save an organization from itself, you can just go somewhere else. I did so and I got like a $30,000 raise.