Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
272527338

Files

FilesInfosWarningsErrors
org/apache/maven/artifact/Artifact.java12451
org/apache/maven/artifact/ArtifactUtils.java0141
org/apache/maven/artifact/DefaultArtifact.java0587
org/apache/maven/artifact/InvalidArtifactRTException.java090
org/apache/maven/artifact/handler/ArtifactHandler.java170
org/apache/maven/artifact/metadata/ArtifactMetadata.java011
org/apache/maven/artifact/repository/ArtifactRepository.java0261
org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java7113
org/apache/maven/artifact/repository/Authentication.java011
org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout.java140
org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout2.java011
org/apache/maven/artifact/repository/metadata/RepositoryMetadataStoreException.java020
org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java0153
org/apache/maven/artifact/resolver/ArtifactNotFoundException.java053
org/apache/maven/artifact/resolver/ArtifactResolutionException.java061
org/apache/maven/artifact/resolver/CyclicDependencyException.java020
org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java030
org/apache/maven/artifact/resolver/filter/ArtifactFilter.java010
org/apache/maven/artifact/versioning/ArtifactVersion.java060
org/apache/maven/artifact/versioning/ComparableVersion.java0611
org/apache/maven/artifact/versioning/DefaultArtifactVersion.java081
org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java010
org/apache/maven/artifact/versioning/OverConstrainedVersionException.java020
org/apache/maven/artifact/versioning/Restriction.java170
org/apache/maven/artifact/versioning/VersionRange.java0162
org/apache/maven/repository/Proxy.java381
org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java080

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
0Errors Error
FileTabCharacter
  • eachLine: "true"
1Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
3Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
267Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
7Errors Error
JavadocVariable
  • scope: "protected"
25Infos Info
ConstantName2Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName0Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports1Errors Error
MethodLength0Errors Error
ParameterNumber7Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
1Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround2Errors Error
ModifierOrder0Errors Error
RedundantModifier3Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock
  • option: "text"
0Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
6Warnings Warning
IllegalInstantiation0Errors Error
InnerAssignment1Errors 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"
9Errors Error
MissingSwitchDefault1Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
0Errors Error
UpperEll0Errors Error

Details

org/apache/maven/artifact/Artifact.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.35
InfosMissing a Javadoc comment.39
InfosMissing a Javadoc comment.41
InfosMissing a Javadoc comment.43
InfosMissing a Javadoc comment.45
InfosMissing a Javadoc comment.49
InfosMissing a Javadoc comment.51
InfosMissing a Javadoc comment.53
InfosMissing a Javadoc comment.55
InfosMissing a Javadoc comment.57
InfosMissing a Javadoc comment.59
InfosMissing a Javadoc comment.61
InfosMissing a Javadoc comment.63
WarningsMissing a Javadoc comment.65
WarningsMissing a Javadoc comment.67
WarningsMissing a Javadoc comment.69
WarningsMissing a Javadoc comment.71
WarningsMissing a Javadoc comment.73
WarningsMissing a Javadoc comment.75
WarningsMissing a Javadoc comment.77
WarningsMissing a Javadoc comment.79
WarningsMissing a Javadoc comment.81
WarningsMissing a Javadoc comment.83
WarningsMissing a Javadoc comment.85
WarningsMissing a Javadoc comment.87
WarningsMissing a Javadoc comment.89
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.93
WarningsMissing a Javadoc comment.95
WarningsMissing a Javadoc comment.97
WarningsMissing a Javadoc comment.99
WarningsMissing a Javadoc comment.101
WarningsMissing a Javadoc comment.103
WarningsMissing a Javadoc comment.105
WarningsMissing a Javadoc comment.107
WarningsMissing a Javadoc comment.109
WarningsMissing a Javadoc comment.111
WarningsMissing a Javadoc comment.113
WarningsMissing a Javadoc comment.115
WarningsMissing a Javadoc comment.117
WarningsMissing a Javadoc comment.119
WarningsMissing a Javadoc comment.121
WarningsMissing a Javadoc comment.123
WarningsMissing a Javadoc comment.125
WarningsMissing a Javadoc comment.127
WarningsMissing a Javadoc comment.129
WarningsMissing a Javadoc comment.131
WarningsMissing a Javadoc comment.133
WarningsMissing a Javadoc comment.135
WarningsMissing a Javadoc comment.137
WarningsMissing a Javadoc comment.139
WarningsMissing a Javadoc comment.141
WarningsMissing a Javadoc comment.143
WarningsMissing a Javadoc comment.145
WarningsMissing a Javadoc comment.147
WarningsMissing a Javadoc comment.149
WarningsMissing a Javadoc comment.151
WarningsMissing a Javadoc comment.154

org/apache/maven/artifact/ArtifactUtils.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.69
WarningsMissing a Javadoc comment.74
WarningsMissing a Javadoc comment.87
WarningsMissing a Javadoc comment.92
WarningsMissing a Javadoc comment.110
WarningsMissing a Javadoc comment.125
WarningsMissing a Javadoc comment.130
WarningsExpected an @return tag.176
WarningsExpected @param tag for '<T>'.176
WarningsExpected @param tag for 'from'.176
WarningsExpected @param tag for 'to'.176
WarningsMissing a Javadoc comment.185

org/apache/maven/artifact/DefaultArtifact.java

ViolationMessageLine
WarningsMissing a Javadoc comment.84
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.97
ErrorsMore than 7 parameters.97
WarningsMissing a Javadoc comment.158
WarningsMissing a Javadoc comment.163
WarningsMissing a Javadoc comment.168
WarningsMissing a Javadoc comment.173
WarningsMissing a Javadoc comment.178
WarningsMissing a Javadoc comment.183
WarningsMissing a Javadoc comment.188
WarningsMissing a Javadoc comment.195
WarningsMissing a Javadoc comment.200
WarningsMissing a Javadoc comment.205
WarningsMissing a Javadoc comment.210
WarningsMissing a Javadoc comment.215
WarningsMissing a Javadoc comment.224
WarningsMissing a Javadoc comment.229
WarningsMissing a Javadoc comment.250
WarningsMissing a Javadoc comment.268
WarningsMissing a Javadoc comment.282
WarningsMissing a Javadoc comment.308
Errors'17' is a magic number.310
Errors'37' is a magic number.311
Errors'37' is a magic number.312
Errors'37' is a magic number.313
Errors'37' is a magic number.316
Errors'37' is a magic number.318
WarningsMissing a Javadoc comment.322
WarningsMissing a Javadoc comment.362
WarningsMissing a Javadoc comment.372
WarningsMissing a Javadoc comment.382
WarningsMissing a Javadoc comment.387
Warnings'baseVersion' hides a field.387
WarningsMissing a Javadoc comment.401
WarningsMissing a Javadoc comment.442
Warnings'version' hides a field.442
WarningsMissing a Javadoc comment.448
WarningsMissing a Javadoc comment.453
WarningsMissing a Javadoc comment.458
WarningsMissing a Javadoc comment.463
WarningsMissing a Javadoc comment.468
WarningsMissing a Javadoc comment.473
WarningsMissing a Javadoc comment.478
WarningsMissing a Javadoc comment.483
WarningsMissing a Javadoc comment.488
WarningsMissing a Javadoc comment.493
WarningsMissing a Javadoc comment.512
Warnings'version' hides a field.512
WarningsMissing a Javadoc comment.518
WarningsMissing a Javadoc comment.523
WarningsMissing a Javadoc comment.528
WarningsMissing a Javadoc comment.534
WarningsMissing a Javadoc comment.539
WarningsMissing a Javadoc comment.544
Warnings'version' hides a field.544
WarningsMissing a Javadoc comment.550
WarningsMissing a Javadoc comment.555
WarningsMissing a Javadoc comment.560
WarningsMissing a Javadoc comment.565
WarningsMissing a Javadoc comment.570
WarningsMissing a Javadoc comment.575
WarningsMissing a Javadoc comment.580
WarningsMissing a Javadoc comment.586
WarningsMissing a Javadoc comment.592

org/apache/maven/artifact/InvalidArtifactRTException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.49
WarningsMissing a Javadoc comment.65
WarningsMissing a Javadoc comment.70
WarningsMissing a Javadoc comment.75
WarningsMissing a Javadoc comment.80
WarningsMissing a Javadoc comment.85
WarningsMissing a Javadoc comment.90
WarningsMissing a Javadoc comment.95

org/apache/maven/artifact/handler/ArtifactHandler.java

ViolationMessageLine
InfosMissing a Javadoc comment.27
WarningsMissing a Javadoc comment.29
WarningsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.41

org/apache/maven/artifact/metadata/ArtifactMetadata.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.26

org/apache/maven/artifact/repository/ArtifactRepository.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.30
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.42
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.46
WarningsMissing a Javadoc comment.48
WarningsMissing a Javadoc comment.50
WarningsMissing a Javadoc comment.52
WarningsMissing a Javadoc comment.54
WarningsMissing a Javadoc comment.56
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.60
WarningsMissing a Javadoc comment.62
WarningsMissing a Javadoc comment.64
WarningsMissing a Javadoc comment.67
WarningsMissing a Javadoc comment.70
WarningsMissing a Javadoc comment.76
WarningsMissing a Javadoc comment.94
WarningsMissing a Javadoc comment.95
WarningsMissing a Javadoc comment.97
WarningsMissing a Javadoc comment.98
WarningsMissing a Javadoc comment.100
WarningsMissing a Javadoc comment.101

org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

ViolationMessageLine
ErrorsUnused import - java.util.TimeZone.24
InfosMissing a Javadoc comment.33
InfosMissing a Javadoc comment.35
InfosMissing a Javadoc comment.37
InfosMissing a Javadoc comment.39
InfosMissing a Javadoc comment.41
InfosMissing a Javadoc comment.43
InfosMissing a Javadoc comment.45
WarningsMissing a Javadoc comment.53
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.63
WarningsMissing a Javadoc comment.80
WarningsMissing a Javadoc comment.85
WarningsMissing a Javadoc comment.93
WarningsMissing a Javadoc comment.101
WarningsMissing a Javadoc comment.106
WarningsMissing a Javadoc comment.111
WarningsMissing a Javadoc comment.116
WarningsMissing a Javadoc comment.168
ErrorsLine is longer than 120 characters.174
Errors'1440' is a magic number.206

org/apache/maven/artifact/repository/Authentication.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.29

org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout.java

ViolationMessageLine
InfosMissing a Javadoc comment.29
WarningsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.37

org/apache/maven/artifact/repository/layout/ArtifactRepositoryLayout2.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.25
WarningsMissing a Javadoc comment.29

org/apache/maven/artifact/repository/metadata/RepositoryMetadataStoreException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.30
WarningsMissing a Javadoc comment.35

org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.57
ErrorsMore than 7 parameters.57
WarningsMissing a Javadoc comment.69
ErrorsMore than 7 parameters.69
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.97
WarningsMissing a Javadoc comment.104
WarningsMissing a Javadoc comment.114
WarningsMissing a Javadoc comment.119
WarningsMissing a Javadoc comment.124
WarningsMissing a Javadoc comment.129
WarningsMissing a Javadoc comment.134
WarningsMissing a Javadoc comment.151
WarningsMissing a Javadoc comment.156
WarningsMissing a Javadoc comment.161
WarningsMissing a Javadoc comment.250
ErrorsMore than 7 parameters.250
WarningsMissing a Javadoc comment.339

org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

ViolationMessageLine
ErrorsLine is longer than 120 characters.36
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.55
ErrorsMore than 7 parameters.55
ErrorsMore than 7 parameters.66
WarningsMissing a Javadoc comment.77

org/apache/maven/artifact/resolver/ArtifactResolutionException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.33
ErrorsMore than 7 parameters.33
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.46
WarningsMissing a Javadoc comment.51
WarningsMissing a Javadoc comment.56
WarningsMissing a Javadoc comment.61

org/apache/maven/artifact/resolver/CyclicDependencyException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.34
WarningsMissing a Javadoc comment.41

org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

ViolationMessageLine
WarningsExpected @param tag for 'originatingArtifact'.40
WarningsExpected @param tag for 'missingArtifacts'.41
WarningsExpected @param tag for 'remoteRepositories'.42

org/apache/maven/artifact/resolver/filter/ArtifactFilter.java

ViolationMessageLine
WarningsMissing a Javadoc comment.29

org/apache/maven/artifact/versioning/ArtifactVersion.java

ViolationMessageLine
WarningsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.41

org/apache/maven/artifact/versioning/ComparableVersion.java

ViolationMessageLine
ErrorsRedundant 'final' modifier.72
ErrorsRedundant 'final' modifier.73
ErrorsRedundant 'final' modifier.74
ErrorsLine contains a tab character.89
ErrorsName 'BigInteger_ZERO' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.89
ErrorsName '_QUALIFIERS' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.152
Errorsswitch without "default" clause.175
ErrorsLine is longer than 120 characters.204
Errors'for' is not followed by whitespace.269
Errors'for' is not followed by whitespace.330
WarningsMissing a Javadoc comment.343
WarningsMissing a Javadoc comment.348
ErrorsInner assignments should be avoided.401
WarningsMissing a Javadoc comment.448
WarningsMissing a Javadoc comment.453
WarningsMissing a Javadoc comment.458
WarningsMissing a Javadoc comment.463

org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

ViolationMessageLine
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.71
Errors')' is not preceded with whitespace.75
WarningsMissing a Javadoc comment.83
WarningsMissing a Javadoc comment.88
WarningsMissing a Javadoc comment.93
WarningsMissing a Javadoc comment.98
WarningsMissing a Javadoc comment.103
WarningsMissing a Javadoc comment.108

org/apache/maven/artifact/versioning/InvalidVersionSpecificationException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.30

org/apache/maven/artifact/versioning/OverConstrainedVersionException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.42

org/apache/maven/artifact/versioning/Restriction.java

ViolationMessageLine
InfosMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.48
WarningsMissing a Javadoc comment.53
WarningsMissing a Javadoc comment.58
WarningsMissing a Javadoc comment.63
WarningsMissing a Javadoc comment.68
WarningsMissing a Javadoc comment.181

org/apache/maven/artifact/versioning/VersionRange.java

ViolationMessageLine
WarningsMissing a Javadoc comment.47
WarningsMissing a Javadoc comment.52
WarningsMissing a Javadoc comment.57
WarningsExpected @throws tag for 'InvalidVersionSpecificationException'.92
WarningsMissing a Javadoc comment.218
WarningsUnused @throws tag for 'NullPointerException'.249
Warnings'restrictions' hides a field.256
Warnings'restrictions' hides a field.310
WarningsMissing a Javadoc comment.457
WarningsMissing a Javadoc comment.477
WarningsMissing a Javadoc comment.495
WarningsMissing a Javadoc comment.519
WarningsMissing a Javadoc comment.538
WarningsMissing a Javadoc comment.550
WarningsMissing a Javadoc comment.555
WarningsMissing a Javadoc comment.576
Errors'31' is a magic number.579
Errors'31' is a magic number.580

org/apache/maven/repository/Proxy.java

ViolationMessageLine
ErrorsMissing a Javadoc comment.22
InfosMissing a Javadoc comment.24
InfosMissing a Javadoc comment.26
InfosMissing a Javadoc comment.28
WarningsUnused @param tag for 'type'.161
WarningsExpected @param tag for 'protocol'.163
WarningsMissing a Javadoc comment.168
WarningsMissing a Javadoc comment.173
WarningsMissing a Javadoc comment.178
WarningsMissing a Javadoc comment.183
WarningsMissing a Javadoc comment.188
WarningsMissing a Javadoc comment.193

org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

ViolationMessageLine
WarningsExpected an @return tag.35
WarningsExpected an @return tag.38
WarningsMissing a Javadoc comment.40
WarningsMissing a Javadoc comment.42
WarningsMissing a Javadoc comment.44
WarningsMissing a Javadoc comment.46
WarningsExpected @throws tag for 'RepositoryMetadataStoreException'.80
WarningsMissing a Javadoc comment.82