views:

48

answers:

2

Is there any tools, that find and report possible problems (deadlocks/null pointers/etc) in a java code? Maybe an Eclipse plugin?

+4  A: 

Yes, here are some popular, free and open source static code checking tools for Java:

Jesper
+2  A: 

i use http://findbugs.sourceforge.net/ and it works very well. of course it won't find all problems but stuff like potential null pointers, potential synchronization issues etc are all covered. it comes as an eclipse plugin that integrates with the 'markers' view (the one that shows you problems)

oedo