Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
12 0 24 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
modifier RedundantModifier 3  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/MultitechnologyAttributesParser.java

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'final' modifier. 18
 Warning modifier RedundantModifier Redundant 'final' modifier. 20
 Warning modifier RedundantModifier Redundant 'final' modifier. 22

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

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

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]*$'. 141
 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). 172
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 213
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 330
 Warning naming LocalVariableName Local variable name 'lIpv4LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 372
 Warning naming LocalVariableName Local variable name 'lIpv6LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 381
 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). 514
 Warning naming LocalVariableName Local variable name 'lUnreservedBandwidth' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 529
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 530
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 530
 Warning whitespace WhitespaceAround WhitespaceAround: '<=' is not followed by whitespace. 530
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 638
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 669
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 712
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 754