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). 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]*$'. 165
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 233
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 252
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 272
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 284
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 304
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 324
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 342
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 368
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 394
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 416
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 506
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 526
 Warning naming LocalVariableName Local variable name 'rTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 544
 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). 553
 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). 556
 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). 557
 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). 562
 Warning naming LocalVariableName Local variable name 'lTpId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 578
 Warning naming LocalVariableName Local variable name 'lAttribute' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 612
 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). 615
 Warning sizes LineLength Line is longer than 120 characters (found 139). 619
 Warning sizes LineLength Line is longer than 120 characters (found 170). 620
 Warning sizes LineLength Line is longer than 120 characters (found 138). 621
 Warning sizes LineLength Line is longer than 120 characters (found 168). 622