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 |
---|---|---|---|---|
Method org.apache.torque.mojo.AbstractMorphSingleMojo.executeMojo() may fail to clean up java.io.InputStream | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 77 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.mojo.AbstractSQLExecutorMojo.getSrcFiles() may expose internal representation by returning AbstractSQLExecutorMojo.srcFiles | MALICIOUS_CODE | EI_EXPOSE_REP | 631 | Medium |
org.apache.torque.mojo.AbstractSQLExecutorMojo.setSrcFiles(File[]) may expose internal representation by storing an externally mutable object into AbstractSQLExecutorMojo.srcFiles | MALICIOUS_CODE | EI_EXPOSE_REP2 | 635 | Medium |
Unread field: org.apache.torque.mojo.AbstractSQLExecutorMojo.jdbcUtils | PERFORMANCE | URF_UNREAD_FIELD | 308 | Medium |
Unread field: org.apache.torque.mojo.AbstractSQLExecutorMojo.utils | PERFORMANCE | URF_UNREAD_FIELD | 54 | Medium |
Method org.apache.torque.mojo.AbstractSQLExecutorMojo.getContextProperties() makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 278 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.apache.torque.mojo.DataDtdMojo.dummy1 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.DataDtdMojo.dummy2 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.DataDtdMojo.dummy3 | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.apache.torque.mojo.DataSqlMojo.dummy | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.DataSqlMojo.dummy2 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.DataSqlMojo.dummy3 | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.torque.mojo.IdentifyInvalidDataFiles.executeMojo() | STYLE | REC_CATCH_EXCEPTION | 145 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: org.apache.torque.mojo.SchemaSqlMojo.dummy1 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.SchemaSqlMojo.dummy2 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.SchemaSqlMojo.dummy3 | PERFORMANCE | UUF_UNUSED_FIELD | Medium | |
Unused field: org.apache.torque.mojo.SchemaSqlMojo.dummy4 | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.mojo.TexenTaskMojo.configureTask() ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 195 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.torque.util.TransactionComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 13 | Medium |