Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
7740158212

Files

FilesInfosWarningsErrors
org/apache/tomcat/maven/common/config/AbstractWebapp.java0200
org/apache/tomcat/maven/common/deployer/TomcatManager.java0136
org/apache/tomcat/maven/common/deployer/TomcatManagerResponse.java0101
org/apache/tomcat/maven/common/messages/DefaultMessagesProvider.java020
org/apache/tomcat/maven/common/messages/MessagesProvider.java040
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculator.java012
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorRequest.java0151
org/apache/tomcat/maven/common/run/ClassLoaderEntriesCalculatorResult.java051
org/apache/tomcat/maven/common/run/DefaultClassLoaderEntriesCalculator.java029
org/apache/tomcat/maven/common/run/ExternalRepositoriesReloadableWebappLoader.java020
org/apache/tomcat/maven/common/run/TomcatRunException.java010
org/apache/tomcat/maven/it/AbstractDeployWarOnlyProjectIT.java011
org/apache/tomcat/maven/it/AbstractDeployWarProjectIT.java011
org/apache/tomcat/maven/it/AbstractSimpleWarProjectIT.java021
org/apache/tomcat/maven/it/AbstractTomcatRunMultiConfigIT.java021
org/apache/tomcat/maven/it/AbstractUsageContextpathIT.java010
org/apache/tomcat/maven/it/AbstractWarProjectIT.java074
org/apache/tomcat/maven/plugin/tomcat6/AbstractCatalinaMojo.java013
org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployMojo.java006
org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployWarMojo.java002
org/apache/tomcat/maven/plugin/tomcat6/AbstractI18NTomcat6Mojo.java111
org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java2719
org/apache/tomcat/maven/plugin/tomcat6/AbstractWarCatalinaMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/ExplodedMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/ExternalRepositoriesReloadableWebappLoader.java020
org/apache/tomcat/maven/plugin/tomcat6/InplaceMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/ListMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/RedeployOnlyMojo.java003
org/apache/tomcat/maven/plugin/tomcat6/ReloadMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/ResourcesMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/RolesMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java003
org/apache/tomcat/maven/plugin/tomcat6/ServerInfoMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/SessionsMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java002
org/apache/tomcat/maven/plugin/tomcat6/StartMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/StopMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/UndeployMojo.java001
org/apache/tomcat/maven/plugin/tomcat6/Webapp.java020
org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java053
org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java111
org/apache/tomcat/maven/plugin/tomcat7/AbstractWarCatalinaMojo.java001
org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java0106
org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployWarMojo.java002
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java004
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java002
org/apache/tomcat/maven/plugin/tomcat7/deploy/RedeployMojo.java004
org/apache/tomcat/maven/plugin/tomcat7/deploy/UndeployMojo.java001
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java8910
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java2832
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java001
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractStandaloneWarMojo.java0110
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java001
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java001
org/apache/tomcat/maven/plugin/tomcat7/run/ExtendedTomcat.java021
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraDependency.java001
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraResource.java001
org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java004
org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java022
org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarMojo.java005
org/apache/tomcat/maven/plugin/tomcat7/run/StandaloneWarOnlyMojo.java003
org/apache/tomcat/maven/plugin/tomcat7/run/WarRunDependency.java314
org/apache/tomcat/maven/plugin/tomcat7/run/Webapp.java020
org/apache/tomcat/maven/runner/PasswordUtil.java147
org/apache/tomcat/maven/runner/Tomcat7Runner.java21925
org/apache/tomcat/maven/runner/Tomcat7RunnerCli.java121

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
22Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
12Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
139Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1Errors Error
JavadocVariable
  • scope: "protected"
40Infos Info
ConstantName1Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports5Errors Error
MethodLength5Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
26Errors Error
WhitespaceAfter1Errors Error
WhitespaceAround0Errors Error
ModifierOrder1Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks1Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
19Warnings Warning
IllegalInstantiation0Errors Error
InnerAssignment1Errors 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"
12Errors Error
MissingSwitchDefault1Errors Error
RedundantThrows105Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
18Errors Error
UpperEll0Errors Error

Details

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

ViolationMessageLine
WarningsMissing a Javadoc comment.69
WarningsMissing a Javadoc comment.74
WarningsMissing a Javadoc comment.84
WarningsMissing a Javadoc comment.89
WarningsMissing a Javadoc comment.94
WarningsMissing a Javadoc comment.99
WarningsMissing a Javadoc comment.104
WarningsMissing a Javadoc comment.109
WarningsMissing a Javadoc comment.114
WarningsMissing a Javadoc comment.119
WarningsMissing a Javadoc comment.124
WarningsMissing a Javadoc comment.129
WarningsMissing a Javadoc comment.134
WarningsMissing a Javadoc comment.143
WarningsMissing a Javadoc comment.148
WarningsMissing a Javadoc comment.153
WarningsMissing a Javadoc comment.158
WarningsMissing a Javadoc comment.163
WarningsMissing a Javadoc comment.168
WarningsMissing a Javadoc comment.173

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

ViolationMessageLine
WarningsExpected an @return tag.364
WarningsExpected @param tag for 'path'.364
WarningsExpected @param tag for 'war'.364
WarningsExpected @param tag for 'update'.364
WarningsExpected @param tag for 'tag'.364
WarningsExpected @param tag for 'length'.364
WarningsExpected @throws tag for 'TomcatManagerException'.365
WarningsExpected @throws tag for 'IOException'.365
WarningsExpected @param tag for 'length'.697
Errorsswitch without "default" clause.725
ErrorsLine is longer than 120 characters.732
WarningsMissing a Javadoc comment.747
Warnings'username' hides a field.763
Warnings'password' hides a field.763
Errors'static' modifier out of order with the JLS suggestions.778
ErrorsRedundant throws: 'IllegalStateException' is unchecked exception.806
ErrorsInner assignments should be avoided.838
Warnings'url' hides a field.877
Errors'1023' is a magic number.939

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.43
Warnings'statusCode' hides a field.43
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.54
Warnings'reasonPhrase' hides a field.54
WarningsMissing a Javadoc comment.60
WarningsMissing a Javadoc comment.65
Warnings'httpResponseBody' hides a field.65

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

ViolationMessageLine
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.51

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

ViolationMessageLine
WarningsMissing a Javadoc comment.30
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.36

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

ViolationMessageLine
ErrorsUnused import - java.util.List.22
ErrorsLine is longer than 120 characters.30
WarningsMissing a Javadoc comment.30

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

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

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.46
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.56
WarningsMissing a Javadoc comment.61

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

ViolationMessageLine
Errors'(' is not followed by whitespace.48
Errors')' is not preceded with whitespace.48
WarningsMissing a Javadoc comment.57
Errors'(' is not followed by whitespace.69
Errors')' is not preceded with whitespace.69
Errors';' is not followed by whitespace.71
ErrorsLine is longer than 120 characters.116
ErrorsLine is longer than 120 characters.117
WarningsMissing a Javadoc comment.217
Errors'(' is not followed by whitespace.223
Errors')' is not preceded with whitespace.223

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

ViolationMessageLine
WarningsExpected @param tag for 'log'.64
WarningsExpected an @return tag.130

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

ViolationMessageLine
WarningsMissing a Javadoc comment.29

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

ViolationMessageLine
WarningsMissing a Javadoc comment.53
Errors'40000' is a magic number.70

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

ViolationMessageLine
WarningsMissing a Javadoc comment.53
Errors'40000' is a magic number.70

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

ViolationMessageLine
WarningsMissing a Javadoc comment.54
WarningsExpected @throws tag for 'VerificationException'.74
ErrorsUnable to get class information for VerificationException.74

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

ViolationMessageLine
WarningsMissing a Javadoc comment.74
WarningsExpected @throws tag for 'VerificationException'.102
ErrorsUnable to get class information for VerificationException.102

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

ViolationMessageLine
WarningsMissing a Javadoc comment.59

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

ViolationMessageLine
WarningsMissing a Javadoc comment.80
WarningsMissing a Javadoc comment.102
ErrorsUnable to get class information for VerificationException.119
WarningsExpected @throws tag for 'IOException'.119
Errors'200' is a magic number.152
Errors'500' is a magic number.155
WarningsMissing a Javadoc comment.202
Errors'15000' is a magic number.204
WarningsMissing a Javadoc comment.207
WarningsMissing a Javadoc comment.212
WarningsMissing a Javadoc comment.217

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.128
ErrorsUnable to get class information for MojoExecutionException.158
ErrorsUnable to get class information for MojoExecutionException.167
Warnings'password' hides a field.173

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.76
ErrorsUnable to get class information for MojoExecutionException.109
ErrorsUnable to get class information for MojoExecutionException.127
ErrorsUnable to get class information for MojoExecutionException.164
ErrorsUnable to get class information for MojoExecutionException.182
ErrorsUnable to get class information for MojoExecutionException.200

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.64
ErrorsUnable to get class information for MojoExecutionException.78

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
InfosMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.51

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.287
InfosMissing a Javadoc comment.425
InfosMissing a Javadoc comment.428
ErrorsUnable to get class information for MojoExecutionException.439
ErrorsRedundant throws: 'MojoFailureException' listed more then one time.439
ErrorsUnable to get class information for MojoFailureException.439
ErrorsUnable to get class information for MojoExecutionException.514
Warnings'contextFile' hides a field.533
ErrorsUnable to get class information for MojoExecutionException.549
WarningsExpected @throws tag for 'MojoExecutionException'.569
ErrorsUnable to get class information for MojoExecutionException.569
WarningsExpected @throws tag for 'MojoExecutionException'.624
ErrorsUnable to get class information for MojoExecutionException.624
ErrorsUnable to get class information for MojoExecutionException.659
ErrorsRedundant throws: 'MavenFilteringException' listed more then one time.659
ErrorsUnable to get class information for MavenFilteringException.659
ErrorsMethod length is 157 lines (max allowed is 150).762
ErrorsUnable to get class information for LifecycleException.763
ErrorsRedundant throws: 'MojoExecutionException' listed more then one time.763
ErrorsUnable to get class information for MojoExecutionException.763
WarningsMissing a Javadoc comment.931
ErrorsUnable to get class information for MojoExecutionException.932
WarningsMissing a Javadoc comment.965
ErrorsUnable to get class information for MojoExecutionException.1027
ErrorsUnable to get class information for MojoExecutionException.1061
Warnings'webapps' hides a field.1064
Warnings'contextFile' hides a field.1094
ErrorsUnable to get class information for MojoExecutionException.1128

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.60

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.66

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

ViolationMessageLine
WarningsExpected @param tag for 'log'.64
WarningsExpected an @return tag.130

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.66

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
ErrorsUnused import - org.apache.maven.plugins.annotations.Execute.21
ErrorsUnused import - org.apache.maven.plugins.annotations.LifecyclePhase.22

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.57

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.132
ErrorsUnable to get class information for MojoExecutionException.148
ErrorsUnable to get class information for MojoExecutionException.233

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'.4
ErrorsUnable to get class information for MojoExecutionException.69

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.46

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.57

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.40

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.128
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.153
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.160
ErrorsUnable to get class information for MojoExecutionException.160
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.166
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.170
ErrorsUnable to get class information for MojoExecutionException.170
Warnings'password' hides a field.176

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
InfosMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.48

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.60

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.77
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.107
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.111
ErrorsUnable to get class information for MojoExecutionException.111
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.126
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.130
ErrorsUnable to get class information for MojoExecutionException.130
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.162
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.169
ErrorsUnable to get class information for MojoExecutionException.169
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.182
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.189
ErrorsUnable to get class information for MojoExecutionException.189
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.202
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.209
ErrorsUnable to get class information for MojoExecutionException.209

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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.65
ErrorsUnable to get class information for MojoExecutionException.79

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

ViolationMessageLine
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

ViolationMessageLine
Errors'(' is not followed by whitespace.30
Errors')' is not preceded with whitespace.30

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

ViolationMessageLine
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

ViolationMessageLine
ErrorsUnable to get class information for MojoExecutionException.58

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
ErrorsUnused import - java.io.InputStream.53
InfosMissing a Javadoc comment.72
InfosMissing a Javadoc comment.81
InfosMissing a Javadoc comment.84
InfosMissing a Javadoc comment.93
InfosMissing a Javadoc comment.96
InfosMissing a Javadoc comment.113
InfosMissing a Javadoc comment.116
InfosMissing a Javadoc comment.137
ErrorsMethod length is 250 lines (max allowed is 150).200
WarningsMissing a Javadoc comment.200
ErrorsUnable to get class information for MojoExecutionException.201
ErrorsRedundant throws: 'MojoFailureException' listed more then one time.201
ErrorsUnable to get class information for MojoFailureException.201
ErrorsLine is longer than 120 characters.347
WarningsMissing a Javadoc comment.453
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.455
ErrorsUnable to get class information for MojoExecutionException.487
WarningsMissing a Javadoc comment.499
WarningsExpected an @return tag.518
WarningsExpected @param tag for 'contextXmlFile'.518
WarningsExpected @param tag for 'warFile'.518
WarningsExpected @throws tag for 'IOException'.519
WarningsExpected @throws tag for 'ArchiveException'.519
ErrorsUnable to get class information for ArchiveException.519
WarningsExpected @throws tag for 'IOException'.554

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
ErrorsLine is longer than 120 characters.308
InfosMissing a Javadoc comment.433
ErrorsLine is longer than 120 characters.462
InfosMissing a Javadoc comment.469
ErrorsUnable to get class information for MojoExecutionException.489
ErrorsRedundant throws: 'MojoFailureException' listed more then one time.489
ErrorsUnable to get class information for MojoFailureException.489
ErrorsUnable to get class information for MojoExecutionException.567
WarningsExpected @throws tag for 'ServletException'.567
ErrorsRedundant throws: 'ServletException' listed more then one time.567
ErrorsUnable to get class information for ServletException.567
WarningsMissing a Javadoc comment.637
ErrorsUnable to get class information for MojoExecutionException.638
ErrorsUnable to get class information for MojoExecutionException.721
WarningsExpected @throws tag for 'MojoExecutionException'.741
ErrorsUnable to get class information for MojoExecutionException.741
WarningsExpected @throws tag for 'MojoExecutionException'.796
ErrorsUnable to get class information for MojoExecutionException.796
ErrorsUnable to get class information for MojoExecutionException.832
ErrorsRedundant throws: 'MavenFilteringException' listed more then one time.832
ErrorsUnable to get class information for MavenFilteringException.832
ErrorsMethod length is 207 lines (max allowed is 150).939
ErrorsUnable to get class information for LifecycleException.940
ErrorsRedundant throws: 'MojoExecutionException' listed more then one time.940
ErrorsUnable to get class information for MojoExecutionException.940
ErrorsRedundant throws: 'ServletException' listed more then one time.940
ErrorsUnable to get class information for ServletException.940
WarningsMissing a Javadoc comment.1158
ErrorsUnable to get class information for MojoExecutionException.1159
WarningsMissing a Javadoc comment.1193
ErrorsUnable to get class information for MojoExecutionException.1255
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1255
ErrorsRedundant throws: 'ServletException' listed more then one time.1255
ErrorsUnable to get class information for ServletException.1255
ErrorsUnable to get class information for MojoExecutionException.1290
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1290
ErrorsRedundant throws: 'ServletException' listed more then one time.1290
ErrorsUnable to get class information for ServletException.1290
Warnings'webapps' hides a field.1293
Warnings'contextFile' hides a field.1333
ErrorsUnable to get class information for MojoExecutionException.1368

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.42

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

ViolationMessageLine
ErrorsLine 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
ErrorsMethod length is 205 lines (max allowed is 150).71
WarningsMissing a Javadoc comment.71
ErrorsUnable to get class information for MojoExecutionException.72
ErrorsRedundant throws: 'MojoFailureException' listed more then one time.72
ErrorsUnable to get class information for MojoFailureException.72
ErrorsLine is longer than 120 characters.173

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.45

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
ErrorsUnused import - org.apache.maven.shared.filtering.MavenFileFilter.32
ErrorsUnable to get class information for MojoExecutionException.135
ErrorsUnable to get class information for MojoExecutionException.225

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'.4
WarningsUnable to get class information for @throws tag 'org.apache.maven.plugin.MojoExecutionException'.67
WarningsUnable to get class information for @throws tag 'MojoExecutionException'.71
ErrorsUnable to get class information for MojoExecutionException.71

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

ViolationMessageLine
ErrorsLine 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

ViolationMessageLine
ErrorsLine 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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
InfosMissing a Javadoc comment.32
ErrorsVariable 'dependency' must be private and have accessor methods.32
InfosMissing a Javadoc comment.34
ErrorsVariable 'contextPath' must be private and have accessor methods.34
InfosMissing a Javadoc comment.36
ErrorsVariable 'contextXml' must be private and have accessor methods.36
WarningsMissing a Javadoc comment.38

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

ViolationMessageLine
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.40

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.37
InfosMissing a Javadoc comment.43
ErrorsName '__OBFUSCATE' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.43
WarningsMissing 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
WarningsMissing a Javadoc comment.78
Errors'36' is a magic number.89
Errors'254' is a magic number.92
WarningsMissing a Javadoc comment.103
WarningsMissing a Javadoc comment.120

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
InfosMissing a Javadoc comment.63
InfosMissing a Javadoc comment.66
InfosMissing a Javadoc comment.68
InfosMissing a Javadoc comment.70
InfosMissing a Javadoc comment.72
InfosMissing a Javadoc comment.74
InfosMissing a Javadoc comment.82
ErrorsVariable 'httpPort' must be private and have accessor methods.82
InfosMissing a Javadoc comment.84
ErrorsVariable 'httpsPort' must be private and have accessor methods.84
InfosMissing a Javadoc comment.86
ErrorsVariable 'ajpPort' must be private and have accessor methods.86
InfosMissing a Javadoc comment.88
ErrorsVariable 'serverXmlPath' must be private and have accessor methods.88
InfosMissing a Javadoc comment.90
ErrorsVariable 'runtimeProperties' must be private and have accessor methods.90
InfosMissing a Javadoc comment.92
ErrorsVariable 'resetExtract' must be private and have accessor methods.92
InfosMissing a Javadoc comment.94
ErrorsVariable 'debug' must be private and have accessor methods.94
InfosMissing a Javadoc comment.96
ErrorsVariable 'clientAuth' must be private and have accessor methods.96
InfosMissing a Javadoc comment.98
ErrorsVariable 'keyAlias' must be private and have accessor methods.98
InfosMissing a Javadoc comment.100
ErrorsVariable 'httpProtocol' must be private and have accessor methods.100
InfosMissing a Javadoc comment.102
ErrorsVariable 'extractDirectory' must be private and have accessor methods.102
InfosMissing a Javadoc comment.104
ErrorsVariable 'extractDirectoryFile' must be private and have accessor methods.104
InfosMissing a Javadoc comment.106
ErrorsVariable 'codeSourceContextPath' must be private and have accessor methods.106
InfosMissing a Javadoc comment.108
ErrorsVariable 'codeSourceWar' must be private and have accessor methods.108
InfosMissing a Javadoc comment.110
ErrorsVariable 'loggerName' must be private and have accessor methods.110
WarningsMissing a Javadoc comment.123
ErrorsMethod length is 283 lines (max allowed is 150).128
WarningsMissing a Javadoc comment.128
ErrorsAvoid nested blocks.197
ErrorsMissing a Javadoc comment.414
WarningsMissing a Javadoc comment.418
WarningsMissing a Javadoc comment.492
WarningsMissing a Javadoc comment.505
ErrorsLine is longer than 120 characters.633
Errors'2048' is a magic number.681
WarningsMissing a Javadoc comment.708
WarningsMissing a Javadoc comment.714
WarningsMissing a Javadoc comment.723
Warnings'loggerName' hides a field.728
ErrorsRedundant throws: 'SecurityException' is unchecked exception.729
ErrorsRedundant throws: 'IllegalArgumentException' is unchecked exception.729
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.762
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.783

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
InfosMissing a Javadoc comment.43
WarningsMissing a Javadoc comment.104
WarningsMissing a Javadoc comment.217