Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 51 0

Rules

Category Rule Violations Severity
coding VariableDeclarationUsageDistance 4  Warning
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"
13  Warning
naming AbbreviationAsWordInName
  • allowedAbbreviationLength: "1"
  • ignoreFinal: "false"
11  Warning
LocalVariableName
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
6  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
2  Warning
WhitespaceAround
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
  • allowEmptyMethods: "true"
  • allowEmptyConstructors: "true"
12  Warning

Details

org/opendaylight/netvirt/utils/neutron/utils/NeutronModelsDataStoreHelper.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator 'package' should be separated from previous statement. 8
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 44
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 45
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. 45
 Warning whitespace WhitespaceAround WhitespaceAround: '?' is not preceded with whitespace. 45
 Warning whitespace WhitespaceAround WhitespaceAround: ':' is not preceded with whitespace. 45
 Warning whitespace WhitespaceAround WhitespaceAround: ':' is not followed by whitespace. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 50
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 52
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not preceded with whitespace. 53
 Warning whitespace WhitespaceAround WhitespaceAround: '!=' is not followed by whitespace. 53
 Warning whitespace WhitespaceAround WhitespaceAround: '?' is not preceded with whitespace. 53
 Warning whitespace WhitespaceAround WhitespaceAround: ':' is not preceded with whitespace. 53
 Warning whitespace WhitespaceAround WhitespaceAround: ':' is not followed by whitespace. 53
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 57
 Warning javadoc JavadocMethod Missing a Javadoc comment. 57
 Warning javadoc JavadocMethod Missing a Javadoc comment. 65
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod Missing a Javadoc comment. 77
 Warning javadoc JavadocMethod Missing a Javadoc comment. 84

org/opendaylight/netvirt/utils/neutron/utils/NeutronUtils.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'org.opendaylight.netvirt.utils.servicehelper.ServiceHelper' import. 26
 Warning javadoc JavadocMethod Missing a Javadoc comment. 29
 Warning sizes LineLength Line is longer than 120 characters (found 129). 30
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 31
 Warning coding VariableDeclarationUsageDistance Distance between variable 'iNeutronPortCRUD' declaration and its first usage is 11, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 31
 Warning naming LocalVariableName Local variable name 'iNeutronPortCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 31
 Warning javadoc JavadocMethod Missing a Javadoc comment. 52
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 53
 Warning naming LocalVariableName Local variable name 'iNeutronPortCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 58
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 60
 Warning coding VariableDeclarationUsageDistance Distance between variable 'iNeutronSubnetCRUD' declaration and its first usage is 6, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 60
 Warning naming LocalVariableName Local variable name 'iNeutronSubnetCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 60
 Warning javadoc JavadocMethod Missing a Javadoc comment. 72
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 73
 Warning naming LocalVariableName Local variable name 'iNeutronSubnetCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 73
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 78
 Warning javadoc JavadocMethod Missing a Javadoc comment. 78
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 79
 Warning coding VariableDeclarationUsageDistance Distance between variable 'iNeutronNetworkCRUD' declaration and its first usage is 6, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 79
 Warning naming LocalVariableName Local variable name 'iNeutronNetworkCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 79
 Warning javadoc JavadocMethod Missing a Javadoc comment. 91
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 92
 Warning naming LocalVariableName Local variable name 'iNeutronNetworkCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 92
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 131
 Warning coding VariableDeclarationUsageDistance Distance between variable 'groupCRUD' declaration and its first usage is 6, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 131
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 133
 Warning javadoc SummaryJavadoc First sentence should be present. 156
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 161
 Warning naming AbbreviationAsWordInName Abbreviation in name must contain no more than '1' capital letters. 163