开发者

Tools for finding possible problems in code

开发者 https://www.devze.com 2022-12-30 11:58 出处:网络
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 st

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

精彩评论

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