checkstyle

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 Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

Github星跟踪图











Members chat:
Contributors chat:

Checkstyle is a tool for checking Java source code for adherence to a Code Standard
or set of validation rules (best practices).

The latest release version can be found at
GitHub releases
or at Maven repo.

Each-commit builds of maven artifacts can be found at
Maven Snapshot repository .

Documentation is available in HTML format, see https://checkstyle.org/checks.html.

Build instructions and Contribution

Build instructions

Setup IDE for development

Explanation on how to create your own module

Verification of code quality

Sending Pull Request

Report Issue

Continuous integration and Quality reports

Travis (Linux & MacOS build):
AppVeyor (Windows build):

Quality reports: https://checkstyle.org/project-reports.html

JavaScript, CSS and Java source file analysis on Codacy:

Feedback/Support

Please send any feedback to https://groups.google.com/forum/?hl=en#!forum/checkstyle

Questions and Answers from community:

Bugs and Feature requests (not the questions): https://github.com/checkstyle/checkstyle/issues

Support/Sponsor checkstyle

If you want to speed up fixing of issue and want to encourage somebody in
internet to resolve any issue:





Licensing

This software is licensed under the terms in the file named "LICENSE" in this
directory.

The software uses the ANTLR package (https://www.antlr.org/). Its license terms
are in the file named "RIGHTS.antlr" in this directory.

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).

The software uses the Logging and Beanutils packages from the
Apache Commons project (http://commons.apache.org/). The license terms
of these packages are in the file named "LICENSE.apache20" in this
directory.

The software uses the Google Guava Libraries
(https://github.com/google/guava/). The license terms of
these packages are in the file named "LICENSE.apache20" in this
directory.

The software uses the Picocli Library
(https://github.com/remkop/picocli/). Its license terms
are in the file named "LICENSE.apache20" in this directory.

主要指标

概览
名称与所有者checkstyle/checkstyle
主编程语言Java
编程语言Shell (语言数: 11)
平台
许可证GNU Lesser General Public License v2.1
所有者活动
创建于2013-08-31 02:05:05
推送于2025-06-10 14:21:43
最后一次提交2025-06-10 13:41:48
发布数193
最新版本名称checkstyle-10.25.0 (发布于 2025-05-31 14:21:11)
第一版名称release1_1 (发布于 )
用户参与
星数8.6k
关注者数225
派生数3.8k
提交数15k
已启用问题?
问题数5620
打开的问题数837
拉请求数7787
打开的拉请求数68
关闭的拉请求数3587
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?