FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is

Summary

Classes Bugs Errors Missing Classes
203 33 0 0

jgloss.JGloss

Bug Category Details Line Priority
jgloss.JGloss.initPreferences() might ignore java.io.IOException BAD_PRACTICE DE_MIGHT_IGNORE 397 Medium
jgloss.JGloss.handleCommandLine(String[]) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 250 Medium
jgloss.JGloss.init(String[]) invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 134 Medium

jgloss.JGloss$1

Bug Category Details Line Priority
jgloss.JGloss$1.run() invokes System.exit(...), which shuts down the entire virtual machine BAD_PRACTICE DM_EXIT 149 Medium

jgloss.Preferences

Bug Category Details Line Priority
Synchronization performed on java.util.concurrent.CopyOnWriteArrayList in jgloss.Preferences.addPropertyChangeListener(PropertyChangeListener) MT_CORRECTNESS JLM_JSR166_UTILCONCURRENT_MONITORENTER 326 High
Synchronization performed on java.util.concurrent.CopyOnWriteArrayList in jgloss.Preferences.removePropertyChangeListener(PropertyChangeListener) MT_CORRECTNESS JLM_JSR166_UTILCONCURRENT_MONITORENTER 339 High

jgloss.PropertiesPreferences

Bug Category Details Line Priority
jgloss.PropertiesPreferences.load() may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 206 Medium
jgloss.PropertiesPreferences.store(String) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 219 Medium

jgloss.ui.CustomFileView

Bug Category Details Line Priority
jgloss.ui.CustomFileView.FILE_VIEW should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.HTML_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.HTML_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.JGLOSS_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.JGLOSS_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEMPLATE_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEMPLATE_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEXT_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEXT_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEX_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.TEX_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.XML_DESCRIPTION should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.CustomFileView.XML_ICON should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium

jgloss.ui.HyperlinkAttributeFormatter$ReferencedAttribute

Bug Category Details Line Priority
Should jgloss.ui.HyperlinkAttributeFormatter$ReferencedAttribute be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 18 Medium

jgloss.ui.HyperlinkKeyNavigator$ActivateLinkAction

Bug Category Details Line Priority
jgloss.ui.HyperlinkKeyNavigator$ActivateLinkAction.activateLink() might ignore java.net.MalformedURLException BAD_PRACTICE DE_MIGHT_IGNORE 373 Medium

jgloss.ui.ImportDialog

Bug Category Details Line Priority
new jgloss.ui.ImportDialog(Window) might ignore java.lang.ClassNotFoundException BAD_PRACTICE DE_MIGHT_IGNORE 245 Medium

jgloss.ui.StyleDialog

Bug Category Details Line Priority
jgloss.ui.StyleDialog.defaultLFFonts should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium
jgloss.ui.StyleDialog.knownJapaneseFont should be package protected MALICIOUS_CODE MS_PKGPROTECT Medium

jgloss.ui.download.DownloadPanel

Bug Category Details Line Priority
jgloss.ui.download.DownloadPanel$2 stored into non-transient field DownloadPanel.dictionaryChangeListener BAD_PRACTICE SE_BAD_FIELD_STORE 104 Medium
jgloss.ui.download.DownloadPanel$1 stored into non-transient field DownloadPanel.progressUpdateListener BAD_PRACTICE SE_BAD_FIELD_STORE 82 Medium

jgloss.ui.download.DownloadPanel$1

Bug Category Details Line Priority
Switch statement found in jgloss.ui.download.DownloadPanel$1.propertyChange(PropertyChangeEvent) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 88 Medium

jgloss.ui.util.XCVManager

Bug Category Details Line Priority
Redundant nullcheck of t which is known to be null in jgloss.ui.util.XCVManager.updateActionState() STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 257 Medium
Return value of java.awt.datatransfer.Clipboard.getContents(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 254 Medium

jgloss.util.ConfigurationProperties

Bug Category Details Line Priority
jgloss.util.ConfigurationProperties.CONFIGURATION isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 34 High
new jgloss.util.ConfigurationProperties() may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 42 Medium