Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files  Info  Warnings  Errors
31 12 47 43

Files

File  I  W  E
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

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

Details

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

Severity Message Line
 Warning Missing a Javadoc comment. 83
 Warning Missing a Javadoc comment. 185

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

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

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

Severity Message Line
 Warning Missing a Javadoc comment. 83
 Warning Missing a Javadoc comment. 182
 Warning Missing a Javadoc comment. 189
 Warning Missing a Javadoc comment. 209
 Warning Missing a Javadoc comment. 220
 Error Line is longer than 120 characters (found 121). 294
 Warning Missing a Javadoc comment. 325

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

Severity Message Line
 Info Missing a Javadoc comment. 134
 Info Missing a Javadoc comment. 136
 Info Missing a Javadoc comment. 138
 Info Missing a Javadoc comment. 140
 Info Missing a Javadoc comment. 142
 Info Missing a Javadoc comment. 144
 Info Missing a Javadoc comment. 146
 Info Missing a Javadoc comment. 148
 Info Missing a Javadoc comment. 150
 Info Missing a Javadoc comment. 152
 Info Missing a Javadoc comment. 154
 Error Line is longer than 120 characters (found 187). 167

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

Severity Message Line
 Warning Missing a Javadoc comment. 92
 Warning Missing a Javadoc comment. 97

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

Severity Message Line
 Warning Missing a Javadoc comment. 42
 Warning Missing a Javadoc comment. 74

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

Severity Message Line
 Info Missing a Javadoc comment. 38

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

Severity Message Line
 Warning Missing a Javadoc comment. 45
 Warning Missing a Javadoc comment. 51
 Warning Missing a Javadoc comment. 76

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

Severity Message Line
 Error Line is longer than 120 characters (found 125). 56
 Warning Missing a Javadoc comment. 56
 Error Line is longer than 120 characters (found 125). 66
 Error Empty statement. 88
 Error Line is longer than 120 characters (found 144). 104
 Error '(' is not followed by whitespace. 144
 Error ')' is not preceded with whitespace. 144

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

Severity Message Line
 Error '60' is a magic number. 90
 Error '60' is a magic number. 90
 Error '24' is a magic number. 90

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

Severity Message Line
 Error '(' is not followed by whitespace. 63
 Error ')' is not preceded with whitespace. 63
 Error '(' is not followed by whitespace. 66
 Error ')' is not preceded with whitespace. 66
 Warning Missing a Javadoc comment. 71
 Warning Missing a Javadoc comment. 77

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

Severity Message Line
 Error Line is longer than 120 characters (found 149). 66
 Error '||' should be on a new line. 79

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

Severity Message Line
 Warning Missing a Javadoc comment. 44

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

Severity Message Line
 Error ',' is not followed by whitespace. 72
 Error ',' is not followed by whitespace. 72
 Warning Missing a Javadoc comment. 80
 Warning Missing a Javadoc comment. 158
 Warning Missing a Javadoc comment. 163
 Error ',' is not followed by whitespace. 163
 Warning Missing a Javadoc comment. 168

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

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

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

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

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

Severity Message Line
 Warning Missing a Javadoc comment. 42
 Warning Missing a Javadoc comment. 53

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

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

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

Severity Message Line
 Warning Missing a Javadoc comment. 43
 Warning Missing a Javadoc comment. 75

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

Severity Message Line
 Error Missing a Javadoc comment. 39
 Warning Missing a Javadoc comment. 44

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

Severity Message Line
 Warning Missing a Javadoc comment. 55
 Error Line is longer than 120 characters (found 128). 77

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

Severity Message Line
 Warning Missing a Javadoc comment. 33

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

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

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

Severity Message Line
 Warning Missing a Javadoc comment. 53
 Warning Missing a Javadoc comment. 60
 Error '(' is not followed by whitespace. 249
 Error '(' is not followed by whitespace. 249
 Error ')' is not preceded with whitespace. 249
 Error ')' is not preceded with whitespace. 249