The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 479 | 19 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.skife.jdbi.v2.BasicHandle$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 248-251 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Method org.skife.jdbi.v2.Batch.execute() passes a nonconstant String to an execute method on an SQL statement | BAD_PRACTICE | SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE | 115 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 54 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 81 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.skife.jdbi.v2.Call$OutParamArgument could be refactored into a _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS | 96-147 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 36 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Method org.skife.jdbi.v2.ColonPrefixNamedParamStatementRewriter.rewrite(String, Binding, StatementContext) uses the same code for two switch clauses | STYLE | DB_DUPLICATE_SWITCH_CLAUSES | 62-63 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.skife.jdbi.v2.DBI$4 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 254-257 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 77 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 67 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 72 |
| Bug | Category | Details | Line |
|---|---|---|---|
| A prepared statement is generated from a nonconstant String at org.skife.jdbi.v2.PreparedBatch.execute() | BAD_PRACTICE | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 105 |
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.skife.jdbi.v2.Update$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 54-57 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Possible null pointer dereference in org.skife.jdbi.v2.tweak.transactions.LocalTransactionHandler.checkpoint(Handle, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 113 |
| Possible null pointer dereference in org.skife.jdbi.v2.tweak.transactions.LocalTransactionHandler.release(Handle, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 124 |
| Possible null pointer dereference in org.skife.jdbi.v2.tweak.transactions.LocalTransactionHandler.rollback(Handle, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 146 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in org.skife.jdbi.v2.unstable.oracle.OracleReturning.OracleReturning(ResultSetMapper) | STYLE | REC_CATCH_EXCEPTION | 88 |
| Exception is caught when Exception is not thrown in org.skife.jdbi.v2.unstable.oracle.OracleReturning.beforeExecution(PreparedStatement, StatementContext) | STYLE | REC_CATCH_EXCEPTION | 123 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.skife.jdbi.v2.unstable.stringtemplate.ClasspathGroupLoader.ClasspathGroupLoader(Class, StringTemplateErrorListener, String[]) may expose internal representation by storing an externally mutable object into ClasspathGroupLoader.dirs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 |