Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
28 4 13 16

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
3 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"
1 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
9 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0 Errors Error
JavadocVariable
  • scope: "protected"
4 Infos Info
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 2 Errors Error
MethodLength 1 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 0 Errors Error
ParenPad
  • option: "space"
8 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock
  • option: "text"
0 Errors Error
NeedBraces 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
4 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64, 100, 128, 256, 512, 1000, 1024"
1 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
0 Errors Error
UpperEll 0 Errors Error

Details

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

Violation Message Line
Warnings 'password' hides a field. 173

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 '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
Warnings 'contextFile' hides a field. 582
Warnings Expected @throws tag for 'MojoExecutionException'. 618
Warnings Expected @throws tag for 'MojoExecutionException'. 673
Errors Method length is 197 lines (max allowed is 150). 811
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
Warnings Missing a Javadoc comment. 1054
Warnings 'webapps' hides a field. 1153
Warnings 'contextFile' hides a field. 1183

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/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/ShutdownMojo.java

Violation Message Line
Errors Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4

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

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