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 42 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 22  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
3  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
11  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
3  Warning
whitespace GenericWhitespace 1  Warning

Details

org/opendaylight/topoprocessing/inventory/adapter/InvModelAdapter.java

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

org/opendaylight/topoprocessing/inventory/listener/InvUnderlayTopologyListener.java

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

org/opendaylight/topoprocessing/inventory/listener/InvUnderlayTopologyListenerTest.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 50
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeYiid' declaration and its first usage is 10, 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 'nodeValueWithIp' declaration and its first usage is 5, 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). 85
 Warning coding VariableDeclarationUsageDistance Distance between variable 'physicalNode' 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). 99
 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). 101
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeYiid' 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). 151
 Warning coding VariableDeclarationUsageDistance Distance between variable 'physicalNode' 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). 160
 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). 162
 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). 207
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeYiid' declaration and its first usage is 10, 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). 226
 Warning coding VariableDeclarationUsageDistance Distance between variable 'testNode' declaration and its first usage is 5, 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). 231
 Warning coding VariableDeclarationUsageDistance Distance between variable 'physicalNode' 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). 243
 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). 245
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 252

org/opendaylight/topoprocessing/inventory/provider/InvTopoProcessingProviderImplTest.java

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

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestHandler.java

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

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestHandlerTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 163
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 175
 Warning coding VariableDeclarationUsageDistance Distance between variable 'topoBuilder' 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). 255
 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). 258
 Warning coding VariableDeclarationUsageDistance Distance between variable 'topoBuilder' 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). 287
 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). 290
 Warning coding VariableDeclarationUsageDistance Distance between variable 'topoBuilder' 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). 348
 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). 351
 Warning coding VariableDeclarationUsageDistance Distance between variable 'topoBuilder' 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). 391
 Warning naming LocalVariableName Local variable name 'fBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 392
 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). 394

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestListener.java

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

org/opendaylight/topoprocessing/inventory/request/InvTopologyRequestListenerTest.java

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

org/opendaylight/topoprocessing/inventory/translator/InvLinkTranslator.java

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

org/opendaylight/topoprocessing/inventory/translator/InvNodeTranslator.java

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

org/opendaylight/topoprocessing/inventory/translator/InvOverlayItemTranslatorLinkTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Optional' import. Should be before 'org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes'. 42
 Warning javadoc JavadocStyle Javadoc has empty description section. 44
 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). 81

org/opendaylight/topoprocessing/inventory/translator/InvOverlayItemTranslatorNodeTest.java

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