Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
27 15 30 64

Files

Files Infos Warnings Errors
org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java 0 1 0
org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java 2 1 4
org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java 0 0 4
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java 0 0 2
org/apache/tomcat/maven/plugin/tomcat7/deploy/RedeployMojo.java 0 0 4
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java 8 13 4
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java 2 9 16
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java 0 1 9
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/ExtendedTomcat.java 0 2 1
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraDependency.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraResource.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarMojo.java 0 0 5
org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarOnlyMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat7/run/WarRunDependency.java 3 1 4
org/apache/tomcat/maven/plugin/tomcat7/run/Webapp.java 0 2 0

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
14 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
LeftCurly
  • option: "nl"
0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
7 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
26 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0 Errors Error
JavadocVariable
  • scope: "protected"
15 Infos Info
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
MethodLength 3 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 0 Errors Error
ParenPad
  • option: "space"
28 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 7 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock
  • option: "text"
0 Errors Error
NeedBraces 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
4 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64, 100, 128, 256, 512, 1000, 1024"
1 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 1 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
3 Errors Error
UpperEll 0 Errors Error

Details

org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java

Violation Message Line
Warnings 'password' hides a field. 176

org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 36
Infos Missing a Javadoc comment. 39
Errors '(' is not followed by whitespace. 50
Errors ')' is not preceded with whitespace. 50
Warnings Missing a Javadoc comment. 54
Errors '400' is a magic number. 71

org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java

Violation Message Line
Errors Line is longer than 120 characters. 220

org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java

Violation Message Line
Errors '(' is not followed by whitespace. 31
Errors ')' is not preceded with whitespace. 31
Errors '(' is not followed by whitespace. 32
Errors ')' is not preceded with whitespace. 32

org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java

Violation Message Line
Errors '(' is not followed by whitespace. 30
Errors ')' is not preceded with whitespace. 30

org/apache/tomcat/maven/plugin/tomcat7/deploy/RedeployMojo.java

Violation Message Line
Errors '(' is not followed by whitespace. 32
Errors ')' is not preceded with whitespace. 32
Errors '(' is not followed by whitespace. 33
Errors ')' is not preceded with whitespace. 33

org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 71
Infos Missing a Javadoc comment. 80
Infos Missing a Javadoc comment. 83
Infos Missing a Javadoc comment. 92
Infos Missing a Javadoc comment. 95
Infos Missing a Javadoc comment. 120
Infos Missing a Javadoc comment. 123
Infos Missing a Javadoc comment. 144
Errors Method length is 283 lines (max allowed is 150). 223
Warnings Missing a Javadoc comment. 223
Errors Line is longer than 120 characters. 391
Warnings Missing a Javadoc comment. 509
Errors Line is longer than 120 characters. 521
Warnings Missing a Javadoc comment. 532
Warnings Missing a Javadoc comment. 538
Warnings Missing a Javadoc comment. 591
Warnings Expected an @return tag. 610
Warnings Expected @param tag for 'contextXmlFile'. 610
Warnings Expected @param tag for 'warFile'. 610
Warnings Expected @throws tag for 'IOException'. 611
Warnings Expected @throws tag for 'ArchiveException'. 611
Warnings 'excludes' hides a field. 645
Warnings Expected @param tag for 'excludes'. 645
Warnings Expected @throws tag for 'IOException'. 646

org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors ')' is not preceded with whitespace. 158
Errors Line is longer than 120 characters. 318
Infos Missing a Javadoc comment. 447
Errors Line is longer than 120 characters. 476
Infos Missing a Javadoc comment. 483
Warnings Expected @throws tag for 'ServletException'. 647
Warnings Missing a Javadoc comment. 728
Warnings Expected @throws tag for 'MojoExecutionException'. 832
Warnings Expected @throws tag for 'IOException'. 880
Warnings Expected @throws tag for 'MojoExecutionException'. 888
Errors Method length is 262 lines (max allowed is 150). 1031
Errors ')' is not preceded with whitespace. 1122
Errors 'if' is not followed by whitespace. 1163
Errors 'if' is not followed by whitespace. 1168
Errors 'if' is not followed by whitespace. 1173
Errors 'if' is not followed by whitespace. 1178
Errors 'if' is not followed by whitespace. 1183
Errors 'if' is not followed by whitespace. 1188
Errors 'if' is not followed by whitespace. 1194
Errors ')' is not preceded with whitespace. 1203
Errors ')' is not preceded with whitespace. 1220
Warnings Missing a Javadoc comment. 1305
Warnings Missing a Javadoc comment. 1340
Errors Redundant throws: 'MalformedURLException' is subclass of 'IOException'. 1402
Warnings 'webapps' hides a field. 1440
Warnings 'contextFile' hides a field. 1480

org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java

Violation Message Line
Errors Line is longer than 120 characters. 42

org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors '(' is not followed by whitespace. 60
Errors ')' is not preceded with whitespace. 61
Errors '(' is not followed by whitespace. 67
Errors ')' is not preceded with whitespace. 68
Errors '(' is not followed by whitespace. 76
Errors ')' is not preceded with whitespace. 76
Errors Method length is 216 lines (max allowed is 150). 79
Warnings Missing a Javadoc comment. 79
Errors Line is longer than 120 characters. 181

org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2

org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2

org/apache/tomcat/maven/plugin/tomcat7/run/ExtendedTomcat.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Warnings Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 45

org/apache/tomcat/maven/plugin/tomcat7/run/ExtraDependency.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2

org/apache/tomcat/maven/plugin/tomcat7/run/ExtraResource.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2

org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2

org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java

Violation Message Line
Errors Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4

org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors '(' is not followed by whitespace. 30
Errors ')' is not preceded with whitespace. 30
Errors '(' is not followed by whitespace. 31
Errors ')' is not preceded with whitespace. 31

org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarOnlyMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors '(' is not followed by whitespace. 28
Errors ')' is not preceded with whitespace. 28

org/apache/tomcat/maven/plugin/tomcat7/run/WarRunDependency.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 32
Errors Variable 'dependency' must be private and have accessor methods. 32
Infos Missing a Javadoc comment. 34
Errors Variable 'contextPath' must be private and have accessor methods. 34
Infos Missing a Javadoc comment. 36
Errors Variable 'contextXml' must be private and have accessor methods. 36
Warnings Missing a Javadoc comment. 38

org/apache/tomcat/maven/plugin/tomcat7/run/Webapp.java

Violation Message Line
Warnings Missing a Javadoc comment. 35
Warnings Missing a Javadoc comment. 40