Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
8 0 49 0

Rules

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

Details

org/opendaylight/yangtools/checkstyle/CheckLoggingUtil.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'com.google.common.collect.Lists' import. 15
 Warning sizes LineLength Line is longer than 120 characters (found 134). 26
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 32
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 32
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 37
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 37
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 42
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 42
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 47
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 47
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 51
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 52
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 62
 Warning javadoc JavadocMethod Missing a Javadoc comment. 62
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 62
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 64

org/opendaylight/yangtools/checkstyle/LogMessageConcatenationCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 25
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 25
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 27

org/opendaylight/yangtools/checkstyle/LogMessagePlaceholderCountCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 27
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 27
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 48
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 48
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 50
 Warning whitespace OperatorWrap '&&' should be on a new line. 53
 Warning whitespace MethodParamPad '(' should be on the previous line. 55
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 61
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 61
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 63
 Warning whitespace WhitespaceAround WhitespaceAround: 'while' is not followed by whitespace. 69

org/opendaylight/yangtools/checkstyle/LoggerDeclarationsCountCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 28
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 28
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 31
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 39
 Warning naming ParameterName Parameter name 'aRootAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 39

org/opendaylight/yangtools/checkstyle/LoggerFactoryClassParameterCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 26
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 26
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 28

org/opendaylight/yangtools/checkstyle/LoggerMustBeSlf4jCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 29
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 29

org/opendaylight/yangtools/checkstyle/LoggerVariableModifiersCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 25
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 25
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 32
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 32
 Warning whitespace MethodParamPad '(' should be on the previous line. 35

org/opendaylight/yangtools/checkstyle/LoggerVariableNameCheck.java

Severity Category Rule Message Line
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 27
 Warning naming ParameterName Parameter name 'aAST' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 27