The following document contains the results of Checkstyle 6.11.2 with checkstyle.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | DeclarationOrder | 6 | Warning |
IllegalCatch | 32 | Warning | |
IllegalType
|
1 | Warning | |
MagicNumber
|
2 | Warning | |
MultipleStringLiterals
|
5 | Warning | |
OverloadMethodsDeclarationOrder | 1 | Warning | |
ReturnCount | 2 | Warning | |
design | MutableException | 1 | Warning |
OneTopLevelClass | 2 | Warning | |
imports | ImportOrder
|
1 | Warning |
UnusedImports | 1 | Warning | |
javadoc | JavadocMethod
|
1 | Warning |
JavadocParagraph | 1 | Warning | |
JavadocStyle | 2 | Warning | |
metrics | BooleanExpressionComplexity | 2 | Warning |
ClassDataAbstractionCoupling | 1 | Warning | |
ClassFanOutComplexity | 1 | Warning | |
CyclomaticComplexity | 2 | Warning | |
JavaNCSS | 2 | Warning | |
modifier | RedundantModifier | 1 | Warning |
naming | AbstractClassName | 5 | Warning |
MethodName | 7 | Warning | |
sizes | AnonInnerLength | 1 | Warning |
ExecutableStatementCount
|
4 | Warning | |
LineLength
|
1 | Warning | |
MethodLength
|
2 | Warning | |
OuterTypeNumber | 1 | Warning | |
ParameterNumber
|
14 | Warning | |
whitespace | EmptyLineSeparator | 1 | Warning |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ExecutableStatementCount | Executable statement count is 118 (max allowed is 30). | 48 |
Warning | sizes | MethodLength | Method length is 120 lines (max allowed is 100). | 48 |
Warning | metrics | JavaNCSS | NCSS for this method is 119 (max allowed is 50). | 48 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | OuterTypeNumber | Outer types defined is 3 (max allowed is 1). | 19 |
Warning | design | OneTopLevelClass | Top-level class SuperClass has to reside in its own source file. | 142 |
Warning | coding | DeclarationOrder | Static variable definition in wrong order. | 153 |
Warning | coding | DeclarationOrder | Static variable definition in wrong order. | 172 |
Warning | design | OneTopLevelClass | Top-level class SubClass has to reside in its own source file. | 217 |
Warning | coding | DeclarationOrder | Static variable definition in wrong order. | 228 |
Warning | coding | DeclarationOrder | Static variable definition in wrong order. | 247 |
Warning | modifier | RedundantModifier | Redundant 'public' modifier. | 260 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 67 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | design | MutableException | The field 'functionalException' must be declared final. | 56 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 95 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 88 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 88 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | AbstractClassName | Name 'LookupCMPEntityEJB' must match pattern '^Abstract.+$'. | 34 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 89 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 145 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | AbstractClassName | Name 'ValueObject' must match pattern '^Abstract.+$'. | 36 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | imports | UnusedImports | Unused import - java.util.MissingResourceException. | 34 |
Warning | imports | ImportOrder | Wrong order for 'com.oreilly.servlet.MultipartRequest' import. | 61 |
Warning | metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 9 (max allowed is 7) classes [CResourceBundle, Cookie, DefaultFileRenamePolicy, File, FileRenamePolicy, InitialContext, JSPPropertyFormatter, Message, MultipartRequest]. | 86 |
Warning | metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 86 |
Warning | coding | DeclarationOrder | Variable access definition in wrong order. | 120 |
Warning | coding | DeclarationOrder | Variable access definition in wrong order. | 126 |
Warning | sizes | LineLength | Line is longer than 128 characters (found 137). | 458 |
Warning | coding | MultipleStringLiterals | The String "key" appears 6 times in the file. | 534 |
Warning | whitespace | EmptyLineSeparator | ';' should be separated from previous statement. | 865 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 1086 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'IOException'. | 1133 |
Warning | naming | MethodName | Name '_init' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1158 |
Warning | naming | MethodName | Name '_processFirstPass' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1171 |
Warning | naming | MethodName | Name '_processSubsequentPass' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1185 |
Warning | naming | MethodName | Name '_processEveryPass' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1199 |
Warning | coding | OverloadMethodsDeclarationOrder | Overload methods should not be split. Previous overloaded method located at line '306'. | 1215 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 1222 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 1338 |
Warning | javadoc | JavadocStyle | Extra HTML tag found: </td> | 1367 |
Warning | javadoc | JavadocStyle | Extra HTML tag found: </td> | 1368 |
Warning | naming | MethodName | Name '_isSessionValid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1672 |
Warning | coding | MagicNumber | '1000' is a magic number. | 1717 |
Warning | metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 1847 |
Warning | sizes | ExecutableStatementCount | Executable statement count is 32 (max allowed is 30). | 1847 |
Warning | sizes | MethodLength | Method length is 119 lines (max allowed is 100). | 1847 |
Warning | sizes | AnonInnerLength | Anonymous inner class length is 42 lines (max allowed is 20). | 1858 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 115 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 5). | 137 |
Warning | coding | ReturnCount | Return count is 4 (max allowed is 2). | 414 |
Warning | coding | ReturnCount | Return count is 4 (max allowed is 2). | 445 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 138 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | AbstractClassName | Name 'CTreeItemAdornment' must match pattern '^Abstract.+$'. | 28 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | MethodName | Name 'setJ_username' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 65 |
Warning | naming | MethodName | Name 'setJ_password' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 76 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 129 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 204 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 240 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 277 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 114 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | MultipleStringLiterals | The String ", " appears 11 times in the file. | 288 |
Warning | sizes | ExecutableStatementCount | Executable statement count is 36 (max allowed is 30). | 317 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 119 |
Warning | coding | MultipleStringLiterals | The String "Method" appears 6 times in the file. | 185 |
Warning | coding | MultipleStringLiterals | The String "Value" appears 15 times in the file. | 185 |
Warning | sizes | ExecutableStatementCount | Executable statement count is 58 (max allowed is 30). | 286 |
Warning | metrics | JavaNCSS | NCSS for this method is 61 (max allowed is 50). | 286 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 109 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 286 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 106 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 298 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 347 |
Warning | coding | MagicNumber | '32' is a magic number. | 407 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 79 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | javadoc | JavadocParagraph | Javadoc comment at column 4 has parse error. Unrecognized error from ANTLR parser: null | 287 |
Warning | metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 295 |
Warning | metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 304 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 383 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 123 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 88 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 206 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | AbstractClassName | Name 'AutoCompleteServlet' must match pattern '^Abstract.+$'. | 44 |
Warning | coding | IllegalType | Declaring variables, return values or parameters of type 'TreeSet' is not allowed. | 60 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | naming | AbstractClassName | Name 'CHttpServlet' must match pattern '^Abstract.+$'. | 44 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 197 |
Warning | sizes | ParameterNumber | More than 3 parameters (found 4). | 232 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'RuntimeException' is not allowed. | 137 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 220 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 262 |
Warning | coding | MultipleStringLiterals | The String "name" appears 6 times in the file. | 288 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 298 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 330 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 353 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 380 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 405 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 429 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 452 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 479 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 509 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 538 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 569 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 631 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 656 |
Warning | coding | IllegalCatch | Catching 'Exception' is not allowed. | 677 |