Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
1 0 18 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 2  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
11  Warning
naming LocalVariableName
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
4  Warning

Details

org/opendaylight/topology/mlmt/factory/MlmtProviderFactoryImpl.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.ArrayList' import. 12
 Warning imports CustomImportOrder Wrong lexicographical order for 'java.util.HashMap' import. 14
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology' import. 21
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology' import. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.utility.MlmtOperationProcessor' import. 26
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.utility.MlmtProviderFactory' import. 28
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.utility.MlmtConsequentAction' import. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.inventory.InventoryTopologyProvider' import. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.forwarding.adjacency.ForwardingAdjacencyTopologyProvider' import. 32
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.parser.InventoryAttributesParserImpl' import. 34
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.MtTopologyType' import. 38
 Warning sizes LineLength Line is longer than 120 characters (found 122). 44
 Warning sizes LineLength Line is longer than 120 characters (found 136). 47
 Warning coding VariableDeclarationUsageDistance Distance between variable 'map' declaration and its first usage is 16, 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). 48
 Warning coding VariableDeclarationUsageDistance Distance between variable 'lProvider' 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). 49
 Warning naming LocalVariableName Local variable name 'lProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 49
 Warning sizes LineLength Line is longer than 120 characters (found 124). 71
 Warning sizes LineLength Line is longer than 120 characters (found 140). 80