Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
27 15 30 133

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 85
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"
104 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 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 followed by whitespace. 121
Errors ')' is not preceded with whitespace. 121
Errors '(' is not followed by whitespace. 137
Errors ')' is not preceded with whitespace. 137
Errors '(' is not followed by whitespace. 143
Errors ')' is not preceded with whitespace. 143
Errors '(' is not followed by whitespace. 150
Errors ')' is not preceded with whitespace. 150
Errors '(' is not followed by whitespace. 158
Errors ')' is not preceded with whitespace. 158
Errors '(' is not followed by whitespace. 169
Errors ')' is not preceded with whitespace. 169
Errors '(' is not followed by whitespace. 184
Errors ')' is not preceded with whitespace. 184
Errors '(' is not followed by whitespace. 195
Errors ')' is not preceded with whitespace. 195
Errors '(' is not followed by whitespace. 205
Errors ')' is not preceded with whitespace. 205
Errors '(' is not followed by whitespace. 213
Errors ')' is not preceded with whitespace. 213
Errors '(' is not followed by whitespace. 229
Errors ')' is not preceded with whitespace. 229
Errors '(' is not followed by whitespace. 237
Errors ')' is not preceded with whitespace. 237
Errors '(' is not followed by whitespace. 246
Errors ')' is not preceded with whitespace. 246
Errors '(' is not followed by whitespace. 255
Errors ')' is not preceded with whitespace. 255
Errors '(' is not followed by whitespace. 270
Errors ')' is not preceded with whitespace. 270
Errors '(' is not followed by whitespace. 294
Errors ')' is not preceded with whitespace. 294
Errors '(' is not followed by whitespace. 300
Errors ')' is not preceded with whitespace. 300
Errors '(' is not followed by whitespace. 308
Errors ')' is not preceded with whitespace. 308
Errors Line is longer than 120 characters. 328
Errors '(' is not followed by whitespace. 332
Errors ')' is not preceded with whitespace. 332
Errors '(' is not followed by whitespace. 348
Errors ')' is not preceded with whitespace. 348
Errors '(' is not followed by whitespace. 358
Errors ')' is not preceded with whitespace. 358
Errors '(' is not followed by whitespace. 366
Errors ')' is not preceded with whitespace. 366
Errors '(' is not followed by whitespace. 375
Errors ')' is not preceded with whitespace. 375
Errors '(' is not followed by whitespace. 384
Errors ')' is not preceded with whitespace. 385
Errors '(' is not followed by whitespace. 396
Errors ')' is not preceded with whitespace. 396
Errors '(' is not followed by whitespace. 404
Errors ')' is not preceded with whitespace. 404
Errors '(' is not followed by whitespace. 412
Errors ')' is not preceded with whitespace. 412
Errors '(' is not followed by whitespace. 420
Errors ')' is not preceded with whitespace. 420
Errors '(' is not followed by whitespace. 438
Errors ')' is not preceded with whitespace. 438
Errors '(' is not followed by whitespace. 447
Errors ')' is not preceded with whitespace. 447
Infos Missing a Javadoc comment. 458
Errors '(' is not followed by whitespace. 458
Errors ')' is not preceded with whitespace. 458
Errors '(' is not followed by whitespace. 465
Errors ')' is not preceded with whitespace. 465
Errors '(' is not followed by whitespace. 473
Errors ')' is not preceded with whitespace. 473
Errors Line is longer than 120 characters. 487
Errors '(' is not followed by whitespace. 491
Errors ')' is not preceded with whitespace. 491
Infos Missing a Javadoc comment. 494
Errors '(' is not followed by whitespace. 494
Errors ')' is not preceded with whitespace. 494
Errors '(' is not followed by whitespace. 504
Errors ')' is not preceded with whitespace. 504
Errors '(' is not followed by whitespace. 510
Errors ')' is not preceded with whitespace. 510
Warnings Expected @throws tag for 'ServletException'. 650
Warnings Missing a Javadoc comment. 731
Warnings Expected @throws tag for 'MojoExecutionException'. 835
Warnings Expected @throws tag for 'IOException'. 883
Warnings Expected @throws tag for 'MojoExecutionException'. 891
Errors Method length is 263 lines (max allowed is 150). 1034
Warnings Missing a Javadoc comment. 1309
Errors '(' is not followed by whitespace. 1321
Errors ')' is not preceded with whitespace. 1321
Warnings Missing a Javadoc comment. 1344
Errors '(' is not followed by whitespace. 1344
Errors ')' is not preceded with whitespace. 1344
Errors Redundant throws: 'MalformedURLException' is subclass of 'IOException'. 1406
Errors '(' is not followed by whitespace. 1413
Errors ')' is not preceded with whitespace. 1413
Warnings 'webapps' hides a field. 1444
Warnings 'contextFile' hides a field. 1484

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