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
1012 0 5 0

Files

File  I  W  E
dev/metaschema/core/metapath/cst/math/AbstractBasicArithmeticExpression.java 0 1 0
dev/metaschema/core/metapath/format/XPathFormatterTest.java 0 2 0
dev/metaschema/core/metapath/item/node/NodeItemTraversalTest.java 0 2 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 4  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "2"
  • caseIndent: "0"
  • basicOffset: "2"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning

Details

dev/metaschema/core/metapath/cst/math/AbstractBasicArithmeticExpression.java

Severity Category Rule Message Line
 Warning indentation Indentation 'member def type' has incorrect indentation level 8, expected level should be 6. 117

dev/metaschema/core/metapath/format/XPathFormatterTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'rootQname' 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). 491
 Warning coding VariableDeclarationUsageDistance Distance between variable 'rootQname' 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). 531

dev/metaschema/core/metapath/item/node/NodeItemTraversalTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'field' 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). 404
 Warning coding VariableDeclarationUsageDistance Distance between variable 'field' 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). 444