Dead Code Detector (DCD) simply finds never-used code in your Java/JEE applications by static analysis of classes. For example:
* Unused package-private or private methods and fields
* Unused public or protected methods and fields
* Unused local variables
* Useless initializations...
GUI can be launched in one click from http://dcd.dev.java.net (or use command line or ant). Text and XML reports are available.