Java Something

Java静态代码检查工具 FindBugs

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).

http://findbugs.sourceforge.net/

Java代码覆盖率检查工具 - Java code coverage tool

EclEmma - http://www.eclemma.org/

Cobertura - http://cobertura.github.io/cobertura/

代码规范检查工具

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.

Checkstyle - http://checkstyle.sourceforge.net/

原文地址:https://www.cnblogs.com/androidme/p/3536884.html