Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
15 0 118 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
5  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"
1  Warning
modifier RedundantModifier 2  Warning
naming ConstantName 12  Warning
LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
1  Warning
ParameterName
  • 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://"
79  Warning
whitespace MethodParamPad 1  Warning
ParenPad 1  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
7  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
7  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
5  Warning

Details

org/opendaylight/protocol/bgp/labeled/unicast/AbstractLabeledUnicastRIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 147). 51
 Warning sizes LineLength Line is longer than 120 characters (found 152). 52
 Warning sizes LineLength Line is longer than 120 characters (found 143). 53
 Warning sizes LineLength Line is longer than 120 characters (found 127). 69
 Warning sizes LineLength Line is longer than 120 characters (found 127). 94
 Warning sizes LineLength Line is longer than 120 characters (found 130). 121
 Warning sizes LineLength Line is longer than 120 characters (found 156). 122
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 126
 Warning javadoc JavadocStyle First sentence should end with a period. 126
 Warning sizes LineLength Line is longer than 120 characters (found 129). 132
 Warning sizes LineLength Line is longer than 120 characters (found 137). 140
 Warning modifier RedundantModifier Redundant 'final' modifier. 140
 Warning modifier RedundantModifier Redundant 'final' modifier. 140
 Warning sizes LineLength Line is longer than 120 characters (found 138). 142
 Warning sizes LineLength Line is longer than 120 characters (found 121). 148

org/opendaylight/protocol/bgp/labeled/unicast/ActivatorTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 130). 26

org/opendaylight/protocol/bgp/labeled/unicast/BGPActivator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 125). 34

org/opendaylight/protocol/bgp/labeled/unicast/BgpPrefixSidTlvsTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group by one line. 13

org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParser.java

Severity Category Rule Message Line
 Warning whitespace ParenPad '(' is followed by whitespace. 74
 Warning sizes LineLength Line is longer than 120 characters (found 145). 75
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 75
 Warning sizes LineLength Line is longer than 120 characters (found 461). 76
 Warning sizes LineLength Line is longer than 120 characters (found 140). 77
 Warning sizes LineLength Line is longer than 120 characters (found 122). 78
 Warning sizes LineLength Line is longer than 120 characters (found 150). 79
 Warning sizes LineLength Line is longer than 120 characters (found 471). 80
 Warning sizes LineLength Line is longer than 120 characters (found 144). 81
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 93
 Warning sizes LineLength Line is longer than 120 characters (found 133). 113
 Warning naming LocalVariableName Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 124
 Warning sizes LineLength Line is longer than 120 characters (found 155). 166
 Warning naming ParameterName Parameter name 'mPathSupported' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 166
 Warning sizes LineLength Line is longer than 120 characters (found 125). 188
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '166'. 216
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 233
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 233
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 236
 Warning sizes LineLength Line is longer than 120 characters (found 185). 245
 Warning sizes LineLength Line is longer than 120 characters (found 152). 251
 Warning sizes LineLength Line is longer than 120 characters (found 145). 256
 Warning sizes LineLength Line is longer than 120 characters (found 132). 257
 Warning sizes LineLength Line is longer than 120 characters (found 251). 258
 Warning sizes LineLength Line is longer than 120 characters (found 145). 261
 Warning sizes LineLength Line is longer than 120 characters (found 140). 262
 Warning sizes LineLength Line is longer than 120 characters (found 260). 263

org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParserTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 69
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 84
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 84
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv4_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 103
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv4_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 120
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 139
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 157
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 157
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv6_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 178
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 197
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv6_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 197
 Warning naming ConstantName Name 'IPv4_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 212
 Warning naming ConstantName Name 'IPv6_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 213
 Warning whitespace MethodParamPad '(' should be on the previous line. 265
 Warning whitespace SeparatorWrap '.' should be on a new line. 310
 Warning indentation Indentation 'method def' child have incorrect indentation level 12, expected level should be 8. 510
 Warning indentation Indentation 'method def' child have incorrect indentation level 12, expected level should be 8. 518

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv4RIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 121). 44
 Warning sizes LineLength Line is longer than 120 characters (found 250). 50
 Warning sizes LineLength Line is longer than 120 characters (found 278). 51
 Warning sizes LineLength Line is longer than 120 characters (found 126). 56

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv4RIBSupportTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'IPv4_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 62
 Warning sizes LineLength Line is longer than 120 characters (found 143). 69
 Warning sizes LineLength Line is longer than 120 characters (found 150). 70
 Warning sizes LineLength Line is longer than 120 characters (found 140). 72
 Warning sizes LineLength Line is longer than 120 characters (found 188). 74
 Warning whitespace SeparatorWrap '.' should be on a new line. 74
 Warning sizes LineLength Line is longer than 120 characters (found 220). 75
 Warning whitespace SeparatorWrap '.' should be on a new line. 75
 Warning sizes LineLength Line is longer than 120 characters (found 238). 76
 Warning whitespace SeparatorWrap '.' should be on a new line. 76
 Warning sizes LineLength Line is longer than 120 characters (found 155). 77
 Warning sizes LineLength Line is longer than 120 characters (found 135). 87
 Warning sizes LineLength Line is longer than 120 characters (found 143). 101
 Warning sizes LineLength Line is longer than 120 characters (found 152). 131
 Warning sizes LineLength Line is longer than 120 characters (found 129). 161
 Warning sizes LineLength Line is longer than 120 characters (found 149). 172
 Warning sizes LineLength Line is longer than 120 characters (found 130). 194
 Warning sizes LineLength Line is longer than 120 characters (found 148). 197

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv6RIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 125). 44
 Warning sizes LineLength Line is longer than 120 characters (found 142). 50
 Warning sizes LineLength Line is longer than 120 characters (found 128). 51
 Warning sizes LineLength Line is longer than 120 characters (found 131). 52
 Warning sizes LineLength Line is longer than 120 characters (found 141). 53
 Warning sizes LineLength Line is longer than 120 characters (found 175). 58

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv6RIBSupportTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'IPv6_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 62
 Warning sizes LineLength Line is longer than 120 characters (found 143). 69
 Warning sizes LineLength Line is longer than 120 characters (found 150). 70
 Warning sizes LineLength Line is longer than 120 characters (found 152). 72
 Warning sizes LineLength Line is longer than 120 characters (found 124). 73
 Warning sizes LineLength Line is longer than 120 characters (found 188). 74
 Warning whitespace SeparatorWrap '.' should be on a new line. 74
 Warning sizes LineLength Line is longer than 120 characters (found 224). 75
 Warning whitespace SeparatorWrap '.' should be on a new line. 75
 Warning sizes LineLength Line is longer than 120 characters (found 144). 76
 Warning sizes LineLength Line is longer than 120 characters (found 154). 77
 Warning whitespace SeparatorWrap '.' should be on a new line. 77
 Warning sizes LineLength Line is longer than 120 characters (found 135). 88
 Warning sizes LineLength Line is longer than 120 characters (found 143). 102
 Warning sizes LineLength Line is longer than 120 characters (found 152). 132
 Warning sizes LineLength Line is longer than 120 characters (found 129). 162
 Warning sizes LineLength Line is longer than 120 characters (found 149). 173
 Warning sizes LineLength Line is longer than 120 characters (found 130). 195
 Warning sizes LineLength Line is longer than 120 characters (found 160). 198

org/opendaylight/protocol/bgp/labeled/unicast/OriginatorSrgbTlvParser.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 124). 37
 Warning sizes LineLength Line is longer than 120 characters (found 161). 40

org/opendaylight/protocol/bgp/labeled/unicast/RIBActivator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 159). 24
 Warning sizes LineLength Line is longer than 120 characters (found 159). 25

org/opendaylight/protocol/bgp/labeled/unicast/TableTypeActivator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 125). 25
 Warning sizes LineLength Line is longer than 120 characters (found 143). 27
 Warning sizes LineLength Line is longer than 120 characters (found 144). 28

org/opendaylight/protocol/bgp/labeled/unicast/TableTypeActivatorTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 136). 26
 Warning sizes LineLength Line is longer than 120 characters (found 136). 27