Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
3 24 15 37

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
2 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"
2 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
14 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1 Errors Error
JavadocVariable
  • scope: "protected"
24 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 0 Errors Error
MethodLength 1 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 0 Errors Error
ParenPad
  • option: "space"
2 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 0 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"
1 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"
7 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 4 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
16 Errors Error
UpperEll 0 Errors Error

Details

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 'maxPostSize' must be private and have accessor methods. 90
Errors '2097152' is a magic number. 90
Infos Missing a Javadoc comment. 92
Errors Variable 'ajpPort' must be private and have accessor methods. 92
Infos Missing a Javadoc comment. 94
Errors Variable 'serverXmlPath' must be private and have accessor methods. 94
Infos Missing a Javadoc comment. 96
Errors Variable 'runtimeProperties' must be private and have accessor methods. 96
Infos Missing a Javadoc comment. 98
Errors Variable 'resetExtract' must be private and have accessor methods. 98
Infos Missing a Javadoc comment. 100
Errors Variable 'debug' must be private and have accessor methods. 100
Infos Missing a Javadoc comment. 102
Errors Variable 'clientAuth' must be private and have accessor methods. 102
Infos Missing a Javadoc comment. 104
Errors Variable 'keyAlias' must be private and have accessor methods. 104
Infos Missing a Javadoc comment. 106
Errors Variable 'httpProtocol' must be private and have accessor methods. 106
Infos Missing a Javadoc comment. 108
Errors Variable 'extractDirectory' must be private and have accessor methods. 108
Infos Missing a Javadoc comment. 110
Errors Variable 'extractDirectoryFile' must be private and have accessor methods. 110
Infos Missing a Javadoc comment. 112
Errors Variable 'codeSourceContextPath' must be private and have accessor methods. 112
Infos Missing a Javadoc comment. 114
Errors Variable 'codeSourceWar' must be private and have accessor methods. 114
Infos Missing a Javadoc comment. 116
Errors Variable 'loggerName' must be private and have accessor methods. 116
Warnings Missing a Javadoc comment. 129
Errors Method length is 285 lines (max allowed is 150). 134
Warnings Missing a Javadoc comment. 134
Errors Avoid nested blocks. 203
Errors Missing a Javadoc comment. 422
Warnings Missing a Javadoc comment. 426
Warnings Missing a Javadoc comment. 516
Warnings Missing a Javadoc comment. 529
Errors Line is longer than 120 characters. 664
Errors '2048' is a magic number. 712
Warnings Missing a Javadoc comment. 739
Warnings Missing a Javadoc comment. 745
Warnings Missing a Javadoc comment. 754
Warnings 'loggerName' hides a field. 759
Errors Redundant throws: 'SecurityException' is unchecked exception. 760
Errors Redundant throws: 'IllegalArgumentException' is unchecked exception. 760
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 793
Errors Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 814

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

Violation Message Line
Errors Line does not match expected header line of '^\s*$'. 2
Errors '(' is not followed by whitespace. 39
Errors ')' is not preceded with whitespace. 39
Infos Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 108
Warnings Missing a Javadoc comment. 234