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]*$'. 94
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 143

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]*$'. 106
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 160

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]*$'. 145
 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). 179
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 220
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 294
 Warning naming LocalVariableName Local variable name 'lIpv4LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 336
 Warning naming LocalVariableName Local variable name 'lIpv6LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 345
 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). 478
 Warning naming LocalVariableName Local variable name 'lUnreservedBandwidth' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 493
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 494
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 494
 Warning whitespace WhitespaceAround WhitespaceAround: '<=' is not followed by whitespace. 494
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 602
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 633
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 676
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 707