Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
16 12 19 8

Files

File  I  W  E
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java 0 6 2
org/apache/maven/plugin/surefire/CommonReflector.java 0 2 0
org/apache/maven/plugin/surefire/StartupReportConfiguration.java 0 1 0
org/apache/maven/plugin/surefire/SurefireHelper.java 6 0 0
org/apache/maven/plugin/surefire/SurefireProperties.java 0 1 0
org/apache/maven/plugin/surefire/booterclient/BooterSerializer.java 0 0 1
org/apache/maven/plugin/surefire/booterclient/ForkStarter.java 0 0 2
org/apache/maven/plugin/surefire/booterclient/ModularClasspathForkConfiguration.java 0 0 1
org/apache/maven/plugin/surefire/booterclient/Platform.java 0 1 0
org/apache/maven/plugin/surefire/booterclient/output/ThreadedStreamConsumer.java 0 1 0
org/apache/maven/plugin/surefire/report/ConsoleReporter.java 2 0 0
org/apache/maven/plugin/surefire/report/ReportEntryType.java 4 0 0
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java 0 0 1
org/apache/maven/plugin/surefire/util/FileScanner.java 0 2 0
org/apache/maven/surefire/report/RunStatistics.java 0 5 0
org/apache/maven/surefire/stream/EventDecoder.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
18  Warning
javadoc JavadocMethod
  • accessModifiers: "public, protected"
1  Warning
JavadocVariable
  • scope: "protected"
12  Info
sizes FileLength 1  Error
MethodLength 1  Error
ParameterNumber 6  Error

Details

org/apache/maven/plugin/surefire/AbstractSurefireMojo.java

Severity Category Rule Message Line
 Error sizes FileLength File length is 3,635 lines (max allowed is 2,000). 1
 Warning coding HiddenField 'dependenciesToScan' hides a field. 1006
 Warning coding HiddenField 'parallel' hides a field. 1493
 Warning coding HiddenField 'specificTests' hides a field. 1680
 Error sizes ParameterNumber More than 7 parameters (found 9). 2192
 Warning coding HiddenField 'additionalClasspathElements' hides a field. 2573
 Warning coding HiddenField 'providerName' hides a field. 3152
 Warning javadoc JavadocMethod @return tag should be present and have description. 3239

org/apache/maven/plugin/surefire/CommonReflector.java

Severity Category Rule Message Line
 Warning coding HiddenField 'startupReportConfiguration' hides a field. 65
 Warning coding HiddenField 'consoleLogger' hides a field. 65

org/apache/maven/plugin/surefire/StartupReportConfiguration.java

Severity Category Rule Message Line
 Warning coding HiddenField 'testClassMethodRunHistory' hides a field. 171

org/apache/maven/plugin/surefire/SurefireHelper.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 57
 Info javadoc JavadocVariable Missing a Javadoc comment. 59
 Info javadoc JavadocVariable Missing a Javadoc comment. 61
 Info javadoc JavadocVariable Missing a Javadoc comment. 63
 Info javadoc JavadocVariable Missing a Javadoc comment. 65
 Info javadoc JavadocVariable Missing a Javadoc comment. 67

org/apache/maven/plugin/surefire/SurefireProperties.java

Severity Category Rule Message Line
 Warning coding HiddenField 'items' hides a field. 181

org/apache/maven/plugin/surefire/booterclient/BooterSerializer.java

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

org/apache/maven/plugin/surefire/booterclient/ForkStarter.java

Severity Category Rule Message Line
 Error sizes MethodLength Method fork length is 166 lines (max allowed is 150). 480
 Error sizes ParameterNumber More than 7 parameters (found 8). 480

org/apache/maven/plugin/surefire/booterclient/ModularClasspathForkConfiguration.java

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

org/apache/maven/plugin/surefire/booterclient/Platform.java

Severity Category Rule Message Line
 Warning coding HiddenField 'jdk' hides a field. 78

org/apache/maven/plugin/surefire/booterclient/output/ThreadedStreamConsumer.java

Severity Category Rule Message Line
 Warning coding HiddenField 'consumer' hides a field. 108

org/apache/maven/plugin/surefire/report/ConsoleReporter.java

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

org/apache/maven/plugin/surefire/report/ReportEntryType.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 26
 Info javadoc JavadocVariable Missing a Javadoc comment. 27
 Info javadoc JavadocVariable Missing a Javadoc comment. 28
 Info javadoc JavadocVariable Missing a Javadoc comment. 29

org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 11). 118

org/apache/maven/plugin/surefire/util/FileScanner.java

Severity Category Rule Message Line
 Warning coding HiddenField 'basedir' hides a field. 49
 Warning coding HiddenField 'ext' hides a field. 55

org/apache/maven/surefire/report/RunStatistics.java

Severity Category Rule Message Line
 Warning coding HiddenField 'completedCount' hides a field. 57
 Warning coding HiddenField 'errors' hides a field. 57
 Warning coding HiddenField 'failures' hides a field. 57
 Warning coding HiddenField 'skipped' hides a field. 57
 Warning coding HiddenField 'flakes' hides a field. 57

org/apache/maven/surefire/stream/EventDecoder.java

Severity Category Rule Message Line
 Error sizes ParameterNumber More than 7 parameters (found 12). 347