Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
6 0 60 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
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/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). 306
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 355
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 364
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 366
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 372
 Warning naming LocalVariableName Local variable name 'aLink' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 406
 Warning naming LocalVariableName Local variable name 'aLink' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 463
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 467
 Warning naming LocalVariableName Local variable name 'iErrorBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 609
 Warning naming LocalVariableName Local variable name 'lAttribute' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 624
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 643
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 649
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 658
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 664
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 669
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 738
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 740
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 745
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 753
 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). 767
 Warning naming LocalVariableName Local variable name 'iErrorBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 771
 Warning naming LocalVariableName Local variable name 'aLinkToExclude' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 778
 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). 780
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 797
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 802
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 847
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 854

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]*$'. 168
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 239
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 258
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 278
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 290
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 310
 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 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 348
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 374
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 400
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 422
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 512
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 532
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 550
 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). 559
 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). 562
 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). 563
 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). 568
 Warning naming LocalVariableName Local variable name 'lTpId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 584
 Warning naming LocalVariableName Local variable name 'lAttribute' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 618
 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). 621
 Warning sizes LineLength Line is longer than 120 characters (found 139). 625
 Warning sizes LineLength Line is longer than 120 characters (found 170). 626
 Warning sizes LineLength Line is longer than 120 characters (found 138). 627
 Warning sizes LineLength Line is longer than 120 characters (found 168). 628