FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.3
Threshold is low
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
25 |
16 |
0 |
0 |
org.csc.phynixx.xa.ConstantsPrinter
Bug |
Category |
Details |
Line |
Priority |
org.csc.phynixx.xa.ConstantsPrinter.<static initializer for ConstantsPrinter>() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
37 |
Medium |
org.csc.phynixx.xa.ConstantsPrinter.getXAErrorCode(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
104 |
Medium |
org.csc.phynixx.xa.ConstantsPrinter.getXAResourceMessage(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
99 |
Medium |
org.csc.phynixx.xa.GlobalTransactionProxy
Bug |
Category |
Details |
Line |
Priority |
Class org.csc.phynixx.xa.GlobalTransactionProxy implements same interface as superclass |
STYLE |
RI_REDUNDANT_INTERFACES |
41-107 |
Low |
org.csc.phynixx.xa.IDGenerator
Bug |
Category |
Details |
Line |
Priority |
Dead store to cc in org.csc.phynixx.xa.IDGenerator.generate() |
STYLE |
DLS_DEAD_LOCAL_STORE |
59 |
Medium |
new org.csc.phynixx.xa.IDGenerator(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
26 |
Medium |
org.csc.phynixx.xa.LocalTransactionProxy
Bug |
Category |
Details |
Line |
Priority |
Class org.csc.phynixx.xa.LocalTransactionProxy implements same interface as superclass |
STYLE |
RI_REDUNDANT_INTERFACES |
37-96 |
Low |
org.csc.phynixx.xa.PhynixxManagedXAConnection
Bug |
Category |
Details |
Line |
Priority |
Dead store to xaTransactionalBranch in org.csc.phynixx.xa.PhynixxManagedXAConnection.startTransactionalBranch(Xid) |
STYLE |
DLS_DEAD_LOCAL_STORE |
123 |
Low |
Useless control flow in org.csc.phynixx.xa.PhynixxManagedXAConnection.enlistTransaction() |
STYLE |
UCF_USELESS_CONTROL_FLOW |
330 |
Low |
org.csc.phynixx.xa.PhynixxXAResource
Bug |
Category |
Details |
Line |
Priority |
org.csc.phynixx.xa.PhynixxXAResource.toString() invokes toString() method on a String |
PERFORMANCE |
DM_STRING_TOSTRING |
678 |
Low |
Load of known null value in org.csc.phynixx.xa.PhynixxXAResource.start(Xid, int) |
STYLE |
NP_LOAD_OF_KNOWN_NULL_VALUE |
230 |
Medium |
org.csc.phynixx.xa.PhynixxXAResourceFactory
Bug |
Category |
Details |
Line |
Priority |
Read of unwritten field xaresourrceWatchdog in org.csc.phynixx.xa.PhynixxXAResourceFactory.registerWatchCondition(IWatchedCondition) |
CORRECTNESS |
NP_UNWRITTEN_FIELD |
215 |
Medium |
Read of unwritten field xaresourrceWatchdog in org.csc.phynixx.xa.PhynixxXAResourceFactory.unregisterWatchCondition(IWatchedCondition) |
CORRECTNESS |
NP_UNWRITTEN_FIELD |
219 |
Medium |
Field only ever set to null: org.csc.phynixx.xa.PhynixxXAResourceFactory.xaresourrceWatchdog |
CORRECTNESS |
UWF_NULL_FIELD |
Not available |
High |
org.csc.phynixx.xa.XATransactionalBranch
Bug |
Category |
Details |
Line |
Priority |
Class org.csc.phynixx.xa.XATransactionalBranch implements same interface as superclass |
STYLE |
RI_REDUNDANT_INTERFACES |
48-383 |
Low |
new javax.transaction.xa.XAException(int) not thrown in org.csc.phynixx.xa.XATransactionalBranch.rollback() |
CORRECTNESS |
RV_EXCEPTION_NOT_THROWN |
300 |
High |