views:

50

answers:

2

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
Agree, FindBugs = the win
CurtainDog
+1  A: 
Andreas_D