The following document contains the results of Checkstyle 5.7. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | LeftCurly
|
16 | |
RightCurly
|
3 | ||
| design | InterfaceIsType | 1 | |
| imports | AvoidStarImport | 1 | |
| UnusedImports | 6 | ||
| javadoc | JavadocMethod
|
9 | |
JavadocVariable
|
24 | ||
| naming | ConstantName | 1 | |
| sizes | LineLength
|
2 | |
| whitespace | ParenPad
|
24 | |
| WhitespaceAfter | 2 | ||
| WhitespaceAround | 2 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.time.ZoneId. | 22 | |
| design | InterfaceIsType | interfaces should describe a type and hence have methods. | 29 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 34 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 35 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 36 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 37 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 38 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 39 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 40 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 41 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 42 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 43 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 44 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 45 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 46 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 47 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 48 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 49 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 50 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 51 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 52 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 53 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 54 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 55 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 56 | |
| sizes | LineLength | Line is longer than 120 characters (found 224). | 59 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 59 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 59 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 59 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| extension | TreeWalker | Got an exception - expecting EOF, found 'if' | 495 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| extension | TreeWalker | Got an exception - expecting EOF, found 'Session' | 152 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 40 | |
| sizes | LineLength | Line is longer than 120 characters (found 128). | 45 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 45 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 45 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 52 | |
| blocks | LeftCurly | '{' should be on a new line. | 52 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 56 | |
| blocks | LeftCurly | '{' should be on a new line. | 56 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 70 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 70 | |
| blocks | LeftCurly | '{' should be on a new line. | 70 | |
| blocks | LeftCurly | '{' should be on a new line. | 113 | |
| blocks | LeftCurly | '{' should be on a new line. | 114 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 115 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 115 | |
| blocks | RightCurly | '}' should be alone on a line. | 116 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 116 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 116 | |
| blocks | LeftCurly | '{' should be on a new line. | 116 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 117 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 117 | |
| blocks | LeftCurly | '{' should be on a new line. | 122 | |
| blocks | LeftCurly | '{' should be on a new line. | 123 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 124 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 124 | |
| blocks | RightCurly | '}' should be alone on a line. | 125 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 125 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 125 | |
| blocks | LeftCurly | '{' should be on a new line. | 125 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 126 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 126 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - org.apache.archiva.metadata.model.MetadataFacet. | 22 | |
| imports | UnusedImports | Unused import - org.apache.archiva.metadata.model.MetadataFacetFactory. | 23 | |
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.apache.archiva.metadata.repository.*. | 24 | |
| imports | UnusedImports | Unused import - org.springframework.context.ApplicationContext. | 30 | |
| imports | UnusedImports | Unused import - java.util.HashMap. | 40 | |
| imports | UnusedImports | Unused import - java.util.Map. | 41 | |
| blocks | LeftCurly | '{' should be on a new line. | 82 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 86 | |
| whitespace | WhitespaceAround | '!=' is not preceded with whitespace. | 90 | |
| whitespace | WhitespaceAround | '!=' is not followed by whitespace. | 90 | |
| blocks | LeftCurly | '{' should be on a new line. | 105 | |
| blocks | RightCurly | '}' should be alone on a line. | 107 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 107 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 107 | |
| blocks | LeftCurly | '{' should be on a new line. | 107 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 108 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 108 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 109 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 109 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 112 | |
| blocks | LeftCurly | '{' should be on a new line. | 112 | |
| blocks | LeftCurly | '{' should be on a new line. | 127 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 132 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 138 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 138 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 138 | |
| blocks | LeftCurly | '{' should be on a new line. | 138 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 142 | |
| blocks | LeftCurly | '{' should be on a new line. | 142 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 147 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 152 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| extension | TreeWalker | Got an exception - expecting EOF, found '}' | 181 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| extension | TreeWalker | Got an exception - expecting EOF, found 'logger' | 261 |