The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.engine.database.model.Table.toString() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 901 | Medium |
Method org.apache.torque.engine.database.model.Table.acquireConstraintName(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 258 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.torque.engine.database.model.TypeMap.initialize() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 380 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Usage of GetResource in org.apache.torque.engine.database.transform.DTDResolver.readFromClasspath(String) may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 103 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.torque.engine.database.transform.XmlToData$ColumnValue be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 190 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.torque.engine.database.transform.XmlToData$DataRow be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 169 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.task.TorqueDataModelTask.getDataModelDbMap() may expose internal representation by returning TorqueDataModelTask.dataModelDbMap | MALICIOUS_CODE | EI_EXPOSE_REP | 127 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.task.TorqueMergeXMLDoc.writeXMLToFile(Document) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 175 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.torque.task.TorqueSQLExec.execute() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 406 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.task.TorqueXMLWithDesc.writeXMLToFile(Document) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 127 | Medium |
Unread field: org.apache.torque.task.TorqueXMLWithDesc.inputFileString | PERFORMANCE | URF_UNREAD_FIELD | 44 | Medium |
Unread field: org.apache.torque.task.TorqueXMLWithDesc.outputFileString | PERFORMANCE | URF_UNREAD_FIELD | 40 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.kuali.core.db.torque.FilteredPropertyCopier.copyProperties(Object, Object) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 50 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.kuali.core.db.torque.KualiTorqueDataDumpTask.generateXML(Platform) | STYLE | REC_CATCH_EXCEPTION | 357 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.kuali.core.db.torque.KualiTorqueSQLTask.createSqlDbMap() may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 107 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.kuali.core.db.torque.KualiTorqueSchemaDumpTask.getColumns(DatabaseMetaData, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 447 | Medium |