Checkstyle Results
The following document contains the results of Checkstyle 6.2 with odl_checks.xml ruleset. 
Summary
| Files |
Info |
Warnings |
Errors |
| 7 |
0 |
42 |
0 |
Rules
| Category |
Rule |
Violations |
Severity |
| imports |
CustomImportOrder
- sortImportsInGroupAlphabetically: "true"
- customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
- thirdPartyPackageRegExp: ".*"
- specialImportsRegExp: "^com.*"
|
9 |
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"
|
2 |
Warning |
| naming |
AbbreviationAsWordInName
- allowedAbbreviationLength: "1"
- ignoreFinal: "false"
|
8 |
Warning |
| sizes |
LineLength
- max: "120"
- ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
|
1 |
Warning |
| whitespace |
EmptyLineSeparator
- allowNoEmptyLineBetweenFields: "true"
|
8 |
Warning |
|
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"
|
1 |
Warning |
|
WhitespaceAround
- allowEmptyLoops: "true"
- allowEmptyTypes: "true"
- allowEmptyMethods: "true"
- allowEmptyConstructors: "true"
|
2 |
Warning |
Details
org/opendaylight/topoprocessing/i2rs/adapter/I2RSModelAdapter.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
44 |
Warning |
indentation |
Indentation |
'case' child have incorrect indentation level 8, expected level should be 12. |
75 |
Warning |
indentation |
Indentation |
'case' child have incorrect indentation level 8, expected level should be 12. |
76 |
Warning |
indentation |
Indentation |
'block' child have incorrect indentation level 12, expected level should be 16. |
77 |
Warning |
indentation |
Indentation |
'method call' child have incorrect indentation level 12, expected level should be 16. |
77 |
Warning |
indentation |
Indentation |
'block' child have incorrect indentation level 12, expected level should be 16. |
78 |
Warning |
indentation |
Indentation |
'case' child have incorrect indentation level 8, expected level should be 12. |
79 |
Warning |
indentation |
Indentation |
'block' child have incorrect indentation level 12, expected level should be 16. |
80 |
Warning |
indentation |
Indentation |
'method call' child have incorrect indentation level 12, expected level should be 16. |
80 |
Warning |
indentation |
Indentation |
'block' child have incorrect indentation level 12, expected level should be 16. |
81 |
Warning |
indentation |
Indentation |
'case' child have incorrect indentation level 8, expected level should be 12. |
82 |
Warning |
indentation |
Indentation |
'block' child have incorrect indentation level 12, expected level should be 16. |
83 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 122). |
91 |
org/opendaylight/topoprocessing/i2rs/listener/I2RSUnderlayTopologyListener.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
22 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
24 |
org/opendaylight/topoprocessing/i2rs/provider/TopoProcessingProviderI2RS.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
17 |
org/opendaylight/topoprocessing/i2rs/request/I2RSTopologyRequestHandler.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
26 |
Warning |
whitespace |
EmptyLineSeparator |
'METHOD_DEF' should be separated from previous statement. |
32 |
Warning |
whitespace |
EmptyLineSeparator |
'METHOD_DEF' should be separated from previous statement. |
48 |
org/opendaylight/topoprocessing/i2rs/request/I2RSTopologyRequestListener.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode' import. |
29 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
36 |
Warning |
javadoc |
JavadocMethod |
Missing a Javadoc comment. |
41 |
org/opendaylight/topoprocessing/i2rs/translator/I2RSLinkTranslator.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
imports |
CustomImportOrder |
'org.opendaylight.topoprocessing.api.structure.ComputedLink'should be separated from previous import group. |
12 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.ContainerNode' import. |
24 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
36 |
Warning |
whitespace |
WhitespaceAround |
WhitespaceAround: 'if' is not followed by whitespace. |
66 |
org/opendaylight/topoprocessing/i2rs/translator/I2RSNodeTranslator.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
EmptyLineSeparator |
'package' should be separated from previous statement. |
8 |
Warning |
imports |
CustomImportOrder |
Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. |
11 |
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 |
Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. |
15 |
Warning |
imports |
CustomImportOrder |
Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild' import. |
34 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
46 |
Warning |
whitespace |
OperatorWrap |
'&&' should be on a new line. |
96 |
Warning |
naming |
AbbreviationAsWordInName |
Abbreviation in name must contain no more than '1' capital letters. |
118 |
Warning |
whitespace |
WhitespaceAround |
WhitespaceAround: 'if' is not followed by whitespace. |
124 |