FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Normal

Effort is Default

Summary

Classes Bugs Errors Missing Classes
306 17 0 0

org.apache.commons.dbcp.AbandonedTrace$AbandonedObjectException

Bug Category Details Line
Found static field of type java.text.DateFormat in org.apache.commons.dbcp.AbandonedTrace$AbandonedObjectException.format MT_CORRECTNESS STCAL_STATIC_SIMPLE_DATA_FORMAT_INSTANCE Not available

org.apache.commons.dbcp.PoolableConnectionFactory

Bug Category Details Line
Inconsistent synchronization of org.apache.commons.dbcp.PoolableConnectionFactory._connFactory; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 582
Inconsistent synchronization of org.apache.commons.dbcp.PoolableConnectionFactory._pool; locked 83% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 592
Inconsistent synchronization of org.apache.commons.dbcp.PoolableConnectionFactory._validationQuery; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 646

org.apache.commons.dbcp.PoolingConnection

Bug Category Details Line
org.apache.commons.dbcp.PoolingConnection.createKey(String, byte) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 251
org.apache.commons.dbcp.PoolingConnection.createKey(String, int, int, byte) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 229
org.apache.commons.dbcp.PoolingConnection.createKey(String) might ignore java.sql.SQLException BAD_PRACTICE DE_MIGHT_IGNORE 240
org.apache.commons.dbcp.PoolingConnection.createKey(String, int, int) might ignore java.sql.SQLException BAD_PRACTICE DE_MIGHT_IGNORE 218
PoolingConnection$PStmtKey.PoolingConnection$PStmtKey._resultSetType could be null and is guaranteed to be dereferenced in org.apache.commons.dbcp.PoolingConnection.makeObject(Object) CORRECTNESS NP_GUARANTEED_DEREF 282

org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS

Bug Category Details Line
Class org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS defines non-transient non-serializable instance field logWriter BAD_PRACTICE SE_BAD_FIELD Not available

org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl

Bug Category Details Line
Possible null pointer dereference of PooledConnectionImpl$PStmtKey.PooledConnectionImpl$PStmtKey._resultSetType in org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl.makeObject(Object) CORRECTNESS NP_NULL_ON_SOME_PATH 424

org.apache.commons.dbcp.datasources.CPDSConnectionFactory

Bug Category Details Line
Inconsistent synchronization of org.apache.commons.dbcp.datasources.CPDSConnectionFactory._pool; locked 71% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 345

org.apache.commons.dbcp.datasources.KeyedCPDSConnectionFactory

Bug Category Details Line
Inconsistent synchronization of org.apache.commons.dbcp.datasources.KeyedCPDSConnectionFactory._pool; locked 62% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 343

org.apache.commons.dbcp.datasources.PerUserPoolDataSource

Bug Category Details Line
org.apache.commons.dbcp.datasources.PerUserPoolDataSource is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 54-520

org.apache.commons.dbcp.datasources.SequencedHashMap

Bug Category Details Line
The field org.apache.commons.dbcp.datasources.SequencedHashMap.modCount is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available

org.apache.commons.dbcp.datasources.SharedPoolDataSource

Bug Category Details Line
Class org.apache.commons.dbcp.datasources.SharedPoolDataSource defines non-transient non-serializable instance field pool BAD_PRACTICE SE_BAD_FIELD Not available

org.apache.commons.jocl.JOCLContentHandler

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.commons.jocl.JOCLContentHandler.startElement(String, String, String, Attributes) STYLE REC_CATCH_EXCEPTION 481