SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
178 16 0 0

Files

Class Bugs
org.flasby.bus.Address 1
org.flasby.bus.PageBus 1
org.flasby.cli.impl.CommandLineImpl 1
org.flasby.net.TcpMessageSender 2
org.flasby.server.SimpleServer 2
org.flasby.settings.Encrypt 2
org.flasby.settings.FileSettings 3
org.flasby.util.Pom 2
org.flasby.util.time.Retry 2

org.flasby.bus.Address

Bug Category Details Line Priority
Exception thrown in class org.flasby.bus.Address at new org.flasby.bus.Address(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 39 Medium

org.flasby.bus.PageBus

Bug Category Details Line Priority
Class (org.flasby.bus.PageBus) using singleton design pattern has non-private constructor. CORRECTNESS SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR 115 Medium

org.flasby.cli.impl.CommandLineImpl

Bug Category Details Line Priority
Exception thrown in class org.flasby.cli.impl.CommandLineImpl at new org.flasby.cli.impl.CommandLineImpl(Options, String[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 73 Medium

org.flasby.net.TcpMessageSender

Bug Category Details Line Priority
Exception thrown in class org.flasby.net.TcpMessageSender at new org.flasby.net.TcpMessageSender(SocketProperties, Messages) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 53 Medium
Exception thrown in class org.flasby.net.TcpMessageSender at new org.flasby.net.TcpMessageSender(SocketProperties, byte[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 48 Medium

org.flasby.server.SimpleServer

Bug Category Details Line Priority
Exception thrown in class org.flasby.server.SimpleServer at new org.flasby.server.SimpleServer() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 53 Medium
Exception thrown in class org.flasby.server.SimpleServer at new org.flasby.server.SimpleServer(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 68 Medium

org.flasby.settings.Encrypt

Bug Category Details Line Priority
Exception thrown in class org.flasby.settings.Encrypt at new org.flasby.settings.Encrypt(SimpleSettings, char[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 54 Medium
Exception thrown in class org.flasby.settings.Encrypt at new org.flasby.settings.Encrypt(SimpleSettings, char[], byte[], String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 69 Medium

org.flasby.settings.FileSettings

Bug Category Details Line Priority
Exception thrown in class org.flasby.settings.FileSettings at new org.flasby.settings.FileSettings(String, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 53 Medium
Exception thrown in class org.flasby.settings.FileSettings at new org.flasby.settings.FileSettings(Path) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 61 Medium
Exception thrown in class org.flasby.settings.FileSettings at new org.flasby.settings.FileSettings(Path, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 67 Medium

org.flasby.util.Pom

Bug Category Details Line Priority
Exception thrown in class org.flasby.util.Pom at new org.flasby.util.Pom() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 28 Medium
Exception thrown in class org.flasby.util.Pom at new org.flasby.util.Pom(Class) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 38 Medium

org.flasby.util.time.Retry

Bug Category Details Line Priority
Dead store to $L1 in org.flasby.util.time.Retry.getRetryable() STYLE DLS_DEAD_LOCAL_STORE 28 Medium
Unread field: org.flasby.util.time.Retry.scheduler PERFORMANCE URF_UNREAD_FIELD 18 Medium