Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
31 12 47 43

Files

Files Infos Warnings Errors
org/apache/maven/scm/provider/hg/HgConfig.java 0 2 0
org/apache/maven/scm/provider/hg/HgScmProvider.java 0 5 0
org/apache/maven/scm/provider/hg/HgUtils.java 0 6 1
org/apache/maven/scm/provider/hg/command/HgCommandConstants.java 11 0 1
org/apache/maven/scm/provider/hg/command/HgConsumer.java 0 2 0
org/apache/maven/scm/provider/hg/command/add/HgAddConsumer.java 0 2 0
org/apache/maven/scm/provider/hg/command/blame/HgBlameCommand.java 1 0 0
org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java 0 3 0
org/apache/maven/scm/provider/hg/command/branch/HgBranchCommand.java 0 1 6
org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogCommand.java 0 0 3
org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogConsumer.java 0 2 4
org/apache/maven/scm/provider/hg/command/checkin/HgCheckInCommand.java 0 0 2
org/apache/maven/scm/provider/hg/command/checkout/HgCheckOutConsumer.java 0 1 0
org/apache/maven/scm/provider/hg/command/diff/HgDiffConsumer.java 0 4 3
org/apache/maven/scm/provider/hg/command/info/HgInfoConsumer.java 0 3 4
org/apache/maven/scm/provider/hg/command/inventory/HgChangeSet.java 0 3 1
org/apache/maven/scm/provider/hg/command/inventory/HgListConsumer.java 0 2 0
org/apache/maven/scm/provider/hg/command/inventory/HgOutgoingConsumer.java 0 3 1
org/apache/maven/scm/provider/hg/command/remove/HgRemoveConsumer.java 0 2 0
org/apache/maven/scm/provider/hg/command/status/HgStatusCommand.java 0 1 1
org/apache/maven/scm/provider/hg/command/tag/HgTagCommand.java 0 1 1
org/apache/maven/scm/provider/hg/command/tag/HgTagConsumer.java 0 1 0
org/apache/maven/scm/provider/hg/command/update/HgUpdateCommand.java 0 1 11
org/apache/maven/scm/provider/hg/repository/HgScmProviderRepository.java 0 2 4

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
2 Errors Error
FileTabCharacter
  • eachLine: "true"
2 Errors Error
LeftCurly
  • option: "nl"
3 Errors Error
RightCurly
  • option: "alone"
1 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
8 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
47 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1 Errors Error
JavadocVariable
  • scope: "protected"
12 Infos Info
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 1 Errors Error
ParenPad
  • option: "space"
18 Errors Error
WhitespaceAfter 3 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock
  • option: "text"
0 Errors Error
NeedBraces 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 1 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors 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"
3 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
0 Errors Error
UpperEll 0 Errors Error

Details

org/apache/maven/scm/provider/hg/HgConfig.java

Violation Message Line
Warnings Missing a Javadoc comment. 83
Warnings Missing a Javadoc comment. 185

org/apache/maven/scm/provider/hg/HgScmProvider.java

Violation Message Line
Warnings Expected an @return tag. 338
Warnings Expected @param tag for 'repository'. 339
Warnings Expected @param tag for 'fileSet'. 339
Warnings Expected @param tag for 'parameters'. 339
Warnings Expected @throws tag for 'ScmException'. 340

org/apache/maven/scm/provider/hg/HgUtils.java

Violation Message Line
Warnings Missing a Javadoc comment. 83
Warnings Missing a Javadoc comment. 182
Warnings Missing a Javadoc comment. 189
Warnings Missing a Javadoc comment. 209
Warnings Missing a Javadoc comment. 220
Errors Line is longer than 120 characters. 294
Warnings Missing a Javadoc comment. 325

org/apache/maven/scm/provider/hg/command/HgCommandConstants.java

Violation Message Line
Infos Missing a Javadoc comment. 134
Infos Missing a Javadoc comment. 136
Infos Missing a Javadoc comment. 138
Infos Missing a Javadoc comment. 140
Infos Missing a Javadoc comment. 142
Infos Missing a Javadoc comment. 144
Infos Missing a Javadoc comment. 146
Infos Missing a Javadoc comment. 148
Infos Missing a Javadoc comment. 150
Infos Missing a Javadoc comment. 152
Infos Missing a Javadoc comment. 154
Errors Line is longer than 120 characters. 167

org/apache/maven/scm/provider/hg/command/HgConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 92
Warnings Missing a Javadoc comment. 97

org/apache/maven/scm/provider/hg/command/add/HgAddConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 42
Warnings Missing a Javadoc comment. 74

org/apache/maven/scm/provider/hg/command/blame/HgBlameCommand.java

Violation Message Line
Infos Missing a Javadoc comment. 38

org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 51
Warnings Missing a Javadoc comment. 76

org/apache/maven/scm/provider/hg/command/branch/HgBranchCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 56
Warnings Missing a Javadoc comment. 56
Errors Line is longer than 120 characters. 66
Errors Empty statement. 88
Errors Line is longer than 120 characters. 104
Errors '(' is not followed by whitespace. 144
Errors ')' is not preceded with whitespace. 144

org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogCommand.java

Violation Message Line
Errors '60' is a magic number. 90
Errors '60' is a magic number. 90
Errors '24' is a magic number. 90

org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogConsumer.java

Violation Message Line
Errors '(' is not followed by whitespace. 63
Errors ')' is not preceded with whitespace. 63
Errors '(' is not followed by whitespace. 66
Errors ')' is not preceded with whitespace. 66
Warnings Missing a Javadoc comment. 71
Warnings Missing a Javadoc comment. 77

org/apache/maven/scm/provider/hg/command/checkin/HgCheckInCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 66
Errors '||' should be on a new line. 79

org/apache/maven/scm/provider/hg/command/checkout/HgCheckOutConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 44

org/apache/maven/scm/provider/hg/command/diff/HgDiffConsumer.java

Violation Message Line
Errors ',' is not followed by whitespace. 72
Errors ',' is not followed by whitespace. 72
Warnings Missing a Javadoc comment. 80
Warnings Missing a Javadoc comment. 158
Warnings Missing a Javadoc comment. 163
Errors ',' is not followed by whitespace. 163
Warnings Missing a Javadoc comment. 168

org/apache/maven/scm/provider/hg/command/info/HgInfoConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 40
Errors '(' is not followed by whitespace. 40
Errors ')' is not preceded with whitespace. 40
Errors '(' is not followed by whitespace. 42
Errors ')' is not preceded with whitespace. 42
Warnings Expected @param tag for 'line'. 49
Warnings Missing a Javadoc comment. 58

org/apache/maven/scm/provider/hg/command/inventory/HgChangeSet.java

Violation Message Line
Errors Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
Warnings Missing a Javadoc comment. 37
Warnings Missing a Javadoc comment. 42
Warnings Missing a Javadoc comment. 47

org/apache/maven/scm/provider/hg/command/inventory/HgListConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 42
Warnings Missing a Javadoc comment. 53

org/apache/maven/scm/provider/hg/command/inventory/HgOutgoingConsumer.java

Violation Message Line
Errors Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
Warnings Missing a Javadoc comment. 41
Warnings Missing a Javadoc comment. 46
Warnings Missing a Javadoc comment. 58

org/apache/maven/scm/provider/hg/command/remove/HgRemoveConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 43
Warnings Missing a Javadoc comment. 75

org/apache/maven/scm/provider/hg/command/status/HgStatusCommand.java

Violation Message Line
Errors Missing a Javadoc comment. 39
Warnings Missing a Javadoc comment. 44

org/apache/maven/scm/provider/hg/command/tag/HgTagCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 55
Errors Line is longer than 120 characters. 77

org/apache/maven/scm/provider/hg/command/tag/HgTagConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 33

org/apache/maven/scm/provider/hg/command/update/HgUpdateCommand.java

Violation Message Line
Errors '(' is not followed by whitespace. 64
Errors ')' is not preceded with whitespace. 64
Errors '{' should be on a new line. 64
Errors '}' should be alone on a line. 69
Errors '{' should be on a new line. 69
Errors '{' should be on a new line. 110
Errors Line contains a tab character. 111
Errors Line contains a tab character. 112
Errors Line is longer than 120 characters. 115
Errors '(' is not followed by whitespace. 115
Errors ')' is not preceded with whitespace. 115
Warnings Missing a Javadoc comment. 118

org/apache/maven/scm/provider/hg/repository/HgScmProviderRepository.java

Violation Message Line
Warnings Missing a Javadoc comment. 53
Warnings Missing a Javadoc comment. 60
Errors '(' is not followed by whitespace. 249
Errors '(' is not followed by whitespace. 249
Errors ')' is not preceded with whitespace. 249
Errors ')' is not preceded with whitespace. 249