Detecting dead/unreachable code

Is anyone aware of a tool for detecting dead/unreachable code in an
RonR app?

One way to tell if there is dead/unreachable code is to have good test-
coverage. Then you could use rcov to see what areas of your
application has proper test coverage or not.