Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
944934

Rules

RulesViolationsSeverity
FileLength0Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
0Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
LeftCurly
  • option: "nl"
0Errors Error
RightCurly
  • option: "alone"
0Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
1Errors Error
MemberName0Errors Error
JavadocMethod
  • scope: "protected"
49Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0Errors Error
JavadocVariable
  • scope: "protected"
4Infos Info
ConstantName3Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName0Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName1Errors Error
TypeName0Errors Error
AvoidStarImport0Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports0Errors Error
MethodLength1Errors Error
ParameterNumber3Errors Error
EmptyForIteratorPad
  • option: "space"
0Errors Error
OperatorWrap0Errors Error
ParenPad
  • option: "space"
0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround0Errors Error
ModifierOrder1Errors Error
RedundantModifier0Errors Error
AvoidNestedBlocks2Errors Error
EmptyBlock
  • option: "text"
1Errors Error
NeedBraces0Errors Error
DoubleCheckedLocking1Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0Warnings 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"
20Errors Error
MissingSwitchDefault0Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
0Errors Error
UpperEll0Errors Error

Details

org/apache/maven/index/artifact/ArtifactPackagingMapper.java

ViolationMessageLine
WarningsExpected an @return tag.38
WarningsExpected @param tag for 'packaging'.38
WarningsExpected @param tag for 'file'.45

org/apache/maven/index/artifact/DefaultArtifactPackagingMapper.java

ViolationMessageLine
InfosMissing a Javadoc comment.46
Errors'static' modifier out of order with the JLS suggestions.52
ErrorsName 'defaults' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.52
WarningsMissing a Javadoc comment.73
WarningsMissing a Javadoc comment.79
ErrorsThe double-checked locking idiom is broken and should be avoided.85
WarningsMissing a Javadoc comment.144
WarningsMissing a Javadoc comment.149
WarningsMissing a Javadoc comment.154

org/apache/maven/index/artifact/Gav.java

ViolationMessageLine
InfosMissing a Javadoc comment.35
InfosMissing a Javadoc comment.35
InfosMissing a Javadoc comment.43
ErrorsAvoid nested blocks.51
ErrorsAvoid nested blocks.56
WarningsMissing a Javadoc comment.91
WarningsMissing a Javadoc comment.96
ErrorsMore than 7 parameters.96
WarningsMissing a Javadoc comment.158
WarningsMissing a Javadoc comment.163
WarningsMissing a Javadoc comment.168
WarningsMissing a Javadoc comment.173
WarningsMissing a Javadoc comment.185
WarningsMissing a Javadoc comment.190
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.220
WarningsMissing a Javadoc comment.225
WarningsMissing a Javadoc comment.230
Errors'31' is a magic number.239
Errors'31' is a magic number.240
Errors'31' is a magic number.241
Errors'31' is a magic number.242
Errors'31' is a magic number.243
Errors'31' is a magic number.244
Errors'31' is a magic number.245
Errors'31' is a magic number.246
Errors'1231' is a magic number.246
Errors'1237' is a magic number.246
Errors'31' is a magic number.247
Errors'31' is a magic number.248
Errors'31' is a magic number.249
Errors'1231' is a magic number.249
Errors'1237' is a magic number.249
Errors'31' is a magic number.250
Errors'31' is a magic number.251
Errors'1231' is a magic number.251
Errors'1237' is a magic number.251
Errors'31' is a magic number.252
ErrorsMethod length is 165 lines (max allowed is 150).256

org/apache/maven/index/artifact/GavCalculator.java

ViolationMessageLine
WarningsExpected @param tag for 'gav'.47

org/apache/maven/index/artifact/M1ArtifactRecognizer.java

ViolationMessageLine
WarningsExpected an @return tag.30
WarningsExpected @param tag for 'path'.30
WarningsExpected an @return tag.38
WarningsExpected @param tag for 'path'.38
WarningsExpected an @return tag.46
WarningsExpected @param tag for 'path'.46
WarningsExpected an @return tag.54
WarningsExpected @param tag for 'path'.54

org/apache/maven/index/artifact/M1GavCalculator.java

ViolationMessageLine
ErrorsName 'pat1' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.38
ErrorsLine is longer than 120 characters.40
ErrorsName 'pat2' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.40
WarningsMissing a Javadoc comment.42
WarningsExpected an @return tag.153
WarningsExpected @param tag for 'gav'.153

org/apache/maven/index/artifact/M2ArtifactRecognizer.java

ViolationMessageLine
WarningsExpected an @return tag.30
WarningsExpected @param tag for 'path'.30
WarningsExpected an @return tag.38
WarningsExpected @param tag for 'path'.38
WarningsExpected an @return tag.49
WarningsExpected @param tag for 'path'.49
WarningsExpected an @return tag.57
WarningsExpected @param tag for 'path'.57
WarningsMissing a Javadoc comment.63

org/apache/maven/index/artifact/M2GavCalculator.java

ViolationMessageLine
WarningsMissing a Javadoc comment.37
ErrorsMore than 7 parameters.121
ErrorsMore than 7 parameters.152
ErrorsEmpty catch block.198
WarningsMissing a Javadoc comment.235
WarningsMissing a Javadoc comment.256

org/apache/maven/index/artifact/VersionUtils.java

ViolationMessageLine
ErrorsName 'SNAPSHOT_VERSION' must match pattern '^[a-z][a-zA-Z0-9]*$'.30
WarningsMissing a Javadoc comment.36