Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
13 0 0 55

Rules

Rules Violations Severity
PackageHtml 3 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
JavadocMethod
  • allowUndeclaredRTE: "true"
7 Errors Error
JavadocType 0 Errors Error
JavadocVariable 1 Errors Error
JavadocStyle 0 Errors Error
ConstantName 0 Errors Error
LocalFinalVariableName 1 Errors Error
LocalVariableName 0 Errors Error
MemberName 2 Errors Error
MethodName 5 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 2 Errors Error
TypeName 0 Errors 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 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "^ \* @version .*$"
0 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 3 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
TabCharacter 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 8 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 0 Errors Error
NeedBraces 0 Errors Error
RightCurly 2 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 5 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
FinalClass 0 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • protectedAllowed: "true"
4 Errors Error
ArrayTypeStyle 1 Errors Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

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

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

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

Violation Message Line
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Name 'USERNAME' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Errors Variable 'USERNAME' must be private and have accessor methods. 66
Errors Name 'PASSWORD' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Errors Variable 'PASSWORD' must be private and have accessor methods. 73
Errors 'static' modifier out of order with the JLS suggestions. 80
Errors '128' is a magic number. 126
Errors '128' is a magic number. 373
Errors 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
Errors 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
Errors Line does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'. 4
Errors Missing a Javadoc comment. 44
Errors '+' should be on a new line. 65

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

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

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

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

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

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

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

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

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

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

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

Violation Message Line
Errors Missing package documentation file. 0

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

Violation Message Line
Errors Missing package documentation file. 0

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

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

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

Violation Message Line
Errors Missing package documentation file. 0