Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
2171659

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
11Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
4Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
13Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
7Infos Info
ConstantName0Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
MethodLength2Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
36Errors 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/run/AbstractExecWarMojo.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
Errors'(' is not followed by whitespace.72
Errors')' is not preceded with whitespace.72
Errors'(' is not followed by whitespace.78
Errors')' is not preceded with whitespace.78
Errors'(' is not followed by whitespace.81
Errors')' is not preceded with whitespace.81
Errors'(' is not followed by whitespace.84
Errors')' is not preceded with whitespace.84
Errors'(' is not followed by whitespace.90
Errors')' is not preceded with whitespace.90
Errors'(' is not followed by whitespace.93
Errors')' is not preceded with whitespace.93
Errors'(' is not followed by whitespace.96
Errors')' is not preceded with whitespace.96
Errors'(' is not followed by whitespace.102
Errors')' is not preceded with whitespace.103
Errors'(' is not followed by whitespace.110
Errors')' is not preceded with whitespace.110
InfosMissing a Javadoc comment.113
InfosMissing a Javadoc comment.116
Errors'(' is not followed by whitespace.128
Errors')' is not preceded with whitespace.128
Errors'(' is not followed by whitespace.134
Errors')' is not preceded with whitespace.134
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.151
Errors'(' is not followed by whitespace.158
Errors')' is not preceded with whitespace.158
Errors'(' is not followed by whitespace.164
Errors')' is not preceded with whitespace.164
Errors'(' is not followed by whitespace.170
Errors')' is not preceded with whitespace.171
Errors'(' is not followed by whitespace.190
Errors')' is not preceded with whitespace.191
Errors'(' is not followed by whitespace.197
Errors')' is not preceded with whitespace.197
ErrorsMethod length is 268 lines (max allowed is 150).200
WarningsMissing a Javadoc comment.200
ErrorsLine is longer than 120 characters.347
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.473

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.304
InfosMissing a Javadoc comment.411
WarningsExpected @throws tag for 'ServletException'.529
WarningsMissing a Javadoc comment.583
WarningsExpected @throws tag for 'MojoExecutionException'.687
WarningsExpected @throws tag for 'MojoExecutionException'.742
ErrorsMethod length is 197 lines (max allowed is 150).876
WarningsMissing a Javadoc comment.1085
WarningsMissing a Javadoc comment.1120
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1182
ErrorsRedundant throws: 'MalformedURLException' is subclass of 'IOException'.1217
Warnings'webapps' hides a field.1220
Warnings'contextFile' hides a field.1260

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

ViolationMessageLine
ErrorsLine does not match expected header line of '^\s*$'.2
ErrorsLine is longer than 120 characters.29

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

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

ViolationMessageLine
ErrorsLine is longer than 120 characters.27

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