Which is the best tool for finding bugs in the Java code?

amod picture amod · Sep 6, 2011 · Viewed 7.6k times · Source

I would like to know which tool is best for finding any kind of bugs in my code. I know this may be some what theoretical or never ending question so I would like to modify it in terms of the efficiency of bug reporting (including the naming convention as well). So you can say which tool reports and maximum bugs and if effectively used in the industry? I heard about findbug is it really good?

Answer

aioobe picture aioobe · Sep 6, 2011

FindBugs is probably one of the most prominent ones and well worth a try.

For naming conventions etc, I'd suggest you have a look at CheckStyle.