Checkstyle Results
The following document contains the results of Checkstyle 9.3 with config/maven_checks_nocodestyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 17 | 12 | 39 | 9 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField
|
20 | |
| javadoc | JavadocMethod
|
19 | |
JavadocVariable
|
12 | ||
| sizes | FileLength | 1 | |
| MethodLength | 1 | ||
| ParameterNumber | 7 |
Details
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | FileLength | File length is 3,764 lines (max allowed is 2,000). | 1 | |
| coding | HiddenField | 'dependenciesToScan' hides a field. | 1054 | |
| coding | HiddenField | 'systemProperties' hides a field. | 1213 | |
| coding | HiddenField | 'systemPropertyVariables' hides a field. | 1214 | |
| coding | HiddenField | 'parallel' hides a field. | 1600 | |
| coding | HiddenField | 'specificTests' hides a field. | 1787 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 2301 | |
| coding | HiddenField | 'additionalClasspathElements' hides a field. | 2684 | |
| coding | HiddenField | 'providerName' hides a field. | 3263 | |
| javadoc | JavadocMethod | @return tag should be present and have description. | 3350 |
org/apache/maven/plugin/surefire/CommonReflector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startupReportConfiguration' hides a field. | 65 | |
| coding | HiddenField | 'consoleLogger' hides a field. | 65 |
org/apache/maven/plugin/surefire/StartupReportConfiguration.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Expected @param tag for 'useFile'. | 105 | |
| javadoc | JavadocMethod | Expected @param tag for 'printSummary'. | 106 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportFormat'. | 107 | |
| javadoc | JavadocMethod | Expected @param tag for 'redirectTestOutputToFile'. | 108 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportsDirectory'. | 109 | |
| javadoc | JavadocMethod | Expected @param tag for 'trimStackTrace'. | 110 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportNameSuffix'. | 111 | |
| javadoc | JavadocMethod | Expected @param tag for 'statisticsFile'. | 112 | |
| javadoc | JavadocMethod | Expected @param tag for 'requiresRunHistory'. | 113 | |
| javadoc | JavadocMethod | Expected @param tag for 'rerunFailingTestsCount'. | 114 | |
| javadoc | JavadocMethod | Expected @param tag for 'xsdSchemaLocation'. | 115 | |
| javadoc | JavadocMethod | Expected @param tag for 'encoding'. | 116 | |
| javadoc | JavadocMethod | Expected @param tag for 'isForking'. | 117 | |
| javadoc | JavadocMethod | Expected @param tag for 'enableOutErrElements'. | 118 | |
| javadoc | JavadocMethod | Expected @param tag for 'enablePropertiesElement'. | 119 | |
| javadoc | JavadocMethod | Expected @param tag for 'xmlReporter'. | 120 | |
| javadoc | JavadocMethod | Expected @param tag for 'consoleOutputReporter'. | 121 | |
| javadoc | JavadocMethod | Expected @param tag for 'testsetReporter'. | 122 | |
| coding | HiddenField | 'testClassMethodRunHistory' hides a field. | 222 |
org/apache/maven/plugin/surefire/SurefireHelper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 57 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 59 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 61 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 63 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 65 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
org/apache/maven/plugin/surefire/SurefireProperties.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'items' hides a field. | 189 |
org/apache/maven/plugin/surefire/booterclient/BooterSerializer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 102 |
org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodLength | Method fork length is 166 lines (max allowed is 150). | 480 | |
| sizes | ParameterNumber | More than 7 parameters (found 8). | 480 |
org/apache/maven/plugin/surefire/booterclient/ModularClasspathForkConfiguration.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 130 |
org/apache/maven/plugin/surefire/booterclient/Platform.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'jdk' hides a field. | 78 |
org/apache/maven/plugin/surefire/booterclient/output/ThreadedStreamConsumer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'consumer' hides a field. | 108 |
org/apache/maven/plugin/surefire/extensions/DefaultStatelessReportMojoConfiguration.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 8). | 40 |
org/apache/maven/plugin/surefire/report/ConsoleReporter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 40 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 41 |
org/apache/maven/plugin/surefire/report/ReportEntryType.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 26 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 27 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 28 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 13). | 123 |
org/apache/maven/plugin/surefire/util/FileScanner.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'basedir' hides a field. | 49 | |
| coding | HiddenField | 'ext' hides a field. | 55 |
org/apache/maven/surefire/report/RunStatistics.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'completedCount' hides a field. | 57 | |
| coding | HiddenField | 'errors' hides a field. | 57 | |
| coding | HiddenField | 'failures' hides a field. | 57 | |
| coding | HiddenField | 'skipped' hides a field. | 57 | |
| coding | HiddenField | 'flakes' hides a field. | 57 |
org/apache/maven/surefire/stream/EventDecoder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 12). | 347 |


