Remove ads
Java code analysis tool From Wikipedia, the free encyclopedia
Checkstyle[1] is a static code analysis tool used in software development for checking if Java source code is compliant with specified coding rules.
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Stable release | 10.21.0
/ December 12, 2024 |
---|---|
Repository | github |
Written in | Java |
Operating system | Cross-platform |
Type | Static code analysis |
License | GNU Lesser General Public License |
Website | checkstyle |
Originally developed by Oliver Burn back in 2001, the project is maintained by a team of developers from around the world.
The current stable release is version 10.21.0[2] which supports Java versions from 11 to 17.[3]
The programming style adopted by a software development project can help to ensure that the code is compliant with good programming practices which improve the quality, readability, and re-usability of the code and may reduce the cost of development. The checks performed by Checkstyle are mainly limited to the presentation of the code. These checks do not confirm the correctness or completeness of the code. Checkstyle rules are not programming style, they are merely rules for formatting the code.
Checkstyle defines a set of available modules, each of which provides rules checking with a configurable level of strictness (mandatory, optional...). Each rule can raise notifications, warnings, and errors. For example, Checkstyle can examine the following:
Checkstyle is available as a JAR file which can run inside a Java VM or as an Apache Ant task. It can also be integrated into an IDE or other tools.
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.