Checkstyle Results
The following document contains the results of Checkstyle 9.3 with config/maven_checks_nocodestyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 17 | 30 | 79 | 6 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | HiddenField
|
44 | |
| javadoc | JavadocMethod
|
35 | |
JavadocVariable
|
30 | ||
| sizes | FileLength | 2 | |
| MethodLength | 2 | ||
| ParameterNumber | 2 |
Details
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | FileLength | File length is 3,813 lines (max allowed is 2,000). | 1 | |
| coding | HiddenField | 'dependenciesToScan' hides a field. | 1082 | |
| coding | HiddenField | 'systemProperties' hides a field. | 1269 | |
| coding | HiddenField | 'systemPropertyVariables' hides a field. | 1270 | |
| coding | HiddenField | 'parallel' hides a field. | 1639 | |
| coding | HiddenField | 'specificTests' hides a field. | 1810 | |
| sizes | ParameterNumber | More than 7 parameters (found 9). | 2345 | |
| coding | HiddenField | 'additionalClasspathElements' hides a field. | 2736 | |
| coding | HiddenField | 'providerName' hides a field. | 2954 | |
| javadoc | JavadocMethod | @return tag should be present and have description. | 3404 |
org/apache/maven/plugin/surefire/AbstractSurefireMojoTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | FileLength | File length is 2,634 lines (max allowed is 2,000). | 1 | |
| coding | HiddenField | 'mojo' hides a field. | 162 | |
| coding | HiddenField | 'mojo' hides a field. | 187 | |
| coding | HiddenField | 'mojo' hides a field. | 243 | |
| coding | HiddenField | 'mojo' hides a field. | 271 | |
| coding | HiddenField | 'mojo' hides a field. | 289 | |
| coding | HiddenField | 'mojo' hides a field. | 361 | |
| coding | HiddenField | 'mojo' hides a field. | 425 | |
| coding | HiddenField | 'mojo' hides a field. | 600 | |
| coding | HiddenField | 'mojo' hides a field. | 691 | |
| coding | HiddenField | 'mojo' hides a field. | 786 | |
| sizes | MethodLength | Method shouldSmartlyResolveJUnit5ProviderWithJUnit4 length is 152 lines (max allowed is 150). | 819 | |
| sizes | MethodLength | Method shouldSmartlyResolveJUnit5ProviderWithJupiterEngineInPluginDependencies length is 203 lines (max allowed is 150). | 1582 | |
| coding | HiddenField | 'mojo' hides a field. | 1884 | |
| coding | HiddenField | 'handler' hides a field. | 2347 | |
| coding | HiddenField | 'handler' hides a field. | 2371 | |
| coding | HiddenField | 'handler' hides a field. | 2399 | |
| coding | HiddenField | 'handler' hides a field. | 2424 | |
| coding | HiddenField | 'handler' hides a field. | 2452 |
org/apache/maven/plugin/surefire/CommonReflector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startupReportConfiguration' hides a field. | 68 | |
| coding | HiddenField | 'consoleLogger' hides a field. | 68 |
org/apache/maven/plugin/surefire/CommonReflectorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'consoleLogger' hides a field. | 156 |
org/apache/maven/plugin/surefire/StartupReportConfiguration.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Expected @param tag for 'useFile'. | 110 | |
| javadoc | JavadocMethod | Expected @param tag for 'printSummary'. | 111 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportFormat'. | 112 | |
| javadoc | JavadocMethod | Expected @param tag for 'redirectTestOutputToFile'. | 113 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportsDirectory'. | 114 | |
| javadoc | JavadocMethod | Expected @param tag for 'trimStackTrace'. | 115 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportNameSuffix'. | 116 | |
| javadoc | JavadocMethod | Expected @param tag for 'statisticsFile'. | 117 | |
| javadoc | JavadocMethod | Expected @param tag for 'requiresRunHistory'. | 118 | |
| javadoc | JavadocMethod | Expected @param tag for 'rerunFailingTestsCount'. | 119 | |
| javadoc | JavadocMethod | Expected @param tag for 'xsdSchemaLocation'. | 120 | |
| javadoc | JavadocMethod | Expected @param tag for 'encoding'. | 121 | |
| javadoc | JavadocMethod | Expected @param tag for 'isForking'. | 122 | |
| javadoc | JavadocMethod | Expected @param tag for 'enableOutErrElements'. | 123 | |
| javadoc | JavadocMethod | Expected @param tag for 'enablePropertiesElement'. | 124 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportTestTimestamp'. | 125 | |
| javadoc | JavadocMethod | Expected @param tag for 'xmlReporter'. | 126 | |
| javadoc | JavadocMethod | Expected @param tag for 'consoleOutputReporter'. | 127 | |
| javadoc | JavadocMethod | Expected @param tag for 'testsetReporter'. | 128 | |
| javadoc | JavadocMethod | Expected @param tag for 'reporterFactoryOptions'. | 129 | |
| coding | HiddenField | 'testClassMethodRunHistory' hides a field. | 233 |
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. | 191 |
org/apache/maven/plugin/surefire/booterclient/MockReporter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 38 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 40 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 42 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 44 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 46 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 48 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 50 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 52 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 54 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 56 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 58 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 60 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 62 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 64 |
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. | 118 |
org/apache/maven/plugin/surefire/extensions/ForkedProcessEventNotifierTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'msg' hides a field. | 909 | |
| coding | HiddenField | 'stackTrace' hides a field. | 928 | |
| coding | HiddenField | 'output' hides a field. | 954 | |
| coding | HiddenField | 'newLine' hides a field. | 954 | |
| coding | HiddenField | 'runMode' hides a field. | 954 | |
| coding | HiddenField | 'testRunId' hides a field. | 954 | |
| coding | HiddenField | 'reportEntry' hides a field. | 977 |
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. | 25 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 26 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 27 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ParameterNumber | More than 7 parameters (found 14). | 131 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportsDirectory'. | 132 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportNameSuffix'. | 133 | |
| javadoc | JavadocMethod | Expected @param tag for 'trimStackTrace'. | 134 | |
| javadoc | JavadocMethod | Expected @param tag for 'rerunFailingTestsCount'. | 135 | |
| javadoc | JavadocMethod | Expected @param tag for 'testClassMethodRunHistoryMap'. | 136 | |
| javadoc | JavadocMethod | Expected @param tag for 'xsdSchemaLocation'. | 137 | |
| javadoc | JavadocMethod | Expected @param tag for 'xsdVersion'. | 138 | |
| javadoc | JavadocMethod | Expected @param tag for 'phrasedFileName'. | 139 | |
| javadoc | JavadocMethod | Expected @param tag for 'phrasedSuiteName'. | 140 | |
| javadoc | JavadocMethod | Expected @param tag for 'phrasedClassName'. | 141 | |
| javadoc | JavadocMethod | Expected @param tag for 'phrasedMethodName'. | 142 | |
| javadoc | JavadocMethod | Expected @param tag for 'enableOutErrElements'. | 143 | |
| javadoc | JavadocMethod | Expected @param tag for 'enablePropertiesElement'. | 144 | |
| javadoc | JavadocMethod | Expected @param tag for 'reportTestTimestamp'. | 145 |
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/providerapi/ProviderInfo.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 38 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 39 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 40 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 41 |
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 |


