SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.4
Threshold is medium
Effort is max
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
9 | 3 | 0 | 0 |
Files
Class | Bugs |
---|---|
org.forgerock.audit.handlers.json.JsonAuditEventHandlerConfiguration | 2 |
org.forgerock.audit.handlers.json.JsonFileWriter$QueueConsumer$TopicEntry | 1 |
org.forgerock.audit.handlers.json.JsonAuditEventHandlerConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.forgerock.audit.handlers.json.JsonAuditEventHandlerConfiguration.getBuffering() may expose internal representation by returning JsonAuditEventHandlerConfiguration.buffering | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
org.forgerock.audit.handlers.json.JsonAuditEventHandlerConfiguration.setBuffering(JsonAuditEventHandlerConfiguration$EventBufferingConfiguration) may expose internal representation by storing an externally mutable object into JsonAuditEventHandlerConfiguration.buffering | MALICIOUS_CODE | EI_EXPOSE_REP2 | 90 | Medium |
org.forgerock.audit.handlers.json.JsonFileWriter$QueueConsumer$TopicEntry
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class org.forgerock.audit.handlers.json.JsonFileWriter$QueueConsumer$TopicEntry at new org.forgerock.audit.handlers.json.JsonFileWriter$QueueConsumer$TopicEntry(JsonFileWriter$QueueConsumer, String, JsonAuditEventHandlerConfiguration) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 421 | Medium |