Checkstyle Results

The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
12 0 21 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 2  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
2  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
14  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
3  Warning

Details

org/opendaylight/topology/multitechnology/MultitechnologyAttributesParserTest.java

Severity Category Rule Message Line
 Warning indentation Indentation 'ted' have incorrect indentation level 8, expected level should be 12. 58
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 3, expected level should be 4. 89

org/opendaylight/topology/multitechnology/MultitechnologyCorrelationFieldHandlerTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'lUnderlayTopology' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 91
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 137

org/opendaylight/topology/multitechnology/MultitechnologyNameHandlerTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'lUnderlayTopology' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 103
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 154

org/opendaylight/topology/multitechnology/MultitechnologyTopologyProviderTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'lUnderlayTopology' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 142
 Warning coding VariableDeclarationUsageDistance Distance between variable 'parser' declaration and its first usage is 8, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 173
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 214
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 288
 Warning naming LocalVariableName Local variable name 'lIpv4LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 330
 Warning naming LocalVariableName Local variable name 'lIpv6LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 339
 Warning coding VariableDeclarationUsageDistance Distance between variable 'metric' declaration and its first usage is 12, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 472
 Warning naming LocalVariableName Local variable name 'lUnreservedBandwidth' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 487
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 488
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 488
 Warning whitespace WhitespaceAround WhitespaceAround: '<=' is not followed by whitespace. 488
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 596
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 627
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 670
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 701