TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

checkstyle/checkstyle

Java static analysis tool

+10 stars in 7 days

Automate Java code style checks against team rules

You can stop manually checking hundreds of lines of Java code against style guides. Checkstyle is a program that mechanically verifies whether code follows standards like the Google Java Style Guide or Sun Code Conventions. Run it during the build process or from the command line to get immediate feedback on violations, ensuring consistent quality from the moment you write code.

Checks for logical errors like switch statements

Checkstyle does not just check formatting like indentation or variable names. As shown in the README examples, it also detects 'fall through' errors where a specific case in a switch statement proceeds to the next case. You define the rules to check in a config.xml file and run it with the java -jar command to print the violated lines and reasons to the console. This process can be invoked via ANT tasks or command-line programs, making it easy to integrate into existing development workflows.

Google Style Guide as the default

When you first install the tool, the Google Java Style Guide and Sun Code Conventions are applied as default settings. However, you do not need to follow every rule exactly. You can freely adjust the configuration to select only the rules that fit your project or add new ones. The latest release version is available for download from GitHub releases or Maven Central, and you can find detailed descriptions of each check item in the HTML-formatted documentation.

An open-source project maintained by voluntary contributions

Checkstyle is an open-source project developed and maintained by volunteers. Users can ask questions on the Discussions page or Stack Overflow and communicate with the community through Discord chat rooms or the Google Groups forum. If you want to contribute to the project, refer to the Contribution Guidelines to create issues or submit pull requests. You can also support the project's continued development through Liberapay or OpenCollective.

LGPL license and dependency libraries

Checkstyle is distributed under the GNU LGPL v2.1 license. It internally uses libraries such as ANTLR, Apache Commons, Google Guava, and Picocli. Before integrating this tool into a commercial project, you must verify that these license terms do not conflict with your project. It is also safe to directly verify compatibility with specific Java versions and the scope of supported check items through the latest documentation.

Written by AI from this repository's README on September 27, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
3 days between Jun 19, when Trend began recording, and Nov 8, 2026 · first on Aug 30 · best daily rank #8 (Aug 31)

Read from GitHub, as of November 8, 2026.

Language
Java
Topics
code-quality · command-line-tool · hacktoberfest · java · static-analysis · static-code-analysis
Stars
9,638
Stars gained in 7 days
+10
Contributors
789
Forks
4,336
Latest release
checkstyle-14.4.0 · October 31, 2026
Commits
18,338
Last commit
November 8, 2026
Open issues
697
Open pull requests
198
Used by
179,904

Related repositories

View on GitHub → · Homepage

README badge

trend.ondo.sh · GitHub daily trending #8 · August 31, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/checkstyle--checkstyle/badge.en.svg)](https://trend.ondo.sh/github/r/checkstyle--checkstyle/en.html)