Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
14 0 33 0

Rules

Category Rule Violations Severity
blocks RightCurly
  • tokens: "CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"
  • option: "alone"
1  Warning
RightCurly 1  Warning
coding VariableDeclarationUsageDistance 17  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
3  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
9  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
3  Warning

Details

org/opendaylight/topoprocessing/i2rs/adapter/I2RSModelAdapter.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 40

org/opendaylight/topoprocessing/i2rs/listener/I2RSUnderlayTopologyListener.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 19

org/opendaylight/topoprocessing/i2rs/listener/I2RSUnderlayTopologyListenerTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 48
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeYiid' declaration and its first usage is 4, 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). 77
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeValueWithIp' declaration and its first usage is 4, 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). 81
 Warning coding VariableDeclarationUsageDistance Distance between variable 'physicalNode' 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). 92
 Warning coding VariableDeclarationUsageDistance Distance between variable 'physicalNode' 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). 158
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeName' declaration and its first usage is 4, 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). 194
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeValue' 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). 196
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodePathArgument' declaration and its first usage is 4, 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). 206

org/opendaylight/topoprocessing/i2rs/provider/I2RSTopoProcessingProviderTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 36

org/opendaylight/topoprocessing/i2rs/request/I2RSTopologyRequestHandlerTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 88
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 159
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 171
 Warning coding VariableDeclarationUsageDistance Distance between variable 'networkBuilder' declaration and its first usage is 9, 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). 251
 Warning coding VariableDeclarationUsageDistance Distance between variable 'mappings' 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). 254
 Warning coding VariableDeclarationUsageDistance Distance between variable 'networkBuilder' declaration and its first usage is 9, 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). 283
 Warning coding VariableDeclarationUsageDistance Distance between variable 'mappings' 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). 286
 Warning coding VariableDeclarationUsageDistance Distance between variable 'networkBuilder' declaration and its first usage is 9, 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). 336
 Warning coding VariableDeclarationUsageDistance Distance between variable 'mappings' 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). 339
 Warning coding VariableDeclarationUsageDistance Distance between variable 'networkBuilder' declaration and its first usage is 9, 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). 375
 Warning naming LocalVariableName Local variable name 'fBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 376
 Warning coding VariableDeclarationUsageDistance Distance between variable 'filters' 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). 378

org/opendaylight/topoprocessing/i2rs/request/I2RSTopologyRequestListener.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 32

org/opendaylight/topoprocessing/i2rs/request/I2RSTopologyRequestListenerTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 70

org/opendaylight/topoprocessing/i2rs/translator/I2RSOverlayItemTranslatorLinkTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 43
 Warning coding VariableDeclarationUsageDistance Distance between variable 'wrapperName' 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). 80

org/opendaylight/topoprocessing/i2rs/translator/I2RSOverlayItemTranslatorNodeTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 49
 Warning coding VariableDeclarationUsageDistance Distance between variable 'wrapperName' 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). 151
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be one of the following: 16, 20. 260
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be one of the following: 16, 20. 261
 Warning indentation Indentation 'block rcurly' have incorrect indentation level 8, expected level should be one of the following: 12, 16. 262
 Warning blocks RightCurly '}' at column 9 should be alone on a line. 262