Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
27142550

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
14Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
5Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
22Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
14Infos Info
ConstantName0Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports2Errors Error
MethodLength3Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
20Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround0Errors Error
ModifierOrder0Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3Warnings Warning
IllegalInstantiation0Errors Error
InnerAssignment0Errors 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"
0Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows3Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
3Errors Error
UpperEll0Errors Error

Details

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

ViolationMessageLine
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/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/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
ErrorsLine is longer than 120 characters.347
WarningsMissing a Javadoc comment.453
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.455
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
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
WarningsExpected @throws tag for 'ServletException'.567
WarningsMissing a Javadoc comment.637
WarningsExpected @throws tag for 'MojoExecutionException'.741
WarningsExpected @throws tag for 'MojoExecutionException'.796
ErrorsMethod length is 207 lines (max allowed is 150).939
WarningsMissing a Javadoc comment.1158
WarningsMissing a Javadoc comment.1193
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1255
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1290
Warnings'webapps' hides a field.1293
Warnings'contextFile' hides a field.1333

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

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

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