Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
27 4 79 65

Files

Files Infos Warnings Errors
org/apache/maven/scm/provider/git/gitexe/command/AbstractFileCheckingConsumer.java 3 6 0
org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java 0 4 0
org/apache/maven/scm/provider/git/gitexe/command/add/GitAddCommand.java 0 1 2
org/apache/maven/scm/provider/git/gitexe/command/blame/GitBlameCommand.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/blame/GitBlameConsumer.java 0 3 8
org/apache/maven/scm/provider/git/gitexe/command/branch/GitBranchCommand.java 0 7 3
org/apache/maven/scm/provider/git/gitexe/command/branch/GitCurrentBranchConsumer.java 0 2 1
org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogCommand.java 0 10 6
org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumer.java 0 3 3
org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java 0 2 6
org/apache/maven/scm/provider/git/gitexe/command/checkout/GitCheckOutCommand.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/diff/GitDiffCommand.java 0 7 1
org/apache/maven/scm/provider/git/gitexe/command/diff/GitDiffRawConsumer.java 0 2 2
org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoCommand.java 1 1 2
org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoConsumer.java 0 3 0
org/apache/maven/scm/provider/git/gitexe/command/list/GitListCommand.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/list/GitListConsumer.java 0 3 0
org/apache/maven/scm/provider/git/gitexe/command/remoteinfo/GitRemoteInfoCommand.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/remoteinfo/GitRemoteInfoConsumer.java 0 2 1
org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveCommand.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveConsumer.java 0 2 1
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java 0 2 8
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java 0 3 10
org/apache/maven/scm/provider/git/gitexe/command/tag/GitTagCommand.java 0 3 5
org/apache/maven/scm/provider/git/gitexe/command/update/GitLatestRevisionCommandConsumer.java 0 2 1
org/apache/maven/scm/provider/git/gitexe/command/update/GitUpdateCommand.java 0 6 5

Rules

Rules Violations Severity
FileLength 0 Errors Error
RegexpHeader
  • headerFile: "target/checkstyle-header.txt"
0 Errors Error
FileTabCharacter
  • eachLine: "true"
6 Errors Error
LeftCurly
  • option: "nl"
0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
29 Errors Error
MemberName 0 Errors Error
JavadocMethod
  • scope: "protected"
79 Warnings Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
0 Errors Error
JavadocVariable
  • scope: "protected"
4 Infos Info
ConstantName 2 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 1 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 Errors Error
MethodLength 0 Errors Error
ParameterNumber 3 Errors Error
EmptyForIteratorPad
  • option: "space"
0 Errors Error
OperatorWrap 2 Errors Error
ParenPad
  • option: "space"
9 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 3 Errors Error
ModifierOrder 5 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 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0 Warnings Warning
IllegalInstantiation 0 Errors Error
InnerAssignment 4 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"
0 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/git/gitexe/command/AbstractFileCheckingConsumer.java

Violation Message Line
Infos Missing a Javadoc comment. 39
Infos Missing a Javadoc comment. 41
Infos Missing a Javadoc comment. 45
Warnings Missing a Javadoc comment. 49
Warnings Missing a Javadoc comment. 71
Warnings Missing a Javadoc comment. 73
Warnings Missing a Javadoc comment. 91
Warnings Missing a Javadoc comment. 103
Warnings Missing a Javadoc comment. 108

org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java

Violation Message Line
Warnings Missing a Javadoc comment. 47
Warnings Missing a Javadoc comment. 84
Warnings Missing a Javadoc comment. 105
Warnings Missing a Javadoc comment. 128

org/apache/maven/scm/provider/git/gitexe/command/add/GitAddCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 94
Errors Line is longer than 120 characters. 102
Warnings Missing a Javadoc comment. 133

org/apache/maven/scm/provider/git/gitexe/command/blame/GitBlameCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 79

org/apache/maven/scm/provider/git/gitexe/command/blame/GitBlameConsumer.java

Violation Message Line
Errors Using the '.*' form of import should be avoided - java.util.*. 28
Errors 'static' modifier out of order with the JLS suggestions. 45
Errors 'static' modifier out of order with the JLS suggestions. 46
Errors 'static' modifier out of order with the JLS suggestions. 47
Errors 'static' modifier out of order with the JLS suggestions. 48
Warnings Missing a Javadoc comment. 70
Warnings Missing a Javadoc comment. 75
Errors '(' is not followed by whitespace. 82
Errors ')' is not preceded with whitespace. 82
Errors ')' is not preceded with whitespace. 87
Warnings Missing a Javadoc comment. 148

org/apache/maven/scm/provider/git/gitexe/command/branch/GitBranchCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 50
Errors 'if' is not followed by whitespace. 77
Errors Line is longer than 120 characters. 85
Warnings Missing a Javadoc comment. 108
Warnings Missing a Javadoc comment. 118
Warnings Expected an @return tag. 133
Warnings Expected @param tag for 'logger'. 133
Warnings Expected @param tag for 'repository'. 133
Warnings Expected @param tag for 'fileSet'. 133
Warnings Expected @throws tag for 'ScmException'. 134

org/apache/maven/scm/provider/git/gitexe/command/branch/GitCurrentBranchConsumer.java

Violation Message Line
Errors 'static' modifier out of order with the JLS suggestions. 35
Warnings Expected @param tag for 'logger'. 42
Warnings Missing a Javadoc comment. 47

org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 72
Errors More than 7 parameters. 72
Errors Line is longer than 120 characters. 78
Warnings Missing a Javadoc comment. 94
Errors More than 7 parameters. 94
Warnings Expected an @return tag. 130
Warnings Expected @param tag for 'repository'. 130
Warnings Expected @param tag for 'workingDirectory'. 130
Warnings Expected @param tag for 'branch'. 131
Warnings Expected @param tag for 'startDate'. 131
Warnings Expected @param tag for 'endDate'. 131
Warnings Expected @param tag for 'startVersion'. 132
Warnings Expected @param tag for 'endVersion'. 132
Errors Line is longer than 120 characters. 134
Errors More than 7 parameters. 137
Errors Line is longer than 120 characters. 160

org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumer.java

Violation Message Line
Warnings Expected @param tag for 'logger'. 207
Warnings Expected @param tag for 'userDateFormat'. 207
Errors Line is longer than 120 characters. 227
Warnings Missing a Javadoc comment. 232
Errors Line is longer than 120 characters. 351
Errors Line is longer than 120 characters. 375

org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 101
Errors Line is longer than 120 characters. 120
Errors Line is longer than 120 characters. 128
Errors '+' should be on a new line. 135
Errors 'if' is not followed by whitespace. 154
Errors Line is longer than 120 characters. 161
Warnings Missing a Javadoc comment. 210
Warnings Missing a Javadoc comment. 230

org/apache/maven/scm/provider/git/gitexe/command/checkout/GitCheckOutCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 149

org/apache/maven/scm/provider/git/gitexe/command/diff/GitDiffCommand.java

Violation Message Line
Errors Line is longer than 120 characters. 68
Warnings Expected an @return tag. 82
Warnings Expected @param tag for 'workingDirectory'. 82
Warnings Expected @param tag for 'startVersion'. 82
Warnings Expected @param tag for 'endVersion'. 82
Warnings Expected an @return tag. 111
Warnings Expected @param tag for 'workingDirectory'. 111
Warnings Expected @param tag for 'sha1'. 111

org/apache/maven/scm/provider/git/gitexe/command/diff/GitDiffRawConsumer.java

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

org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoCommand.java

Violation Message Line
Infos Missing a Javadoc comment. 44
Warnings Missing a Javadoc comment. 65
Errors Line is longer than 120 characters. 73
Errors Line is longer than 120 characters. 86

org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 45
Warnings Expected @param tag for 'line'. 54
Warnings Missing a Javadoc comment. 74

org/apache/maven/scm/provider/git/gitexe/command/list/GitListCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 79

org/apache/maven/scm/provider/git/gitexe/command/list/GitListConsumer.java

Violation Message Line
Warnings Expected @param tag for 'logger'. 45
Warnings Expected @param tag for 'workingDirectory'. 45
Warnings Missing a Javadoc comment. 64

org/apache/maven/scm/provider/git/gitexe/command/remoteinfo/GitRemoteInfoCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 68

org/apache/maven/scm/provider/git/gitexe/command/remoteinfo/GitRemoteInfoConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 59
Errors Line is longer than 120 characters. 73
Warnings Missing a Javadoc comment. 102

org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 74

org/apache/maven/scm/provider/git/gitexe/command/remove/GitRemoveConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 58
Errors Line is longer than 120 characters. 68
Warnings Missing a Javadoc comment. 103

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusCommand.java

Violation Message Line
Errors Unused import - java.io.File. 22
Errors Line contains a tab character. 48
Errors '(' is not followed by whitespace. 48
Errors ')' is not preceded with whitespace. 48
Errors Line contains a tab character. 49
Errors Line contains a tab character. 50
Errors Line is longer than 120 characters. 68
Errors Line contains a tab character. 70
Warnings Missing a Javadoc comment. 94
Warnings Missing a Javadoc comment. 101

org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java

Violation Message Line
Errors Name 'addedRegexp' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 45
Errors Name 'modifiedRegexp' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 50
Errors Line is longer than 120 characters. 90
Errors Inner assignments should be avoided. 130
Errors Inner assignments should be avoided. 135
Errors Inner assignments should be avoided. 140
Errors Inner assignments should be avoided. 145
Errors Line contains a tab character. 155
Errors Line contains a tab character. 156
Warnings Missing a Javadoc comment. 219
Warnings Expected an @return tag. 237
Errors Line is longer than 120 characters. 239
Warnings Missing a Javadoc comment. 246

org/apache/maven/scm/provider/git/gitexe/command/tag/GitTagCommand.java

Violation Message Line
Warnings Missing a Javadoc comment. 53
Errors Line is longer than 120 characters. 60
Errors 'if' is not followed by whitespace. 102
Errors Line is longer than 120 characters. 110
Errors Line is longer than 120 characters. 115
Warnings Missing a Javadoc comment. 146
Errors Line is longer than 120 characters. 160
Warnings Missing a Javadoc comment. 160

org/apache/maven/scm/provider/git/gitexe/command/update/GitLatestRevisionCommandConsumer.java

Violation Message Line
Warnings Missing a Javadoc comment. 48
Errors Line is longer than 120 characters. 58
Warnings Missing a Javadoc comment. 80

org/apache/maven/scm/provider/git/gitexe/command/update/GitUpdateCommand.java

Violation Message Line
Warnings Expected an @return tag. 125
Errors Line is longer than 120 characters. 125
Warnings Expected @param tag for 'repository'. 125
Warnings Expected @param tag for 'workingDirectory'. 125
Warnings Expected @param tag for 'scmVersion'. 125
Errors Line is longer than 120 characters. 148
Errors '(' is not followed by whitespace. 148
Warnings Expected @param tag for 'repository'. 148
Warnings Expected @param tag for 'workingDirectory'. 148
Errors ')' is not preceded with whitespace. 149
Errors '&&' should be on a new line. 159