Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
21 0 133 0

Files

File  I  W  E
org/opendaylight/yangtools/binding/generator/util/AbstractBaseType.java 0 3 0
org/opendaylight/yangtools/binding/generator/util/BindingGeneratorUtil.java 0 28 0
org/opendaylight/yangtools/binding/generator/util/BindingTypes.java 0 3 0
org/opendaylight/yangtools/binding/generator/util/ReferencedTypeImpl.java 0 4 0
org/opendaylight/yangtools/binding/generator/util/TypeConstants.java 0 2 0
org/opendaylight/yangtools/binding/generator/util/Types.java 0 22 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractGeneratedType.java 0 13 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractGeneratedTypeBuilder.java 0 13 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractTypeMember.java 0 2 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractTypeMemberBuilder.java 0 5 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AnnotationTypeBuilderImpl.java 0 5 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/ConstantImpl.java 0 3 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/EnumerationBuilderImpl.java 0 8 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedPropertyBuilderImpl.java 0 2 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedPropertyImpl.java 0 2 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedTOBuilderImpl.java 0 10 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedTypeBuilderImpl.java 0 1 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodParameterImpl.java 0 2 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodSignatureBuilderImpl.java 0 3 0
org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodSignatureImpl.java 0 2 0

Rules

Category Rule Violations Severity
blocks RightCurly
  • tokens: "CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"
  • option: "alone"
1  Warning
RightCurly 1  Warning
coding OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"
  • thirdPartyPackageRegExp: ".*"
  • specialImportsRegExp: "^com.*"
40  Warning
indentation Indentation
  • lineWrappingIndentation: "4"
  • caseIndent: "4"
  • arrayInitIndent: "4"
  • throwsIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
10  Warning
javadoc JavadocMethod
  • allowMissingParamTags: "true"
  • allowedAnnotations: "Override, Test"
  • allowThrowsTagsForSubclasses: "true"
  • scope: "public"
  • allowMissingReturnTag: "true"
  • minLineCount: "2"
  • allowMissingThrowsTags: "true"
5  Warning
JavadocParagraph 12  Warning
modifier ModifierOrder 1  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
7  Warning
LocalVariableName
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
MemberName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
2  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
2  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
20  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
23  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
1  Warning

Details

org/opendaylight/yangtools/binding/generator/util/AbstractBaseType.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.Type'should be separated from previous import group. 11
 Warning javadoc SummaryJavadoc First sentence should be present. 13

org/opendaylight/yangtools/binding/generator/util/BindingGeneratorUtil.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 imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 20
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 23
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 24
 Warning sizes LineLength Line is longer than 120 characters (found 123). 96
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 112
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 129
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 155
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 181
 Warning sizes LineLength Line is longer than 120 characters (found 122). 195
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 219
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '169'. 234
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 327
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 424
 Warning javadoc JavadocMethod Missing a Javadoc comment. 424
 Warning javadoc JavadocMethod Missing a Javadoc comment. 491
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 644
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 648
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 652
 Warning javadoc SummaryJavadoc First sentence should be present. 659

org/opendaylight/yangtools/binding/generator/util/BindingTypes.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 49
 Warning naming ParameterName Parameter name 't' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 53

org/opendaylight/yangtools/binding/generator/util/ReferencedTypeImpl.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. 10
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 11
 Warning javadoc SummaryJavadoc First sentence should be present. 18

org/opendaylight/yangtools/binding/generator/util/TypeConstants.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 11

org/opendaylight/yangtools/binding/generator/util/Types.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. 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 imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 21
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 22
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 23
 Warning indentation Indentation 'method def modifier' have incorrect indentation level 16, expected level should be one of the following: 8, 12. 40
 Warning indentation Indentation 'method def' child have incorrect indentation level 20, expected level should be one of the following: 12, 16. 42
 Warning indentation Indentation 'method def rcurly' have incorrect indentation level 16, expected level should be one of the following: 8, 12. 43
 Warning javadoc SummaryJavadoc First sentence should be present. 60
 Warning javadoc SummaryJavadoc First sentence should be present. 94
 Warning javadoc JavadocMethod Missing a Javadoc comment. 105
 Warning javadoc SummaryJavadoc First sentence should be present. 117
 Warning javadoc JavadocMethod Missing a Javadoc comment. 224
 Warning modifier ModifierOrder '@Nullable' annotation modifier does not preceed non-annotation modifiers. 224
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 226
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 234
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 262
 Warning sizes LineLength Line is longer than 120 characters (found 122). 266
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 290
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 334

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractGeneratedType.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 60
 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. 82
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 83
 Warning sizes LineLength Line is longer than 120 characters (found 124). 87
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 88
 Warning sizes LineLength Line is longer than 120 characters (found 138). 89
 Warning sizes LineLength Line is longer than 120 characters (found 129). 105
 Warning sizes LineLength Line is longer than 120 characters (found 123). 129

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractGeneratedTypeBuilder.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. 11
 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 sizes LineLength Line is longer than 120 characters (found 148). 27
 Warning sizes LineLength Line is longer than 120 characters (found 153). 90
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 96
 Warning sizes LineLength Line is longer than 120 characters (found 158). 98
 Warning sizes LineLength Line is longer than 120 characters (found 133). 116
 Warning sizes LineLength Line is longer than 120 characters (found 135). 130
 Warning sizes LineLength Line is longer than 120 characters (found 130). 139
 Warning sizes LineLength Line is longer than 120 characters (found 131). 161
 Warning sizes LineLength Line is longer than 120 characters (found 130). 190

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractTypeMember.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.AccessModifier'should be separated from previous import group. 12

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/AbstractTypeMemberBuilder.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/binding/generator/util/generated/type/builder/AnnotationTypeBuilderImpl.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. 11
 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

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/ConstantImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.Constant'should be separated from previous import group. 11
 Warning sizes LineLength Line is longer than 120 characters (found 122). 91

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/EnumerationBuilderImpl.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. 11
 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 javadoc JavadocMethod Missing a Javadoc comment. 44
 Warning blocks RightCurly '}' should be on the same line. 123
 Warning naming LocalVariableName Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 279

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedPropertyBuilderImpl.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 145). 17

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedPropertyImpl.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 151). 22

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedTOBuilderImpl.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. 11
 Warning imports CustomImportOrder Import statement is in the wrong order. Should be in the 'STANDARD_JAVA_PACKAGE' group. 12
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 25
 Warning sizes LineLength Line is longer than 120 characters (found 130). 25
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 36
 Warning naming MemberName Member name 'SUID' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 36
 Warning indentation Indentation 'GeneratedTransferObject' have incorrect indentation level 4, expected level should be 8. 181
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 192
 Warning naming MemberName Member name 'SUID' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 192

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/GeneratedTypeBuilderImpl.java

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

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodParameterImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.MethodSignature.Parameter'should be separated from previous import group. 11

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodSignatureBuilderImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.AnnotationType'should be separated from previous import group. 13
 Warning sizes LineLength Line is longer than 120 characters (found 132). 19

org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodSignatureImpl.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning imports CustomImportOrder 'org.opendaylight.yangtools.sal.binding.model.api.AccessModifier'should be separated from previous import group. 12