Java靜態代碼檢查工具 FindBugsgit
FindBugs is a defect detection tool for Java that uses static analysis to look for more than 200 bug patterns, such as null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks. FindBugs can identify hundreds of serious defects in large applications (typically about 1 defect per 1000-2000 lines of non-commenting source statements).github
http://findbugs.sourceforge.net/app
Java代碼覆蓋率檢查工具 - Java code coverage toolide
EclEmma - http://www.eclemma.org/工具
Cobertura - http://cobertura.github.io/cobertura/oop
代碼規範檢查工具this
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.idea
Checkstyle - http://checkstyle.sourceforge.net/spa