开发者

Tools for finding possible problems in code

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


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

  • FindBugs
  • PMD
  • Checkstyle


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)


You could look on these too:

  • JDepend
  • Emma - For unit test coverage %
  • Same - For check duplicated code
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜