Checkstyle Results

The following document contains the results of Checkstyle 6.1.1 with config/maven_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
31 13 42 24

Files

File  I  W  E
org/apache/maven/scm/provider/hg/HgConfig.java 0 2 0
org/apache/maven/scm/provider/hg/HgUtils.java 1 6 19
org/apache/maven/scm/provider/hg/command/HgCommandConstants.java 11 0 0
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 0
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 0
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 0
org/apache/maven/scm/provider/hg/command/info/HgInfoConsumer.java 0 3 0
org/apache/maven/scm/provider/hg/command/inventory/HgChangeSet.java 0 3 0
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 2
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 0
org/apache/maven/scm/provider/hg/command/tag/HgTagCommand.java 0 1 0
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 0
org/apache/maven/scm/provider/hg/repository/HgScmProviderRepository.java 0 2 0

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
2  Error
coding MagicNumber
  • ignoreNumbers: "-4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 31, 32, 37, 64, 100, 128, 256, 512, 1000, 1024"
3  Error
imports UnusedImports 2  Error
javadoc JavadocMethod
  • scope: "protected"
42  Warning
JavadocVariable
  • scope: "protected"
13  Info
whitespace ParenPad
  • option: "space"
16  Error
WhitespaceAfter 1  Error

Details

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 83
 Warning javadoc JavadocMethod Missing a Javadoc comment. 185

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 86
 Warning javadoc JavadocMethod Missing a Javadoc comment. 185
 Warning javadoc JavadocMethod Missing a Javadoc comment. 192
 Warning javadoc JavadocMethod Missing a Javadoc comment. 212
 Warning javadoc JavadocMethod Missing a Javadoc comment. 223
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 318
 Error whitespace ParenPad '(' is not followed by whitespace. 329
 Error whitespace ParenPad '(' is not followed by whitespace. 329
 Error whitespace ParenPad ')' is not preceded with whitespace. 329
 Error whitespace ParenPad '(' is not followed by whitespace. 329
 Error whitespace ParenPad '(' is not followed by whitespace. 329
 Error whitespace ParenPad ')' is not preceded with whitespace. 329
 Error whitespace ParenPad ')' is not preceded with whitespace. 329
 Error whitespace ParenPad ')' is not preceded with whitespace. 329
 Error blocks LeftCurly '{' should be on a new line. 329
 Error whitespace ParenPad '(' is not followed by whitespace. 330
 Error whitespace ParenPad ')' is not preceded with whitespace. 330
 Error whitespace ParenPad '(' is not followed by whitespace. 331
 Error whitespace ParenPad ')' is not preceded with whitespace. 331
 Error whitespace ParenPad '(' is not followed by whitespace. 332
 Error whitespace ParenPad ')' is not preceded with whitespace. 332
 Error whitespace ParenPad '(' is not followed by whitespace. 340
 Error whitespace ParenPad ')' is not preceded with whitespace. 340
 Error blocks LeftCurly '{' should be on a new line. 340
 Warning javadoc JavadocMethod Missing a Javadoc comment. 344

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 134
 Info javadoc JavadocVariable Missing a Javadoc comment. 136
 Info javadoc JavadocVariable Missing a Javadoc comment. 138
 Info javadoc JavadocVariable Missing a Javadoc comment. 140
 Info javadoc JavadocVariable Missing a Javadoc comment. 142
 Info javadoc JavadocVariable Missing a Javadoc comment. 144
 Info javadoc JavadocVariable Missing a Javadoc comment. 146
 Info javadoc JavadocVariable Missing a Javadoc comment. 148
 Info javadoc JavadocVariable Missing a Javadoc comment. 150
 Info javadoc JavadocVariable Missing a Javadoc comment. 152
 Info javadoc JavadocVariable Missing a Javadoc comment. 154

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 92
 Warning javadoc JavadocMethod Missing a Javadoc comment. 97

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod Missing a Javadoc comment. 74

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 38

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod Missing a Javadoc comment. 76

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55

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

Severity Category Rule Message Line
 Error coding MagicNumber '60' is a magic number. 90
 Error coding MagicNumber '60' is a magic number. 90
 Error coding MagicNumber '24' is a magic number. 90

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod Missing a Javadoc comment. 77

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 44

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 80
 Warning javadoc JavadocMethod Missing a Javadoc comment. 158
 Warning javadoc JavadocMethod Missing a Javadoc comment. 163
 Warning javadoc JavadocMethod Missing a Javadoc comment. 168

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 40
 Warning javadoc JavadocMethod Expected @param tag for 'line'. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 56

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod Missing a Javadoc comment. 47

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod Missing a Javadoc comment. 53

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

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.util.ArrayList. 25
 Error imports UnusedImports Unused import - java.util.Collections. 26
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 43
 Warning javadoc JavadocMethod Missing a Javadoc comment. 75

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 42

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 55

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 33

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 122

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Missing a Javadoc comment. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60