Apache log4j logo Apache logging services logo

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/rgoers/projects/apache/logging/log4j/log4j-audit-1.0.1/log4j-audit/log4j-audit-war/../../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
11 0 0 173

Details

org/apache/logging/log4j/audit/service/catalog/AuditCatalogManager.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'java.sql.Timestamp' import. 20
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.catalog.jpa.converter.AttributeConverter' import. 38
 Error javadoc JavadocType Missing a Javadoc comment. 52
 Error coding DeclarationOrder Variable access definition in wrong order. 59
 Error design VisibilityModifier Variable 'attributeService' must be private and have accessor methods. 60
 Error coding DeclarationOrder Variable access definition in wrong order. 62
 Error design VisibilityModifier Variable 'eventService' must be private and have accessor methods. 63
 Error coding DeclarationOrder Variable access definition in wrong order. 65
 Error design VisibilityModifier Variable 'categoryService' must be private and have accessor methods. 66
 Error coding DeclarationOrder Variable access definition in wrong order. 68
 Error design VisibilityModifier Variable 'productService' must be private and have accessor methods. 69
 Error coding DeclarationOrder Variable access definition in wrong order. 71
 Error design VisibilityModifier Variable 'attributeConverter' must be private and have accessor methods. 72
 Error coding DeclarationOrder Variable access definition in wrong order. 74
 Error design VisibilityModifier Variable 'eventConverter' must be private and have accessor methods. 75
 Error coding DeclarationOrder Variable access definition in wrong order. 77
 Error design VisibilityModifier Variable 'categoryConverter' must be private and have accessor methods. 78
 Error coding DeclarationOrder Variable access definition in wrong order. 80
 Error design VisibilityModifier Variable 'productConverter' must be private and have accessor methods. 81

org/apache/logging/log4j/audit/service/catalog/AuditManager.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 24

org/apache/logging/log4j/audit/service/config/ApplicationConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 21

org/apache/logging/log4j/audit/service/config/SwaggerConfig.java

Severity Category Rule Message Line
 Error imports ImportOrder 'springfox.documentation.builders.ApiInfoBuilder' should be separated from previous imports. 22
 Error imports ImportControl Disallowed import - springfox.documentation.builders.ApiInfoBuilder. 22
 Error imports ImportControl Disallowed import - springfox.documentation.builders.PathSelectors. 23
 Error imports ImportControl Disallowed import - springfox.documentation.builders.RequestHandlerSelectors. 24
 Error imports ImportControl Disallowed import - springfox.documentation.service.ApiInfo. 25
 Error imports ImportControl Disallowed import - springfox.documentation.spi.DocumentationType. 26
 Error imports ImportControl Disallowed import - springfox.documentation.spring.web.plugins.Docket. 27
 Error imports ImportControl Disallowed import - springfox.documentation.swagger2.annotations.EnableSwagger2. 28
 Error imports ImportOrder Wrong order for 'java.time.LocalDate' import. 30

org/apache/logging/log4j/audit/service/config/WebAppInitializer.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'javax.servlet.ServletContext' import. 25
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Error sizes LineLength Line is longer than 120 characters (found 126). 46

org/apache/logging/log4j/audit/service/config/WebMvcAppContext.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.File. 19
 Error imports UnusedImports Unused import - com.jcraft.jsch.JSch. 27
 Error imports UnusedImports Unused import - com.jcraft.jsch.JSchException. 28
 Error imports UnusedImports Unused import - com.jcraft.jsch.Session. 29
 Error imports UnusedImports Unused import - com.jcraft.jsch.UserInfo. 30
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.LogManager' import. 31
 Error imports UnusedImports Unused import - org.apache.logging.log4j.audit.catalog.CatalogManager. 34
 Error imports UnusedImports Unused import - org.apache.logging.log4j.catalog.api.dao.CatalogDao. 39
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.catalog.api.CatalogReader' import. 40
 Error imports UnusedImports Unused import - org.apache.logging.log4j.catalog.git.dao.GitCatalogDao. 43
 Error imports UnusedImports Unused import - org.eclipse.jgit.api.TransportConfigCallback. 44
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.CredentialsProvider. 45
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.JschConfigSessionFactory. 46
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.OpenSshConfig. 47
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.SshSessionFactory. 48
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.SshTransport. 49
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.Transport. 50
 Error imports UnusedImports Unused import - org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider. 51
 Error imports UnusedImports Unused import - org.eclipse.jgit.util.FS. 52
 Error imports UnusedImports Unused import - org.springframework.beans.factory.annotation.Value. 55
 Error imports ImportOrder 'org.apache.commons.lang3.StringUtils.isNotBlank' should be separated from previous imports. 74
 Error imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils.isNotBlank. 74
 Error javadoc JavadocType Missing a Javadoc comment. 77
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 81
 Error design VisibilityModifier Variable 'configurationService' must be private and have accessor methods. 87

org/apache/logging/log4j/audit/service/controller/AuditController.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiImplicitParam. 21
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiImplicitParams. 22
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.LogManager' import. 23
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiOperation. 36
 Error javadoc JavadocType Missing a Javadoc comment. 38
 Error whitespace ParenPad '(' is followed by whitespace. 46

org/apache/logging/log4j/audit/service/controller/CatalogController.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiImplicitParam. 25
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiImplicitParams. 26
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiOperation. 27
 Error imports ImportControl Disallowed import - io.swagger.annotations.ApiParam. 28
 Error imports ImportOrder Wrong order for 'org.apache.logging.log4j.LogManager' import. 29
 Error javadoc JavadocType Missing a Javadoc comment. 70
 Error whitespace ParenPad '(' is followed by whitespace. 128
 Error sizes LineLength Line is longer than 120 characters (found 124). 129
 Error sizes LineLength Line is longer than 120 characters (found 137). 131
 Error sizes LineLength Line is longer than 120 characters (found 130). 132
 Error sizes LineLength Line is longer than 120 characters (found 126). 133
 Error sizes LineLength Line is longer than 120 characters (found 125). 134
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 134
 Error sizes LineLength Line is longer than 120 characters (found 131). 135
 Error whitespace ParenPad '(' is followed by whitespace. 159
 Error sizes LineLength Line is longer than 120 characters (found 130). 162
 Error sizes LineLength Line is longer than 120 characters (found 138). 163
 Error whitespace ParenPad '(' is followed by whitespace. 175
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 177
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 177
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 177
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 177
 Error sizes LineLength Line is longer than 120 characters (found 136). 178
 Error whitespace WhitespaceAround 'synchronized' is not followed by whitespace. 186
 Error sizes LineLength Line is longer than 120 characters (found 129). 190
 Error whitespace ParenPad '(' is followed by whitespace. 198
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 200
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 200
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 200
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 200
 Error sizes LineLength Line is longer than 120 characters (found 136). 201
 Error whitespace ParenPad '(' is followed by whitespace. 217
 Error whitespace ParenPad '(' is followed by whitespace. 230
 Error sizes LineLength Line is longer than 120 characters (found 129). 233
 Error sizes LineLength Line is longer than 120 characters (found 130). 234
 Error sizes LineLength Line is longer than 120 characters (found 126). 235
 Error sizes LineLength Line is longer than 120 characters (found 125). 236
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 236
 Error sizes LineLength Line is longer than 120 characters (found 131). 237
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 238
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 238
 Error whitespace ParenPad '(' is followed by whitespace. 260
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 262
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 262
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 262
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 262
 Error whitespace WhitespaceAround 'synchronized' is not followed by whitespace. 271
 Error whitespace ParenPad '(' is followed by whitespace. 282
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 284
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 284
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 284
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 284
 Error whitespace WhitespaceAround 'synchronized' is not followed by whitespace. 293
 Error whitespace ParenPad '(' is followed by whitespace. 300
 Error whitespace ParenPad '(' is followed by whitespace. 308
 Error sizes LineLength Line is longer than 120 characters (found 121). 309
 Error sizes LineLength Line is longer than 120 characters (found 133). 311
 Error sizes LineLength Line is longer than 120 characters (found 122). 312
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 314
 Error sizes LineLength Line is longer than 120 characters (found 123). 315
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 316
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 316
 Error whitespace ParenPad '(' is followed by whitespace. 338
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 340
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 340
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 340
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 340
 Error sizes LineLength Line is longer than 120 characters (found 126). 341
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 350
 Error whitespace ParenPad '(' is followed by whitespace. 358
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 360
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 360
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 360
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 360
 Error sizes LineLength Line is longer than 120 characters (found 126). 361
 Error whitespace ParenPad '(' is followed by whitespace. 373
 Error whitespace ParenPad '(' is followed by whitespace. 381
 Error sizes LineLength Line is longer than 120 characters (found 125). 382
 Error sizes LineLength Line is longer than 120 characters (found 136). 384
 Error sizes LineLength Line is longer than 120 characters (found 126). 385
 Error sizes LineLength Line is longer than 120 characters (found 122). 386
 Error sizes LineLength Line is longer than 120 characters (found 121). 387
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 387
 Error sizes LineLength Line is longer than 120 characters (found 127). 388
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 389
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 389
 Error whitespace ParenPad '(' is followed by whitespace. 411
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 413
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 413
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 413
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 413
 Error sizes LineLength Line is longer than 120 characters (found 131). 414
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 423
 Error whitespace ParenPad '(' is followed by whitespace. 431
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 433
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 433
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 433
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 433
 Error sizes LineLength Line is longer than 120 characters (found 131). 434
 Error whitespace ParenPad '(' is followed by whitespace. 446
 Error coding StringLiteralEquality Literal Strings should be compared using equals(), not '!='. 457
 Error coding StringLiteralEquality Literal Strings should be compared using equals(), not '!='. 457

org/apache/logging/log4j/audit/service/controller/RestResponseEntityExceptionHandler.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 30

org/apache/logging/log4j/audit/service/security/LocalAuthorizationInterceptor.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 27