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
321131319

Files

ClassBugs
net.sf.brico.forms.model.Model$BeanPropertySpec2
net.sf.brico.forms.model.Model$FindBeanPropertySpecPredicate1
net.sf.brico.forms.view.AbstractDialog1
net.sf.brico.forms.view.ViewFormEvent1
net.sf.brico.forms.view.resources.UIResourceManager6
net.sf.brico.forms.view.support.propertyeditor.AbstractPropertyEditor1
net.sf.brico.forms.view.support.propertyeditor.ColorEditor1

net.sf.brico.forms.model.Model$BeanPropertySpec

BugCategoryDetailsLine
Method net.sf.brico.forms.model.Model$BeanPropertySpec.setValue(Object) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caughtSTYLEREC_CATCH_EXCEPTION256
Should net.sf.brico.forms.model.Model$BeanPropertySpec be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

net.sf.brico.forms.model.Model$FindBeanPropertySpecPredicate

BugCategoryDetailsLine
Should net.sf.brico.forms.model.Model$FindBeanPropertySpecPredicate be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available

net.sf.brico.forms.view.AbstractDialog

BugCategoryDetailsLine
Dead store to size in method net.sf.brico.forms.view.AbstractDialog.postProcessAssemble()STYLEDLS_DEAD_LOCAL_STORE176

net.sf.brico.forms.view.ViewFormEvent

BugCategoryDetailsLine
Class net.sf.brico.forms.view.ViewFormEvent defines non-transient non-serializable instance field formBAD_PRACTICESE_BAD_FIELDNot available

net.sf.brico.forms.view.resources.UIResourceManager

BugCategoryDetailsLine
Load of known null value in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE239
Load of known null value in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE248
Method call in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String) passes null for unconditionally dereferenced parameter of java.awt.Toolkit.createImage(byte[])CORRECTNESSNP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS248
Read of unwritten field resources in net.sf.brico.forms.view.resources.UIResourceManager.getProperty(String,Object[],java.util.Locale)CORRECTNESSNP_UNWRITTEN_FIELD148
Field not initialized in constructor: net.sf.brico.forms.view.resources.UIResourceManager.resourceLoaderSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Unwritten field: net.sf.brico.forms.view.resources.UIResourceManager.resourcesCORRECTNESSUWF_UNWRITTEN_FIELDNot available

net.sf.brico.forms.view.support.propertyeditor.AbstractPropertyEditor

BugCategoryDetailsLine
Dead store to v in method net.sf.brico.forms.view.support.propertyeditor.AbstractPropertyEditor.getDoubleValue(String,String)STYLEDLS_DEAD_LOCAL_STORE26

net.sf.brico.forms.view.support.propertyeditor.ColorEditor

BugCategoryDetailsLine
Method net.sf.brico.forms.view.support.propertyeditor.ColorEditor.setAsText(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE51