The following document contains the results of Checkstyle 5.7.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | HiddenField
|
5 | Warning |
MagicNumber
|
4 | Error | |
design | VisibilityModifier
|
2 | Error |
header | RegexpHeader
|
1 | Error |
imports | AvoidStarImport | 1 | Error |
UnusedImports | 7 | Error | |
javadoc | JavadocMethod
|
48 | Warning |
JavadocType
|
3 | Error | |
JavadocVariable
|
5 | Info | |
naming | ConstantName | 4 | Error |
StaticVariableName | 2 | Error | |
sizes | LineLength
|
15 | Error |
whitespace | OperatorWrap | 2 | Error |
ParenPad
|
88 | Error | |
WhitespaceAround | 6 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '^/\*\s*$'. | 3 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 106 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 111 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 116 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 121 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 126 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 131 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 136 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 141 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 146 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 151 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 156 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 40 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 40 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 41 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 41 |
Info | javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
Error | naming | StaticVariableName | Name 'DEFAULT_FEEDTYPE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 47 |
Error | design | VisibilityModifier | Variable 'DEFAULT_FEEDTYPE' must be private and have accessor methods. | 47 |
Info | javadoc | JavadocVariable | Missing a Javadoc comment. | 49 |
Error | naming | StaticVariableName | Name 'DEFAULT_LANGUAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 49 |
Error | design | VisibilityModifier | Variable 'DEFAULT_LANGUAGE' must be private and have accessor methods. | 49 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 53 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 40 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 56 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 56 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 95 |
Error | sizes | LineLength | Line is longer than 120 characters (found 123). | 128 |
Error | sizes | LineLength | Line is longer than 120 characters (found 154). | 132 |
Error | sizes | LineLength | Line is longer than 120 characters (found 126). | 155 |
Error | sizes | LineLength | Line is longer than 120 characters (found 154). | 159 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 22 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.util.TimeZone. | 41 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 49 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 49 |
Error | coding | MagicNumber | '30' is a magic number. | 53 |
Error | naming | ConstantName | Name 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 55 |
Error | naming | ConstantName | Name 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 57 |
Warning | javadoc | JavadocMethod | Expected an @return tag. | 76 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'reqParams'. | 77 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'FeedException'. | 78 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 97 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 97 |
Error | whitespace | WhitespaceAround | 'try' is not followed by whitespace. | 99 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 99 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 99 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 101 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 131 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 131 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 150 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 166 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 171 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 176 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 181 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 186 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 191 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.time.LocalDateTime. | 37 |
Error | imports | UnusedImports | Unused import - java.time.ZoneId. | 38 |
Error | imports | UnusedImports | Unused import - java.util.Calendar. | 42 |
Error | imports | UnusedImports | Unused import - java.util.Date. | 43 |
Error | imports | UnusedImports | Unused import - java.util.TimeZone. | 47 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 49 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 49 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 49 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 94 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 94 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 94 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 121 |
Error | coding | MagicNumber | '30' is a magic number. | 121 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 121 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 123 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 123 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 123 |
Error | whitespace | WhitespaceAround | '<' is not preceded with whitespace. | 123 |
Error | whitespace | WhitespaceAround | '<' is not followed by whitespace. | 123 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 123 |
Error | sizes | LineLength | Line is longer than 120 characters (found 159). | 131 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 136 |
Error | sizes | LineLength | Line is longer than 120 characters (found 171). | 137 |
Error | sizes | LineLength | Line is longer than 120 characters (found 142). | 166 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 166 |
Warning | coding | HiddenField | 'session' hides a field. | 166 |
Warning | coding | HiddenField | 'repoId' hides a field. | 166 |
Warning | coding | HiddenField | 'from' hides a field. | 166 |
Warning | coding | HiddenField | 'to' hides a field. | 166 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 174 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 184 |
Warning | coding | HiddenField | 'session' hides a field. | 210 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.apache.archiva.metadata.repository.*. | 25 |
Error | imports | UnusedImports | Unused import - java.time.ZoneId. | 35 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 48 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 48 |
Error | naming | ConstantName | Name 'title' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 54 |
Error | naming | ConstantName | Name 'desc' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 56 |
Warning | javadoc | JavadocMethod | Expected an @return tag. | 70 |
Warning | javadoc | JavadocMethod | Expected @param tag for 'reqParams'. | 71 |
Warning | javadoc | JavadocMethod | Expected @throws tag for 'FeedException'. | 72 |
Error | whitespace | WhitespaceAround | 'try' is not followed by whitespace. | 89 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 89 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 89 |
Error | sizes | LineLength | Line is longer than 120 characters (found 124). | 95 |
Error | sizes | LineLength | Line is longer than 120 characters (found 121). | 98 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 98 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 133 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 133 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 135 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 172 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 177 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 182 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 187 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 192 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 197 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 57 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 57 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 57 |
Error | sizes | LineLength | Line is longer than 120 characters (found 159). | 112 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 112 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 112 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 120 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 120 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 120 |
Error | coding | MagicNumber | '123456789' is a magic number. | 125 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 126 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 126 |
Error | coding | MagicNumber | '345678912' is a magic number. | 131 |
Error | sizes | LineLength | Line is longer than 120 characters (found 123). | 132 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 132 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 132 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 140 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 140 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 140 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 140 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 141 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 141 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 141 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 142 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 142 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 142 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 142 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 143 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 143 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 143 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 144 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 144 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 144 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 144 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 145 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 145 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 145 |
Error | sizes | LineLength | Line is longer than 120 characters (found 123). | 146 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 146 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 146 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 146 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 146 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 147 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 147 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 147 |
Error | sizes | LineLength | Line is longer than 120 characters (found 151). | 156 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 156 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 156 |
Error | sizes | LineLength | Line is longer than 120 characters (found 125). | 162 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 162 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 162 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 162 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 162 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 162 |
Error | sizes | LineLength | Line is longer than 120 characters (found 124). | 165 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 165 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 165 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 165 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 165 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 165 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 165 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 172 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Info | javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
Info | javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
Info | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Warning | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |