NetBeans is by default better than Eclipse (imho) in detecting code smells, but the Unnecessary Code Detector for Eclipse seems to find more dead code and code that sould be improved. Is there something comparable for NetBeans or is there a Maven plug-in?
+6
A:
Not a direct answer to your question, but this might be interesting: Here is a set of plugins for NetBeans to integrate tools like FindBugs, PMD and CheckStyle into NetBeans.
Those tools are static code analysis tools: they look at your source code and give you information about possible error-prone constructs, possible bugs etc. and can most likely also find unused code.
Jesper
2010-08-19 07:59:59
Agree, FindBugs = the win
CurtainDog
2010-08-19 08:05:11