Tools to find possible problems with the code

Are there any tools that detect and report potential problems (deadlocks / null pointers / etc) in java code? Maybe an Eclipse plugin?

+2


a source to share


3 answers


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



+4


a source


I am using http://findbugs.sourceforge.net/ and it works really well. of course it won't find all problems, but anything to do with potential null pointers, potential synchronization problems, etc. it comes as an eclipse plugin that integrates with the "markers" view (the one that shows you the problems).



+2


a source


You can also look at them:

  • JDepend
  • Emma - for unit test coverage%
  • Ditto for checking duplicate code
0


a source







All Articles