Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
19 0 57 0

Files

File  I  W  E
org/opendaylight/topoprocessing/inventoryRendering/adapter/IRModelAdapter.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/listener/IRInventoryListener.java 0 3 0
org/opendaylight/topoprocessing/inventoryRendering/listener/IRInventoryListenerTest.java 0 5 0
org/opendaylight/topoprocessing/inventoryRendering/listener/IRUnderlayTopologyListener.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/listener/IRUnderlayTopologyListenerTest.java 0 6 0
org/opendaylight/topoprocessing/inventoryRendering/operator/IRRenderingOperator.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/operator/IRRenderingOperatorTest.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/provider/IRTopoProcessingProviderImplTest.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/provider/TopoProcessingProviderIR.java 0 1 0
org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestHandler.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestHandlerTest.java 0 6 0
org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestListener.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestListenerTest.java 0 7 0
org/opendaylight/topoprocessing/inventoryRendering/translator/IRLinkTranslator.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/translator/IRLinkTranslatorTest.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/translator/IRNodeTranslator.java 0 3 0
org/opendaylight/topoprocessing/inventoryRendering/translator/IRNodeTranslatorTest.java 0 2 0
org/opendaylight/topoprocessing/inventoryRendering/util/IRInstanceIdentifiers.java 0 4 0
org/opendaylight/topoprocessing/inventoryRendering/util/IRQNames.java 0 2 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 9  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
5  Warning
javadoc JavadocStyle
  • tokens: "ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, VARIABLE_DEF"
  • checkEmptyJavadoc: "true"
18  Warning
naming ConstantName 1  Warning
LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
2  Warning
PackageName
  • format: "^[a-z]+(\.[a-z][a-z0-9_]*)*$"
19  Warning
whitespace ParenPad 3  Warning

Details

org/opendaylight/topoprocessing/inventoryRendering/adapter/IRModelAdapter.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.adapter' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 39

org/opendaylight/topoprocessing/inventoryRendering/listener/IRInventoryListener.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.listener' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning javadoc JavadocStyle Javadoc has empty description section. 33
 Warning naming ConstantName Name 'itemIdentifier' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 40

org/opendaylight/topoprocessing/inventoryRendering/listener/IRInventoryListenerTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.listener' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning javadoc JavadocStyle Javadoc has empty description section. 41
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nodeYiid' 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). 66
 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). 81
 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). 82

org/opendaylight/topoprocessing/inventoryRendering/listener/IRUnderlayTopologyListener.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.listener' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 31

org/opendaylight/topoprocessing/inventoryRendering/listener/IRUnderlayTopologyListenerTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.listener' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning javadoc JavadocStyle Javadoc has empty description section. 46
 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). 93
 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). 103
 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). 105
 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). 152

org/opendaylight/topoprocessing/inventoryRendering/operator/IRRenderingOperator.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.operator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning javadoc JavadocStyle Javadoc has empty description section. 26

org/opendaylight/topoprocessing/inventoryRendering/operator/IRRenderingOperatorTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.operator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 32

org/opendaylight/topoprocessing/inventoryRendering/provider/IRTopoProcessingProviderImplTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.provider' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning javadoc JavadocStyle Javadoc has empty description section. 20

org/opendaylight/topoprocessing/inventoryRendering/provider/TopoProcessingProviderIR.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.provider' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9

org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestHandler.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.request' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 26

org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestHandlerTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.request' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.collect.Maps' import. Should be before 'org.opendaylight.yangtools.yang.model.api.SchemaContext'. 66
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.util.concurrent.CheckedFuture' import. Should be before 'org.opendaylight.yangtools.yang.model.api.SchemaContext'. 67
 Warning javadoc JavadocStyle Javadoc has empty description section. 69
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 144
 Warning naming LocalVariableName Local variable name 'cBuilder' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 156

org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestListener.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.request' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 32

org/opendaylight/topoprocessing/inventoryRendering/request/IRTopologyRequestListenerTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.request' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 9
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.base.Optional' import. Should be before 'org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableAugmentationNodeBuilder'. 77
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.collect.Maps' import. Should be before 'org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableAugmentationNodeBuilder'. 78
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.util.concurrent.AbstractCheckedFuture' import. Should be before 'org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableAugmentationNodeBuilder'. 79
 Warning javadoc JavadocStyle Javadoc has empty description section. 81
 Warning coding VariableDeclarationUsageDistance Distance between variable 'yiid' 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). 137
 Warning coding VariableDeclarationUsageDistance Distance between variable 'node' 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). 223

org/opendaylight/topoprocessing/inventoryRendering/translator/IRLinkTranslator.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.translator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 14

org/opendaylight/topoprocessing/inventoryRendering/translator/IRLinkTranslatorTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.translator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 13

org/opendaylight/topoprocessing/inventoryRendering/translator/IRNodeTranslator.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.translator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 47
 Warning whitespace ParenPad '(' is followed by whitespace. 226

org/opendaylight/topoprocessing/inventoryRendering/translator/IRNodeTranslatorTest.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.translator' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 47

org/opendaylight/topoprocessing/inventoryRendering/util/IRInstanceIdentifiers.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.util' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 15
 Warning whitespace ParenPad ')' is preceded with whitespace. 48
 Warning whitespace ParenPad ')' is preceded with whitespace. 51

org/opendaylight/topoprocessing/inventoryRendering/util/IRQNames.java

Severity Category Rule Message Line
 Warning naming PackageName Package name 'org.opendaylight.topoprocessing.inventoryRendering.util' must match pattern '^[a-z]+(\.[a-z][a-z0-9_]*)*$'. 8
 Warning javadoc JavadocStyle Javadoc has empty description section. 15