FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
479 19 0 0

org.skife.jdbi.v2.BasicHandle$1

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

org.skife.jdbi.v2.Batch

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

org.skife.jdbi.v2.BeanMapper

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

org.skife.jdbi.v2.Call$OutParamArgument

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

org.skife.jdbi.v2.ClasspathStatementLocator

Bug Category Details Line
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 36

org.skife.jdbi.v2.ColonPrefixNamedParamStatementRewriter

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

org.skife.jdbi.v2.DBI$4

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

org.skife.jdbi.v2.DefaultMapper$DefaultResultMap

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

org.skife.jdbi.v2.PreparedBatch

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

org.skife.jdbi.v2.Update$1

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

org.skife.jdbi.v2.tweak.transactions.LocalTransactionHandler

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

org.skife.jdbi.v2.unstable.oracle.OracleReturning

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

org.skife.jdbi.v2.unstable.stringtemplate.ClasspathGroupLoader

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