Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
13 0 41 25

Rules

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

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

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

Violation Message Line
Errors Line is longer than 120 characters. 47

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

Violation Message Line
Warnings Expected @throws tag for 'GitAPIException'. 137

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

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

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

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

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

Violation Message Line
Warnings Missing a Javadoc comment. 78

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

Violation Message Line
Warnings Missing a Javadoc comment. 56