Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 10.21.3 with checkstyle/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
318 0 7 0

Files

File  I  W  E
dev/metaschema/databind/codegen/ModuleCompilerHelper.java 0 1 0
dev/metaschema/databind/codegen/config/DefaultBindingConfiguration.java 0 1 0
dev/metaschema/databind/codegen/typeinfo/ChoiceGroupTypeInfoImplTest.java 0 4 0
dev/metaschema/databind/model/metaschema/BindingConstraintLoaderTest.java 0 1 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 6  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://|^ *\* *\{[^}]+\}$"
1  Error

Details

dev/metaschema/databind/codegen/ModuleCompilerHelper.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'classes' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 120

dev/metaschema/databind/codegen/config/DefaultBindingConfiguration.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 130). 605

dev/metaschema/databind/codegen/typeinfo/ChoiceGroupTypeInfoImplTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'itemClass' declaration and its first usage is 9, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 72
 Warning coding VariableDeclarationUsageDistance Distance between variable 'itemClass' declaration and its first usage is 7, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 144
 Warning coding VariableDeclarationUsageDistance Distance between variable 'itemClass' declaration and its first usage is 10, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 210
 Warning coding VariableDeclarationUsageDistance Distance between variable 'itemClass' declaration and its first usage is 6, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 309

dev/metaschema/databind/model/metaschema/BindingConstraintLoaderTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'reportFirstContext' declaration and its first usage is 5, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). 472