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 is highly configurable and can be made to support almost any coding standard.
The things that Checkstyle can check for are:
- Javadoc Comments
- Naming Conventions
- Headers
- Imports
- Size Violations
- Whitespace
- Modifiers
- Blocks
- Coding Problems
- Class Design
- Miscellaneous Checks
Checkstyle is most useful if you integrate it in your build process or your development environment. The distribution includes:
Plugins available :
- JBuilder
- Eclipse
- JEdit
- NetBeans
- Maven
- ...
Source : CheckStyle