Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
11 0 77 0

Rules

Category Rule Violations Severity
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
27  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
2  Warning
JavadocParagraph 2  Warning
JavadocTagContinuationIndentation 2  Warning
NonEmptyAtclauseDescription 7  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
2  Warning
LocalVariableName
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
3  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
8  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
9  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
1  Warning

Details

org/opendaylight/protocol/util/BitArray.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 32
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 52
 Warning naming ParameterName Parameter name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 82
 Warning javadoc SummaryJavadoc First sentence should be present. 118
 Warning javadoc SummaryJavadoc First sentence should be present. 167
 Warning whitespace WhitespaceAround WhitespaceAround: '-' is not followed by whitespace. 174

org/opendaylight/protocol/util/ByteArray.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. 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 Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning sizes LineLength Line is longer than 120 characters (found 201). 98
 Warning sizes LineLength Line is longer than 120 characters (found 134). 120
 Warning sizes LineLength Line is longer than 120 characters (found 127). 139
 Warning sizes LineLength Line is longer than 120 characters (found 181). 158
 Warning naming ParameterName Parameter name 'b' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 169
 Warning naming LocalVariableName Local variable name 'j' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 171
 Warning javadoc SummaryJavadoc First sentence should be present. 218
 Warning sizes LineLength Line is longer than 120 characters (found 153). 254
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 278

org/opendaylight/protocol/util/ByteBufWriteUtil.java

Severity Category Rule Message Line
 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

org/opendaylight/protocol/util/Ipv4Util.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. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 20
 Warning javadoc JavadocMethod Missing a Javadoc comment. 67
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 77
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 78
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 205
 Warning javadoc SummaryJavadoc First sentence should be present. 212
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 215
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 216

org/opendaylight/protocol/util/Ipv6Util.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. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning javadoc SummaryJavadoc First sentence should be present. 34
 Warning javadoc SummaryJavadoc First sentence should be present. 44
 Warning sizes LineLength Line is longer than 120 characters (found 231). 50
 Warning sizes LineLength Line is longer than 120 characters (found 171). 51

org/opendaylight/protocol/util/MplsLabelUtil.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning javadoc SummaryJavadoc First sentence should be present. 36
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 39
 Warning javadoc SummaryJavadoc First sentence should be present. 45
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 48
 Warning javadoc SummaryJavadoc First sentence should be present. 54
 Warning javadoc SummaryJavadoc First sentence should be present. 63
 Warning javadoc SummaryJavadoc First sentence should be present. 73
 Warning javadoc SummaryJavadoc First sentence should be present. 82

org/opendaylight/protocol/util/NoopReferenceCache.java

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

org/opendaylight/protocol/util/PCEPHexDumpParser.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. 14
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 15
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 16
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 17
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 18
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 19
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 25
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 27
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 30
 Warning javadoc JavadocMethod Missing a Javadoc comment. 44
 Warning naming ParameterName Parameter name 'c' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 51
 Warning sizes LineLength Line is longer than 120 characters (found 136). 66

org/opendaylight/protocol/util/ReferenceCache.java

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

org/opendaylight/protocol/util/StatisticsUtil.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

org/opendaylight/protocol/util/Values.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning javadoc SummaryJavadoc First sentence should be present. 29