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
166 18 0 0

jgloss.ui.annotation.AnnotationEvent

Bug Category Details Line Priority
Class jgloss.ui.annotation.AnnotationEvent defines non-transient non-serializable instance field annotation BAD_PRACTICE SE_BAD_FIELD Medium

jgloss.ui.export.LongestAnnotationParameter$TypeSelector

Bug Category Details Line Priority
Should jgloss.ui.export.LongestAnnotationParameter$TypeSelector be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 50 Medium

jgloss.ui.gloss.AnnotationEditorPanel

Bug Category Details Line Priority
Redundant nullcheck of jgloss.ui.annotation.Annotation.getTranslation(), which is known to be non-null in jgloss.ui.gloss.AnnotationEditorPanel.updateDisplay() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 209 Medium

jgloss.ui.gloss.ImportDocumentStrategy

Bug Category Details Line Priority
jgloss.ui.gloss.ImportDocumentStrategy.createReader() may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 96 Medium

jgloss.ui.gloss.JGlossFrame

Bug Category Details Line Priority
jgloss.ui.gloss.JGlossFrame$1 stored into non-transient field JGlossFrame.componentListener BAD_PRACTICE SE_BAD_FIELD_STORE 326 Medium
jgloss.ui.gloss.JGlossFrame$2 stored into non-transient field JGlossFrame.windowListener BAD_PRACTICE SE_BAD_FIELD_STORE 339 Medium

jgloss.ui.html.JGlossEditor

Bug Category Details Line Priority
jgloss.ui.html.JGlossEditor$2 stored into non-transient field JGlossEditor.fontChangeListener BAD_PRACTICE SE_BAD_FIELD_STORE 294 Medium
jgloss.ui.html.JGlossEditor$SelectAnnotationListener stored into non-transient field JGlossEditor.selectAnnotationListener BAD_PRACTICE SE_BAD_FIELD_STORE 290 Medium

jgloss.ui.html.JGlossEditorKit

Bug Category Details Line Priority
Found reliance on default encoding in jgloss.ui.html.JGlossEditorKit.getStyleSheet(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 820 High
Load of known null value in jgloss.ui.html.JGlossEditorKit.getDTD() STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 729 Medium

jgloss.ui.html.JGlossEditorKit$AnnotationView

Bug Category Details Line Priority
Should jgloss.ui.html.JGlossEditorKit$AnnotationView be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 187 Medium

jgloss.ui.html.JGlossEditorKit$WordView

Bug Category Details Line Priority
Should jgloss.ui.html.JGlossEditorKit$WordView be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 298 Medium

jgloss.ui.html.JGlossHTMLDoc

Bug Category Details Line Priority
Dead store to end in jgloss.ui.html.JGlossHTMLDoc.addAnnotation(int, int, JGlossEditorKit) STYLE DLS_DEAD_LOCAL_STORE 530 Medium

jgloss.ui.wizard.Wizard

Bug Category Details Line Priority
new jgloss.ui.wizard.Wizard(WizardPage[]) may expose internal representation by storing an externally mutable object into Wizard.pages MALICIOUS_CODE EI_EXPOSE_REP2 81 Medium

jgloss.ui.xml.CloseMetaTagInputStream

Bug Category Details Line Priority
Switch statement found in jgloss.ui.xml.CloseMetaTagInputStream.read() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 43 Medium

jgloss.ui.xml.JGlossifyReader

Bug Category Details Line Priority
jgloss.ui.xml.JGlossifyReader.<static initializer for JGlossifyReader>() invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead PERFORMANCE DM_NUMBER_CTOR 99 Medium
jgloss.ui.xml.JGlossifyReader.escape(char) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead PERFORMANCE DM_NUMBER_CTOR 385 Medium
jgloss.ui.xml.JGlossifyReader.replaceFunnyChars(String) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead PERFORMANCE DM_NUMBER_CTOR 302 Medium