FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
561800

com.philemonworks.selfdiagnose.Instance

BugCategoryDetailsLinePriority
Method com.philemonworks.selfdiagnose.Instance.invoke(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR69Medium

com.philemonworks.selfdiagnose.SelfDiagnoseHandler

BugCategoryDetailsLinePriority

com.philemonworks.selfdiagnose.SelfDiagnoseListener

BugCategoryDetailsLinePriority
com.philemonworks.selfdiagnose.SelfDiagnoseListener.contextInitialized(ServletContextEvent) invokes System.exit(...), which shuts down the entire virtual machineBAD_PRACTICEDM_EXIT24Medium

com.philemonworks.selfdiagnose.SelfDiagnoseServlet

BugCategoryDetailsLinePriority

com.philemonworks.selfdiagnose.check.CheckDatabaseTableExists

BugCategoryDetailsLinePriority
Invocation of toString on CheckDatabaseTableExists.PARAMETER_QUERY_SORTED_VALUES in com.philemonworks.selfdiagnose.check.CheckDatabaseTableExists.setUp(ExecutionContext)CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY78Medium

com.philemonworks.selfdiagnose.check.CheckFileContainsString

BugCategoryDetailsLinePriority
Can't close dis since it is always null in com.philemonworks.selfdiagnose.check.CheckFileContainsString.run(ExecutionContext, DiagnosticTaskResult)CORRECTNESSNP_CLOSING_NULL100High
com.philemonworks.selfdiagnose.check.CheckFileContainsString.run(ExecutionContext, DiagnosticTaskResult) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM97Medium

com.philemonworks.selfdiagnose.check.CheckPropertyValuesAreJavaTypes

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from com.philemonworks.selfdiagnose.DiagnosticTaskResult to com.philemonworks.selfdiagnose.CompositeDiagnosticTaskResult in com.philemonworks.selfdiagnose.check.CheckPropertyValuesAreJavaTypes.run(ExecutionContext, DiagnosticTaskResult)STYLEBC_UNCONFIRMED_CAST89Medium

com.philemonworks.selfdiagnose.check.CheckResourceProperty

BugCategoryDetailsLinePriority
Redundant nullcheck of com.philemonworks.selfdiagnose.PatternMatchingTask.pattern which is known to be null in com.philemonworks.selfdiagnose.check.CheckResourceProperty.run(ExecutionContext, DiagnosticTaskResult)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE88Medium

com.philemonworks.selfdiagnose.check.vendor.CheckSpringBeanProperty

BugCategoryDetailsLinePriority
Class com.philemonworks.selfdiagnose.check.vendor.CheckSpringBeanProperty defines non-transient non-serializable instance field applicationContextBAD_PRACTICESE_BAD_FIELDMedium

com.philemonworks.selfdiagnose.check.vendor.CheckSpringDatasourceConnectable

BugCategoryDetailsLinePriority
Class com.philemonworks.selfdiagnose.check.vendor.CheckSpringDatasourceConnectable defines non-transient non-serializable instance field applicationContextBAD_PRACTICESE_BAD_FIELDMedium

com.philemonworks.selfdiagnose.output.HTMLReporter

BugCategoryDetailsLinePriority
com.philemonworks.selfdiagnose.output.HTMLReporter.beginHTML() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM131Medium

com.philemonworks.selfdiagnose.report.ReportMap

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from com.philemonworks.selfdiagnose.DiagnosticTaskResult to com.philemonworks.selfdiagnose.CompositeDiagnosticTaskResult in com.philemonworks.selfdiagnose.report.ReportMap.run(ExecutionContext, DiagnosticTaskResult)STYLEBC_UNCONFIRMED_CAST32Medium

com.philemonworks.selfdiagnose.report.ReportMavenPOMProperties

BugCategoryDetailsLinePriority
com.philemonworks.selfdiagnose.report.ReportMavenPOMProperties.run(ExecutionContext, DiagnosticTaskResult) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM63Medium

com.philemonworks.selfdiagnose.report.ReportProperties

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from com.philemonworks.selfdiagnose.DiagnosticTaskResult to com.philemonworks.selfdiagnose.CompositeDiagnosticTaskResult in com.philemonworks.selfdiagnose.report.ReportProperties.run(ExecutionContext, DiagnosticTaskResult)STYLEBC_UNCONFIRMED_CAST29Medium

com.philemonworks.selfdiagnose.report.vendor.ReportJamonMonitors

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from com.philemonworks.selfdiagnose.DiagnosticTaskResult to com.philemonworks.selfdiagnose.CompositeDiagnosticTaskResult in com.philemonworks.selfdiagnose.report.vendor.ReportJamonMonitors.run(ExecutionContext, DiagnosticTaskResult)STYLEBC_UNCONFIRMED_CAST39Medium