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 57 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
22  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
15  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
1  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
2  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
10  Warning
whitespace 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"
3  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
4  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
4  Warning

Details

org/opendaylight/topology/multitechnology/MultitechnologyAttributesParser.java

Severity Category Rule Message Line
 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. 12
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.ted.rev131021.TedNodeAttributes' import. 13
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.ted.rev131021.TedLinkAttributes' import. 14

org/opendaylight/topology/multitechnology/MultitechnologyTopologyProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 12
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 13
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction' import. 18
 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. 24
 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. 25
 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. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.ted.rev131021.TedNodeAttributes' import. 28
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.ted.rev131021.TedLinkAttributes' import. 29
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.MtTopologyType' import. 30
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.mt.info.AttributeBuilder' import. 33
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.mt.info.Attribute' import. 34
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.MtInfoLinkBuilder' import. 37
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.rev150122.MtInfoLink' import. 38
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.ted.rev150122.MtTedNodeAttributeValue' import. 43
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.ted.rev150122.MtTedLinkAttributeValue' import. 45
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.opendaylight.topology.multitechnology.ted.rev150122.MtLinkMetricAttributeValue' import. 47
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri' import. 50
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.topology.mlmt.utility.MlmtOperationProcessor' import. 52
 Warning javadoc JavadocMethod Missing a Javadoc comment. 65
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 17, expected level should be one of the following: 16, 20. 93
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 93
 Warning sizes LineLength Line is longer than 120 characters (found 124). 93
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 17, expected level should be one of the following: 16, 20. 94
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 94
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 95
 Warning indentation Indentation 'member def type' have incorrect indentation level 17, expected level should be one of the following: 16, 20. 96
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 96
 Warning indentation Indentation 'member def type' have incorrect indentation level 17, expected level should be one of the following: 16, 20. 98
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 98
 Warning indentation Indentation 'method def' child have incorrect indentation level 17, expected level should be one of the following: 16, 20. 99
 Warning whitespace OperatorWrap '+' should be on a new line. 215
 Warning whitespace SeparatorWrap '.' should be on a new line. 222
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 227
 Warning sizes LineLength Line is longer than 120 characters (found 132). 240
 Warning sizes LineLength Line is longer than 120 characters (found 121). 241
 Warning whitespace SeparatorWrap '.' should be on a new line. 247
 Warning sizes LineLength Line is longer than 120 characters (found 121). 249
 Warning whitespace OperatorWrap '+' should be on a new line. 266
 Warning whitespace SeparatorWrap '.' should be on a new line. 273
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 278
 Warning sizes LineLength Line is longer than 120 characters (found 132). 308
 Warning sizes LineLength Line is longer than 120 characters (found 121). 309
 Warning sizes LineLength Line is longer than 120 characters (found 121). 317
 Warning whitespace OperatorWrap '+' should be on a new line. 334
 Warning whitespace SeparatorWrap '.' should be on a new line. 341
 Warning sizes LineLength Line is longer than 120 characters (found 132). 372
 Warning sizes LineLength Line is longer than 120 characters (found 121). 373
 Warning sizes LineLength Line is longer than 120 characters (found 121). 381
 Warning indentation Indentation 'try rcurly' have incorrect indentation level 9, expected level should be 8. 385
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 386
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 387
 Warning indentation Indentation 'catch' child have incorrect indentation level 13, expected level should be 12. 388
 Warning indentation Indentation 'catch rcurly' have incorrect indentation level 9, expected level should be 8. 389