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
11 12 39 3

Files

File  I  W  E
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java 0 8 3
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/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/util/FileScanner.java 0 2 0
org/apache/maven/surefire/report/RunStatistics.java 0 5 0

Rules

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

Details

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

Severity Category Rule Message Line
 Error sizes FileLength File length is 3,802 lines (max allowed is 2,000). 1
 Warning coding HiddenField 'dependenciesToScan' hides a field. 1050
 Warning coding HiddenField 'systemProperties' hides a field. 1211
 Warning coding HiddenField 'systemPropertyVariables' hides a field. 1212
 Warning coding HiddenField 'parallel' hides a field. 1598
 Error coding UnusedLocalVariable Unused local variable 'actualFailIfNoTests'. 1770
 Warning coding HiddenField 'specificTests' hides a field. 1785
 Error sizes ParameterNumber More than 7 parameters (found 9). 2300
 Warning coding HiddenField 'additionalClasspathElements' hides a field. 2683
 Warning coding HiddenField 'providerName' hides a field. 3301
 Warning javadoc JavadocMethod @return tag should be present and have description. 3388

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/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/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