Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files  Info  Warnings  Errors
13 3 41 28

Rules

Rule Violations Severity
Translation 0  Error
FileLength 0  Error
RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
1  Error
FileTabCharacter
  • eachLine: "true"
0  Error
LeftCurly
  • option: "nl"
1  Error
RightCurly
  • option: "alone"
0  Error
LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
6  Error
MemberName 0  Error
JavadocMethod
  • scope: "protected"
41  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
1  Error
JavadocVariable
  • scope: "protected"
3  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 1  Error
MethodLength 0  Error
ParameterNumber 1  Error
EmptyForIteratorPad
  • option: "space"
0  Error
OperatorWrap 0  Error
ParenPad
  • option: "space"
3  Error
WhitespaceAfter 0  Error
WhitespaceAround 1  Error
ModifierOrder 0  Error
RedundantModifier 0  Error
AvoidNestedBlocks 0  Error
EmptyBlock
  • option: "text"
0  Error
NeedBraces 0  Error
EmptyStatement 0  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"
0  Error
MissingSwitchDefault 0  Error
RedundantThrows 13  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/git/jgit/command/JGitUtils.java

Severity Message Line
 Error Line does not match expected header line of '^/\*\s*$'. 3
 Error Unused import - org.apache.maven.scm.ScmException. 3
 Warning Expected @param tag for 'logger'. 108
 Warning Missing a Javadoc comment. 160
 Error Redundant throws: 'InvalidRemoteException' is subclass of 'GitAPIException'. 161
 Error Redundant throws: 'TransportException' is subclass of 'GitAPIException'. 161
 Warning Expected @param tag for 'repo'. 183
 Warning Expected @throws tag for 'MissingObjectException'. 205
 Error Redundant throws: 'MissingObjectException' is subclass of 'IOException'. 205
 Warning Expected @throws tag for 'IncorrectObjectTypeException'. 205
 Error Redundant throws: 'IncorrectObjectTypeException' is subclass of 'IOException'. 205
 Warning Expected @throws tag for 'CorruptObjectException'. 205
 Error Redundant throws: 'CorruptObjectException' is subclass of 'IOException'. 205
 Warning Expected @throws tag for 'IOException'. 205
 Warning Unused @throws tag for 'ScmException'. 232
 Warning Expected @param tag for 'changeType'. 234
 Warning Expected @throws tag for 'GitAPIException'. 264
 Warning Expected @throws tag for 'NoFilepatternException'. 264
 Error Redundant throws: 'NoFilepatternException' is subclass of 'GitAPIException'. 264
 Error Line is longer than 120 characters (found 125). 304
 Warning Expected @throws tag for 'IOException'. 340
 Warning Expected @throws tag for 'MissingObjectException'. 340
 Error Redundant throws: 'MissingObjectException' is subclass of 'IOException'. 340
 Warning Expected @throws tag for 'IncorrectObjectTypeException'. 340
 Error Redundant throws: 'IncorrectObjectTypeException' is subclass of 'IOException'. 340
 Error Redundant throws: 'StopWalkException' is unchecked exception. 366
 Error Redundant throws: 'MissingObjectException' is subclass of 'IOException'. 366
 Error Redundant throws: 'IncorrectObjectTypeException' is subclass of 'IOException'. 366
 Error ')' is not preceded with whitespace. 370

org/apache/maven/scm/provider/git/jgit/command/blame/JGitBlameCommand.java

Severity Message Line
 Error Line is longer than 120 characters (found 121). 47

org/apache/maven/scm/provider/git/jgit/command/branch/JGitBranchCommand.java

Severity Message Line
 Warning Expected @throws tag for 'GitAPIException'. 137

org/apache/maven/scm/provider/git/jgit/command/changelog/JGitChangeLogCommand.java

Severity Message Line
 Warning Missing a Javadoc comment. 78
 Error More than 7 parameters (found 8). 78
 Warning Missing a Javadoc comment. 126
 Error Redundant throws: 'MissingObjectException' is subclass of 'IOException'. 128
 Error Redundant throws: 'IncorrectObjectTypeException' is subclass of 'IOException'. 128
 Error Missing a Javadoc comment. 158
 Warning Missing a Javadoc comment. 182
 Warning Missing a Javadoc comment. 187
 Warning Missing a Javadoc comment. 192
 Warning Missing a Javadoc comment. 197
 Warning Missing a Javadoc comment. 202
 Warning Missing a Javadoc comment. 207
 Warning Missing a Javadoc comment. 212
 Warning Missing a Javadoc comment. 217
 Warning Missing a Javadoc comment. 222
 Warning Missing a Javadoc comment. 227
 Warning Missing a Javadoc comment. 232
 Warning Missing a Javadoc comment. 237
 Warning Missing a Javadoc comment. 242
 Warning Missing a Javadoc comment. 247
 Warning Missing a Javadoc comment. 252
 Warning Missing a Javadoc comment. 257
 Warning Missing a Javadoc comment. 262
 Warning Missing a Javadoc comment. 267
 Warning Missing a Javadoc comment. 272
 Warning Missing a Javadoc comment. 277
 Warning Missing a Javadoc comment. 282
 Warning Missing a Javadoc comment. 287

org/apache/maven/scm/provider/git/jgit/command/checkin/JGitCheckInCommand.java

Severity Message Line
 Info Missing a Javadoc comment. 69
 Info Missing a Javadoc comment. 71
 Info Missing a Javadoc comment. 73
 Error Line is longer than 120 characters (found 123). 125
 Error Line is longer than 120 characters (found 133). 126
 Error Line is longer than 120 characters (found 125). 274

org/apache/maven/scm/provider/git/jgit/command/checkout/JGitCheckOutCommand.java

Severity Message Line
 Error Line is longer than 120 characters (found 211). 110
 Error 'if' is not followed by whitespace. 117
 Error '(' is not followed by whitespace. 117
 Error ')' is not preceded with whitespace. 117
 Error '{' should be on a new line. 117

org/apache/maven/scm/provider/git/jgit/command/diff/JGitDiffCommand.java

Severity Message Line
 Warning Missing a Javadoc comment. 78

org/apache/maven/scm/provider/git/jgit/command/tag/JGitTagCommand.java

Severity Message Line
 Warning Missing a Javadoc comment. 56