Checkstyle Results
The following document contains the results of Checkstyle.
Files
Files | I | W | E |
---|---|---|---|
org/apache/tomcat/maven/runner/PasswordUtil.java | 1 | 4 | 7 |
org/apache/tomcat/maven/runner/Tomcat7Runner.java | 17 | 8 | 19 |
org/apache/tomcat/maven/runner/Tomcat7RunnerCli.java | 1 | 2 | 1 |
Rules
Rules | Violations | Severity |
---|---|---|
FileLength | 0 | Error |
RegexpHeader
| 2 | Error |
FileTabCharacter
| 0 | Error |
LeftCurly
| 0 | Error |
RightCurly
| 0 | Error |
LineLength
| 2 | Error |
MemberName | 0 | Error |
JavadocMethod
| 13 | Warning |
JavadocType
| 0 | Error |
JavadocVariable
| 19 | Info |
ConstantName | 1 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
MethodLength | 1 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad
| 0 | Error |
OperatorWrap | 0 | Error |
ParenPad
| 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock
| 0 | Error |
NeedBraces | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField
| 1 | Warning |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber
| 6 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 2 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier
| 13 | Error |
UpperEll | 0 | Error |
Details
org/apache/tomcat/maven/runner/PasswordUtil.java
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 37 | |
Missing a Javadoc comment. | 43 | |
Name '__OBFUSCATE' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43 | |
Missing a Javadoc comment. | 46 | |
'127' is a magic number. | 56 | |
'127' is a magic number. | 57 | |
'36' is a magic number. | 59 | |
Missing a Javadoc comment. | 78 | |
'36' is a magic number. | 89 | |
'254' is a magic number. | 92 | |
Missing a Javadoc comment. | 103 | |
Missing a Javadoc comment. | 120 |
org/apache/tomcat/maven/runner/Tomcat7Runner.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Missing a Javadoc comment. | 53 | |
Missing a Javadoc comment. | 56 | |
Missing a Javadoc comment. | 58 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 68 | |
Variable 'httpPort' must be private and have accessor methods. | 68 | |
Missing a Javadoc comment. | 70 | |
Variable 'httpsPort' must be private and have accessor methods. | 70 | |
Missing a Javadoc comment. | 72 | |
Variable 'ajpPort' must be private and have accessor methods. | 72 | |
Missing a Javadoc comment. | 74 | |
Variable 'serverXmlPath' must be private and have accessor methods. | 74 | |
Missing a Javadoc comment. | 76 | |
Variable 'runtimeProperties' must be private and have accessor methods. | 76 | |
Missing a Javadoc comment. | 78 | |
Variable 'resetExtract' must be private and have accessor methods. | 78 | |
Missing a Javadoc comment. | 80 | |
Variable 'debug' must be private and have accessor methods. | 80 | |
Missing a Javadoc comment. | 82 | |
Variable 'clientAuth' must be private and have accessor methods. | 82 | |
Missing a Javadoc comment. | 84 | |
Variable 'keyAlias' must be private and have accessor methods. | 84 | |
Missing a Javadoc comment. | 86 | |
Variable 'httpProtocol' must be private and have accessor methods. | 86 | |
Missing a Javadoc comment. | 88 | |
Variable 'extractDirectory' must be private and have accessor methods. | 88 | |
Missing a Javadoc comment. | 90 | |
Variable 'extractDirectoryFile' must be private and have accessor methods. | 90 | |
Missing a Javadoc comment. | 92 | |
Variable 'loggerName' must be private and have accessor methods. | 92 | |
Missing a Javadoc comment. | 105 | |
Method length is 178 lines (max allowed is 150). | 110 | |
Missing a Javadoc comment. | 110 | |
Missing a Javadoc comment. | 335 | |
Missing a Javadoc comment. | 348 | |
Line is longer than 120 characters. | 455 | |
'2048' is a magic number. | 498 | |
Missing a Javadoc comment. | 525 | |
Missing a Javadoc comment. | 531 | |
Missing a Javadoc comment. | 540 | |
'loggerName' hides a field. | 545 | |
Redundant throws: 'SecurityException' is unchecked exception. | 546 | |
Redundant throws: 'IllegalArgumentException' is unchecked exception. | 546 |