Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
12 10 27 23

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2  Warning
MissingSwitchDefault 1  Error
header RegexpHeader
  • fileExtensions: "java"
  • headerFile: "target/checkstyle-header.txt"
12  Error
imports AvoidStarImport 1  Error
UnusedImports 1  Error
javadoc JavadocMethod
  • scope: "protected"
25  Warning
JavadocType
  • allowUnknownTags: "true"
  • scope: "protected"
5  Error
JavadocVariable
  • scope: "protected"
10  Info
sizes LineLength
  • max: "120"
  • ignorePattern: "@version|@see|@todo|TODO"
2  Error
ParameterNumber 1  Error

Details

org/codehaus/mojo/sonar/DefaultMavenPluginManagerHelper.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
 Info javadoc JavadocVariable Missing a Javadoc comment. 57
 Warning javadoc JavadocMethod Missing a Javadoc comment. 66
 Warning javadoc JavadocMethod Missing a Javadoc comment. 104
 Warning javadoc JavadocMethod Missing a Javadoc comment. 152

org/codehaus/mojo/sonar/DependencyCollector.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 19
 Error javadoc JavadocType Missing a Javadoc comment. 21
 Warning javadoc JavadocMethod Missing a Javadoc comment. 34
 Warning coding HiddenField 'scope' hides a field. 77
 Warning javadoc JavadocMethod Missing a Javadoc comment. 161

org/codehaus/mojo/sonar/ExtensionsFactory.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error javadoc JavadocType Missing a Javadoc comment. 17
 Warning javadoc JavadocMethod Missing a Javadoc comment. 37
 Error sizes ParameterNumber More than 7 parameters (found 9). 37
 Warning javadoc JavadocMethod Missing a Javadoc comment. 53
 Warning javadoc JavadocMethod Missing a Javadoc comment. 65

org/codehaus/mojo/sonar/MavenPluginManagerHelper.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
 Error imports UnusedImports Unused import - org.apache.maven.plugin.MavenPluginManager. 29
 Warning javadoc JavadocMethod Missing a Javadoc comment. 45
 Warning javadoc JavadocMethod Missing a Javadoc comment. 48

org/codehaus/mojo/sonar/SonarMojo.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
 Info javadoc JavadocVariable Missing a Javadoc comment. 64
 Info javadoc JavadocVariable Missing a Javadoc comment. 78
 Info javadoc JavadocVariable Missing a Javadoc comment. 81
 Warning javadoc JavadocMethod Missing a Javadoc comment. 111
 Error sizes LineLength Line is longer than 120 characters (found 122). 123

org/codehaus/mojo/sonar/bootstrap/ExceptionHandling.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^package '. 1

org/codehaus/mojo/sonar/bootstrap/LogHandler.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Warning javadoc JavadocMethod Missing a Javadoc comment. 12
 Error coding MissingSwitchDefault switch without "default" clause. 20

org/codehaus/mojo/sonar/bootstrap/MavenPlugin.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^package '. 1

org/codehaus/mojo/sonar/bootstrap/MavenProjectConverter.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^package '. 1
 Error javadoc JavadocType Missing a Javadoc comment. 54
 Info javadoc JavadocVariable Missing a Javadoc comment. 86
 Info javadoc JavadocVariable Missing a Javadoc comment. 88
 Info javadoc JavadocVariable Missing a Javadoc comment. 90
 Info javadoc JavadocVariable Missing a Javadoc comment. 92
 Warning javadoc JavadocMethod Missing a Javadoc comment. 119
 Warning javadoc JavadocMethod Missing a Javadoc comment. 125
 Warning coding HiddenField 'userProperties' hides a field. 125
 Warning javadoc JavadocMethod Missing a Javadoc comment. 454
 Error sizes LineLength Line is longer than 120 characters (found 151). 554

org/codehaus/mojo/sonar/bootstrap/MavenUtils.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^package '. 1
 Info javadoc JavadocVariable Missing a Javadoc comment. 36
 Info javadoc JavadocVariable Missing a Javadoc comment. 38
 Warning javadoc JavadocMethod Missing a Javadoc comment. 61
 Warning javadoc JavadocMethod Expected @param tag for 'pom'. 74

org/codehaus/mojo/sonar/bootstrap/RunnerBootstrapper.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^ \* Licensed to the Apache Software Foundation \(ASF\) under one\s*$'. 4
 Warning javadoc JavadocMethod Missing a Javadoc comment. 60
 Warning javadoc JavadocMethod Missing a Javadoc comment. 71
 Warning javadoc JavadocMethod Missing a Javadoc comment. 149
 Warning javadoc JavadocMethod Missing a Javadoc comment. 182
 Warning javadoc JavadocMethod Missing a Javadoc comment. 187
 Warning javadoc JavadocMethod Missing a Javadoc comment. 198

org/codehaus/mojo/sonar/bootstrap/RunnerFactory.java

Severity Category Rule Message Line
 Error header RegexpHeader Line does not match expected header line of '^/\*\s*$'. 3
 Error javadoc JavadocType Missing a Javadoc comment. 10
 Warning javadoc JavadocMethod Missing a Javadoc comment. 21
 Warning javadoc JavadocMethod Missing a Javadoc comment. 30