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
990 0 4 0

Files

File  I  W  E
gov/nist/secauto/metaschema/core/metapath/cst/math/AbstractBasicArithmeticExpression.java 0 1 0
gov/nist/secauto/metaschema/core/metapath/item/node/NodeItemTraversalTest.java 0 2 0
gov/nist/secauto/metaschema/core/model/constraint/ExpectConstraintTest.java 0 1 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 2  Warning
imports ImportOrder
  • ordered: "true"
  • sortStaticImportsAlphabetically: "true"
  • groups: "com,gov,net,org,/^java\./,javax"
  • separated: "true"
  • separatedStaticGroups: "true"
  • option: "top"
1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "2"
  • caseIndent: "0"
  • basicOffset: "2"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning

Details

gov/nist/secauto/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. 118

gov/nist/secauto/metaschema/core/metapath/item/node/NodeItemTraversalTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'flag' 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). 407
 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). 442

gov/nist/secauto/metaschema/core/model/constraint/ExpectConstraintTest.java

Severity Category Rule Message Line
 Warning imports ImportOrder Wrong order for 'gov.nist.secauto.metaschema.core.mdm.IDMFieldNodeItem' import. 24