Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
27 0 102 0

Files

File  I  W  E
org/opendaylight/yangtools/yang/data/util/AbstractInteriorContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/AbstractLeafNodeContext.java 0 1 0
org/opendaylight/yangtools/yang/data/util/AbstractMixinContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/AbstractModuleStringIdentityrefCodec.java 0 3 0
org/opendaylight/yangtools/yang/data/util/AbstractModuleStringInstanceIdentifierCodec.java 0 3 0
org/opendaylight/yangtools/yang/data/util/AbstractNamespaceCodec.java 0 5 0
org/opendaylight/yangtools/yang/data/util/AbstractStringIdentityrefCodec.java 0 2 0
org/opendaylight/yangtools/yang/data/util/AbstractStringInstanceIdentifierCodec.java 0 10 0
org/opendaylight/yangtools/yang/data/util/AnyXmlContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/AugmentationContextNode.java 0 2 0
org/opendaylight/yangtools/yang/data/util/ChoiceNodeContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/ContainerContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/DataContainerContextNode.java 0 4 0
org/opendaylight/yangtools/yang/data/util/DataSchemaContextNode.java 0 13 0
org/opendaylight/yangtools/yang/data/util/DataSchemaContextTree.java 0 3 0
org/opendaylight/yangtools/yang/data/util/LeafContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/LeafInterner.java 0 5 0
org/opendaylight/yangtools/yang/data/util/LeafListEntryContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/LeafsetEntryInterner.java 0 6 0
org/opendaylight/yangtools/yang/data/util/ListItemContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/OrderedLeafListMixinContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/OrderedMapMixinContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/UnkeyedListItemContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/UnkeyedListMixinContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/UnorderedLeafListMixinContextNode.java 0 1 0
org/opendaylight/yangtools/yang/data/util/UnorderedMapMixinContextNode.java 0 3 0
org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.java 0 29 0

Rules

Category Rule Violations Severity
coding MultipleVariableDeclarations 1  Warning
OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
25  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
4  Warning
JavadocParagraph 19  Warning
JavadocTagContinuationIndentation 2  Warning
NonEmptyAtclauseDescription 7  Warning
modifier ModifierOrder 1  Warning
naming LocalVariableName
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
  • 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://"
3  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
27  Warning
GenericWhitespace 1  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
7  Warning

Details

org/opendaylight/yangtools/yang/data/util/AbstractInteriorContextNode.java

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

org/opendaylight/yangtools/yang/data/util/AbstractLeafNodeContext.java

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

org/opendaylight/yangtools/yang/data/util/AbstractMixinContextNode.java

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

org/opendaylight/yangtools/yang/data/util/AbstractModuleStringIdentityrefCodec.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. 13
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 23

org/opendaylight/yangtools/yang/data/util/AbstractModuleStringInstanceIdentifierCodec.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. 13
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 28

org/opendaylight/yangtools/yang/data/util/AbstractNamespaceCodec.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

org/opendaylight/yangtools/yang/data/util/AbstractStringIdentityrefCodec.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning sizes LineLength Line is longer than 120 characters (found 121). 20

org/opendaylight/yangtools/yang/data/util/AbstractStringInstanceIdentifierCodec.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 Wrong lexicographical order for 'org.opendaylight.yangtools.yang.data.api.codec.InstanceIdentifierCodec' import. 19
 Warning sizes LineLength Line is longer than 120 characters (found 135). 27
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 70
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 73
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 78
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 84
 Warning modifier ModifierOrder '@Nonnull' annotation modifier does not preceed non-annotation modifiers. 86

org/opendaylight/yangtools/yang/data/util/AnyXmlContextNode.java

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

org/opendaylight/yangtools/yang/data/util/AugmentationContextNode.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.yang.common.QName'should be separated from previous import group. 11

org/opendaylight/yangtools/yang/data/util/ChoiceNodeContextNode.java

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

org/opendaylight/yangtools/yang/data/util/ContainerContextNode.java

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

org/opendaylight/yangtools/yang/data/util/DataContainerContextNode.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.yang.common.QName'should be separated from previous import group. 12
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '33'. 51
 Warning naming LocalVariableName Local variable name 'qName' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 68

org/opendaylight/yangtools/yang/data/util/DataSchemaContextNode.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. 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 javadoc JavadocMethod Missing a Javadoc comment. 121
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 140
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 147
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 148
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 149
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 150
 Warning javadoc JavadocMethod Missing a Javadoc comment. 168

org/opendaylight/yangtools/yang/data/util/DataSchemaContextTree.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. 13
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37

org/opendaylight/yangtools/yang/data/util/LeafContextNode.java

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

org/opendaylight/yangtools/yang/data/util/LeafInterner.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. 13
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 27
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 31

org/opendaylight/yangtools/yang/data/util/LeafListEntryContextNode.java

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

org/opendaylight/yangtools/yang/data/util/LeafsetEntryInterner.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. 13
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 14
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 26
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 30
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45

org/opendaylight/yangtools/yang/data/util/ListItemContextNode.java

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

org/opendaylight/yangtools/yang/data/util/OrderedLeafListMixinContextNode.java

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

org/opendaylight/yangtools/yang/data/util/OrderedMapMixinContextNode.java

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

org/opendaylight/yangtools/yang/data/util/UnkeyedListItemContextNode.java

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

org/opendaylight/yangtools/yang/data/util/UnkeyedListMixinContextNode.java

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

org/opendaylight/yangtools/yang/data/util/UnorderedLeafListMixinContextNode.java

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

org/opendaylight/yangtools/yang/data/util/UnorderedMapMixinContextNode.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.yang.common.QName'should be separated from previous import group. 11
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 24

org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.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 javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 22
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 24
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 29
 Warning javadoc SummaryJavadoc First sentence should be present. 37
 Warning javadoc SummaryJavadoc First sentence should be present. 51
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 52
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 100
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 112
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 121
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 141
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 145
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 159
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 180
 Warning coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 188
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 189
 Warning javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 4. 206
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 218
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 231
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 244
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 246
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 252
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 262
 Warning javadoc SummaryJavadoc First sentence should be present. 289
 Warning sizes LineLength Line is longer than 120 characters (found 124). 312
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 318