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
662900

org.apache.torque.engine.database.model.Table

BugCategoryDetailsLinePriority
org.apache.torque.engine.database.model.Table.toString() invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR901Medium
Method org.apache.torque.engine.database.model.Table.acquireConstraintName(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR258Medium

org.apache.torque.engine.database.model.TypeMap

BugCategoryDetailsLinePriority
Method org.apache.torque.engine.database.model.TypeMap.initialize() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR380Medium

org.apache.torque.engine.database.transform.DTDResolver

BugCategoryDetailsLinePriority
Usage of GetResource in org.apache.torque.engine.database.transform.DTDResolver.readFromClasspath(String) may be unsafe if class is extendedBAD_PRACTICEUI_INHERITANCE_UNSAFE_GETRESOURCE103High

org.apache.torque.engine.database.transform.XmlToData$ColumnValue

BugCategoryDetailsLinePriority
Should org.apache.torque.engine.database.transform.XmlToData$ColumnValue be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC190Medium

org.apache.torque.engine.database.transform.XmlToData$DataRow

BugCategoryDetailsLinePriority
Should org.apache.torque.engine.database.transform.XmlToData$DataRow be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC169Medium

org.apache.torque.engine.platform.PlatformMysqlImpl

BugCategoryDetailsLinePriority

org.apache.torque.engine.platform.PlatformOracleImpl

BugCategoryDetailsLinePriority

org.apache.torque.task.TorqueDataModelTask

BugCategoryDetailsLinePriority
org.apache.torque.task.TorqueDataModelTask.getDataModelDbMap() may expose internal representation by returning TorqueDataModelTask.dataModelDbMapMALICIOUS_CODEEI_EXPOSE_REP127Medium

org.apache.torque.task.TorqueMergeXMLDoc

BugCategoryDetailsLinePriority
org.apache.torque.task.TorqueMergeXMLDoc.writeXMLToFile(Document) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM175Medium

org.apache.torque.task.TorqueSQLExec

BugCategoryDetailsLinePriority
Method org.apache.torque.task.TorqueSQLExec.execute() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR406Medium

org.apache.torque.task.TorqueSQLExec$Transaction

BugCategoryDetailsLinePriority

org.apache.torque.task.TorqueXMLWithDesc

BugCategoryDetailsLinePriority
org.apache.torque.task.TorqueXMLWithDesc.writeXMLToFile(Document) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM127Medium
Unread field: org.apache.torque.task.TorqueXMLWithDesc.inputFileStringPERFORMANCEURF_UNREAD_FIELD44Medium
Unread field: org.apache.torque.task.TorqueXMLWithDesc.outputFileStringPERFORMANCEURF_UNREAD_FIELD40Medium

org.kuali.core.db.torque.FilteredPropertyCopier

BugCategoryDetailsLinePriority
Method org.kuali.core.db.torque.FilteredPropertyCopier.copyProperties(Object, Object) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR50Medium

org.kuali.core.db.torque.KualiTorqueDataDumpTask

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.kuali.core.db.torque.KualiTorqueDataDumpTask.generateXML(Platform)STYLEREC_CATCH_EXCEPTION357Medium

org.kuali.core.db.torque.KualiTorqueSQLTask

BugCategoryDetailsLinePriority
org.kuali.core.db.torque.KualiTorqueSQLTask.createSqlDbMap() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM107Medium

org.kuali.core.db.torque.KualiTorqueSchemaDumpTask

BugCategoryDetailsLinePriority
Method org.kuali.core.db.torque.KualiTorqueSchemaDumpTask.getColumns(DatabaseMetaData, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR447Medium