FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.1.1

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
605675428

Files

ClassBugs
org.xulux.guilayer.swing.extensions.IconTitledBorder1
org.xulux.guilayer.swing.extensions.NyxLineBorder1
org.xulux.guilayer.swing.extensions.NyxTitledBorder1
org.xulux.guilayer.swing.layouts.AutoSizeLayoutManager1
org.xulux.guilayer.swing.layouts.SwingGridBagLayout1
org.xulux.guilayer.swing.layouts.XYLayout2
org.xulux.guilayer.swing.listeners.ImmidiateListener1
org.xulux.guilayer.swing.listeners.NewSelectionListener1
org.xulux.guilayer.swing.models.CellPartRequest2
org.xulux.guilayer.swing.models.DefaultComboModel4
org.xulux.guilayer.swing.models.DefaultComboModel$ComboShowable1
org.xulux.guilayer.swing.models.MultipleLineHeaderRenderer1
org.xulux.guilayer.swing.models.NyxTableCellEditor2
org.xulux.guilayer.swing.models.NyxTableCellRenderer2
org.xulux.guilayer.swing.models.NyxTableColumn2
org.xulux.guilayer.swing.models.NyxTreeCellRenderer2
org.xulux.guilayer.swing.models.SwingTreeModel1
org.xulux.guilayer.swing.models.XuluxTreeCellRenderer1
org.xulux.guilayer.swing.properties.IntrospectionProperty1
org.xulux.guilayer.swing.properties.SizeProperty1
org.xulux.guilayer.swing.util.SwingParentWidgetHandler1
org.xulux.guilayer.swing.util.SwingToolkit1
org.xulux.guilayer.swing.util.SwingUtils11
org.xulux.guilayer.swing.widgets.Combo$FocusEventListener1
org.xulux.guilayer.swing.widgets.Entry4
org.xulux.guilayer.swing.widgets.MenuItem1
org.xulux.guilayer.swing.widgets.Panel2
org.xulux.guilayer.swing.widgets.TabPanel2
org.xulux.guilayer.swing.widgets.TabPanel$RepaintComponent2
org.xulux.guilayer.swing.widgets.Table1
org.xulux.guilayer.swing.widgets.TextArea3
org.xulux.guilayer.swing.widgets.TextPane3
org.xulux.guilayer.swing.widgets.Tree4
org.xulux.guilayer.swing.widgets.Window2

org.xulux.guilayer.swing.extensions.IconTitledBorder

BugCategoryDetailsLine
org.xulux.guilayer.swing.extensions.IconTitledBorder is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.extensions.NyxLineBorder

BugCategoryDetailsLine
org.xulux.guilayer.swing.extensions.NyxLineBorder is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.extensions.NyxTitledBorder

BugCategoryDetailsLine
org.xulux.guilayer.swing.extensions.NyxTitledBorder is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.layouts.AutoSizeLayoutManager

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.layouts.AutoSizeLayoutManager.layoutContainer(java.awt.Container) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE119

org.xulux.guilayer.swing.layouts.SwingGridBagLayout

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.layouts.SwingGridBagLayout.addWidget(org.xulux.api.gui.IWidget) does an unnecessary type check using instanceof operator when it can be determined staticallyCORRECTNESSSIO_SUPERFLUOUS_INSTANCEOF53

org.xulux.guilayer.swing.layouts.XYLayout

BugCategoryDetailsLine
Dead store to pWidget in method org.xulux.guilayer.swing.layouts.XYLayout.getLayoutSize(java.awt.Container)STYLEDLS_DEAD_LOCAL_STORE239
org.xulux.guilayer.swing.layouts.XYLayout is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.listeners.ImmidiateListener

BugCategoryDetailsLine
Unread field: org.xulux.guilayer.swing.listeners.ImmidiateListener.partPERFORMANCEURF_UNREAD_FIELDNot available

org.xulux.guilayer.swing.listeners.NewSelectionListener

BugCategoryDetailsLine
Redundant nullcheck of org.xulux.guilayer.swing.listeners.NewSelectionListener.widget, which is known to be non-null in org.xulux.guilayer.swing.listeners.NewSelectionListener.valueChanged()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE89

org.xulux.guilayer.swing.models.CellPartRequest

BugCategoryDetailsLine
clone method org.xulux.guilayer.swing.models.CellPartRequest.clone() does not call super.clone()BAD_PRACTICECN_IDIOM_NO_SUPER_CALL114
Method org.xulux.guilayer.swing.models.CellPartRequest.clone() may return null, but is declared @NonNullCORRECTNESSNP_NONNULL_RETURN_VIOLATION114

org.xulux.guilayer.swing.models.DefaultComboModel

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.models.DefaultComboModel.initialize() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION235
Class org.xulux.guilayer.swing.models.DefaultComboModel defines non-transient non-serializable instance field mappingBAD_PRACTICESE_BAD_FIELDNot available
Class org.xulux.guilayer.swing.models.DefaultComboModel defines non-transient non-serializable instance field selectedItemBAD_PRACTICESE_BAD_FIELDNot available
org.xulux.guilayer.swing.models.DefaultComboModel is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.models.DefaultComboModel$ComboShowable

BugCategoryDetailsLine
Should org.xulux.guilayer.swing.models.DefaultComboModel$ComboShowable be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

org.xulux.guilayer.swing.models.MultipleLineHeaderRenderer

BugCategoryDetailsLine
Unused field: org.xulux.guilayer.swing.models.MultipleLineHeaderRenderer.scrollPanePERFORMANCEUUF_UNUSED_FIELDNot available

org.xulux.guilayer.swing.models.NyxTableCellEditor

BugCategoryDetailsLine
Class org.xulux.guilayer.swing.models.NyxTableCellEditor defines non-transient non-serializable instance field widgetBAD_PRACTICESE_BAD_FIELDNot available
org.xulux.guilayer.swing.models.NyxTableCellEditor is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.models.NyxTableCellRenderer

BugCategoryDetailsLine
Class org.xulux.guilayer.swing.models.NyxTableCellRenderer defines non-transient non-serializable instance field requestBAD_PRACTICESE_BAD_FIELDNot available
Class org.xulux.guilayer.swing.models.NyxTableCellRenderer defines non-transient non-serializable instance field widgetBAD_PRACTICESE_BAD_FIELDNot available

org.xulux.guilayer.swing.models.NyxTableColumn

BugCategoryDetailsLine
Class org.xulux.guilayer.swing.models.NyxTableColumn defines non-transient non-serializable instance field widgetBAD_PRACTICESE_BAD_FIELDNot available
org.xulux.guilayer.swing.models.NyxTableColumn is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONIDNot available

org.xulux.guilayer.swing.models.NyxTreeCellRenderer

BugCategoryDetailsLine
Class org.xulux.guilayer.swing.models.NyxTreeCellRenderer defines non-transient non-serializable instance field childWidgetBAD_PRACTICESE_BAD_FIELDNot available
Class org.xulux.guilayer.swing.models.NyxTreeCellRenderer defines non-transient non-serializable instance field requestBAD_PRACTICESE_BAD_FIELDNot available

org.xulux.guilayer.swing.models.SwingTreeModel

BugCategoryDetailsLine
Field not initialized in constructor: org.xulux.guilayer.swing.models.SwingTreeModel.tpStackSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available

org.xulux.guilayer.swing.models.XuluxTreeCellRenderer

BugCategoryDetailsLine
Class org.xulux.guilayer.swing.models.XuluxTreeCellRenderer defines non-transient non-serializable instance field widgetBAD_PRACTICESE_BAD_FIELDNot available

org.xulux.guilayer.swing.properties.IntrospectionProperty

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.properties.IntrospectionProperty.handleProperty(org.xulux.api.gui.IWidget,org.xulux.api.gui.IProperty) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE48

org.xulux.guilayer.swing.properties.SizeProperty

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.properties.SizeProperty.handleProperty(org.xulux.api.gui.IWidget,org.xulux.api.gui.IProperty) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION56

org.xulux.guilayer.swing.util.SwingParentWidgetHandler

BugCategoryDetailsLine
Unchecked/unconfirmed cast from java.awt.Component to javax.swing.JComponent in org.xulux.guilayer.swing.util.SwingParentWidgetHandler.destroy(Object)STYLEBC_UNCONFIRMED_CAST54

org.xulux.guilayer.swing.util.SwingToolkit

BugCategoryDetailsLine
Write to static field org.xulux.guilayer.swing.util.SwingToolkit.initialized from instance method org.xulux.guilayer.swing.util.SwingToolkit.destroy()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD67

org.xulux.guilayer.swing.util.SwingUtils

BugCategoryDetailsLine
Load of known null value in org.xulux.guilayer.swing.util.SwingUtils.getIcon(String,Object)STYLENP_LOAD_OF_KNOWN_NULL_VALUE177
Load of known null value in org.xulux.guilayer.swing.util.SwingUtils.getImage(String,Object)STYLENP_LOAD_OF_KNOWN_NULL_VALUE128
Redundant nullcheck of cache which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getIcon(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE154
Redundant nullcheck of cache which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getIcon(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE177
Redundant nullcheck of cache which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getImage(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE115
Redundant nullcheck of cache which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getImage(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE128
Redundant nullcheck of icon which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getIcon(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE157
Redundant nullcheck of retValue which is known to be null in org.xulux.guilayer.swing.util.SwingUtils.getImage(String,Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE118
Method org.xulux.guilayer.swing.util.SwingUtils.getInsets(String) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION216
Useless control flow in org.xulux.guilayer.swing.util.SwingUtils.getIcon(String,Object)STYLEUCF_USELESS_CONTROL_FLOW149
Useless control flow in org.xulux.guilayer.swing.util.SwingUtils.getImage(String,Object)STYLEUCF_USELESS_CONTROL_FLOW110

org.xulux.guilayer.swing.widgets.Combo$FocusEventListener

BugCategoryDetailsLine
Should org.xulux.guilayer.swing.widgets.Combo$FocusEventListener be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

org.xulux.guilayer.swing.widgets.Entry

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.widgets.Entry.setProperty(String,Object) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE118
Load of known null value in org.xulux.guilayer.swing.widgets.Entry.initialize()STYLENP_LOAD_OF_KNOWN_NULL_VALUE162
Method org.xulux.guilayer.swing.widgets.Entry.initializeValue() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION328
Unwritten field: org.xulux.guilayer.swing.widgets.Entry.sizeCORRECTNESSUWF_UNWRITTEN_FIELDNot available

org.xulux.guilayer.swing.widgets.MenuItem

BugCategoryDetailsLine
Redundant nullcheck of type, which is known to be non-null in org.xulux.guilayer.swing.widgets.MenuItem.initialize()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE109

org.xulux.guilayer.swing.widgets.Panel

BugCategoryDetailsLine
Dead store to borderSize in method org.xulux.guilayer.swing.widgets.Panel.refresh()STYLEDLS_DEAD_LOCAL_STORE156
Dead store to titleColor in method org.xulux.guilayer.swing.widgets.Panel.refresh()STYLEDLS_DEAD_LOCAL_STORE189

org.xulux.guilayer.swing.widgets.TabPanel

BugCategoryDetailsLine
Field only ever set to null: org.xulux.guilayer.swing.widgets.TabPanel.repaintComponentCORRECTNESSUWF_NULL_FIELDNot available
Unwritten field: org.xulux.guilayer.swing.widgets.TabPanel.repaintThreadCORRECTNESSUWF_UNWRITTEN_FIELDNot available

org.xulux.guilayer.swing.widgets.TabPanel$RepaintComponent

BugCategoryDetailsLine
Unread field: org.xulux.guilayer.swing.widgets.TabPanel$RepaintComponent.indexPERFORMANCEURF_UNREAD_FIELDNot available
Unwritten field: org.xulux.guilayer.swing.widgets.TabPanel$RepaintComponent.isRunningCORRECTNESSUWF_UNWRITTEN_FIELDNot available

org.xulux.guilayer.swing.widgets.Table

BugCategoryDetailsLine
Private method org.xulux.guilayer.swing.widgets.Table.checkContentChanged() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD355-358

org.xulux.guilayer.swing.widgets.TextArea

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.widgets.TextArea.initialize() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE115
Load of known null value in org.xulux.guilayer.swing.widgets.TextArea.initialize()STYLENP_LOAD_OF_KNOWN_NULL_VALUE155
Unwritten field: org.xulux.guilayer.swing.widgets.TextArea.sizeCORRECTNESSUWF_UNWRITTEN_FIELDNot available

org.xulux.guilayer.swing.widgets.TextPane

BugCategoryDetailsLine
Method org.xulux.guilayer.swing.widgets.TextPane.initialize() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE115
Load of known null value in org.xulux.guilayer.swing.widgets.TextPane.initialize()STYLENP_LOAD_OF_KNOWN_NULL_VALUE154
Unwritten field: org.xulux.guilayer.swing.widgets.TextPane.sizeCORRECTNESSUWF_UNWRITTEN_FIELDNot available

org.xulux.guilayer.swing.widgets.Tree

BugCategoryDetailsLine
Dead store to $L2 in method org.xulux.guilayer.swing.widgets.Tree.refresh()STYLEDLS_DEAD_LOCAL_STORE200
Method org.xulux.guilayer.swing.widgets.Tree.refresh() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE228
Redundant nullcheck of collapseUntill, which is known to be non-null in org.xulux.guilayer.swing.widgets.Tree.refresh()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE227
Nullcheck of org.xulux.guilayer.swing.widgets.Tree.expandPath at line 294 of value previously dereferenced in org.xulux.guilayer.swing.widgets.Tree.expandToLevel(Object,int)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE291

org.xulux.guilayer.swing.widgets.Window

BugCategoryDetailsLine
Dead store to dim in method org.xulux.guilayer.swing.widgets.Window.initialize()STYLEDLS_DEAD_LOCAL_STORE127
Useless control flow in org.xulux.guilayer.swing.widgets.Window.initialize()STYLEUCF_USELESS_CONTROL_FLOW120