FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
4282600

Files

ClassBugs
net.sourceforge.buildmonitor.BuildMonitorImpl1
net.sourceforge.buildmonitor.BuildMonitorImpl$72
net.sourceforge.buildmonitor.BuildMonitorImpl$OpenURIInBrowserActionListener1
net.sourceforge.buildmonitor.BuildReport3
net.sourceforge.buildmonitor.BuildReport$AgeComparator1
net.sourceforge.buildmonitor.BuildReport$NameComparator1
net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog4
net.sourceforge.buildmonitor.monitors.BambooMonitor5
net.sourceforge.buildmonitor.monitors.BambooMonitor$BambooProperties3
net.sourceforge.buildmonitor.monitors.CruiseControlRssMonitor2
net.sourceforge.buildmonitor.utils.RssFeedItem2
net.sourceforge.buildmonitor.utils.RssFeedReader$RssFeedContentHandler1

net.sourceforge.buildmonitor.BuildMonitorImpl

BugCategoryDetailsLine
net.sourceforge.buildmonitor.BuildMonitorImpl.panic(String) invokes System.exit(...), which shuts down the entire virtual machineBAD_PRACTICEDM_EXIT687

net.sourceforge.buildmonitor.BuildMonitorImpl$7

BugCategoryDetailsLine
net.sourceforge.buildmonitor.BuildMonitorImpl$7.actionPerformed(ActionEvent) invokes System.exit(...), which shuts down the entire virtual machineBAD_PRACTICEDM_EXIT643
The class net.sourceforge.buildmonitor.BuildMonitorImpl$7 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available

net.sourceforge.buildmonitor.BuildMonitorImpl$OpenURIInBrowserActionListener

BugCategoryDetailsLine
Should net.sourceforge.buildmonitor.BuildMonitorImpl$OpenURIInBrowserActionListener be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

net.sourceforge.buildmonitor.BuildReport

BugCategoryDetailsLine
net.sourceforge.buildmonitor.BuildReport.getDate() may expose internal representation by returning BuildReport.dateMALICIOUS_CODEEI_EXPOSE_REP189
net.sourceforge.buildmonitor.BuildReport.BuildReport(String, Date, BuildReport$Status) may expose internal representation by storing an externally mutable object into BuildReport.dateMALICIOUS_CODEEI_EXPOSE_REP2175
net.sourceforge.buildmonitor.BuildReport.setDate(Date) may expose internal representation by storing an externally mutable object into BuildReport.dateMALICIOUS_CODEEI_EXPOSE_REP2198

net.sourceforge.buildmonitor.BuildReport$AgeComparator

BugCategoryDetailsLine
net.sourceforge.buildmonitor.BuildReport$AgeComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

net.sourceforge.buildmonitor.BuildReport$NameComparator

BugCategoryDetailsLine
net.sourceforge.buildmonitor.BuildReport$NameComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog

BugCategoryDetailsLine
net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog.openBaseURLButtonActionPerformed(ActionEvent) might ignore java.lang.ExceptionBAD_PRACTICEDE_MIGHT_IGNORE467
Method net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog.initComponents() invokes inefficient Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR240
Method net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog.updatePeriodFieldFocusLost(FocusEvent) invokes inefficient Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR494
Exception is caught when Exception is not thrown in net.sourceforge.buildmonitor.dialogs.BambooPropertiesDialog.openBaseURLButtonActionPerformed(ActionEvent)STYLEREC_CATCH_EXCEPTION467

net.sourceforge.buildmonitor.monitors.BambooMonitor

BugCategoryDetailsLine
Dead store to serverResponseIS in net.sourceforge.buildmonitor.monitors.BambooMonitor.getLatestBuildResults(String, String, String)STYLEDLS_DEAD_LOCAL_STORE681
Dead store to returnedValue in net.sourceforge.buildmonitor.monitors.BambooMonitor.login(String, String, String)STYLEDLS_DEAD_LOCAL_STORE581
net.sourceforge.buildmonitor.monitors.BambooMonitor.BambooMonitor(BuildMonitor) invokes System.exit(...), which shuts down the entire virtual machineBAD_PRACTICEDM_EXIT292
Result of integer multiplication cast to long in net.sourceforge.buildmonitor.monitors.BambooMonitor.run()STYLEICAST_INTEGER_MULTIPLY_CAST_TO_LONG332
Method net.sourceforge.buildmonitor.monitors.BambooMonitor.run() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR324

net.sourceforge.buildmonitor.monitors.BambooMonitor$BambooProperties

BugCategoryDetailsLine
net.sourceforge.buildmonitor.monitors.BambooMonitor$BambooProperties.loadFromFile() may fail to close stream on exceptionBAD_PRACTICEOS_OPEN_STREAM_EXCEPTION_PATH193
net.sourceforge.buildmonitor.monitors.BambooMonitor$BambooProperties.saveToFile() may fail to close stream on exceptionBAD_PRACTICEOS_OPEN_STREAM_EXCEPTION_PATH239
Should net.sourceforge.buildmonitor.monitors.BambooMonitor$BambooProperties be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

net.sourceforge.buildmonitor.monitors.CruiseControlRssMonitor

BugCategoryDetailsLine
Result of integer multiplication cast to long in net.sourceforge.buildmonitor.monitors.CruiseControlRssMonitor.run()STYLEICAST_INTEGER_MULTIPLY_CAST_TO_LONG124
CruiseControlRssMonitor.lastBuildsStatus not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

net.sourceforge.buildmonitor.utils.RssFeedItem

BugCategoryDetailsLine
net.sourceforge.buildmonitor.utils.RssFeedItem.getPubDate() may expose internal representation by returning RssFeedItem.pubDateMALICIOUS_CODEEI_EXPOSE_REP73
net.sourceforge.buildmonitor.utils.RssFeedItem.setPubDate(Date) may expose internal representation by storing an externally mutable object into RssFeedItem.pubDateMALICIOUS_CODEEI_EXPOSE_REP278

net.sourceforge.buildmonitor.utils.RssFeedReader$RssFeedContentHandler

BugCategoryDetailsLine
Should net.sourceforge.buildmonitor.utils.RssFeedReader$RssFeedContentHandler be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available