Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
10 0 95 1

Files

File  I  W  E
org/apache/maven/api/plugin/testing/MojoExtension.java 0 14 0
org/apache/maven/api/plugin/testing/stubs/ProjectStub.java 0 1 0
org/apache/maven/api/plugin/testing/stubs/SessionStub.java 0 0 1
org/apache/maven/plugin/testing/AbstractMojoTestCase.java 0 16 0
org/apache/maven/plugin/testing/ArtifactStubFactory.java 0 11 0
org/apache/maven/plugin/testing/MojoRule.java 0 27 0
org/apache/maven/plugin/testing/junit5/MojoExtension.java 0 14 0
org/apache/maven/plugin/testing/resources/TestResources.java 0 4 0
org/apache/maven/plugin/testing/stubs/ArtifactStub.java 0 2 0
org/apache/maven/plugin/testing/stubs/MavenProjectStub.java 0 6 0

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
18  Warning
javadoc JavadocMethod
  • accessModifiers: "public, protected"
77  Warning
sizes MethodLength 1  Error

Details

org/apache/maven/api/plugin/testing/MojoExtension.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 223
 Warning javadoc JavadocMethod Expected @param tag for 'coord'. 223
 Warning javadoc JavadocMethod Expected @param tag for 'pluginConfiguration'. 223
 Warning javadoc JavadocMethod Expected @param tag for 'descriptor'. 223
 Warning javadoc JavadocMethod @return tag should be present and have description. 340
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 340
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 340
 Warning javadoc JavadocMethod @return tag should be present and have description. 351
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 351
 Warning javadoc JavadocMethod Expected @param tag for 'clazz'. 362
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 362
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 380
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 380
 Warning javadoc JavadocMethod Expected @param tag for 'value'. 380

org/apache/maven/api/plugin/testing/stubs/ProjectStub.java

Severity Category Rule Message Line
 Warning coding HiddenField 'model' hides a field. 186

org/apache/maven/api/plugin/testing/stubs/SessionStub.java

Severity Category Rule Message Line
 Error sizes MethodLength Method getMockSession length is 185 lines (max allowed is 150). 77

org/apache/maven/plugin/testing/AbstractMojoTestCase.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'modules'. 239
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 273
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 285
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 297
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 321
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 355
 Warning javadoc JavadocMethod @return tag should be present and have description. 386
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 386
 Warning javadoc JavadocMethod @return tag should be present and have description. 399
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 399
 Warning javadoc JavadocMethod @return tag should be present and have description. 437
 Warning javadoc JavadocMethod @return tag should be present and have description. 453
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 567
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 588
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 609
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 667

org/apache/maven/plugin/testing/ArtifactStubFactory.java

Severity Category Rule Message Line
 Warning coding HiddenField 'archiverManager' hides a field. 86
 Warning coding HiddenField 'workingDir' hides a field. 175
 Warning coding HiddenField 'workingDir' hides a field. 188
 Warning coding HiddenField 'srcFile' hides a field. 188
 Warning coding HiddenField 'workingDir' hides a field. 199
 Warning coding HiddenField 'workingDir' hides a field. 212
 Warning coding HiddenField 'srcFile' hides a field. 212
 Warning coding HiddenField 'workingDir' hides a field. 225
 Warning coding HiddenField 'srcFile' hides a field. 225
 Warning coding HiddenField 'createUnpackableFile' hides a field. 225
 Warning javadoc JavadocMethod @return tag should be present and have description. 257

org/apache/maven/plugin/testing/MojoRule.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 115
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 127
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 139
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 151
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 204
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 242
 Warning javadoc JavadocMethod @return tag should be present and have description. 269
 Warning javadoc JavadocMethod Expected @param tag for 'basedir'. 269
 Warning javadoc JavadocMethod Expected @param tag for 'basedir'. 284
 Warning javadoc JavadocMethod Expected @param tag for 'goal'. 284
 Warning javadoc JavadocMethod @return tag should be present and have description. 294
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 294
 Warning javadoc JavadocMethod Expected @param tag for 'basedir'. 294
 Warning javadoc JavadocMethod Expected @param tag for 'goal'. 294
 Warning javadoc JavadocMethod @return tag should be present and have description. 305
 Warning javadoc JavadocMethod Expected @param tag for '<T>'. 305
 Warning javadoc JavadocMethod Expected @param tag for 'role'. 305
 Warning javadoc JavadocMethod Expected @param tag for 'project'. 312
 Warning javadoc JavadocMethod Expected @param tag for 'goal'. 312
 Warning javadoc JavadocMethod Expected @param tag for 'parameters'. 312
 Warning javadoc JavadocMethod Expected @param tag for 'session'. 320
 Warning javadoc JavadocMethod Expected @param tag for 'project'. 320
 Warning javadoc JavadocMethod Expected @param tag for 'goal'. 320
 Warning javadoc JavadocMethod Expected @param tag for 'parameters'. 320
 Warning javadoc JavadocMethod Expected @param tag for 'session'. 335
 Warning javadoc JavadocMethod Expected @param tag for 'project'. 335
 Warning javadoc JavadocMethod Expected @param tag for 'execution'. 335

org/apache/maven/plugin/testing/junit5/MojoExtension.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 253
 Warning javadoc JavadocMethod Expected @param tag for 'coord'. 253
 Warning javadoc JavadocMethod Expected @param tag for 'pluginConfiguration'. 253
 Warning javadoc JavadocMethod Expected @param tag for 'descriptor'. 253
 Warning javadoc JavadocMethod @return tag should be present and have description. 363
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 363
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 363
 Warning javadoc JavadocMethod @return tag should be present and have description. 374
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 374
 Warning javadoc JavadocMethod Expected @param tag for 'clazz'. 385
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 385
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 403
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 403
 Warning javadoc JavadocMethod Expected @param tag for 'value'. 403

org/apache/maven/plugin/testing/resources/TestResources.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod @return tag should be present and have description. 72
 Warning javadoc JavadocMethod Expected @param tag for 'project'. 72
 Warning javadoc JavadocMethod Expected @param tag for 'basedir'. 159
 Warning javadoc JavadocMethod Expected @param tag for 'paths'. 159

org/apache/maven/plugin/testing/stubs/ArtifactStub.java

Severity Category Rule Message Line
 Warning coding HiddenField 'artifactRepository' hides a field. 200
 Warning coding HiddenField 'artifactRepository' hides a field. 216

org/apache/maven/plugin/testing/stubs/MavenProjectStub.java

Severity Category Rule Message Line
 Warning coding HiddenField 'artifact' hides a field. 1141
 Warning javadoc JavadocMethod Expected @param tag for 'plugin'. 1208
 Warning coding HiddenField 'artifact' hides a field. 1279
 Warning coding HiddenField 'model' hides a field. 1379
 Warning coding HiddenField 'file' hides a field. 1426
 Warning coding HiddenField 'artifact' hides a field. 1484