##### Struts Apps

- Welcome

##### Components

- Struts Apps
- Struts EL
- Struts Extras
- Struts Faces
- Struts Scripting
- Struts Taglib
- Struts Tiles

##### Quick Links

- Apache Struts Home
- Struts 1

##### Project Documentation

- Project Information
- Project Reports
  - Checkstyle
  - CPD Report
  - JavaDocs
  - PMD Report
  - Source Xref
  - Surefire Report

## Checkstyle Results

The following document contains the results of Checkstyle.

## Summary

Files | Infos | Warnings | Errors
--- | --- | --- | ---
13 | 0 | 0 | 55

## Files

Files | I | W | E
--- | --- | --- | ---
org/apache/struts/apps/mailreader/Constants.java | 0 | 0 | 2
org/apache/struts/apps/mailreader/actions/BaseAction.java | 0 | 0 | 9
org/apache/struts/apps/mailreader/actions/LocaleAction.java | 0 | 0 | 1
org/apache/struts/apps/mailreader/actions/LogoffAction.java | 0 | 0 | 3
org/apache/struts/apps/mailreader/actions/LogonAction.java | 0 | 0 | 2
org/apache/struts/apps/mailreader/actions/MainMenuAction.java | 0 | 0 | 2
org/apache/struts/apps/mailreader/actions/RegistrationAction.java | 0 | 0 | 10
org/apache/struts/apps/mailreader/actions/SubscriptionAction.java | 0 | 0 | 11
org/apache/struts/apps/mailreader/actions/WelcomeAction.java | 0 | 0 | 2
org/apache/struts/apps/mailreader/actions/package.html | 0 | 0 | 1
org/apache/struts/apps/mailreader/package.html | 0 | 0 | 1
org/apache/struts/apps/mailreader/plugin/MemoryDatabasePlugIn.java | 0 | 0 | 10
org/apache/struts/apps/mailreader/plugin/package.html | 0 | 0 | 1

## Rules

Rules | Violations | Severity
--- | --- | ---
PackageHtml | 3 | Error
NewlineAtEndOfFile | 0 | Error
Translation | 0 | Error
JavadocMethod allowUndeclaredRTE: `"true"` | 7 | Error
JavadocType | 0 | Error
JavadocVariable | 1 | Error
JavadocStyle | 0 | Error
ConstantName | 0 | Error
LocalFinalVariableName | 1 | Error
LocalVariableName | 0 | Error
MemberName | 2 | Error
MethodName | 5 | Error
PackageName | 0 | Error
ParameterName | 0 | Error
StaticVariableName | 2 | Error
TypeName | 0 | Error
RegexpHeader header 1: `/\*\s*` 2: `\*\s*\$Id.*\$` 3: `\*\s*` 4: `\*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.` 5: `\*\s*` 6: `\*\s*Licensed under the Apache License, Version 2\.0 \(the .License.\);` 7: `\*\s*you may not use this file except in compliance with the License\.` 8: `\*\s*You may obtain a copy of the License at` 9: `\*\s*` 10: `\*\s*http://www\.apache\.org/licenses/LICENSE\-2\.0` 11: `\*\s*` 12: `\*\s*Unless required by applicable law or agreed to in writing, software` 13: `\*\s*distributed under the License is distributed on an .AS IS. BASIS,` 14: `\*\s*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.` 15: `\*\s*See the License for the specific language governing permissions and` 16: `\*\s*limitations under the License\.` 17: `\*/\s*` | 10 | Error
AvoidStarImport | 0 | Error
IllegalImport | 0 | Error
RedundantImport | 0 | Error
UnusedImports | 0 | Error
FileLength | 0 | Error
LineLength max: `"120"` ignorePattern: `"^ \* @version .*$"` | 0 | Error
MethodLength | 0 | Error
ParameterNumber | 0 | Error
EmptyForIteratorPad | 0 | Error
NoWhitespaceAfter tokens: `"BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"` | 0 | Error
NoWhitespaceBefore | 0 | Error
OperatorWrap | 3 | Error
ParenPad | 0 | Error
TypecastParenPad | 0 | Error
TabCharacter | 0 | Error
WhitespaceAfter | 0 | Error
WhitespaceAround | 0 | Error
ModifierOrder | 8 | Error
RedundantModifier | 0 | Error
AvoidNestedBlocks | 0 | Error
EmptyBlock | 0 | Error
LeftCurly | 0 | Error
NeedBraces | 0 | Error
RightCurly | 2 | Error
DoubleCheckedLocking | 0 | Error
EmptyStatement | 0 | Error
EqualsHashCode | 0 | Error
IllegalInstantiation | 0 | Error
InnerAssignment | 0 | Error
MagicNumber | 5 | Error
MissingSwitchDefault | 0 | Error
RedundantThrows | 0 | Error
SimplifyBooleanExpression | 0 | Error
SimplifyBooleanReturn | 0 | Error
FinalClass | 0 | Error
HideUtilityClassConstructor | 1 | Error
InterfaceIsType | 0 | Error
VisibilityModifier protectedAllowed: `"true"` | 4 | Error
ArrayTypeStyle | 1 | Error
GenericIllegalRegexp message: `"Line has trailing spaces."` format: `"\s+$"` | 0 | Error
TodoComment | 0 | Error
UpperEll | 0 | Error

## Details

### org/apache/struts/apps/mailreader/Constants.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Utility classes should not have a public or default constructor. | 34

### org/apache/struts/apps/mailreader/actions/BaseAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Name 'USERNAME' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 66
| Variable 'USERNAME' must be private and have accessor methods. | 66
| Name 'PASSWORD' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 73
| Variable 'PASSWORD' must be private and have accessor methods. | 73
| 'static' modifier out of order with the JLS suggestions. | 80
| '128' is a magic number. | 126
| '128' is a magic number. | 373
| Name 'LOG_DATABASE_SAVE_ERROR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 407

### org/apache/struts/apps/mailreader/actions/LocaleAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4

### org/apache/struts/apps/mailreader/actions/LogoffAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Missing a Javadoc comment. | 44
| '+' should be on a new line. | 65

### org/apache/struts/apps/mailreader/actions/LogonAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Expected an @return tag. | 55

### org/apache/struts/apps/mailreader/actions/MainMenuAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*\$Id.*\$'. | 2
| Missing a Javadoc comment. | 35

### org/apache/struts/apps/mailreader/actions/RegistrationAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*\$Id.*\$'. | 2
| 'static' modifier out of order with the JLS suggestions. | 58
| 'static' modifier out of order with the JLS suggestions. | 65
| 'static' modifier out of order with the JLS suggestions. | 72
| 'static' modifier out of order with the JLS suggestions. | 79
| Name 'LOG_REGISTRATION_POPULATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 88
| Variable 'LOG_REGISTRATION_POPULATE' must be private and have accessor methods. | 88
| '}' should be on the same line. | 133
| Name 'Edit' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 289
| Name 'Save' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 326

### org/apache/struts/apps/mailreader/actions/SubscriptionAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*\$Id.*\$'. | 2
| 'static' modifier out of order with the JLS suggestions. | 48
| 'static' modifier out of order with the JLS suggestions. | 55
| 'static' modifier out of order with the JLS suggestions. | 62
| Missing a Javadoc comment. | 66
| Name 'LOG_SUBSCRIPTION_POPULATE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 66
| Variable 'LOG_SUBSCRIPTION_POPULATE' must be private and have accessor methods. | 66
| '}' should be on the same line. | 84
| Name 'Delete' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 224
| Name 'Edit' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 257
| Name 'Save' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 302

### org/apache/struts/apps/mailreader/actions/WelcomeAction.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Missing a Javadoc comment. | 54

### org/apache/struts/apps/mailreader/actions/package.html

Violation | Message | Line
--- | --- | ---
| Missing package documentation file. | 0

### org/apache/struts/apps/mailreader/package.html

Violation | Message | Line
--- | --- | ---
| Missing package documentation file. | 0

### org/apache/struts/apps/mailreader/plugin/MemoryDatabasePlugIn.java

Violation | Message | Line
--- | --- | ---
| Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. | 4
| Missing a Javadoc comment. | 85
| Missing a Javadoc comment. | 89
| '+' should be on a new line. | 129
| '+' should be on a new line. | 146
| Expected an @return tag. | 164
| '1024' is a magic number. | 184
| '1024' is a magic number. | 187
| Array brackets at illegal position. | 188
| '1024' is a magic number. | 188

### org/apache/struts/apps/mailreader/plugin/package.html

Violation | Message | Line
--- | --- | ---
| Missing package documentation file. | 0