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 25 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 2  Warning
imports UnusedImports 1  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 imports UnusedImports Unused import - org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.TopologyTypes. 51
 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]*$'. 146

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]*$'. 144
 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). 175
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 216
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 333
 Warning naming LocalVariableName Local variable name 'lIpv4LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 375
 Warning naming LocalVariableName Local variable name 'lIpv6LocalAddress' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 384
 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). 517
 Warning naming LocalVariableName Local variable name 'lUnreservedBandwidth' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 532
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 533
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 533
 Warning whitespace WhitespaceAround WhitespaceAround: '<=' is not followed by whitespace. 533
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 641
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 672
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 715
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 757