Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
5 5 24 2

Files

File  I  W  E
org/apache/maven/api/di/testing/MavenDIExtension.java 3 4 0
org/apache/maven/api/plugin/testing/MojoExtension.java 2 10 1
org/apache/maven/api/plugin/testing/stubs/ProjectStub.java 0 6 0
org/apache/maven/api/plugin/testing/stubs/RepositorySystemSupplier.java 0 4 0
org/apache/maven/api/plugin/testing/stubs/SessionMock.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
14  Warning
javadoc JavadocMethod
  • accessModifiers: "public, protected"
10  Warning
JavadocVariable
  • scope: "protected"
5  Info
sizes MethodLength 2  Error

Details

org/apache/maven/api/di/testing/MavenDIExtension.java

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 42
 Info javadoc JavadocVariable Missing a Javadoc comment. 43
 Info javadoc JavadocVariable Missing a Javadoc comment. 44
 Warning coding HiddenField 'context' hides a field. 47
 Warning coding HiddenField 'context' hides a field. 74
 Warning coding HiddenField 'basedir' hides a field. 119
 Warning coding HiddenField 'basedir' hides a field. 133

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

Severity Category Rule Message Line
 Info javadoc JavadocVariable Missing a Javadoc comment. 101
 Info javadoc JavadocVariable Missing a Javadoc comment. 102
 Error sizes MethodLength Method beforeEach length is 258 lines (max allowed is 150). 214
 Warning javadoc JavadocMethod @return tag should be present and have description. 587
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 587
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 587
 Warning javadoc JavadocMethod @return tag should be present and have description. 598
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 598
 Warning javadoc JavadocMethod Expected @param tag for 'clazz'. 609
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 609
 Warning javadoc JavadocMethod Expected @param tag for 'object'. 627
 Warning javadoc JavadocMethod Expected @param tag for 'variable'. 627
 Warning javadoc JavadocMethod Expected @param tag for 'value'. 627

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

Severity Category Rule Message Line
 Warning coding HiddenField 'basedir' hides a field. 180
 Warning coding HiddenField 'mainArtifact' hides a field. 215
 Warning coding HiddenField 'pomPath' hides a field. 220
 Warning coding HiddenField 'topProject' hides a field. 225
 Warning coding HiddenField 'model' hides a field. 230
 Warning coding HiddenField 'rootDirectory' hides a field. 235

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

Severity Category Rule Message Line
 Warning coding HiddenField 'localPathComposer' hides a field. 498
 Warning coding HiddenField 'remoteRepositoryManager' hides a field. 792
 Warning coding HiddenField 'artifactDescriptorReader' hides a field. 793
 Warning coding HiddenField 'versionRangeResolver' hides a field. 794

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

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