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
17 12 39 9

Files

File  I  W  E
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java 0 8 2
org/apache/maven/plugin/surefire/CommonReflector.java 0 2 0
org/apache/maven/plugin/surefire/StartupReportConfiguration.java 0 19 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/extensions/DefaultStatelessReportMojoConfiguration.java 0 0 1
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"
20  Warning
javadoc JavadocMethod
  • accessModifiers: "public, protected"
19  Warning
JavadocVariable
  • scope: "protected"
12  Info
sizes FileLength 1  Error
MethodLength 1  Error
ParameterNumber 7  Error

Details

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

Severity Category Rule Message Line
 Error sizes FileLength File length is 3,764 lines (max allowed is 2,000). 1
 Warning coding HiddenField 'dependenciesToScan' hides a field. 1054
 Warning coding HiddenField 'systemProperties' hides a field. 1213
 Warning coding HiddenField 'systemPropertyVariables' hides a field. 1214
 Warning coding HiddenField 'parallel' hides a field. 1600
 Warning coding HiddenField 'specificTests' hides a field. 1787
 Error sizes ParameterNumber More than 7 parameters (found 9). 2301
 Warning coding HiddenField 'additionalClasspathElements' hides a field. 2684
 Warning coding HiddenField 'providerName' hides a field. 3263
 Warning javadoc JavadocMethod @return tag should be present and have description. 3350

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 javadoc JavadocMethod Expected @param tag for 'useFile'. 105
 Warning javadoc JavadocMethod Expected @param tag for 'printSummary'. 106
 Warning javadoc JavadocMethod Expected @param tag for 'reportFormat'. 107
 Warning javadoc JavadocMethod Expected @param tag for 'redirectTestOutputToFile'. 108
 Warning javadoc JavadocMethod Expected @param tag for 'reportsDirectory'. 109
 Warning javadoc JavadocMethod Expected @param tag for 'trimStackTrace'. 110
 Warning javadoc JavadocMethod Expected @param tag for 'reportNameSuffix'. 111
 Warning javadoc JavadocMethod Expected @param tag for 'statisticsFile'. 112
 Warning javadoc JavadocMethod Expected @param tag for 'requiresRunHistory'. 113
 Warning javadoc JavadocMethod Expected @param tag for 'rerunFailingTestsCount'. 114
 Warning javadoc JavadocMethod Expected @param tag for 'xsdSchemaLocation'. 115
 Warning javadoc JavadocMethod Expected @param tag for 'encoding'. 116
 Warning javadoc JavadocMethod Expected @param tag for 'isForking'. 117
 Warning javadoc JavadocMethod Expected @param tag for 'enableOutErrElements'. 118
 Warning javadoc JavadocMethod Expected @param tag for 'enablePropertiesElement'. 119
 Warning javadoc JavadocMethod Expected @param tag for 'xmlReporter'. 120
 Warning javadoc JavadocMethod Expected @param tag for 'consoleOutputReporter'. 121
 Warning javadoc JavadocMethod Expected @param tag for 'testsetReporter'. 122
 Warning coding HiddenField 'testClassMethodRunHistory' hides a field. 222

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. 189

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/extensions/DefaultStatelessReportMojoConfiguration.java

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

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 13). 123

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