checkstyle

checks Java source against a coding standard

Install

All systems
curl cmd.cat/checkstyle.sh
Debian Debian
apt-get install checkstyle
Ubuntu
apt-get install checkstyle
image/svg+xml Kali Linux
apt-get install checkstyle
Fedora
dnf install checkstyle
Windows (WSL2)
sudo apt-get update sudo apt-get install checkstyle
OS X
brew install checkstyle
Raspbian
apt-get install checkstyle

checkstyle

checks Java source against a coding standard

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration file is supplied supporting the Sun Code Conventions.