Jump to >

checkstyle

checkstyle is a static analysis tool that provides a variety of checkers for java code.

Installation

checkstyle can be installed through many system package managers, or downloaded and installed manually.

Configuration

Because there are a variety of methods to install checkstyle, there’s no consistent location (or name) of the JAR file.

The path and name of the JAR file has to be configured in the Review Bot worker config file.

Also it is required that “java” is in your path.

checkstyle_path = '/opt/checkstyle.jar'