FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1121500

org.apache.torque.TorqueInstance

BugCategoryDetailsLinePriority
Inconsistent synchronization of org.apache.torque.TorqueInstance.managers; locked 62% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC773Medium

org.apache.torque.criteria.Criterion

BugCategoryDetailsLinePriority
org.apache.torque.criteria.Criterion.getPreparedStatementReplacements() may expose internal representation by returning Criterion.preparedStatementReplacementsMALICIOUS_CODEEI_EXPOSE_REP283Medium
new org.apache.torque.criteria.Criterion(Object, Object, SqlEnum, String, Object[]) may expose internal representation by storing an externally mutable object into Criterion.preparedStatementReplacementsMALICIOUS_CODEEI_EXPOSE_REP2145Medium

org.apache.torque.om.ComboKey

BugCategoryDetailsLinePriority
org.apache.torque.om.ComboKey.getValue() may expose internal representation by returning ComboKey.keyMALICIOUS_CODEEI_EXPOSE_REP171Medium
org.apache.torque.om.ComboKey.setValue(SimpleKey[]) may expose internal representation by storing an externally mutable object into ComboKey.keyMALICIOUS_CODEEI_EXPOSE_REP294Medium
org.apache.torque.om.ComboKey.equals(Object) is unusualSTYLEEQ_UNUSUAL194-209Medium

org.apache.torque.sql.WhereClauseExpression

BugCategoryDetailsLinePriority
org.apache.torque.sql.WhereClauseExpression.getPreparedStatementReplacements() may expose internal representation by returning WhereClauseExpression.preparedStatementReplacementsMALICIOUS_CODEEI_EXPOSE_REP185Medium
new org.apache.torque.sql.WhereClauseExpression(Object, SqlEnum, Object, String, Object[]) may expose internal representation by storing an externally mutable object into WhereClauseExpression.preparedStatementReplacementsMALICIOUS_CODEEI_EXPOSE_REP298Medium

org.apache.torque.util.BasePeerImpl

BugCategoryDetailsLinePriority
A prepared statement is generated from a nonconstant String at org.apache.torque.util.BasePeerImpl.doInsert(ColumnValues, Connection) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING789Medium

org.apache.torque.util.Criteria$Criterion

BugCategoryDetailsLinePriority
org.apache.torque.util.Criteria$Criterion is serializable and an inner classBAD_PRACTICESE_INNER_CLASS3069-3473Medium
Should org.apache.torque.util.Criteria$Criterion be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC3069-3473Medium

org.apache.torque.util.LargeSelect

BugCategoryDetailsLinePriority
Inconsistent synchronization of org.apache.torque.util.LargeSelect.lastResults; locked 50% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC354Medium
Exception is caught when Exception is not thrown in org.apache.torque.util.LargeSelect.run()STYLEREC_CATCH_EXCEPTION670Medium
org.apache.torque.util.LargeSelect.getResults(int, int) calls Thread.sleep() with a lock heldMT_CORRECTNESSSWL_SLEEP_WITH_LOCK_HELD441Medium
org.apache.torque.util.LargeSelect.stopQuery() calls Thread.sleep() with a lock heldMT_CORRECTNESSSWL_SLEEP_WITH_LOCK_HELD738Medium