SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is low

Effort is max

Summary

Classes Bugs Errors Missing Classes
102 35 0 0

Files

Class Bugs
org.logicmachine.rebl.domain.entities.ActiveEntity 5
org.logicmachine.rebl.domain.entities.ActiveEntity$1 1
org.logicmachine.rebl.domain.resources.CloseableResource 2
org.logicmachine.rebl.domain.stateMachines.StateMachine 1
org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler 2
org.logicmachine.rebl.domain.transactions.ScopedTransaction 6
org.logicmachine.rebl.domain.transactions.attributes.impl.TransactionActionImpl 1
org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope 4
org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope 4
org.logicmachine.rebl.language.context.EnvironmentObject 2
org.logicmachine.rebl.language.context.Scope 7

org.logicmachine.rebl.domain.entities.ActiveEntity

Bug Category Details Line Priority
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1625 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1811 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1828 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1756 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1376 Low

org.logicmachine.rebl.domain.entities.ActiveEntity$1

Bug Category Details Line Priority
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 1562 Low

org.logicmachine.rebl.domain.resources.CloseableResource

Bug Category Details Line Priority
Method lists Exception in its throws clause, but it could be more specific. BAD_PRACTICE THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION Not available Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 88 Low

org.logicmachine.rebl.domain.stateMachines.StateMachine

Bug Category Details Line Priority
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachine at new org.logicmachine.rebl.domain.stateMachines.StateMachine(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 279 Medium

org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler

Bug Category Details Line Priority
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler at new org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler(StateMachine, Enum) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 123 Medium
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler at new org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler(StateMachine, Enum, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 153 Medium

org.logicmachine.rebl.domain.transactions.ScopedTransaction

Bug Category Details Line Priority
Shared primitive variable "transactionTimeoutInSeconds" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 406 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 143 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(ScopedTransaction) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 192 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 163 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope, byte[], boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 215 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope, byte[], byte[], boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 252 Medium

org.logicmachine.rebl.domain.transactions.attributes.impl.TransactionActionImpl

Bug Category Details Line Priority
A prepared statement is generated from a nonconstant String in org.logicmachine.rebl.domain.transactions.attributes.impl.TransactionActionImpl.doAction(TransactionDetails) SECURITY SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING 190 Low

org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope

Bug Category Details Line Priority
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope at new org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 274 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope at new org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope(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 326 Medium
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 528 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 533 Low

org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope

Bug Category Details Line Priority
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope at new org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 176 Medium
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope at new org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope(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 229 Medium
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 337 Low
Method intentionally throws RuntimeException. BAD_PRACTICE THROWS_METHOD_THROWS_RUNTIMEEXCEPTION 294 Low

org.logicmachine.rebl.language.context.EnvironmentObject

Bug Category Details Line Priority
Exception thrown in class org.logicmachine.rebl.language.context.EnvironmentObject at new org.logicmachine.rebl.language.context.EnvironmentObject(Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 83 Medium
Exception thrown in class org.logicmachine.rebl.language.context.EnvironmentObject at new org.logicmachine.rebl.language.context.EnvironmentObject(Object, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 103 Medium

org.logicmachine.rebl.language.context.Scope

Bug Category Details Line Priority
Shared primitive variable "isClosed" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 2417 Medium
Shared primitive variable "isParallel" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 2416 Medium
Shared primitive variable "inheritBusinessEntities" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 2617 Medium
Shared primitive variable "inheritParallelSetting" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 1119 Medium
Shared primitive variable "isParallel" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 1094 Medium
Exception thrown in class org.logicmachine.rebl.language.context.Scope at new org.logicmachine.rebl.language.context.Scope() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 889 Medium
Exception thrown in class org.logicmachine.rebl.language.context.Scope at new org.logicmachine.rebl.language.context.Scope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 908 Medium