Checkstyle Results
The following document contains the results of Checkstyle 11.0.0 with org/forgerock/checkstyle/check-src-default.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 175 | 0 | 0 | 17 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| design | FinalClass | 4 | |
| imports | UnusedImports
|
6 | |
| indentation | Indentation
|
3 | |
| javadoc | JavadocVariable
|
2 | |
| whitespace | NoWhitespaceBefore | 1 | |
| ParenPad | 1 |
Details
org/forgerock/http/header/SetCookieHeader.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | ParenPad | ')' is preceded with whitespace. | 167 |
org/forgerock/http/io/BranchingStreamWrapperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| indentation | Indentation | 'array initialization' child has incorrect indentation level 12, expected level should be 8. | 51 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 12, expected level should be 8. | 52 | |
| indentation | Indentation | 'array initialization' child has incorrect indentation level 12, expected level should be 8. | 53 |
org/forgerock/http/io/PipeBufferedStream.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class PipeOutputStream should be declared as final. | 85 | |
| design | FinalClass | Class PipeInputStream should be declared as final. | 102 |
org/forgerock/http/routing/RouteMatchers.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class SelfApiMatcher should be declared as final. | 276 |
org/forgerock/http/routing/Router.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class SelfApiHandler should be declared as final. | 120 |
org/forgerock/http/swagger/OpenApiRequestFilter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| whitespace | NoWhitespaceBefore | ',' is preceded with whitespace. | 85 |
org/forgerock/http/swagger/SwaggerApiProducer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocVariable | Missing a Javadoc comment. | 112 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 113 |
org/forgerock/http/swagger/SwaggerUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.util.Map. | 21 | |
| imports | UnusedImports | Unused import - io.swagger.v3.oas.models.PathItem. | 25 | |
| imports | UnusedImports | Unused import - io.swagger.v3.oas.models.media.Schema. | 27 | |
| imports | UnusedImports | Unused import - io.swagger.v3.oas.models.parameters.Parameter. | 28 | |
| imports | UnusedImports | Unused import - io.swagger.v3.oas.models.responses.ApiResponse. | 29 | |
| imports | UnusedImports | Unused import - io.swagger.v3.oas.models.security.SecurityScheme. | 30 |

