Checkstyle
Home PageCategories: Code analysis - Standards verifiers
Latest version: 4.1
Added 2005-02-21
Designed to help programmers write Java code that adheres to a coding standard.
By default Checkstyle supports the Sun Code Conventions, but is configurable and can be made to support other coding standards. Sample configuration files are supplied for other well known conventions.
Checkstyle can check many aspects of your source code. Historically it's main functionality has been to check code layout issues, but since the internal architecture was changed in version 3, more and more checks for other purposes have been added. Now Checkstyle provides checks that find class design problems, duplicate code, or bug patterns like double checked locking.
Checkstyle is most useful if you integrate it in your build process or your development environment. The distribution includes: an Ant task and a command line tool.
Existing plug-ins for IDE and build tools include Eclipse, IntelliJ IDEA, NetBeans, JBuilder, Maven...
Built for Java |
Plug-in |
Free or free version available |
Source code provided |