FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.0.0

Threshold is Low

Effort is Default

Files

org.mlc.swing.example.CustomerPanel

BugCategoryDetailsLine
Call to swing method in org.mlc.swing.example.CustomerPanel.main(String[]) needs to be performed in Swing event threadCORRECTNESSSW_SWING_METHODS_INVOKED_IN_SWING_THREAD121

org.mlc.swing.example.ExamplePanel

BugCategoryDetailsLine
Call to swing method in org.mlc.swing.example.ExamplePanel.main(String[]) needs to be performed in Swing event threadCORRECTNESSSW_SWING_METHODS_INVOKED_IN_SWING_THREAD56

org.mlc.swing.layout.FormEditor

BugCategoryDetailsLine
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.colSpinnerModelCORRECTNESSSE_BAD_FIELDNot available
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.rowSpinnerModelCORRECTNESSSE_BAD_FIELDNot available
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.layoutConstraintsManagerCORRECTNESSSE_BAD_FIELDNot available
Class org.mlc.swing.layout.FormEditor defines non-transient non-serializable instance field org.mlc.swing.layout.FormEditor.containerLayoutCORRECTNESSSE_BAD_FIELDNot available
Unchecked/unconfirmed cast from java.awt.Container to class javax.swing.JViewport in org.mlc.swing.layout.FormEditor.setSelectedCell(int,int,boolean)STYLEBC_UNCONFIRMED_CAST553

org.mlc.swing.layout.FormEditor$GridTableModel

BugCategoryDetailsLine
org.mlc.swing.layout.FormEditor$GridTableModel is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

org.mlc.swing.layout.LayoutConstraintsManager

BugCategoryDetailsLine
Method org.mlc.swing.layout.LayoutConstraintsManager.getXML() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE297
Dead store to controller in method org.mlc.swing.layout.LayoutConstraintsManager.getLayoutConstraintsManager(org.w3c.dom.Node)STYLEDLS_DEAD_LOCAL_STORE585
Dead store to cl in method org.mlc.swing.layout.LayoutConstraintsManager.main(String[])STYLEDLS_DEAD_LOCAL_STORE643
Method org.mlc.swing.layout.LayoutConstraintsManager.getXML() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR240
Method org.mlc.swing.layout.LayoutConstraintsManager.createString(org.w3c.dom.NodeList) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION357

org.mlc.swing.layout.LayoutConstraintsManager$1

BugCategoryDetailsLine
Uncallable method org.mlc.swing.layout.LayoutConstraintsManager$1.configureProperty(String,String,Object) defined in anonymous classCORRECTNESSUMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS590-591

org.mlc.swing.layout.FormEditor$NewComponentAction

BugCategoryDetailsLine
Possible null pointer dereference in org.mlc.swing.layout.FormEditor$NewComponentAction.actionPerformed(java.awt.event.ActionEvent) on exception pathCORRECTNESSNP_NULL_ON_SOME_PATH_EXCEPTION1379
Unchecked/unconfirmed cast from java.awt.Container to class java.awt.Frame in org.mlc.swing.layout.FormEditor$NewComponentAction.actionPerformed(java.awt.event.ActionEvent)STYLEBC_UNCONFIRMED_CAST1362

org.mlc.swing.layout.LayoutFrame$XmlFileFilter

BugCategoryDetailsLine
Method org.mlc.swing.layout.LayoutFrame$XmlFileFilter.accept(java.io.File) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE420

org.mlc.swing.layout.FormEditor$NewComponentDialog0$PropertyTableModel

BugCategoryDetailsLine
org.mlc.swing.layout.FormEditor$NewComponentDialog0$PropertyTableModel is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

org.mlc.swing.layout.JTableComponentBuilder$1

BugCategoryDetailsLine
Class org.mlc.swing.layout.JTableComponentBuilder$1 defines non-transient non-serializable instance field org.mlc.swing.layout.JTableComponentBuilder$1.this$0CORRECTNESSSE_BAD_FIELDNot available

org.mlc.swing.layout.LayoutFrame$4

BugCategoryDetailsLine
Method org.mlc.swing.layout.LayoutFrame$4.actionPerformed(java.awt.event.ActionEvent) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR224

org.mlc.swing.layout.LayoutFrame

BugCategoryDetailsLine
Class org.mlc.swing.layout.LayoutFrame defines non-transient non-serializable instance field org.mlc.swing.layout.LayoutFrame.constraintsManagerCORRECTNESSSE_BAD_FIELDNot available

org.mlc.swing.layout.FormEditor$ComponentSelectionListModel

BugCategoryDetailsLine
Method org.mlc.swing.layout.FormEditor$ComponentSelectionListModel.getSize() invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE606
org.mlc.swing.layout.FormEditor$ComponentSelectionListModel is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

org.mlc.swing.layout.NewComponentDialog

BugCategoryDetailsLine
Load of known null value in org.mlc.swing.layout.NewComponentDialog.getInstance()STYLENP_LOAD_OF_KNOWN_NULL_VALUE201
Call to swing method in org.mlc.swing.layout.NewComponentDialog.main(String[]) needs to be performed in Swing event threadCORRECTNESSSW_SWING_METHODS_INVOKED_IN_SWING_THREAD379
Call to swing method in org.mlc.swing.layout.NewComponentDialog.main(String[]) needs to be performed in Swing event threadCORRECTNESSSW_SWING_METHODS_INVOKED_IN_SWING_THREAD380
Class org.mlc.swing.layout.NewComponentDialog defines non-transient non-serializable instance field org.mlc.swing.layout.NewComponentDialog.componentDefCORRECTNESSSE_BAD_FIELDNot available

org.mlc.swing.layout.LayoutFrame$5

BugCategoryDetailsLine
org.mlc.swing.layout.LayoutFrame$5.actionPerformed(java.awt.event.ActionEvent) might ignore java.lang.ExceptionCORRECTNESSDE_MIGHT_IGNORE389

org.mlc.swing.layout.ComponentDef

BugCategoryDetailsLine
clone method org.mlc.swing.layout.ComponentDef.clone() does not call super.clone()CORRECTNESSCN_IDIOM_NO_SUPER_CALL64
Method org.mlc.swing.layout.LayoutFrame$5.actionPerformed(java.awt.event.ActionEvent) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION376
Method org.mlc.swing.layout.ComponentDef.createComponentDefs() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION234

org.mlc.swing.layout.FormEditor$ComponentPaletteListModel

BugCategoryDetailsLine
org.mlc.swing.layout.FormEditor$ComponentPaletteListModel is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

org.mlc.swing.layout.DefaultComponentBuilder

BugCategoryDetailsLine
Method org.mlc.swing.layout.DefaultComponentBuilder.getInstance(java.util.Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR157

org.mlc.swing.layout.DnDTable

BugCategoryDetailsLine
Dead store to context in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent)STYLEDLS_DEAD_LOCAL_STORE210
Dead store to col in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent)STYLEDLS_DEAD_LOCAL_STORE215
Dead store to row in method org.mlc.swing.layout.DnDTable.dragOver(java.awt.dnd.DropTargetDragEvent)STYLEDLS_DEAD_LOCAL_STORE216
Unchecked/unconfirmed cast from java.awt.Container to class javax.swing.JComponent in org.mlc.swing.layout.DnDTable.autoscroll(java.awt.Point)STYLEBC_UNCONFIRMED_CAST152

org.mlc.swing.layout.ContainerLayout

BugCategoryDetailsLine
Method org.mlc.swing.layout.ContainerLayout.addLayoutComponent(java.awt.Component,Object) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR454
Method org.mlc.swing.layout.ContainerLayout.addLayoutComponent(java.awt.Component,Object) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION471

org.mlc.swing.layout.FormEditor$DeleteColumnAction

BugCategoryDetailsLine
Unread field: org.mlc.swing.layout.BeanProperty.possibleValuesPERFORMANCEURF_UNREAD_FIELDNot available
Should org.mlc.swing.layout.ContainerLayout$LocationScore be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Unread field: org.mlc.swing.layout.DefaultComponentBuilder.editablePropertiesPERFORMANCEURF_UNREAD_FIELDNot available
Should org.mlc.swing.layout.FormEditor$ComponentPaletteListModel be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should org.mlc.swing.layout.FormEditor$ComponentPaletteListRenderer be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$1.val$this$0PERFORMANCEURF_UNREAD_FIELDNot available
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$2.val$this$0PERFORMANCEURF_UNREAD_FIELDNot available
Unread field: org.mlc.swing.layout.FormEditor$NewComponentDialog0$3.val$this$0PERFORMANCEURF_UNREAD_FIELDNot available
The class org.mlc.swing.layout.JTableComponentBuilder$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANONNot available
The class org.mlc.swing.layout.LayoutFrame$CodeDialog could be refactored into a _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_NEEDS_THISNot available
Unread field: org.mlc.swing.layout.LayoutFrame$CodeDialog$1.val$this$0PERFORMANCEURF_UNREAD_FIELDNot available
Should org.mlc.swing.layout.LayoutFrame$XmlFileFilter be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available