FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is max

Summary

ClassesBugsErrorsMissing Classes
181300

com.ning.metrics.goodwill.sink.NetezzaSink

BugCategoryDetailsLinePriority
Method com.ning.metrics.goodwill.sink.NetezzaSink.addType(GoodwillSchema) may fail to clean up java.sql.StatementEXPERIMENTALOBL_UNSATISFIED_OBLIGATION49Medium
Method com.ning.metrics.goodwill.sink.NetezzaSink.executeExtraSql(String, int, String, String, String, String, GoodwillSchema) may fail to clean up java.sql.StatementEXPERIMENTALOBL_UNSATISFIED_OBLIGATION86Medium
com.ning.metrics.goodwill.sink.NetezzaSink.addType(GoodwillSchema) may fail to close StatementBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE49Medium
com.ning.metrics.goodwill.sink.NetezzaSink.executeExtraSql(String, int, String, String, String, String, GoodwillSchema) may fail to close StatementBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE86Medium
Method com.ning.metrics.goodwill.sink.NetezzaSink.getCreateTableStatement(GoodwillSchema) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION118Medium
Method com.ning.metrics.goodwill.sink.NetezzaSink.executeExtraSql(String, int, String, String, String, String, GoodwillSchema) passes a nonconstant String to an execute method on an SQL statementSECURITYSQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE87Low

com.ning.metrics.goodwill.store.CSVFileStore$1

BugCategoryDetailsLinePriority
The class com.ning.metrics.goodwill.store.CSVFileStore$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON116Low

com.ning.metrics.goodwill.store.MySQLStore

BugCategoryDetailsLinePriority
Invocation of toString on java.sql.PreparedStatement.executeBatch() in com.ning.metrics.goodwill.store.MySQLStore.updateType(GoodwillSchema)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY165Medium
Method com.ning.metrics.goodwill.store.MySQLStore.buildGoodwillSchemaList() passes a nonconstant String to an execute method on an SQL statementSECURITYSQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE237Low
Method com.ning.metrics.goodwill.store.MySQLStore.updateType(GoodwillSchema) passes a nonconstant String to an execute method on an SQL statementSECURITYSQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE142Low
A prepared statement is generated from a nonconstant String at com.ning.metrics.goodwill.store.MySQLStore.deleteType(GoodwillSchema) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING196Low
A prepared statement is generated from a nonconstant String at com.ning.metrics.goodwill.store.MySQLStore.updateType(GoodwillSchema) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING136Low

com.ning.metrics.goodwill.store.MySQLStore$1

BugCategoryDetailsLinePriority
The class com.ning.metrics.goodwill.store.MySQLStore$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON86Low