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
6 0 87 0

Rules

Category Rule Violations Severity
coding IllegalCatch 2  Warning
VariableDeclarationUsageDistance 8  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
2  Warning
modifier RedundantModifier 27  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
28  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
4  Warning
whitespace GenericWhitespace 16  Warning

Details

org/opendaylight/topology/multilayer/MultilayerAttributesParserTest.java

Severity Category Rule Message Line
 Warning indentation Indentation 'if' child have incorrect indentation level 11, expected level should be 12. 126
 Warning indentation Indentation 'else' child have incorrect indentation level 11, expected level should be 12. 128
 Warning naming LocalVariableName Local variable name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 166
 Warning naming LocalVariableName Local variable name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 167
 Warning naming LocalVariableName Local variable name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 181
 Warning naming LocalVariableName Local variable name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 182
 Warning naming LocalVariableName Local variable name 'r' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 196
 Warning naming LocalVariableName Local variable name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 197

org/opendaylight/topology/multilayer/MultilayerForwardingAdjacency.java

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'final' modifier. 22
 Warning modifier RedundantModifier Redundant 'final' modifier. 23
 Warning modifier RedundantModifier Redundant 'final' modifier. 23
 Warning modifier RedundantModifier Redundant 'final' modifier. 24
 Warning modifier RedundantModifier Redundant 'final' modifier. 26
 Warning modifier RedundantModifier Redundant 'final' modifier. 26
 Warning modifier RedundantModifier Redundant 'final' modifier. 27
 Warning modifier RedundantModifier Redundant 'final' modifier. 27
 Warning modifier RedundantModifier Redundant 'final' modifier. 29
 Warning modifier RedundantModifier Redundant 'final' modifier. 29
 Warning modifier RedundantModifier Redundant 'final' modifier. 30
 Warning modifier RedundantModifier Redundant 'final' modifier. 30
 Warning modifier RedundantModifier Redundant 'final' modifier. 30
 Warning modifier RedundantModifier Redundant 'final' modifier. 32
 Warning modifier RedundantModifier Redundant 'final' modifier. 33
 Warning modifier RedundantModifier Redundant 'final' modifier. 33
 Warning modifier RedundantModifier Redundant 'final' modifier. 34
 Warning modifier RedundantModifier Redundant 'final' modifier. 36
 Warning modifier RedundantModifier Redundant 'final' modifier. 37
 Warning modifier RedundantModifier Redundant 'final' modifier. 37
 Warning modifier RedundantModifier Redundant 'final' modifier. 39
 Warning modifier RedundantModifier Redundant 'final' modifier. 39
 Warning modifier RedundantModifier Redundant 'final' modifier. 40
 Warning modifier RedundantModifier Redundant 'final' modifier. 42
 Warning modifier RedundantModifier Redundant 'final' modifier. 42
 Warning modifier RedundantModifier Redundant 'final' modifier. 43
 Warning modifier RedundantModifier Redundant 'final' modifier. 43

org/opendaylight/topology/multilayer/MultilayerTopologyProvider.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'headTpId' declaration and its first usage is 7, 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). 305
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 354
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 363
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 365
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 371
 Warning naming LocalVariableName Local variable name 'aLink' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 405
 Warning naming LocalVariableName Local variable name 'aLink' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 462
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 466
 Warning naming LocalVariableName Local variable name 'iErrorBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 608
 Warning naming LocalVariableName Local variable name 'lAttribute' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 623
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 642
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 648
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 657
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 663
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 668
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 737
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 739
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 744
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 752
 Warning coding VariableDeclarationUsageDistance Distance between variable 'okBuilder' declaration and its first usage is 11, 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). 766
 Warning naming LocalVariableName Local variable name 'iErrorBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 770
 Warning naming LocalVariableName Local variable name 'aLinkToExclude' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 777
 Warning coding VariableDeclarationUsageDistance Distance between variable 'directionalityInfo' declaration and its first usage is 6, 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). 779
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 796
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 801
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 846
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 853

org/opendaylight/topology/multilayer/MultilayerTopologyProviderTest.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]*$'. 163
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 231
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 250
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 270
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 282
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 302
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 322
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 340
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 366
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 392
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 414
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 504
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 524
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 542
 Warning coding VariableDeclarationUsageDistance Distance between variable 'topologyIid' declaration and its first usage is 21, 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). 551
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeId2' declaration and its first usage is 7, 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). 554
 Warning coding VariableDeclarationUsageDistance Distance between variable 'tpId2' 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). 555
 Warning coding VariableDeclarationUsageDistance Distance between variable 'forwardingAdjAnnounceInputBuilder' declaration and its first usage is 21, 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). 560
 Warning naming LocalVariableName Local variable name 'lTpId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 576
 Warning naming LocalVariableName Local variable name 'lAttribute' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 610
 Warning coding VariableDeclarationUsageDistance Distance between variable 'networkTopologyRef' declaration and its first usage is 6, 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). 613
 Warning sizes LineLength Line is longer than 120 characters (found 139). 617
 Warning sizes LineLength Line is longer than 120 characters (found 170). 618
 Warning sizes LineLength Line is longer than 120 characters (found 138). 619
 Warning sizes LineLength Line is longer than 120 characters (found 168). 620