Checkstyle Results
The following document contains the results of Checkstyle 7.6.1 with odl_checks.xml ruleset. 
Summary
| Files |
Info |
Warnings |
Errors |
| 7 |
0 |
30 |
0 |
Rules
| Category |
Rule |
Violations |
Severity |
| coding |
IllegalThrows |
3 |
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"
|
4 |
Warning |
| modifier |
RedundantModifier |
2 |
Warning |
| sizes |
LineLength
- max: "120"
- ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
|
14 |
Warning |
| whitespace |
EmptyLineSeparator
- allowNoEmptyLineBetweenFields: "true"
- tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
|
1 |
Warning |
|
WhitespaceAround
- allowEmptyConstructors: "true"
- allowEmptyMethods: "true"
- allowEmptyLoops: "true"
- allowEmptyTypes: "true"
|
3 |
Warning |
Details
| Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is incomplete (period is missing) or not present. |
13 |
Warning |
javadoc |
JavadocStyle |
First sentence should end with a period. |
13 |
org/opendaylight/protocol/util/CheckUtil.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 127). |
45 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 129). |
50 |
Warning |
modifier |
RedundantModifier |
Redundant 'final' modifier. |
60 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 128). |
75 |
Warning |
modifier |
RedundantModifier |
Redundant 'final' modifier. |
100 |
Warning |
whitespace |
EmptyLineSeparator |
'INTERFACE_DEF' should be separated from previous statement. |
146 |
org/opendaylight/protocol/util/CheckUtilTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
65 |
Warning |
whitespace |
WhitespaceAround |
WhitespaceAround: '->' is not preceded with whitespace. |
117 |
org/opendaylight/protocol/util/InetSocketAddressUtil.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is incomplete (period is missing) or not present. |
17 |
Warning |
javadoc |
JavadocStyle |
First sentence should end with a period. |
17 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 123). |
28 |
Warning |
javadoc |
SummaryJavadoc |
First sentence of Javadoc is incomplete (period is missing) or not present. |
55 |
Warning |
javadoc |
JavadocStyle |
First sentence should end with a period. |
55 |
Warning |
javadoc |
JavadocStyle |
First sentence should end with a period. |
65 |
org/opendaylight/protocol/util/InetSocketAddressUtilTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
34 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 137). |
47 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 123). |
59 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 157). |
60 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 137). |
67 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 143). |
72 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 136). |
73 |
org/opendaylight/protocol/util/LoggerUtil.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 130). |
45 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 124). |
46 |
org/opendaylight/protocol/util/LoggerUtilTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
whitespace |
WhitespaceAround |
WhitespaceAround: '=' is not preceded with whitespace. |
21 |
Warning |
whitespace |
WhitespaceAround |
WhitespaceAround: '=' is not followed by whitespace. |
21 |
Warning |
coding |
IllegalThrows |
Throwing 'Throwable' is not allowed. |
22 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 146). |
35 |
Warning |
sizes |
LineLength |
Line is longer than 120 characters (found 134). |
38 |