Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
2800223

Rules

RulesViolationsSeverity
PackageHtml2error Error
NewlineAtEndOfFile0error Error
Translation0error Error
JavadocMethod
  • allowUndeclaredRTE: "true"
99error Error
JavadocType0error Error
JavadocVariable6error Error
JavadocStyle2error Error
ConstantName4error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error 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*
26error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • ignorePattern: "^ \* @version .*$"
  • max: "120"
0error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0error Error
NoWhitespaceBefore0error Error
OperatorWrap23error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter0error Error
WhitespaceAround2error Error
ModifierOrder0error Error
RedundantModifier24error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly0error Error
NeedBraces27error Error
RightCurly0error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber3error Error
MissingSwitchDefault0error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier
  • protectedAllowed: "true"
0error Error
ArrayTypeStyle2error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0error Error
TodoComment0error Error
UpperEll0error Error

Files

Filesinfowarningerror
org/apache/struts/webapp/example/LinkSubscriptionTag.java006
org/apache/struts/webapp/example/CheckLogonTag.java007
org/apache/struts/webapp/example/SaveRegistrationAction.java0010
org/apache/struts/webapp/example/SubscriptionForm.java0014
org/apache/struts/webapp/example/ExpiredPasswordException.java001
org/apache/struts/webapp/example/RegistrationBacking.java009
org/apache/struts/webapp/example/SaveSubscriptionAction.java0011
org/apache/struts/webapp/example/EditRegistrationAction.java007
org/apache/struts/webapp/example/LogoffAction.java004
org/apache/struts/webapp/example/memory/package.html001
org/apache/struts/webapp/example/EditSubscriptionAction.java005
org/apache/struts/webapp/example/package.html001
org/apache/struts/webapp/example/memory/MemoryUser.java0017
org/apache/struts/webapp/example/Constants.java002
org/apache/struts/webapp/example/UserDatabase.java002
org/apache/struts/webapp/example/memory/MemoryUserDatabase.java006
org/apache/struts/webapp/example/ApplicationMapping.java003
org/apache/struts/webapp/example/memory/MemorySubscription.java0012
org/apache/struts/webapp/example/RegistrationForm.java0012
org/apache/struts/webapp/example/LogonAction.java009
org/apache/struts/webapp/example/Subscription.java0017
org/apache/struts/webapp/example/AbstractBacking.java006
org/apache/struts/webapp/example/LinkUserTag.java008
org/apache/struts/webapp/example/IndexBacking.java008
org/apache/struts/webapp/example/MainMenuBacking.java005
org/apache/struts/webapp/example/memory/MemoryDatabasePlugIn.java0010
org/apache/struts/webapp/example/User.java0024
org/apache/struts/webapp/example/LogonForm.java006

Details

org/apache/struts/webapp/example/LinkSubscriptionTag.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.61
errorExtra HTML tag found: </p>70
errorExpected an @return tag.72
errorExpected an @return tag.82

org/apache/struts/webapp/example/CheckLogonTag.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.64
errorExpected an @return tag.86
errorExpected an @return tag.113
errorExpected an @return tag.127
error'if' construct must use '{}'s.132
error'if' construct must use '{}'s.136

org/apache/struts/webapp/example/SaveRegistrationAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.84
error'+' should be on a new line.100
error'+' should be on a new line.117
error'&&' should be on a new line.141
error'<' is not followed by whitespace.149
error'||' should be on a new line.174
error'+' should be on a new line.200
error'if' construct must use '{}'s.207
error'else' construct must use '{}'s.209

org/apache/struts/webapp/example/SubscriptionForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.98
errorExpected an @return tag.120
errorExpected an @return tag.141
errorExpected an @return tag.163
errorExpected an @return tag.185
errorExpected an @return tag.207
errorExpected an @return tag.257
error'if' construct must use '{}'s.262
error'if' construct must use '{}'s.265
error'if' construct must use '{}'s.268
error'if' construct must use '{}'s.271
error'if' construct must use '{}'s.274
errorExpected an @return tag.286

org/apache/struts/webapp/example/ExpiredPasswordException.java

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

org/apache/struts/webapp/example/RegistrationBacking.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.42
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.42
errorMissing a Javadoc comment.48
errorExpected an @return tag.54
errorExpected an @return tag.80
errorExpected an @return tag.101
errorExpected an @return tag.126
errorExpected an @return tag.152

org/apache/struts/webapp/example/SaveSubscriptionAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.82
error'+' should be on a new line.97
error'+' should be on a new line.114
error'+' should be on a new line.126
error'+' should be on a new line.134
error'+' should be on a new line.145
error'+' should be on a new line.146
error'if' construct must use '{}'s.172
error'if' construct must use '{}'s.192
error'else' construct must use '{}'s.194

org/apache/struts/webapp/example/EditRegistrationAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.80
error'if' construct must use '{}'s.89
error'+' should be on a new line.92
error'if' construct must use '{}'s.116
error'else' construct must use '{}'s.118
error'if' construct must use '{}'s.133

org/apache/struts/webapp/example/LogoffAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.75
error'+' should be on a new line.88
error'+' should be on a new line.93

org/apache/struts/webapp/example/memory/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/example/EditSubscriptionAction.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.79
error'+' should be on a new line.93
error'+' should be on a new line.112
error'if' construct must use '{}'s.145

org/apache/struts/webapp/example/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/struts/webapp/example/memory/MemoryUser.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.90
errorMissing a Javadoc comment.100
errorMissing a Javadoc comment.104
errorMissing a Javadoc comment.114
errorMissing a Javadoc comment.118
errorMissing a Javadoc comment.128
errorMissing a Javadoc comment.132
errorMissing a Javadoc comment.142
errorMissing a Javadoc comment.146
errorExpected an @return tag.155
errorArray brackets at illegal position.158
errorExpected an @return tag.168
errorExpected an @return tag.185
error'+' should be on a new line.190
errorExpected an @return tag.210
errorExpected an @return tag.244

org/apache/struts/webapp/example/Constants.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorName 'Package' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.39

org/apache/struts/webapp/example/UserDatabase.java

ViolationMessageLine
errorGot an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'IllegalArgumentExceptionif'.0
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4

org/apache/struts/webapp/example/memory/MemoryUserDatabase.java

ViolationMessageLine
errorGot an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'IllegalArgumentExceptionif'.0
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.83
errorMissing a Javadoc comment.85
errorMissing a Javadoc comment.87
errorMissing a Javadoc comment.91

org/apache/struts/webapp/example/ApplicationMapping.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.69
errorExpected an @return tag.91

org/apache/struts/webapp/example/memory/MemorySubscription.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.84
errorMissing a Javadoc comment.88
errorExpected an @return tag.96
errorMissing a Javadoc comment.106
errorMissing a Javadoc comment.110
errorMissing a Javadoc comment.120
errorMissing a Javadoc comment.124
errorExpected an @return tag.132
errorMissing a Javadoc comment.142
errorMissing a Javadoc comment.146
errorExpected an @return tag.157

org/apache/struts/webapp/example/RegistrationForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.112
errorExpected an @return tag.134
errorExpected an @return tag.156
errorExpected an @return tag.178
errorExpected an @return tag.200
errorExpected an @return tag.222
errorExpected an @return tag.244
errorExpected an @return tag.295
error'||' should be on a new line.302
error'||' should be on a new line.303
error'&&' should be on a new line.304

org/apache/struts/webapp/example/LogonAction.java

ViolationMessageLine
errorGot an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'AppException'.0
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.79
error'if' construct must use '{}'s.96
error'if' construct must use '{}'s.101
error'if' construct must use '{}'s.103
error'+' should be on a new line.118
error'if' construct must use '{}'s.124
error'else' construct must use '{}'s.126

org/apache/struts/webapp/example/Subscription.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.43
errorRedundant 'public' modifier.43
errorRedundant 'public' modifier.51
errorExpected an @return tag.57
errorRedundant 'public' modifier.57
errorExpected an @return tag.63
errorRedundant 'public' modifier.63
errorRedundant 'public' modifier.71
errorExpected an @return tag.77
errorRedundant 'public' modifier.77
errorRedundant 'public' modifier.85
errorExpected an @return tag.91
errorRedundant 'public' modifier.91
errorExpected an @return tag.97
errorRedundant 'public' modifier.97
errorRedundant 'public' modifier.105

org/apache/struts/webapp/example/AbstractBacking.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.47
errorExpected an @return tag.85
errorExpected an @return tag.98
errorExpected an @return tag.111
errorExpected an @return tag.124

org/apache/struts/webapp/example/LinkUserTag.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.78
errorExpected an @return tag.100
errorExpected an @return tag.127
error'if' construct must use '{}'s.140
error'if' construct must use '{}'s.143
error'else' construct must use '{}'s.145
errorExpected an @return tag.178

org/apache/struts/webapp/example/IndexBacking.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.43
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.43
errorExpected an @return tag.52
errorFirst sentence should end with a period.64
errorExpected @param tag for 'actionEvent'.68
error'{' is not preceded with whitespace.68
errorExpected an @return tag.75

org/apache/struts/webapp/example/MainMenuBacking.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.41
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.41
errorExpected an @return tag.50
errorExpected an @return tag.67

org/apache/struts/webapp/example/memory/MemoryDatabasePlugIn.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorMissing a Javadoc comment.92
errorMissing a Javadoc comment.96
error'+' should be on a new line.139
error'+' should be on a new line.156
errorExpected an @return tag.205
error'1024' is a magic number.225
error'1024' is a magic number.228
errorArray brackets at illegal position.229
error'1024' is a magic number.229

org/apache/struts/webapp/example/User.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.44
errorRedundant 'public' modifier.44
errorExpected an @return tag.50
errorRedundant 'public' modifier.50
errorRedundant 'public' modifier.58
errorExpected an @return tag.64
errorRedundant 'public' modifier.64
errorRedundant 'public' modifier.72
errorExpected an @return tag.78
errorRedundant 'public' modifier.78
errorRedundant 'public' modifier.86
errorExpected an @return tag.92
errorRedundant 'public' modifier.92
errorRedundant 'public' modifier.100
errorExpected an @return tag.107
errorRedundant 'public' modifier.107
errorExpected an @return tag.113
errorRedundant 'public' modifier.113
errorExpected an @return tag.128
errorRedundant 'public' modifier.128
errorExpected an @return tag.137
errorRedundant 'public' modifier.137
errorRedundant 'public' modifier.149

org/apache/struts/webapp/example/LogonForm.java

ViolationMessageLine
errorLine does not match expected header line of ' \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.'.4
errorExpected an @return tag.69
errorExpected an @return tag.91
errorExpected an @return tag.137
error'if' construct must use '{}'s.141
error'if' construct must use '{}'s.143