Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
7 11 0 0

org.miloss.fgsms.statistics.FgsmsStatsv2

Bug Category Details Line Priority
org.miloss.fgsms.statistics.FgsmsStatsv2.allitems isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 62 High
org.miloss.fgsms.statistics.FgsmsStatsv2.log isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 61 High
org.miloss.fgsms.statistics.FgsmsStatsv2.cleanup(Connection, List) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 104 Medium
org.miloss.fgsms.statistics.FgsmsStatsv2.printPeriods(List) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 82 Medium

org.miloss.fgsms.statistics.jobs.BaseJob

Bug Category Details Line Priority
org.miloss.fgsms.statistics.jobs.BaseJob.getAvailability(long, long, String, String, Connection, Connection) may fail to clean up java.sql.ResultSet on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 90 Medium
org.miloss.fgsms.statistics.jobs.BaseJob.getAvailability(long, long, String, String, Connection, Connection) may fail to clean up java.sql.Statement on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 86 Medium

org.miloss.fgsms.statistics.jobs.BrokerStatisticsJob

Bug Category Details Line Priority
org.miloss.fgsms.statistics.jobs.BrokerStatisticsJob.getMessagesIn(String, Long, Connection) may fail to clean up java.sql.ResultSet on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 83 Medium
org.miloss.fgsms.statistics.jobs.BrokerStatisticsJob.getMessagesIn(String, Long, Connection) may fail to clean up java.sql.Statement on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 80 Medium

org.miloss.fgsms.statistics.jobs.MachineProcessJob

Bug Category Details Line Priority
org.miloss.fgsms.statistics.jobs.MachineProcessJob.getAvgThread(String, Long, Connection) may fail to clean up java.sql.ResultSet on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 178 Medium
org.miloss.fgsms.statistics.jobs.MachineProcessJob.getAvgThread(String, Long, Connection) may fail to clean up java.sql.Statement on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 175 Medium

org.miloss.fgsms.statistics.jobs.TransactionalStatisticsJob

Bug Category Details Line Priority
org.miloss.fgsms.statistics.jobs.TransactionalStatisticsJob.printPeriods(List) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 159 Medium