Checkstyle Results
The following document contains the results of Checkstyle 10.14.0 with struts_checks.xml ruleset.
Summary
Files | Info | Warnings | Errors |
---|---|---|---|
8 | 0 | 0 | 25 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
coding | MagicNumber | 3 | Error |
design | HideUtilityClassConstructor | 1 | Error |
header | RegexpHeader
|
8 | Error |
javadoc | JavadocMethod
|
1 | Error |
JavadocPackage
|
2 | Error | |
MissingJavadocMethod | 2 | Error | |
misc | ArrayTypeStyle | 1 | Error |
FinalParameters | 3 | Error | |
NewlineAtEndOfFile | 1 | Error | |
modifier | ModifierOrder | 1 | Error |
whitespace | MethodParamPad | 1 | Error |
OperatorWrap | 1 | Error |
Details
org/apache/struts/apps/scriptingmailreader/Constants.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Error | header | RegexpHeader | Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 34 |
org/apache/struts/apps/scriptingmailreader/plugin/MemoryDatabasePlugIn.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
Error | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Error | header | RegexpHeader | Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4 |
Error | modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 74 |
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 93 |
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 97 |
Error | misc | FinalParameters | Parameter pathname should be final. | 97 |
Error | misc | FinalParameters | Parameter servlet should be final. | 136 |
Error | misc | FinalParameters | Parameter config should be final. | 136 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 154 |
Error | javadoc | JavadocMethod | @return tag should be present and have description. | 179 |
Error | whitespace | MethodParamPad | '(' should be on the previous line. | 190 |
Error | coding | MagicNumber | '1024' is a magic number. | 198 |
Error | coding | MagicNumber | '1024' is a magic number. | 199 |
Error | misc | ArrayTypeStyle | Array brackets at illegal position. | 201 |
Error | coding | MagicNumber | '1024' is a magic number. | 201 |
org/apache/struts/apps/scriptingmailreader/resources/AlternateApplicationResources.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '/\*\s*'. | 1 |
org/apache/struts/apps/scriptingmailreader/resources/AlternateApplicationResources_ja.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Missing a header - not enough lines in file. | 1 |
org/apache/struts/apps/scriptingmailreader/resources/ApplicationResources.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '/\*\s*'. | 1 |
org/apache/struts/apps/scriptingmailreader/resources/ApplicationResources_ja.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '/\*\s*'. | 1 |
org/apache/struts/apps/scriptingmailreader/resources/ApplicationResources_ru.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '/\*\s*'. | 1 |
struts-scripting.properties
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | RegexpHeader | Line does not match expected header line of '/\*\s*'. | 1 |