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