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
12 0 106 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
62  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"
6  Warning
naming 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]*$"
12  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
6  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
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"
1  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
1  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
7  Warning

Details

org/opendaylight/bgpcep/programming/impl/InstructionDeployerImpl.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '|' is not followed by whitespace. 88
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 105
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 134
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 144
 Warning sizes LineLength Line is longer than 120 characters (found 121). 193
 Warning whitespace WhitespaceAround WhitespaceAround: '->' is not preceded with whitespace. 200
 Warning whitespace WhitespaceAround WhitespaceAround: '->' is not followed by whitespace. 200

org/opendaylight/bgpcep/programming/impl/InstructionDeployerImplTest.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 41

org/opendaylight/bgpcep/programming/impl/InstructionImpl.java

Severity Category Rule Message Line
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 70
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 71
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 72
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 73
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 74
 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 'case' child have incorrect indentation level 8, expected level should be 12. 77
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 78
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 79
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 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. 99
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 100
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 101
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 102
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 103
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 104
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 105
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 106
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 107
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 108
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 109
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 110
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 111
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 112
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 113
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 114
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 115
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 116
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 117
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 118
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 119
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 120
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 121
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 152
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 153
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 154
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 155
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 156
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 157
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 158
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 159
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 160
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 161
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 162
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 163
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 164
 Warning naming ParameterName Parameter name 'd' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 205
 Warning naming ParameterName Parameter name 'd' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 209
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 240
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 241
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 242
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 243
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 244
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 245
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 246
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 247
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 248
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 249
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 250
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 252
 Warning indentation Indentation 'case' child have incorrect indentation level 12, expected level should be 16. 253
 Warning indentation Indentation 'block' child have incorrect indentation level 16, expected level should be 20. 254
 Warning sizes LineLength Line is longer than 120 characters (found 128). 258

org/opendaylight/bgpcep/programming/impl/IntructionDeployer.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 10
 Warning javadoc JavadocStyle First sentence should end with a period. 10
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 14
 Warning javadoc JavadocStyle First sentence should end with a period. 14
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 20
 Warning javadoc JavadocStyle First sentence should end with a period. 20

org/opendaylight/bgpcep/programming/impl/MockedNotificationServiceWrapper.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '->' is not preceded with whitespace. 46
 Warning sizes LineLength Line is longer than 120 characters (found 124). 49
 Warning sizes LineLength Line is longer than 120 characters (found 123). 51

org/opendaylight/bgpcep/programming/impl/ProgrammingServiceImpl.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 121
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 149
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 192
 Warning naming ParameterName Parameter name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 389
 Warning naming ParameterName Parameter name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 397
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 407
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 442
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 452
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 464

org/opendaylight/bgpcep/programming/impl/ProgrammingServiceImplTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 138). 153
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 153
 Warning whitespace WhitespaceAround WhitespaceAround: '+' is not preceded with whitespace. 217
 Warning whitespace OperatorWrap '*' should be on a new line. 222
 Warning whitespace OperatorWrap '*' should be on a new line. 242
 Warning whitespace OperatorWrap '*' should be on a new line. 267
 Warning naming LocalVariableName Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 306
 Warning whitespace SeparatorWrap '.' should be on a new line. 361

org/opendaylight/bgpcep/programming/impl/QueueInstruction.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 13
 Warning javadoc JavadocStyle Javadoc has empty description section. 13

org/opendaylight/controller/config/yang/programming/impl/InstructionSchedulerImplModule.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 27
 Warning javadoc JavadocStyle Javadoc has empty description section. 27
 Warning sizes LineLength Line is longer than 120 characters (found 126). 69

org/opendaylight/controller/config/yang/programming/impl/InstructionSchedulerImplModuleFactory.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 24
 Warning javadoc JavadocStyle Javadoc has empty description section. 24