Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
47413794

Files

FilesInfosWarningsErrors
org/apache/maven/plugin/dependency/AbstractAnalyzeMojo.java041
org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java0111
org/apache/maven/plugin/dependency/AbstractDependencyMojo.java022
org/apache/maven/plugin/dependency/AbstractFromDependenciesMojo.java040
org/apache/maven/plugin/dependency/AbstractResolveMojo.java058
org/apache/maven/plugin/dependency/AnalyzeDepMgt.java001
org/apache/maven/plugin/dependency/AnalyzeDuplicateMojo.java001
org/apache/maven/plugin/dependency/AnalyzeMojo.java001
org/apache/maven/plugin/dependency/AnalyzeOnlyMojo.java001
org/apache/maven/plugin/dependency/AnalyzeReportMojo.java002
org/apache/maven/plugin/dependency/AnalyzeReportView.java050
org/apache/maven/plugin/dependency/BuildClasspathMojo.java004
org/apache/maven/plugin/dependency/CopyDependenciesMojo.java005
org/apache/maven/plugin/dependency/GetMojo.java001
org/apache/maven/plugin/dependency/ListMojo.java001
org/apache/maven/plugin/dependency/PropertiesMojo.java001
org/apache/maven/plugin/dependency/PurgeLocalRepositoryMojo.java0016
org/apache/maven/plugin/dependency/TreeMojo.java003
org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java005
org/apache/maven/plugin/dependency/fromConfiguration/AbstractFromConfigurationMojo.java032
org/apache/maven/plugin/dependency/fromConfiguration/ArtifactItem.java0104
org/apache/maven/plugin/dependency/fromConfiguration/CopyMojo.java001
org/apache/maven/plugin/dependency/fromConfiguration/UnpackMojo.java001
org/apache/maven/plugin/dependency/resolvers/GoOfflineMojo.java001
org/apache/maven/plugin/dependency/resolvers/ListRepositoriesMojo.java0014
org/apache/maven/plugin/dependency/resolvers/ResolveDependenciesMojo.java001
org/apache/maven/plugin/dependency/resolvers/ResolveDependencySourcesMojo.java001
org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java002
org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java002
org/apache/maven/plugin/dependency/treeSerializers/TGFDependencyNodeVisitor.java001
org/apache/maven/plugin/dependency/utils/DependencySilentLog.java0330
org/apache/maven/plugin/dependency/utils/DependencyStatusSets.java060
org/apache/maven/plugin/dependency/utils/DependencyUtil.java060
org/apache/maven/plugin/dependency/utils/filters/ArtifactItemFilter.java010
org/apache/maven/plugin/dependency/utils/filters/DestFileFilter.java045
org/apache/maven/plugin/dependency/utils/filters/MarkerFileFilter.java132
org/apache/maven/plugin/dependency/utils/filters/ResolveFileFilter.java020
org/apache/maven/plugin/dependency/utils/markers/DefaultFileMarkerHandler.java281
org/apache/maven/plugin/dependency/utils/markers/MarkerHandler.java050
org/apache/maven/plugin/dependency/utils/markers/SourcesFileMarkerHandler.java0120
org/apache/maven/plugin/dependency/utils/markers/UnpackFileMarkerHandler.java152
org/apache/maven/plugin/dependency/utils/resolvers/ArtifactsResolver.java010
org/apache/maven/plugin/dependency/utils/resolvers/DefaultArtifactsResolver.java020
org/apache/maven/plugin/dependency/utils/translators/ArtifactTranslator.java010
org/apache/maven/plugin/dependency/utils/translators/ClassifierTypeTranslator.java040

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
2Errors Error
FileTabCharacter
  • eachLine: "true"
43Errors Error
LeftCurly
  • option: "nl"
1Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
17Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
133Warnings Warning
JavadocType
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
4Infos Info
ConstantName0Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName2Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports2Errors Error
MethodLength0Errors Error
ParameterNumber1Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
1Errors Error
WhitespaceAfter1Errors Error
WhitespaceAround2Errors Error
ModifierOrder1Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
4Warnings 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"
0Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
1Errors Error
UpperEll0Errors Error

Details

org/apache/maven/plugin/dependency/AbstractAnalyzeMojo.java

ViolationMessageLine
WarningsMissing a Javadoc comment.149
WarningsMissing a Javadoc comment.172
Errors',' is not followed by whitespace.188
WarningsMissing a Javadoc comment.192
Warnings'context' hides a field.192

org/apache/maven/plugin/dependency/AbstractDependencyFilterMojo.java

ViolationMessageLine
ErrorsLine does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'.4
WarningsMissing a Javadoc comment.221
WarningsExpected @param tag for 'stopOnFailure'.229
WarningsExpected @throws tag for 'MojoExecutionException'.230
WarningsExpected @param tag for 'stopOnFailure'.249
WarningsExpected @throws tag for 'MojoExecutionException'.250
WarningsExpected @param tag for 'artifacts'.309
WarningsExpected @param tag for 'stopOnFailure'.309
WarningsExpected @throws tag for 'MojoExecutionException'.310
WarningsExpected an @return tag.353
WarningsExpected @param tag for 'artifacts'.353
WarningsExpected @throws tag for 'MojoExecutionException'.354

org/apache/maven/plugin/dependency/AbstractDependencyMojo.java

ViolationMessageLine
ErrorsVariable 'silent' must be private and have accessor methods.135
WarningsMissing a Javadoc comment.201
WarningsExpected @throws tag for 'MojoExecutionException'.218
ErrorsLine is longer than 120 characters.239

org/apache/maven/plugin/dependency/AbstractFromDependenciesMojo.java

ViolationMessageLine
WarningsMissing a Javadoc comment.182
WarningsMissing a Javadoc comment.187
WarningsMissing a Javadoc comment.192
WarningsMissing a Javadoc comment.197

org/apache/maven/plugin/dependency/AbstractResolveMojo.java

ViolationMessageLine
ErrorsLine contains a tab character.72
ErrorsLine contains a tab character.73
ErrorsLine contains a tab character.74
ErrorsLine contains a tab character.75
ErrorsLine contains a tab character.76
ErrorsLine contains a tab character.77
ErrorsLine contains a tab character.78
WarningsMissing a Javadoc comment.80
WarningsExpected @throws tag for 'ArtifactResolutionException'.109
WarningsExpected @throws tag for 'ArtifactNotFoundException'.109
WarningsExpected @throws tag for 'ProjectBuildingException'.109
WarningsExpected @throws tag for 'InvalidDependencyVersionException'.110
ErrorsLine is longer than 120 characters.115

org/apache/maven/plugin/dependency/AnalyzeDepMgt.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/AnalyzeDuplicateMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/AnalyzeMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/AnalyzeOnlyMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/AnalyzeReportMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine is longer than 120 characters.141

org/apache/maven/plugin/dependency/AnalyzeReportView.java

ViolationMessageLine
WarningsExpected @param tag for 'analysis'.38
WarningsExpected @param tag for 'sink'.38
WarningsExpected @param tag for 'bundle'.38
WarningsExpected @param tag for 'sink'.121
WarningsExpected @param tag for 'iter'.121

org/apache/maven/plugin/dependency/BuildClasspathMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine is longer than 120 characters.297
ErrorsLine is longer than 120 characters.334
ErrorsLine is longer than 120 characters.346

org/apache/maven/plugin/dependency/CopyDependenciesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine contains a tab character.89
ErrorsLine is longer than 120 characters.121
ErrorsLine is longer than 120 characters.192
ErrorsLine is longer than 120 characters.243

org/apache/maven/plugin/dependency/GetMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/ListMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/PropertiesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/PurgeLocalRepositoryMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine is longer than 120 characters.308
ErrorsLine contains a tab character.311
ErrorsLine contains a tab character.312
ErrorsLine contains a tab character.313
ErrorsLine contains a tab character.315
ErrorsLine contains a tab character.316
ErrorsLine contains a tab character.317
ErrorsLine contains a tab character.318
ErrorsLine contains a tab character.319
ErrorsLine contains a tab character.320
ErrorsLine contains a tab character.321
ErrorsLine contains a tab character.322
ErrorsLine contains a tab character.323
ErrorsLine contains a tab character.324
ErrorsLine contains a tab character.325

org/apache/maven/plugin/dependency/TreeMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine is longer than 120 characters.252
ErrorsLine is longer than 120 characters.372

org/apache/maven/plugin/dependency/UnpackDependenciesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine is longer than 120 characters.85
ErrorsLine contains a tab character.115
ErrorsLine contains a tab character.116
ErrorsLine contains a tab character.133

org/apache/maven/plugin/dependency/fromConfiguration/AbstractFromConfigurationMojo.java

ViolationMessageLine
ErrorsUnused import - org.apache.maven.artifact.ArtifactUtils.28
ErrorsUnused import - org.codehaus.plexus.util.FileUtils.42
WarningsMissing a Javadoc comment.529
WarningsMissing a Javadoc comment.534
WarningsMissing a Javadoc comment.539

org/apache/maven/plugin/dependency/fromConfiguration/ArtifactItem.java

ViolationMessageLine
WarningsMissing a Javadoc comment.117
WarningsMissing a Javadoc comment.122
WarningsUnused @param tag for 'artifactId'.150
Warnings'artifact' hides a field.153
WarningsExpected @param tag for 'artifact'.153
WarningsMissing a Javadoc comment.226
WarningsUnused @param tag for 'location'.248
WarningsExpected @param tag for 'outputDirectory'.251
WarningsUnused @param tag for 'overWriteSnapshots'.299
WarningsExpected @param tag for 'overWrite'.302
ErrorsLine contains a tab character.334
ErrorsLine contains a tab character.335
ErrorsLine contains a tab character.352
ErrorsLine contains a tab character.353

org/apache/maven/plugin/dependency/fromConfiguration/CopyMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/fromConfiguration/UnpackMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/resolvers/GoOfflineMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/resolvers/ListRepositoriesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine contains a tab character.48
ErrorsLine contains a tab character.50
ErrorsLine contains a tab character.51
ErrorsLine contains a tab character.52
ErrorsLine contains a tab character.53
ErrorsLine contains a tab character.56
ErrorsLine contains a tab character.57
ErrorsLine contains a tab character.58
ErrorsLine contains a tab character.63
ErrorsLine contains a tab character.64
ErrorsLine contains a tab character.66
ErrorsLine contains a tab character.68
ErrorsLine contains a tab character.80

org/apache/maven/plugin/dependency/resolvers/ResolveDependenciesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/resolvers/ResolveDependencySourcesMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0

org/apache/maven/plugin/dependency/resolvers/ResolvePluginsMojo.java

ViolationMessageLine
ErrorsGot an exception - java.lang.IllegalArgumentException: the name [goal] is not a valid Javadoc tag name0
ErrorsLine does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'.4

org/apache/maven/plugin/dependency/treeSerializers/DOTDependencyNodeVisitor.java

ViolationMessageLine
Errors'{' should be on a new line.36
Errors')' is not preceded with whitespace.43

org/apache/maven/plugin/dependency/treeSerializers/TGFDependencyNodeVisitor.java

ViolationMessageLine
Errors'static' modifier out of order with the JLS suggestions.46

org/apache/maven/plugin/dependency/utils/DependencySilentLog.java

ViolationMessageLine
WarningsExpected @param tag for 'content'.48
WarningsExpected @param tag for 'content'.58
WarningsExpected @param tag for 'error'.58
WarningsExpected @param tag for 'error'.68
WarningsExpected @param tag for 'content'.87
WarningsExpected @param tag for 'content'.97
WarningsExpected @param tag for 'error'.97
WarningsExpected @param tag for 'error'.107
WarningsExpected an @return tag.117
WarningsExpected @param tag for 'content'.128
WarningsExpected @param tag for 'content'.138
WarningsExpected @param tag for 'error'.138
WarningsExpected @param tag for 'error'.148
WarningsExpected @param tag for 'content'.167
WarningsExpected @param tag for 'content'.177
WarningsExpected @param tag for 'error'.177
WarningsExpected @param tag for 'error'.187
WarningsExpected @param tag for 'message'.197
WarningsExpected @param tag for 'message'.207
WarningsExpected @param tag for 'throwable'.207
WarningsExpected @param tag for 'message'.217
WarningsExpected @param tag for 'message'.227
WarningsExpected @param tag for 'throwable'.227
WarningsExpected @param tag for 'message'.237
WarningsExpected @param tag for 'message'.247
WarningsExpected @param tag for 'throwable'.247
WarningsExpected @param tag for 'message'.257
WarningsExpected @param tag for 'message'.267
WarningsExpected @param tag for 'throwable'.267
WarningsExpected @param tag for 'message'.277
WarningsExpected @param tag for 'message'.287
WarningsExpected @param tag for 'throwable'.287
WarningsExpected @param tag for 'name'.305

org/apache/maven/plugin/dependency/utils/DependencyStatusSets.java

ViolationMessageLine
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.137
WarningsMissing a Javadoc comment.142
Warnings'skippedDependencies' hides a field.180
Warnings'unResolvedDependencies' hides a field.192

org/apache/maven/plugin/dependency/utils/DependencyUtil.java

ViolationMessageLine
WarningsExpected @param tag for 'useSubdirsPerScope'.115
WarningsExpected @param tag for 'append'.188
WarningsExpected @param tag for 'log'.188
WarningsExpected @param tag for 'log'.213
WarningsMissing a Javadoc comment.231
WarningsMissing a Javadoc comment.239

org/apache/maven/plugin/dependency/utils/filters/ArtifactItemFilter.java

ViolationMessageLine
WarningsMissing a Javadoc comment.32

org/apache/maven/plugin/dependency/utils/filters/DestFileFilter.java

ViolationMessageLine
WarningsMissing a Javadoc comment.59
WarningsMissing a Javadoc comment.71
ErrorsMore than 7 parameters.71
ErrorsLine is longer than 120 characters.72
WarningsMissing a Javadoc comment.92
ErrorsName 'artifacts_' must match pattern '^[a-z][a-zA-Z0-9]*$'.95
Errors'for' is not followed by whitespace.98
WarningsMissing a Javadoc comment.246
ErrorsLine is longer than 120 characters.259

org/apache/maven/plugin/dependency/utils/filters/MarkerFileFilter.java

ViolationMessageLine
InfosMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.64
ErrorsName 'artifacts_' must match pattern '^[a-z][a-zA-Z0-9]*$'.67
Errors'for' is not followed by whitespace.70
WarningsMissing a Javadoc comment.80

org/apache/maven/plugin/dependency/utils/filters/ResolveFileFilter.java

ViolationMessageLine
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.40

org/apache/maven/plugin/dependency/utils/markers/DefaultFileMarkerHandler.java

ViolationMessageLine
InfosMissing a Javadoc comment.35
InfosMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.44
WarningsUnused @throws tag for 'SecurityException'.67
WarningsExpected @throws tag for 'MojoExecutionException'.73
WarningsMissing a Javadoc comment.79
ErrorsLine is longer than 120 characters.91
WarningsMissing a Javadoc comment.103
WarningsUnused @throws tag for 'SecurityException'.153
WarningsExpected @throws tag for 'MojoExecutionException'.159

org/apache/maven/plugin/dependency/utils/markers/MarkerHandler.java

ViolationMessageLine
WarningsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.43

org/apache/maven/plugin/dependency/utils/markers/SourcesFileMarkerHandler.java

ViolationMessageLine
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.43
WarningsUnused @param tag for 'is'.62
WarningsExpected @param tag for 'res'.66
WarningsUnused @throws tag for 'SecurityException'.88
WarningsExpected @throws tag for 'MojoExecutionException'.94
WarningsMissing a Javadoc comment.103
WarningsMissing a Javadoc comment.127
WarningsUnused @throws tag for 'SecurityException'.167
WarningsExpected @throws tag for 'MojoExecutionException'.173
WarningsUnused @param tag for 'resolved'.191
WarningsExpected @param tag for 'isResolved'.194

org/apache/maven/plugin/dependency/utils/markers/UnpackFileMarkerHandler.java

ViolationMessageLine
InfosMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.46
ErrorsLine contains a tab character.57
ErrorsLine is longer than 120 characters.75
WarningsMissing a Javadoc comment.81
WarningsMissing a Javadoc comment.91

org/apache/maven/plugin/dependency/utils/resolvers/ArtifactsResolver.java

ViolationMessageLine
WarningsMissing a Javadoc comment.34

org/apache/maven/plugin/dependency/utils/resolvers/DefaultArtifactsResolver.java

ViolationMessageLine
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.64

org/apache/maven/plugin/dependency/utils/translators/ArtifactTranslator.java

ViolationMessageLine
WarningsMissing a Javadoc comment.33

org/apache/maven/plugin/dependency/utils/translators/ClassifierTypeTranslator.java

ViolationMessageLine
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.57
WarningsUnused @param tag for 'type'.112
WarningsExpected @param tag for 'theType'.115