Checkstyle Results
The following document contains the results of Checkstyle.
Files
Rules
Rules | Violations | Severity |
---|---|---|
FileLength | 0 | Error |
RegexpHeader
| 10 | Error |
FileTabCharacter
| 0 | Error |
LeftCurly
| 0 | Error |
RightCurly
| 0 | Error |
LineLength
| 5 | Error |
MemberName | 0 | Error |
JavadocMethod
| 8 | Warning |
JavadocType
| 19 | Error |
JavadocVariable
| 3 | Info |
ConstantName | 0 | 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
| 3 | Warning |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber
| 0 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier
| 3 | Error |
UpperEll | 0 | Error |
Details
org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java
Violation | Message | Line |
---|---|---|
'password' hides a field. | 187 |
org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Missing a Javadoc comment. | 50 |
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java
Violation | Message | Line |
---|---|---|
Unknown tag 'goal'. | 27 | |
Unknown tag 'execute'. | 28 |
org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java
Violation | Message | Line |
---|---|---|
Unknown tag 'goal'. | 27 |
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Line is longer than 120 characters. | 111 | |
Line is longer than 120 characters. | 204 | |
Line is longer than 120 characters. | 227 | |
Method length is 256 lines (max allowed is 150). | 240 | |
Missing a Javadoc comment. | 240 | |
Line is longer than 120 characters. | 382 |
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Expected @throws tag for 'ServletException'. | 404 | |
'contextFile' hides a field. | 416 | |
Expected @throws tag for 'MojoExecutionException'. | 453 | |
Expected @throws tag for 'MojoExecutionException'. | 508 | |
Missing a Javadoc comment. | 782 | |
Missing a Javadoc comment. | 818 | |
'contextFile' hides a field. | 927 |
org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java
Violation | Message | Line |
---|---|---|
Unknown tag 'requiresDependencyResolution'. | 27 | |
Unknown tag 'todo'. | 30 |
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Unknown tag 'goal'. | 23 | |
Unknown tag 'execute'. | 24 |
org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Unknown tag 'goal'. | 23 |
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraDependency.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 |
org/apache/tomcat/maven/plugin/tomcat7/run/ExtraResource.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 |
org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Unknown tag 'goal'. | 47 | |
Unknown tag 'execute'. | 48 | |
Unknown tag 'requiresDependencyResolution'. | 49 |
org/apache/tomcat/maven/plugin/tomcat7/run/RunWarMojo.java
Violation | Message | Line |
---|---|---|
Unknown tag 'goal'. | 26 | |
Unknown tag 'execute'. | 27 | |
Unknown tag 'requiresDependencyResolution'. | 28 | |
Unknown tag 'todo'. | 31 |
org/apache/tomcat/maven/plugin/tomcat7/run/RunWarOnlyMojo.java
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 24 | |
Unknown tag 'goal'. | 27 | |
Unknown tag 'requiresDependencyResolution'. | 28 |
org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. | 4 | |
Unknown tag 'goal'. | 38 | |
Unknown tag 'requiresDependencyResolution'. | 39 |
org/apache/tomcat/maven/plugin/tomcat7/run/WarRunDependency.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of '^\s*$'. | 2 | |
Missing a Javadoc comment. | 32 | |
Variable 'dependency' must be private and have accessor methods. | 32 | |
Missing a Javadoc comment. | 34 | |
Variable 'contextPath' must be private and have accessor methods. | 34 | |
Missing a Javadoc comment. | 36 | |
Variable 'contextXml' must be private and have accessor methods. | 36 | |
Missing a Javadoc comment. | 38 |