Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and S
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and S
Checkstyle is a tool that ensures adherence to a code standard or a set of best practices.
The latest release version can be found at GitHub releases or at Maven repo.
Documentation is available in HTML format, see Checkstyle checks.
The latest deployed website from master is available here.
…Thanks for your interest in contributing to CheckStyle! Please see the Contribution Guidelines for information on how to contribute to the project. This includes creating issues, submitting pull requests, and setting up your development environment.
Please see the Build Instructions for information on how to build the project.
Take a look at our javadoc to see our API documentation.
Checkstyle is an open-source project that is developed and maintained by volunteers. If you find Checkstyle useful, please consider sponsoring the project. Your support helps us to maintain and improve Checkstyle.
Checkstyle is licensed under the GNU LGPL v2.1 License. Checkstyle uses libraries:
Replace multi-line string concatenations with text blocks for better readability
EmptyLineSeparator: Inconsistent violation location for fields and methods with comments and Javadoc
EmptyLineSeparator: false positive duplicate violation when multiple enum constants share a line
Add checks for Sun Style [7.2 - Compound Statements]
Update XdocsPagesTest#validateExampleSectionSeparation to allow few code stippets for one example
new Check: ClassHeaderWrapOpenjdk
RequireThisCheck: pattern variables produce false positives
Compilation warning due to required filename-based automodules
Add ENUM_CONSTANT_DEF token to EmptyLineSeparator configuration in google_checks.xml
RequireThis: false negative for a field shadowed by a resource in finally