Checkstyle Results

The following document contains the results of Checkstyle 9.3 with config/maven_checks_nocodestyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
449 88 74 23

Files

File  I  W  E
org/apache/maven/scm/ChangeSet.java 0 3 0
org/apache/maven/scm/CommandParameter.java 23 0 0
org/apache/maven/scm/PlexusJUnit4TestCase.java 1 4 0
org/apache/maven/scm/ScmRequest.java 1 0 0
org/apache/maven/scm/ScmResult.java 1 1 0
org/apache/maven/scm/ScmTckTestCase.java 0 13 0
org/apache/maven/scm/ScmTestCase.java 1 0 0
org/apache/maven/scm/command/AbstractCommand.java 1 0 0
org/apache/maven/scm/command/changelog/ChangeLogSet.java 1 0 0
org/apache/maven/scm/command/checkin/AbstractCheckInCommand.java 1 0 0
org/apache/maven/scm/command/info/InfoItem.java 0 3 0
org/apache/maven/scm/manager/AbstractScmManager.java 1 0 0
org/apache/maven/scm/plugin/AbstractScmMojo.java 4 3 0
org/apache/maven/scm/plugin/BootstrapMojo.java 0 1 0
org/apache/maven/scm/provider/AbstractScmProvider.java 1 4 0
org/apache/maven/scm/provider/ScmProviderStub.java 0 6 0
org/apache/maven/scm/provider/git/GitSshServer.java 3 0 0
org/apache/maven/scm/provider/git/command/branch/GitSshBranchCommandTckTest.java 2 0 0
org/apache/maven/scm/provider/git/command/changelog/GitChangeLogCommandTckTest.java 1 0 0
org/apache/maven/scm/provider/git/command/checkout/GitSshCheckOutCommandTckTest.java 2 0 0
org/apache/maven/scm/provider/git/command/tag/GitSshTagCommandTckTest.java 2 2 0
org/apache/maven/scm/provider/git/command/untag/GitSshUntagCommandTckTest.java 2 0 0
org/apache/maven/scm/provider/git/gitexe/command/AbstractFileCheckingConsumer.java 2 0 0
org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java 1 8 0
org/apache/maven/scm/provider/git/gitexe/command/branch/GitBranchCommand.java 0 3 0
org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogCommand.java 0 0 5
org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumer.java 0 1 0
org/apache/maven/scm/provider/git/gitexe/command/diff/GitDiffCommand.java 0 6 0
org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoCommand.java 1 0 0
org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java 0 0 4
org/apache/maven/scm/provider/git/gitexe/command/update/GitUpdateCommand.java 0 6 0
org/apache/maven/scm/provider/git/jgit/command/JGitUtils.java 0 2 0
org/apache/maven/scm/provider/git/jgit/command/changelog/JGitChangeLogCommand.java 0 0 2
org/apache/maven/scm/provider/git/jgit/command/checkin/JGitCheckInCommand.java 3 0 0
org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java 0 0 1
org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java 0 0 3
org/apache/maven/scm/provider/git/sshd/git/pack/GitPackCommandFactory.java 2 0 0
org/apache/maven/scm/provider/git/util/GitUtil.java 2 0 0
org/apache/maven/scm/provider/hg/HgRepoUtils.java 5 0 0
org/apache/maven/scm/provider/hg/HgUtils.java 1 0 0
org/apache/maven/scm/provider/hg/command/HgCommandConstants.java 11 0 0
org/apache/maven/scm/provider/hg/command/blame/HgBlameCommand.java 1 0 0
org/apache/maven/scm/provider/hg/command/info/HgInfoConsumer.java 0 1 0
org/apache/maven/scm/provider/svn/AbstractSvnScmProvider.java 1 0 0
org/apache/maven/scm/provider/svn/SvnTagBranchUtils.java 5 2 0
org/apache/maven/scm/provider/svn/repository/SvnScmProviderRepository.java 0 3 0
org/apache/maven/scm/provider/svn/svnexe/command/AbstractFileCheckingConsumer.java 2 0 0
org/apache/maven/scm/provider/svn/svnexe/command/blame/SvnBlameConsumer.java 0 0 4
org/apache/maven/scm/provider/svn/svnexe/command/changelog/SvnChangeLogCommand.java 0 0 2
org/apache/maven/scm/provider/svn/svnexe/command/changelog/SvnChangeLogConsumer.java 0 1 2
org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateCommand.java 0 1 0
org/apache/maven/scm/provider/svn/util/SvnUtil.java 2 0 0
org/apache/maven/scm/util/AbstractConsumer.java 1 0 0

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • setterCanReturnItsClass: "true"
  • ignoreSetter: "true"
13  Warning
InnerAssignment 11  Error
javadoc JavadocMethod
  • accessModifiers: "public, protected"
61  Warning
JavadocVariable
  • scope: "protected"
88  Info
sizes ParameterNumber 12  Error

Details

org/apache/maven/scm/ChangeSet.java

Severity Category Rule Message Line
 Warning coding HiddenField 'date' hides a field. 302
 Warning coding HiddenField 'tags' hides a field. 445
 Warning coding HiddenField 'tags' hides a field. 520

org/apache/maven/scm/CommandParameter.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 30
 Info javadoc JavadocVariable Missing a Javadoc comment. 32
 Info javadoc JavadocVariable Missing a Javadoc comment. 34
 Info javadoc JavadocVariable Missing a Javadoc comment. 36
 Info javadoc JavadocVariable Missing a Javadoc comment. 38
 Info javadoc JavadocVariable Missing a Javadoc comment. 40
 Info javadoc JavadocVariable Missing a Javadoc comment. 42
 Info javadoc JavadocVariable Missing a Javadoc comment. 44
 Info javadoc JavadocVariable Missing a Javadoc comment. 46
 Info javadoc JavadocVariable Missing a Javadoc comment. 48
 Info javadoc JavadocVariable Missing a Javadoc comment. 50
 Info javadoc JavadocVariable Missing a Javadoc comment. 52
 Info javadoc JavadocVariable Missing a Javadoc comment. 54
 Info javadoc JavadocVariable Missing a Javadoc comment. 56
 Info javadoc JavadocVariable Missing a Javadoc comment. 58
 Info javadoc JavadocVariable Missing a Javadoc comment. 60
 Info javadoc JavadocVariable Missing a Javadoc comment. 62
 Info javadoc JavadocVariable Missing a Javadoc comment. 64
 Info javadoc JavadocVariable Missing a Javadoc comment. 66
 Info javadoc JavadocVariable Missing a Javadoc comment. 68
 Info javadoc JavadocVariable Missing a Javadoc comment. 70
 Info javadoc JavadocVariable Missing a Javadoc comment. 72
 Info javadoc JavadocVariable Missing a Javadoc comment. 74

org/apache/maven/scm/PlexusJUnit4TestCase.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 53
 Warning javadoc JavadocMethod @return tag should be present and have description. 121
 Warning javadoc JavadocMethod @return tag should be present and have description. 176
 Warning coding HiddenField 'basedir' hides a field. 225
 Warning coding HiddenField 'basedir' hides a field. 240

org/apache/maven/scm/ScmRequest.java

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

org/apache/maven/scm/ScmResult.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 40
 Warning coding HiddenField 'commandOutput' hides a field. 111

org/apache/maven/scm/ScmTckTestCase.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 165
 Warning javadoc JavadocMethod @return tag should be present and have description. 176
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 176
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 176
 Warning javadoc JavadocMethod @return tag should be present and have description. 189
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 189
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 189
 Warning javadoc JavadocMethod @return tag should be present and have description. 202
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 202
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 202
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 215
 Warning javadoc JavadocMethod Expected @param tag for 'file'. 215
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 215

org/apache/maven/scm/ScmTestCase.java

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

org/apache/maven/scm/command/AbstractCommand.java

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

org/apache/maven/scm/command/changelog/ChangeLogSet.java

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

org/apache/maven/scm/command/checkin/AbstractCheckInCommand.java

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

org/apache/maven/scm/command/info/InfoItem.java

Severity Category Rule Message Line
 Warning coding HiddenField 'url' hides a field. 69
 Warning javadoc JavadocMethod @return tag should be present and have description. 132
 Warning javadoc JavadocMethod Expected @param tag for 'lastChangedDate'. 141

org/apache/maven/scm/manager/AbstractScmManager.java

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

org/apache/maven/scm/plugin/AbstractScmMojo.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 63
 Info javadoc JavadocVariable Missing a Javadoc comment. 65
 Info javadoc JavadocVariable Missing a Javadoc comment. 67
 Info javadoc JavadocVariable Missing a Javadoc comment. 69
 Warning coding HiddenField 'serverId' hides a field. 359
 Warning coding HiddenField 'includes' hides a field. 457
 Warning coding HiddenField 'excludes' hides a field. 466

org/apache/maven/scm/plugin/BootstrapMojo.java

Severity Category Rule Message Line
 Warning coding HiddenField 'goalsDirectory' hides a field. 170

org/apache/maven/scm/provider/AbstractScmProvider.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod @return tag should be present and have description. 174
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 174
 Warning javadoc JavadocMethod Expected @param tag for 'fileSet'. 174
 Warning javadoc JavadocMethod Expected @param tag for 'parameters'. 174

org/apache/maven/scm/provider/ScmProviderStub.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 569
 Warning javadoc JavadocMethod Expected @param tag for 'fileSet'. 570
 Warning javadoc JavadocMethod Expected @param tag for 'tag'. 571
 Warning javadoc JavadocMethod Expected @param tag for 'lastUpdate'. 572
 Warning javadoc JavadocMethod Expected @param tag for 'datePattern'. 573
 Warning javadoc JavadocMethod Expected @param tag for 'runChangelog'. 574

org/apache/maven/scm/provider/git/GitSshServer.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 61
 Info javadoc JavadocVariable Missing a Javadoc comment. 62
 Info javadoc JavadocVariable Missing a Javadoc comment. 63

org/apache/maven/scm/provider/git/command/branch/GitSshBranchCommandTckTest.java

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

org/apache/maven/scm/provider/git/command/changelog/GitChangeLogCommandTckTest.java

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

org/apache/maven/scm/provider/git/command/checkout/GitSshCheckOutCommandTckTest.java

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

org/apache/maven/scm/provider/git/command/tag/GitSshTagCommandTckTest.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 40
 Info javadoc JavadocVariable Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 57
 Warning javadoc JavadocMethod Expected @param tag for 'passphrase'. 57

org/apache/maven/scm/provider/git/command/untag/GitSshUntagCommandTckTest.java

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

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

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

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 51
 Warning javadoc JavadocMethod @return tag should be present and have description. 88
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 88
 Warning javadoc JavadocMethod Expected @param tag for 'command'. 88
 Warning javadoc JavadocMethod @return tag should be present and have description. 95
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 96
 Warning javadoc JavadocMethod Expected @param tag for 'command'. 97
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 98
 Warning javadoc JavadocMethod Expected @param tag for 'environment'. 99

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 125
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 125
 Warning javadoc JavadocMethod Expected @param tag for 'fileSet'. 125

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

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 8). 101
 Error sizes ParameterNumber More than 7 parameters (found 9). 142
 Error sizes ParameterNumber More than 7 parameters (found 10). 157
 Error sizes ParameterNumber More than 7 parameters (found 8). 228
 Error sizes ParameterNumber More than 7 parameters (found 9). 241

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'userDateFormat'. 163

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 75
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 76
 Warning javadoc JavadocMethod Expected @param tag for 'startVersion'. 76
 Warning javadoc JavadocMethod Expected @param tag for 'endVersion'. 76
 Warning javadoc JavadocMethod @return tag should be present and have description. 100
 Warning javadoc JavadocMethod Expected @param tag for 'sha1'. 100

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

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

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

Severity Category Rule Message Line
 Error coding InnerAssignment Inner assignments should be avoided. 156
 Error coding InnerAssignment Inner assignments should be avoided. 159
 Error coding InnerAssignment Inner assignments should be avoided. 162
 Error coding InnerAssignment Inner assignments should be avoided. 165

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 111
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 112
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 112
 Warning javadoc JavadocMethod Expected @param tag for 'scmVersion'. 112
 Warning javadoc JavadocMethod Expected @param tag for 'repository'. 130
 Warning javadoc JavadocMethod Expected @param tag for 'workingDirectory'. 130

org/apache/maven/scm/provider/git/jgit/command/JGitUtils.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 96
 Warning javadoc JavadocMethod @return tag should be present and have description. 343

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

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 8). 88
 Error sizes ParameterNumber More than 7 parameters (found 9). 102

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 80
 Info javadoc JavadocVariable Missing a Javadoc comment. 82
 Info javadoc JavadocVariable Missing a Javadoc comment. 84

org/apache/maven/scm/provider/git/repository/GitScmProviderRepository.java

Severity Category Rule Message Line
 Error coding InnerAssignment Inner assignments should be avoided. 146

org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 9). 434
 Error sizes ParameterNumber More than 7 parameters (found 11). 461
 Error sizes ParameterNumber More than 7 parameters (found 8). 495

org/apache/maven/scm/provider/git/sshd/git/pack/GitPackCommandFactory.java

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

org/apache/maven/scm/provider/git/util/GitUtil.java

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

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 41
 Info javadoc JavadocVariable Missing a Javadoc comment. 44
 Info javadoc JavadocVariable Missing a Javadoc comment. 46
 Info javadoc JavadocVariable Missing a Javadoc comment. 48
 Info javadoc JavadocVariable Missing a Javadoc comment. 50

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

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

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 130
 Info javadoc JavadocVariable Missing a Javadoc comment. 132
 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

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

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

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

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'line'. 39

org/apache/maven/scm/provider/svn/AbstractSvnScmProvider.java

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

org/apache/maven/scm/provider/svn/SvnTagBranchUtils.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 34
 Info javadoc JavadocVariable Missing a Javadoc comment. 36
 Info javadoc JavadocVariable Missing a Javadoc comment. 38
 Info javadoc JavadocVariable Missing a Javadoc comment. 40
 Info javadoc JavadocVariable Missing a Javadoc comment. 42
 Warning javadoc JavadocMethod @return tag should be present and have description. 248
 Warning javadoc JavadocMethod Expected @param tag for 'version'. 248

org/apache/maven/scm/provider/svn/repository/SvnScmProviderRepository.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 68
 Warning javadoc JavadocMethod @return tag should be present and have description. 89
 Warning coding HiddenField 'url' hides a field. 120

org/apache/maven/scm/provider/svn/svnexe/command/AbstractFileCheckingConsumer.java

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

org/apache/maven/scm/provider/svn/svnexe/command/blame/SvnBlameConsumer.java

Severity Category Rule Message Line
 Error coding InnerAssignment Inner assignments should be avoided. 66
 Error coding InnerAssignment Inner assignments should be avoided. 69
 Error coding InnerAssignment Inner assignments should be avoided. 71
 Error coding InnerAssignment Inner assignments should be avoided. 73

org/apache/maven/scm/provider/svn/svnexe/command/changelog/SvnChangeLogCommand.java

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 9). 123
 Error sizes ParameterNumber More than 7 parameters (found 8). 190

org/apache/maven/scm/provider/svn/svnexe/command/changelog/SvnChangeLogConsumer.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'userDateFormat'. 130
 Error coding InnerAssignment Inner assignments should be avoided. 205
 Error coding InnerAssignment Inner assignments should be avoided. 207

org/apache/maven/scm/provider/svn/svnexe/command/update/SvnUpdateCommand.java

Severity Category Rule Message Line
 Warning coding HiddenField 'interactive' hides a field. 107

org/apache/maven/scm/provider/svn/util/SvnUtil.java

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

org/apache/maven/scm/util/AbstractConsumer.java

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