Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 36 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
12  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
11  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
7  Warning
whitespace FileTabCharacter
  • eachLine: "true"
1  Error
OperatorWrap
  • tokens: "BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "
  • option: "NL"
4  Warning

Details

org/opendaylight/topology/mlmt/inventory/InventoryAttributesParser.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef' import. 13
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef' import. 14

org/opendaylight/topology/mlmt/inventory/InventoryTopologyProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction' import. 17
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey' import. 22
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.LinkKey' import. 23
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link' import. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.model.topology.inventory.rev131030.InventoryNodeBuilder' import. 26
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.model.topology.inventory.rev131030.InventoryNode' import. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef' import. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef' import. 31
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.utility.MlmtOperationProcessor' import. 34
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning whitespace OperatorWrap '+' should be on a new line. 142
 Warning whitespace OperatorWrap '+' should be on a new line. 143
 Warning sizes LineLength Line is longer than 120 characters (found 132). 173
 Warning sizes LineLength Line is longer than 120 characters (found 123). 174
 Warning sizes LineLength Line is longer than 120 characters (found 125). 176
 Warning indentation Indentation 'try rcurly' have incorrect indentation level 9, expected level should be 8. 180
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 181
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 182
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 183
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 184
 Warning whitespace OperatorWrap '+' should be on a new line. 191
 Warning indentation Indentation '" topologyInstanceId: "' have incorrect indentation level 10, expected level should be 12. 192
 Warning whitespace FileTabCharacter Line contains a tab character. 192
 Warning whitespace OperatorWrap '+' should be on a new line. 192
 Warning sizes LineLength Line is longer than 120 characters (found 124). 222
 Warning sizes LineLength Line is longer than 120 characters (found 132). 224
 Warning sizes LineLength Line is longer than 120 characters (found 141). 225
 Warning sizes LineLength Line is longer than 120 characters (found 143). 227
 Warning indentation Indentation 'try rcurly' have incorrect indentation level 9, expected level should be 8. 231
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 232
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 233
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 234
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 235