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.
"Checkstyle Home Page". 2010. Retrieved 2010-11-02. https://checkstyle.org/ ↩
"checkstyle – Release Notes". checkstyle.sourceforge.io. Retrieved 2024-12-17. https://checkstyle.sourceforge.io/releasenotes.html#Release_10.21.0 ↩
"checkstyle – Checkstyle Home Page". checkstyle.sourceforge.io. Retrieved 2024-12-17. https://checkstyle.sourceforge.io/#JRE_and_JDK ↩