Content
Overview
Checkstyle can generate XML, SARIF and plain text reports of its findings.
Xml report
The XML report schema is available at: checkstyle-report-1.0.0.xsd
Use this schema to validate XML output from Checkstyle's report generation.
Below is an example of a Checkstyle XML report:
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="10.0">
<file name="com/puppycrawl/tools/checkstyle/Main.java">
<error line="1" column="1" severity="error"
message="Missing package-info.java file."
source="com.puppycrawl.tools.checkstyle.checks.coding.MissingPackageInfoCheck"/>
</file>
</checkstyle>






