Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
1958130116

Rules

RulesViolationsSeverity
LeftCurly
  • option: "nl"
6error Error
RightCurly
  • option: "alone"
0error Error
LineLength
  • ignorePattern: "@version|@see|@todo|TODO"
  • max: "120"
2error Error
MemberName10error Error
JavadocMethod128warning Warning
JavadocType2error Error
JavadocVariable58info Info
ConstantName2error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName1error Error
TypeName0error Error
RegexpHeader
  • headerFile: "/home/sheadrick/projects/maven/ounce-maven-plugin/target/checkout/target/checkstyle-header.txt"
19error Error
AvoidStarImport1error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
MethodLength0error Error
ParameterNumber10error Error
EmptyForIteratorPad
  • option: "space"
0error Error
OperatorWrap2error Error
ParenPad
  • option: "space"
4error Error
TabCharacter7error Error
WhitespaceAfter0error Error
WhitespaceAround0error Error
ModifierOrder4error Error
RedundantModifier2error Error
AvoidNestedBlocks1error Error
EmptyBlock
  • option: "text"
0error Error
NeedBraces0error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode1error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2warning Warning
IllegalInstantiation0error Error
InnerAssignment0error 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"
0error Error
MissingSwitchDefault0error Error
RedundantThrows0error Error
SimplifyBooleanExpression2error Error
SimplifyBooleanReturn0error Error
InterfaceIsType0error Error
VisibilityModifier
  • protectedAllowed: "true"
40error Error
UpperEll0error Error

Details

org/codehaus/mojo/ounce/ApplicationMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorLine is longer than 120 characters.109
warningMissing a Javadoc comment.122
warningExpected an @return tag.185
warningExpected @param tag for 'theProjects'.185
warning'includes' hides a field.185
warningExpected @param tag for 'includes'.185
warning'excludes' hides a field.185
warningExpected @param tag for 'excludes'.185
warningExpected @throws tag for 'IOException'.186
warningExpected @throws tag for 'IOException'.223
warningExpected an @return tag.250
warningExpected @param tag for 'theProjects'.250
warningExpected @param tag for 'core'.377
warningExpected @throws tag for 'MojoExecutionException'.378
warningExpected @throws tag for 'OunceCoreException'.378
warningExpected @throws tag for 'IOException'.378
warningExpected an @return tag.410
warningExpected @param tag for 'app'.410
warningExpected @param tag for 'extern'.410
warningExpected @throws tag for 'IOException'.411

org/codehaus/mojo/ounce/core/OunceCoreScan.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.36
errorVariable 'applicationFile' must be private and have accessor methods.36
infoMissing a Javadoc comment.38
errorVariable 'assessmentName' must be private and have accessor methods.38
infoMissing a Javadoc comment.40
errorVariable 'assessmentOutput' must be private and have accessor methods.40
infoMissing a Javadoc comment.42
errorVariable 'caller' must be private and have accessor methods.42
infoMissing a Javadoc comment.44
errorVariable 'reportType' must be private and have accessor methods.44
infoMissing a Javadoc comment.46
errorVariable 'reportOutputType' must be private and have accessor methods.46
infoMissing a Javadoc comment.48
errorVariable 'reportOutputLocation' must be private and have accessor methods.48
infoMissing a Javadoc comment.50
errorVariable 'publish' must be private and have accessor methods.50
infoMissing a Javadoc comment.52
errorName 'OunceOptions' must match pattern '^[a-z][a-zA-Z0-9]*$'.52
errorVariable 'OunceOptions' must be private and have accessor methods.52
warningMissing a Javadoc comment.54
errorMore than 7 parameters.54
warningMissing a Javadoc comment.126
warningMissing a Javadoc comment.131

org/codehaus/mojo/ounce/AbstractOunceMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorVariable 'pathVariableMap' must be private and have accessor methods.72
infoMissing a Javadoc comment.107
warningMissing a Javadoc comment.109
warningMissing a Javadoc comment.115

org/codehaus/mojo/ounce/utils/Utils.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.45
errorName 'propertyFormat' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.45
warningExpected an @return tag.81
error'public' modifier out of order with the JLS suggestions.81
warningExpected @param tag for 'path'.81
warningExpected @param tag for 'pathProperties'.81
warningUnused @param tag for 'pathVariableMap'.102
error'public' modifier out of order with the JLS suggestions.105
warningExpected @param tag for 'paths'.105
warningExpected @param tag for 'pathProperties'.105
error'public' modifier out of order with the JLS suggestions.127
warningExpected an @return tag.147
error'public' modifier out of order with the JLS suggestions.147
warningExpected @param tag for 'pName'.147
warningExpected an @return tag.165
warningExpected @param tag for 'obj'.165

org/codehaus/mojo/ounce/core/OunceCoreConsole.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
warningMissing a Javadoc comment.47
warningMissing a Javadoc comment.65
errorMore than 7 parameters.65
warningMissing a Javadoc comment.89
errorMore than 7 parameters.89
warningMissing a Javadoc comment.112
warningMissing a Javadoc comment.124
warningMissing a Javadoc comment.131
warningMissing a Javadoc comment.137

org/codehaus/mojo/ounce/ScanMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorVariable 'applicationFile' must be private and have accessor methods.59
errorVariable 'assessmentName' must be private and have accessor methods.66
errorVariable 'assessmentOutput' must be private and have accessor methods.74
errorVariable 'caller' must be private and have accessor methods.81
errorVariable 'reportType' must be private and have accessor methods.93
errorVariable 'reportOutputType' must be private and have accessor methods.101
errorVariable 'reportOutputPath' must be private and have accessor methods.108
errorVariable 'includeSrcBefore' must be private and have accessor methods.115
errorVariable 'includeSrcAfter' must be private and have accessor methods.122
errorVariable 'publish' must be private and have accessor methods.129
errorVariable 'installDir' must be private and have accessor methods.136
errorVariable 'waitForScan' must be private and have accessor methods.145
warningMissing a Javadoc comment.158
errorLine is longer than 120 characters.198
warningExpected an @return tag.208
warningExpected an @return tag.249
errorRedundant 'final' modifier.249
warningExpected @param tag for 'o'.249

org/codehaus/mojo/ounce/ProjectMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1

org/codehaus/mojo/ounce/core/OunceCoreApplication.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorMissing a Javadoc comment.32
infoMissing a Javadoc comment.34
errorVariable 'name' must be private and have accessor methods.34
infoMissing a Javadoc comment.36
errorVariable 'applicationRoot' must be private and have accessor methods.36
infoMissing a Javadoc comment.38
errorVariable 'projects' must be private and have accessor methods.38
infoMissing a Javadoc comment.40
errorVariable 'ounceOptions' must be private and have accessor methods.40
warningMissing a Javadoc comment.42

org/codehaus/mojo/ounce/core/OunceCoreProject.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorMissing a Javadoc comment.32
infoMissing a Javadoc comment.34
errorVariable 'name' must be private and have accessor methods.34
infoMissing a Javadoc comment.36
errorVariable 'projectRoot' must be private and have accessor methods.36
infoMissing a Javadoc comment.38
errorVariable 'sourceRoots' must be private and have accessor methods.38
infoMissing a Javadoc comment.40
errorVariable 'webRoot' must be private and have accessor methods.40
infoMissing a Javadoc comment.42
errorVariable 'classPath' must be private and have accessor methods.42
infoMissing a Javadoc comment.44
errorVariable 'jdkName' must be private and have accessor methods.44
infoMissing a Javadoc comment.46
errorVariable 'packaging' must be private and have accessor methods.46
infoMissing a Javadoc comment.48
errorVariable 'compilerOptions' must be private and have accessor methods.48
infoMissing a Javadoc comment.50
errorVariable 'ounceOptions' must be private and have accessor methods.50
warningMissing a Javadoc comment.52
errorMore than 7 parameters.52

org/codehaus/mojo/ounce/ReportMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^/\*\s*$'.3
errorVariable 'existingAssessmentFile' must be private and have accessor methods.42
warningMissing a Javadoc comment.61
warningMissing a Javadoc comment.66
warningMissing a Javadoc comment.71
warningMissing a Javadoc comment.76
warningExpected an @return tag.84
warningMissing a Javadoc comment.89
warningMissing a Javadoc comment.94
warningMissing a Javadoc comment.111
warningMissing a Javadoc comment.116
warningExpected an @return tag.148
warningExpected an @return tag.156
warningExpected @param tag for 'outputDirectory'.164

org/codehaus/mojo/ounce/core/OunceProjectBean.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.40
errorVariable 'name' must be private and have accessor methods.40
infoMissing a Javadoc comment.42
errorVariable 'path' must be private and have accessor methods.42
warningMissing a Javadoc comment.44
warningMissing a Javadoc comment.51
errorDefinition of 'equals()' without corresponding definition of 'hashCode()'.88
warningMissing a Javadoc comment.88
warningMissing a Javadoc comment.99

org/codehaus/mojo/ounce/core/OunceCore.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.42
infoMissing a Javadoc comment.44
errorRedundant 'public' modifier.44
errorName 'container' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
warningExpected @throws tag for 'OunceCoreException'.59
warningMissing a Javadoc comment.61
errorMore than 7 parameters.82
warningExpected @throws tag for 'OunceCoreException'.86
warningMissing a Javadoc comment.88
errorMore than 7 parameters.108
warningExpected @param tag for 'log'.110
warningExpected @throws tag for 'OunceCoreException'.111
warningExpected @param tag for 'pathVariableMap'.119
warningExpected @param tag for 'installDir'.119
warningExpected @param tag for 'log'.119
warningExpected @throws tag for 'OunceCoreException'.120

org/codehaus/mojo/ounce/utils/ExternalApplication.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.35
infoMissing a Javadoc comment.37
infoMissing a Javadoc comment.39
warningMissing a Javadoc comment.41
warningMissing a Javadoc comment.102
error'+' should be on a new line.104

org/codehaus/mojo/ounce/utils/ProjectFileInfo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.42
warningMissing a Javadoc comment.44
warningMissing a Javadoc comment.55
warningMissing a Javadoc comment.66
warningMissing a Javadoc comment.85
warningMissing a Javadoc comment.95

org/codehaus/mojo/ounce/core/OunceCoreXml.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
warningMissing a Javadoc comment.60
warningMissing a Javadoc comment.95
errorMore than 7 parameters.95
warningMissing a Javadoc comment.155
warningMissing a Javadoc comment.181
warningMissing a Javadoc comment.208
errorMore than 7 parameters.208
errorAvoid nested blocks.219
warningMissing a Javadoc comment.239

org/codehaus/mojo/ounce/ProjectOnlyMojo.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.57
infoMissing a Javadoc comment.59
errorVariable 'installDir' must be private and have accessor methods.105
warningMissing a Javadoc comment.142
errorLine contains a tab character.149
warningExpected an @return tag.229
warningExpected @throws tag for 'MojoExecutionException'.230
warningExpected @throws tag for 'MojoExecutionException'.262
error'+' should be on a new line.289
error'{' should be on a new line.384
errorLine contains a tab character.385
warningUnused @param tag for 'toAnalyzeStrutsFramework'.389
error'(' is not followed by whitespace.391
warningExpected @param tag for 'analyzeStrutsFramework'.391
error')' is not preceded with whitespace.391
error'{' should be on a new line.391
errorLine contains a tab character.392
error'{' should be on a new line.398
errorLine contains a tab character.399
error'(' is not followed by whitespace.405
error')' is not preceded with whitespace.405
error'{' should be on a new line.405
errorLine contains a tab character.406

org/codehaus/mojo/ounce/core/OunceCoreXmlSerializer.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
infoMissing a Javadoc comment.64
errorName 'm_existingProjectAttributes' must match pattern '^[a-z][a-zA-Z0-9]*$'.64
warningMissing a Javadoc comment.66
warningMissing a Javadoc comment.151
warningMissing a Javadoc comment.216
errorMore than 7 parameters.216
errorExpression can be simplified.260
error'{' should be on a new line.260
errorLine contains a tab character.261
errorExpression can be simplified.264
error'{' should be on a new line.264
errorLine contains a tab character.265
warningMissing a Javadoc comment.365
warningMissing a Javadoc comment.421
warningMissing a Javadoc comment.475
warningMissing a Javadoc comment.534
warningMissing a Javadoc comment.553
warningMissing a Javadoc comment.620
warningMissing a Javadoc comment.736
errorMore than 7 parameters.736
warningMissing a Javadoc comment.852
warningMissing a Javadoc comment.891

org/codehaus/mojo/ounce/core/XmlWriter.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
errorUsing the '.*' form of import should be avoided - org.w3c.dom.*.29
infoMissing a Javadoc comment.45
infoMissing a Javadoc comment.47
infoMissing a Javadoc comment.49
infoMissing a Javadoc comment.51
infoMissing a Javadoc comment.53
infoMissing a Javadoc comment.55
errorName 'RETURN_CHAR' must match pattern '^[a-z][a-zA-Z0-9]*$'.55
errorVariable 'RETURN_CHAR' must be private and have accessor methods.55
infoMissing a Javadoc comment.57
infoMissing a Javadoc comment.59
infoMissing a Javadoc comment.61
infoMissing a Javadoc comment.63
infoMissing a Javadoc comment.65
infoMissing a Javadoc comment.67
infoMissing a Javadoc comment.69
infoMissing a Javadoc comment.71
infoMissing a Javadoc comment.73
infoMissing a Javadoc comment.75
errorName 'm_outstream' must match pattern '^[a-z][a-zA-Z0-9]*$'.75
infoMissing a Javadoc comment.77
errorName 'm_writer' must match pattern '^[a-z][a-zA-Z0-9]*$'.77
infoMissing a Javadoc comment.79
errorName 'm_formatXml' must match pattern '^[a-z][a-zA-Z0-9]*$'.79
infoMissing a Javadoc comment.81
errorName 'm_attributesOnSameLine' must match pattern '^[a-z][a-zA-Z0-9]*$'.81
infoMissing a Javadoc comment.83
errorName 'm_attributeOrder' must match pattern '^[a-z][a-zA-Z0-9]*$'.83
infoMissing a Javadoc comment.85
errorName 'm_tabs' must match pattern '^[a-z][a-zA-Z0-9]*$'.85
infoMissing a Javadoc comment.87
errorName 'm_writeEmptyValues' must match pattern '^[a-z][a-zA-Z0-9]*$'.87
infoMissing a Javadoc comment.89
errorName 'm_defaultToAttributesOnSameLine' must match pattern '^[a-z][a-zA-Z0-9]*$'.89
warningMissing a Javadoc comment.91
warningMissing a Javadoc comment.96
warningMissing a Javadoc comment.105
warningMissing a Javadoc comment.110
warningMissing a Javadoc comment.115
warningMissing a Javadoc comment.120
warningMissing a Javadoc comment.125
warningMissing a Javadoc comment.143
warningMissing a Javadoc comment.206
warningMissing a Javadoc comment.216
warningMissing a Javadoc comment.224
warningMissing a Javadoc comment.233
warningMissing a Javadoc comment.242
warningMissing a Javadoc comment.251
warningMissing a Javadoc comment.331
warningMissing a Javadoc comment.340
warningMissing a Javadoc comment.348
warningMissing a Javadoc comment.357
warningMissing a Javadoc comment.366
warningMissing a Javadoc comment.373
warningMissing a Javadoc comment.381
warningMissing a Javadoc comment.389

org/codehaus/mojo/ounce/core/OunceCoreException.java

ViolationMessageLine
errorLine does not match expected header line of '^package '.1
warningMissing a Javadoc comment.41
warningMissing a Javadoc comment.46
warningMissing a Javadoc comment.51
warningMissing a Javadoc comment.56