concept dead code in category software development
appears as: dead code, dead code

This is an excerpt from Manning's book Test Driven: Practical TDD and Acceptance TDD for Java Developers.
Glancing over our code after this switchover to using Segment objects in the Template class, we realize that a bunch of methods are no longer used by anyone. Deleting code is relieving, isn’t it? While getting rid of the dead code—including that ugly if-else block with the stench—we also notice the isVariable method that we blatantly made public and static in order to be able to call it from the TemplateParse. Because it’s no longer used anywhere other than TemplateParse, we move it to the TemplateParse class and make it private again.