Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
3201430

Rules

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

Details

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.57
InfosMissing a Javadoc comment.60
InfosMissing a Javadoc comment.62
InfosMissing a Javadoc comment.64
InfosMissing a Javadoc comment.66
InfosMissing a Javadoc comment.74
ErrorsVariable 'httpPort' must be private and have accessor methods.74
InfosMissing a Javadoc comment.76
ErrorsVariable 'httpsPort' must be private and have accessor methods.76
InfosMissing a Javadoc comment.78
ErrorsVariable 'ajpPort' must be private and have accessor methods.78
InfosMissing a Javadoc comment.80
ErrorsVariable 'serverXmlPath' must be private and have accessor methods.80
InfosMissing a Javadoc comment.82
ErrorsVariable 'runtimeProperties' must be private and have accessor methods.82
InfosMissing a Javadoc comment.84
ErrorsVariable 'resetExtract' must be private and have accessor methods.84
InfosMissing a Javadoc comment.86
ErrorsVariable 'debug' must be private and have accessor methods.86
InfosMissing a Javadoc comment.88
ErrorsVariable 'clientAuth' must be private and have accessor methods.88
InfosMissing a Javadoc comment.90
ErrorsVariable 'keyAlias' must be private and have accessor methods.90
InfosMissing a Javadoc comment.92
ErrorsVariable 'httpProtocol' must be private and have accessor methods.92
InfosMissing a Javadoc comment.94
ErrorsVariable 'extractDirectory' must be private and have accessor methods.94
InfosMissing a Javadoc comment.96
ErrorsVariable 'extractDirectoryFile' must be private and have accessor methods.96
InfosMissing a Javadoc comment.98
ErrorsVariable 'loggerName' must be private and have accessor methods.98
WarningsMissing a Javadoc comment.111
ErrorsMethod length is 239 lines (max allowed is 150).116
WarningsMissing a Javadoc comment.116
ErrorsAvoid nested blocks.155
WarningsMissing a Javadoc comment.402
WarningsMissing a Javadoc comment.415
ErrorsLine is longer than 120 characters.523
Errors'2048' is a magic number.566
WarningsMissing a Javadoc comment.593
WarningsMissing a Javadoc comment.599
WarningsMissing a Javadoc comment.608
Warnings'loggerName' hides a field.613
ErrorsRedundant throws: 'SecurityException' is unchecked exception.614
ErrorsRedundant throws: 'IllegalArgumentException' is unchecked exception.614
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.647
ErrorsRedundant throws: 'FileNotFoundException' is subclass of 'IOException'.668

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