Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
77 44 177 328

Files

Files Infos Warnings Errors
org/apache/tomcat/maven/common/config/AbstractWebapp.java 0 20 0
org/apache/tomcat/maven/common/deployer/TomcatManager.java 0 13 33
org/apache/tomcat/maven/common/deployer/TomcatManagerResponse.java 0 10 1
org/apache/tomcat/maven/common/messages/DefaultMessagesProvider.java 0 2 0
org/apache/tomcat/maven/common/messages/MessagesProvider.java 0 2 0
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java 0 1 3
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java 0 15 1
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorResult.java 0 5 1
org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java 0 2 19
org/apache/tomcat/maven/common/run/ExternalRepositoriesReloadableWebappLoader.java 0 2 0
org/apache/tomcat/maven/common/run/TomcatRunException.java 0 1 0
org/apache/tomcat/maven/it/AbstractDeployWarOnlyProjectIT.java 0 1 3
org/apache/tomcat/maven/it/AbstractDeployWarProjectIT.java 0 1 3
org/apache/tomcat/maven/it/AbstractSimpleWarProjectIT.java 1 2 1
org/apache/tomcat/maven/it/AbstractTomcatRunMultiConfigIT.java 0 2 3
org/apache/tomcat/maven/it/AbstractUsageContextpathIT.java 0 1 2
org/apache/tomcat/maven/it/AbstractWarProjectIT.java 1 9 4
org/apache/tomcat/maven/plugin/tomcat6/AbstractCatalinaMojo.java 0 1 5
org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployMojo.java 0 0 14
org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployWarMojo.java 0 0 4
org/apache/tomcat/maven/plugin/tomcat6/AbstractI18NTomcat6Mojo.java 2 1 7
org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java 2 7 23
org/apache/tomcat/maven/plugin/tomcat6/AbstractWarCatalinaMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat6/ExplodedMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat6/ExternalRepositoriesReloadableWebappLoader.java 0 2 0
org/apache/tomcat/maven/plugin/tomcat6/InplaceMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat6/ListMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/RedeployOnlyMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/ReloadMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/ResourcesMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/RolesMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/ServerInfoMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/SessionsMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java 0 0 2
org/apache/tomcat/maven/plugin/tomcat6/StartMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/StopMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/UndeployMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat6/Webapp.java 0 2 0
org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java 0 8 5
org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java 2 3 5
org/apache/tomcat/maven/plugin/tomcat7/AbstractWarCatalinaMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java 0 19 15
org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployWarMojo.java 0 0 4
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/deploy/UndeployMojo.java 0 0 3
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java 8 13 9
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java 2 9 42
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java 0 0 1
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java 0 1 12
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 3
org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java 0 2 2
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
org/apache/tomcat/maven/runner/PasswordUtil.java 1 4 7
org/apache/tomcat/maven/runner/Tomcat7Runner.java 21 9 25
org/apache/tomcat/maven/runner/Tomcat7RunnerCli.java 1 2 2

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
22 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"
14 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
157 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1 Errors Error
JavadocVariable
  • scope: "protected"
44 Infos Info
ConstantName 1 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 11 Errors Error
MethodLength 6 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 0 Errors Error
ParenPad
  • option: "space"
51 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 7 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 1 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"
20 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 1 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"
14 Errors Error
MissingSwitchDefault 1 Errors Error
RedundantThrows 179 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
18 Errors Error
UpperEll 0 Errors Error

Details

org/apache/tomcat/maven/common/config/AbstractWebapp.java

Violation Message Line
Warnings Missing a Javadoc comment. 69
Warnings Missing a Javadoc comment. 74
Warnings Missing a Javadoc comment. 84
Warnings Missing a Javadoc comment. 89
Warnings Missing a Javadoc comment. 94
Warnings Missing a Javadoc comment. 99
Warnings Missing a Javadoc comment. 104
Warnings Missing a Javadoc comment. 109
Warnings Missing a Javadoc comment. 114
Warnings Missing a Javadoc comment. 119
Warnings Missing a Javadoc comment. 124
Warnings Missing a Javadoc comment. 129
Warnings Missing a Javadoc comment. 134
Warnings Missing a Javadoc comment. 143
Warnings Missing a Javadoc comment. 148
Warnings Missing a Javadoc comment. 153
Warnings Missing a Javadoc comment. 158
Warnings Missing a Javadoc comment. 163
Warnings Missing a Javadoc comment. 168
Warnings Missing a Javadoc comment. 173

org/apache/tomcat/maven/common/deployer/TomcatManager.java

Violation Message Line
Errors Unable to get class information for TomcatManagerException. 284
Errors Unable to get class information for TomcatManagerException. 301
Errors Unable to get class information for TomcatManagerException. 319
Errors Unable to get class information for TomcatManagerException. 334
Errors Unable to get class information for TomcatManagerException. 351
Errors Unable to get class information for TomcatManagerException. 369
Warnings Expected an @return tag. 385
Warnings Expected @param tag for 'path'. 385
Warnings Expected @param tag for 'war'. 385
Warnings Expected @param tag for 'update'. 385
Warnings Expected @param tag for 'tag'. 385
Warnings Expected @param tag for 'length'. 385
Warnings Expected @throws tag for 'TomcatManagerException'. 386
Errors Unable to get class information for TomcatManagerException. 386
Warnings Expected @throws tag for 'IOException'. 386
Errors Unable to get class information for TomcatManagerException. 401
Errors Unable to get class information for TomcatManagerException. 418
Errors Unable to get class information for TomcatManagerException. 436
Errors Unable to get class information for TomcatManagerException. 452
Errors Unable to get class information for TomcatManagerException. 470
Errors Unable to get class information for TomcatManagerException. 489
Errors Unable to get class information for TomcatManagerException. 503
Errors Unable to get class information for TomcatManagerException. 517
Errors Unable to get class information for TomcatManagerException. 531
Errors Unable to get class information for TomcatManagerException. 545
Errors Unable to get class information for TomcatManagerException. 558
Errors Unable to get class information for TomcatManagerException. 571
Errors Unable to get class information for TomcatManagerException. 584
Errors Unable to get class information for TomcatManagerException. 598
Errors Unable to get class information for TomcatManagerException. 618
Errors Unable to get class information for TomcatManagerException. 632
Errors Unable to get class information for TomcatManagerException. 650
Errors Unable to get class information for TomcatManagerException. 660
Errors Unable to get class information for TomcatManagerException. 680
Warnings Expected @param tag for 'length'. 718
Errors Unable to get class information for TomcatManagerException. 719
Errors switch without "default" clause. 746
Errors Line is longer than 120 characters. 753
Warnings Missing a Javadoc comment. 768
Warnings 'username' hides a field. 784
Warnings 'password' hides a field. 784
Errors 'static' modifier out of order with the JLS suggestions. 799
Errors Redundant throws: 'IllegalStateException' is unchecked exception. 830
Errors Inner assignments should be avoided. 862
Warnings 'url' hides a field. 901
Errors '1023' is a magic number. 967

org/apache/tomcat/maven/common/deployer/TomcatManagerResponse.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Warnings Missing a Javadoc comment. 33
Warnings Missing a Javadoc comment. 38
Warnings Missing a Javadoc comment. 43
Warnings 'statusCode' hides a field. 43
Warnings Missing a Javadoc comment. 49
Warnings Missing a Javadoc comment. 54
Warnings 'reasonPhrase' hides a field. 54
Warnings Missing a Javadoc comment. 60
Warnings Missing a Javadoc comment. 65
Warnings 'httpResponseBody' hides a field. 65

org/apache/tomcat/maven/common/messages/DefaultMessagesProvider.java

Violation Message Line
Warnings Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 51

org/apache/tomcat/maven/common/messages/MessagesProvider.java

Violation Message Line
Warnings Missing a Javadoc comment. 30
Warnings Missing a Javadoc comment. 32

org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java

Violation Message Line
Errors Unused import - java.util.List. 22
Errors Line is longer than 120 characters. 30
Warnings Missing a Javadoc comment. 30
Errors Unable to get class information for TomcatRunException. 31

org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Warnings Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 48
Warnings 'mavenProject' hides a field. 48
Warnings Missing a Javadoc comment. 54
Warnings Missing a Javadoc comment. 59
Warnings 'dependencies' hides a field. 59
Warnings Missing a Javadoc comment. 65
Warnings Missing a Javadoc comment. 70
Warnings 'log' hides a field. 70
Warnings Missing a Javadoc comment. 76
Warnings Missing a Javadoc comment. 81
Warnings 'addWarDependenciesInClassloader' hides a field. 82
Warnings Missing a Javadoc comment. 88
Warnings Missing a Javadoc comment. 93
Warnings 'useTestClassPath' hides a field. 93

org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorResult.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Warnings Missing a Javadoc comment. 40
Warnings Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 56
Warnings Missing a Javadoc comment. 61

org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java

Violation Message Line
Errors '(' is not followed by whitespace. 48
Errors ')' is not preceded with whitespace. 48
Errors Method length is 163 lines (max allowed is 150). 57
Warnings Missing a Javadoc comment. 57
Errors Unable to get class information for TomcatRunException. 58
Errors '(' is not followed by whitespace. 69
Errors ')' is not preceded with whitespace. 69
Errors Line is longer than 120 characters. 110
Errors Line is longer than 120 characters. 111
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 preceded with whitespace. 146
Errors ')' is not preceded with whitespace. 156
Errors '(' is not followed by whitespace. 165
Errors ')' is not preceded with whitespace. 165
Errors Unable to get class information for TomcatRunException. 224
Warnings Missing a Javadoc comment. 237
Errors '(' is not followed by whitespace. 243
Errors ')' is not preceded with whitespace. 243

org/apache/tomcat/maven/common/run/ExternalRepositoriesReloadableWebappLoader.java

Violation Message Line
Warnings Expected @param tag for 'log'. 64
Warnings Expected an @return tag. 130

org/apache/tomcat/maven/common/run/TomcatRunException.java

Violation Message Line
Warnings Missing a Javadoc comment. 29

org/apache/tomcat/maven/it/AbstractDeployWarOnlyProjectIT.java

Violation Message Line
Errors Unused import - org.slf4j.Logger. 24
Errors Unused import - org.slf4j.LoggerFactory. 25
Warnings Missing a Javadoc comment. 52
Errors '40000' is a magic number. 69

org/apache/tomcat/maven/it/AbstractDeployWarProjectIT.java

Violation Message Line
Errors Unused import - org.slf4j.Logger. 24
Errors Unused import - org.slf4j.LoggerFactory. 25
Warnings Missing a Javadoc comment. 52
Errors '40000' is a magic number. 69

org/apache/tomcat/maven/it/AbstractSimpleWarProjectIT.java

Violation Message Line
Infos Missing a Javadoc comment. 40
Warnings Missing a Javadoc comment. 54
Warnings Expected @throws tag for 'VerificationException'. 74
Errors Unable to get class information for VerificationException. 74

org/apache/tomcat/maven/it/AbstractTomcatRunMultiConfigIT.java

Violation Message Line
Errors Unused import - org.slf4j.Logger. 25
Errors Unused import - org.slf4j.LoggerFactory. 26
Warnings Missing a Javadoc comment. 73
Warnings Expected @throws tag for 'VerificationException'. 101
Errors Unable to get class information for VerificationException. 101

org/apache/tomcat/maven/it/AbstractUsageContextpathIT.java

Violation Message Line
Errors Unused import - org.slf4j.Logger. 24
Errors Unused import - org.slf4j.LoggerFactory. 25
Warnings Missing a Javadoc comment. 58

org/apache/tomcat/maven/it/AbstractWarProjectIT.java

Violation Message Line
Infos Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 82
Warnings Missing a Javadoc comment. 104
Errors Unable to get class information for VerificationException. 121
Warnings Expected @throws tag for 'IOException'. 121
Warnings Missing a Javadoc comment. 152
Warnings Missing a Javadoc comment. 157
Errors '200' is a magic number. 170
Errors '500' is a magic number. 173
Warnings Missing a Javadoc comment. 220
Errors '15000' is a magic number. 222
Warnings Missing a Javadoc comment. 225
Warnings Missing a Javadoc comment. 230
Warnings Missing a Javadoc comment. 235

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

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 128
Errors Unable to get class information for MojoExecutionException. 158
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 158
Errors Unable to get class information for TomcatManagerException. 158
Errors Unable to get class information for MojoExecutionException. 167
Warnings 'password' hides a field. 173

org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 77
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 77
Errors Unable to get class information for TomcatManagerException. 77
Errors Unable to get class information for MojoExecutionException. 110
Errors Unable to get class information for MojoExecutionException. 128
Errors Unable to get class information for MojoExecutionException. 165
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 165
Errors Unable to get class information for TomcatManagerException. 165
Errors Unable to get class information for MojoExecutionException. 186
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 186
Errors Unable to get class information for TomcatManagerException. 186
Errors Unable to get class information for MojoExecutionException. 208
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 208
Errors Unable to get class information for TomcatManagerException. 208

org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployWarMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 65
Errors Unable to get class information for MojoExecutionException. 79
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 79
Errors Unable to get class information for TomcatManagerException. 79

org/apache/tomcat/maven/plugin/tomcat6/AbstractI18NTomcat6Mojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 42
Errors '(' is not followed by whitespace. 42
Errors ')' is not preceded with whitespace. 42
Errors '(' is not followed by whitespace. 53
Errors ')' is not preceded with whitespace. 53
Warnings Missing a Javadoc comment. 57
Errors Unable to get class information for MojoExecutionException. 69
Errors '400' is a magic number. 73

org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java

Violation Message Line
Errors ')' is not preceded with whitespace. 143
Errors Line is longer than 120 characters. 296
Infos Missing a Javadoc comment. 474
Infos Missing a Javadoc comment. 477
Errors Unable to get class information for MojoExecutionException. 488
Errors Redundant throws: 'MojoFailureException' listed more then one time. 488
Errors Unable to get class information for MojoFailureException. 488
Errors Unable to get class information for MojoExecutionException. 563
Warnings 'contextFile' hides a field. 582
Errors Unable to get class information for MojoExecutionException. 598
Warnings Expected @throws tag for 'MojoExecutionException'. 618
Errors Unable to get class information for MojoExecutionException. 618
Warnings Expected @throws tag for 'MojoExecutionException'. 673
Errors Unable to get class information for MojoExecutionException. 673
Errors Unable to get class information for MojoExecutionException. 708
Errors Redundant throws: 'MavenFilteringException' listed more then one time. 708
Errors Unable to get class information for MavenFilteringException. 708
Errors Method length is 197 lines (max allowed is 150). 811
Errors Unable to get class information for LifecycleException. 812
Errors Redundant throws: 'MojoExecutionException' listed more then one time. 812
Errors Unable to get class information for MojoExecutionException. 812
Errors ')' is not preceded with whitespace. 921
Errors ')' is not preceded with whitespace. 971
Errors ')' is not preceded with whitespace. 986
Warnings Missing a Javadoc comment. 1020
Errors Unable to get class information for MojoExecutionException. 1021
Warnings Missing a Javadoc comment. 1054
Errors Unable to get class information for MojoExecutionException. 1116
Errors Unable to get class information for MojoExecutionException. 1150
Warnings 'webapps' hides a field. 1153
Warnings 'contextFile' hides a field. 1183
Errors Unable to get class information for MojoExecutionException. 1217

org/apache/tomcat/maven/plugin/tomcat6/AbstractWarCatalinaMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 60

org/apache/tomcat/maven/plugin/tomcat6/ExplodedMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 66

org/apache/tomcat/maven/plugin/tomcat6/ExternalRepositoriesReloadableWebappLoader.java

Violation Message Line
Warnings Expected @param tag for 'log'. 64
Warnings Expected an @return tag. 130

org/apache/tomcat/maven/plugin/tomcat6/InplaceMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 66

org/apache/tomcat/maven/plugin/tomcat6/ListMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/RedeployOnlyMojo.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors Unused import - org.apache.maven.plugins.annotations.Execute. 21
Errors Unused import - org.apache.maven.plugins.annotations.LifecyclePhase. 22

org/apache/tomcat/maven/plugin/tomcat6/ReloadMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/ResourcesMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 58
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 58
Errors Unable to get class information for TomcatManagerException. 58

org/apache/tomcat/maven/plugin/tomcat6/RolesMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 132
Errors Unable to get class information for MojoExecutionException. 148
Errors Unable to get class information for MojoExecutionException. 233

org/apache/tomcat/maven/plugin/tomcat6/ServerInfoMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/SessionsMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/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
Errors Unable to get class information for MojoExecutionException. 69

org/apache/tomcat/maven/plugin/tomcat6/StartMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/StopMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 47
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 47
Errors Unable to get class information for TomcatManagerException. 47

org/apache/tomcat/maven/plugin/tomcat6/UndeployMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 58
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 58
Errors Unable to get class information for TomcatManagerException. 58

org/apache/tomcat/maven/plugin/tomcat6/Webapp.java

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

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

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 128
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 153
Warnings Unable to get class information for @throws tag 'org.apache.tomcat.maven.common.deployer.TomcatManagerException'. 155
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 160
Errors Unable to get class information for MojoExecutionException. 160
Warnings Expected @throws tag for 'TomcatManagerException'. 160
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 160
Warnings Unable to get class information for @throws tag 'TomcatManagerException'. 160
Errors Unable to get class information for TomcatManagerException. 160
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 166
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 170
Errors Unable to get class information for MojoExecutionException. 170
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
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 63
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 67
Errors Unable to get class information for MojoExecutionException. 67
Errors '400' is a magic number. 71

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

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 60

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

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 78
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 78
Errors Unable to get class information for TomcatManagerException. 78
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 108
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 112
Errors Unable to get class information for MojoExecutionException. 112
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 127
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 131
Errors Unable to get class information for MojoExecutionException. 131
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 163
Warnings Unable to get class information for @throws tag 'org.apache.tomcat.maven.common.deployer.TomcatManagerException'. 165
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 170
Errors Unable to get class information for MojoExecutionException. 170
Warnings Expected @throws tag for 'TomcatManagerException'. 170
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 170
Warnings Unable to get class information for @throws tag 'TomcatManagerException'. 170
Errors Unable to get class information for TomcatManagerException. 170
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 183
Warnings Unable to get class information for @throws tag 'org.apache.tomcat.maven.common.deployer.TomcatManagerException'. 185
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 190
Errors Unable to get class information for MojoExecutionException. 190
Warnings Expected @throws tag for 'TomcatManagerException'. 190
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 190
Warnings Unable to get class information for @throws tag 'TomcatManagerException'. 190
Errors Unable to get class information for TomcatManagerException. 190
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 203
Warnings Unable to get class information for @throws tag 'org.apache.tomcat.maven.common.deployer.TomcatManagerException'. 205
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 210
Errors Unable to get class information for MojoExecutionException. 210
Warnings Expected @throws tag for 'TomcatManagerException'. 210
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 210
Warnings Unable to get class information for @throws tag 'TomcatManagerException'. 210
Errors Unable to get class information for TomcatManagerException. 210
Errors Line is longer than 120 characters. 220

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

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 65
Errors Unable to get class information for MojoExecutionException. 79
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 79
Errors Unable to get class information for TomcatManagerException. 79

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/deploy/UndeployMojo.java

Violation Message Line
Errors Unable to get class information for MojoExecutionException. 59
Errors Redundant throws: 'TomcatManagerException' listed more then one time. 59
Errors Unable to get class information for TomcatManagerException. 59

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 Unable to get class information for MojoExecutionException. 224
Errors Redundant throws: 'MojoFailureException' listed more then one time. 224
Errors Unable to get class information for MojoFailureException. 224
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
Errors Unable to get class information for MojoExecutionException. 579
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
Errors Unable to get class information 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
Errors Unable to get class information for MojoExecutionException. 569
Errors Redundant throws: 'MojoFailureException' listed more then one time. 569
Errors Unable to get class information for MojoFailureException. 569
Errors Unable to get class information for MojoExecutionException. 647
Warnings Expected @throws tag for 'ServletException'. 647
Errors Redundant throws: 'ServletException' listed more then one time. 647
Errors Unable to get class information for ServletException. 647
Warnings Missing a Javadoc comment. 728
Errors Unable to get class information for MojoExecutionException. 729
Errors Unable to get class information for MojoExecutionException. 812
Warnings Expected @throws tag for 'MojoExecutionException'. 832
Errors Unable to get class information for MojoExecutionException. 832
Warnings Expected @throws tag for 'IOException'. 880
Warnings Expected @throws tag for 'MojoExecutionException'. 888
Errors Unable to get class information for MojoExecutionException. 888
Errors Unable to get class information for MojoExecutionException. 924
Errors Redundant throws: 'MavenFilteringException' listed more then one time. 924
Errors Unable to get class information for MavenFilteringException. 924
Errors Method length is 262 lines (max allowed is 150). 1031
Errors Unable to get class information for LifecycleException. 1032
Errors Redundant throws: 'MojoExecutionException' listed more then one time. 1032
Errors Unable to get class information for MojoExecutionException. 1032
Errors Redundant throws: 'ServletException' listed more then one time. 1032
Errors Unable to get class information for ServletException. 1032
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
Errors Unable to get class information for MojoExecutionException. 1306
Warnings Missing a Javadoc comment. 1340
Errors Unable to get class information for MojoExecutionException. 1402
Errors Redundant throws: 'MalformedURLException' is subclass of 'IOException'. 1402
Errors Redundant throws: 'ServletException' listed more then one time. 1402
Errors Unable to get class information for ServletException. 1402
Errors Unable to get class information for MojoExecutionException. 1437
Errors Redundant throws: 'ServletException' listed more then one time. 1437
Errors Unable to get class information for ServletException. 1437
Warnings 'webapps' hides a field. 1440
Warnings 'contextFile' hides a field. 1480
Errors Unable to get class information for MojoExecutionException. 1515

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 Unable to get class information for MojoExecutionException. 80
Errors Redundant throws: 'MojoFailureException' listed more then one time. 80
Errors Unable to get class information for MojoFailureException. 80
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
Errors Unable to get class information for MojoExecutionException. 176
Errors Unable to get class information for MojoExecutionException. 266

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
Warnings Unable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'. 67
Warnings Unable to get class information for @throws tag 'MojoExecutionException'. 71
Errors Unable to get class information for MojoExecutionException. 71

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

org/apache/tomcat/maven/runner/PasswordUtil.java

Violation Message Line
Errors Line is longer than 120 characters. 37
Infos Missing a Javadoc comment. 43
Errors Name '__OBFUSCATE' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 43
Warnings Missing a Javadoc comment. 46
Errors '127' is a magic number. 56
Errors '127' is a magic number. 57
Errors '36' is a magic number. 59
Warnings Missing a Javadoc comment. 78
Errors '36' is a magic number. 89
Errors '254' is a magic number. 92
Warnings Missing a Javadoc comment. 103
Warnings Missing a Javadoc comment. 120

org/apache/tomcat/maven/runner/Tomcat7Runner.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 62
Infos Missing a Javadoc comment. 65
Infos Missing a Javadoc comment. 67
Infos Missing a Javadoc comment. 69
Infos Missing a Javadoc comment. 71
Infos Missing a Javadoc comment. 73
Infos Missing a Javadoc comment. 86
Errors Variable 'httpPort' must be private and have accessor methods. 86
Infos Missing a Javadoc comment. 88
Errors Variable 'httpsPort' must be private and have accessor methods. 88
Infos Missing a Javadoc comment. 90
Errors Variable 'ajpPort' must be private and have accessor methods. 90
Infos Missing a Javadoc comment. 92
Errors Variable 'serverXmlPath' must be private and have accessor methods. 92
Infos Missing a Javadoc comment. 94
Errors Variable 'runtimeProperties' must be private and have accessor methods. 94
Infos Missing a Javadoc comment. 96
Errors Variable 'resetExtract' must be private and have accessor methods. 96
Infos Missing a Javadoc comment. 98
Errors Variable 'debug' must be private and have accessor methods. 98
Infos Missing a Javadoc comment. 100
Errors Variable 'clientAuth' must be private and have accessor methods. 100
Infos Missing a Javadoc comment. 102
Errors Variable 'keyAlias' must be private and have accessor methods. 102
Infos Missing a Javadoc comment. 104
Errors Variable 'httpProtocol' must be private and have accessor methods. 104
Infos Missing a Javadoc comment. 106
Errors Variable 'extractDirectory' must be private and have accessor methods. 106
Infos Missing a Javadoc comment. 108
Errors Variable 'extractDirectoryFile' must be private and have accessor methods. 108
Infos Missing a Javadoc comment. 110
Errors Variable 'codeSourceContextPath' must be private and have accessor methods. 110
Infos Missing a Javadoc comment. 112
Errors Variable 'codeSourceWar' must be private and have accessor methods. 112
Infos Missing a Javadoc comment. 114
Errors Variable 'loggerName' must be private and have accessor methods. 114
Warnings Missing a Javadoc comment. 127
Errors Method length is 283 lines (max allowed is 150). 132
Warnings Missing a Javadoc comment. 132
Errors Avoid nested blocks. 201
Errors Missing a Javadoc comment. 418
Warnings Missing a Javadoc comment. 422
Warnings Missing a Javadoc comment. 512
Warnings Missing a Javadoc comment. 525
Errors Line is longer than 120 characters. 660
Errors '2048' is a magic number. 708
Warnings Missing a Javadoc comment. 735
Warnings Missing a Javadoc comment. 741
Warnings Missing a Javadoc comment. 750
Warnings 'loggerName' hides a field. 755
Errors Redundant throws: 'SecurityException' is unchecked exception. 756
Errors Redundant throws: 'IllegalArgumentException' is unchecked exception. 756
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 789
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 810

org/apache/tomcat/maven/runner/Tomcat7RunnerCli.java

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Infos Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 104
Errors ')' is not preceded with whitespace. 143
Warnings Missing a Javadoc comment. 225