I have an application written in native C++ over the course of several years that is around 60 KLOC. There are many many functions and classes that are dead
Use a code coverage tool against your unit test suite.