The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
321 | 13 | 13 | 19 |
Bug | Category | Details | Line |
---|---|---|---|
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 caught | STYLE | REC_CATCH_EXCEPTION | 256 |
Should net.sf.brico.forms.model.Model$BeanPropertySpec be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Should net.sf.brico.forms.model.Model$FindBeanPropertySpecPredicate be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to size in method net.sf.brico.forms.view.AbstractDialog.postProcessAssemble() | STYLE | DLS_DEAD_LOCAL_STORE | 176 |
Bug | Category | Details | Line |
---|---|---|---|
Class net.sf.brico.forms.view.ViewFormEvent defines non-transient non-serializable instance field form | BAD_PRACTICE | SE_BAD_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Load of known null value in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 239 |
Load of known null value in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 248 |
Method call in net.sf.brico.forms.view.resources.UIResourceManager.loadImage(String) passes null for unconditionally dereferenced parameter of java.awt.Toolkit.createImage(byte[]) | CORRECTNESS | NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS | 248 |
Read of unwritten field resources in net.sf.brico.forms.view.resources.UIResourceManager.getProperty(String,Object[],java.util.Locale) | CORRECTNESS | NP_UNWRITTEN_FIELD | 148 |
Field not initialized in constructor: net.sf.brico.forms.view.resources.UIResourceManager.resourceLoader | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Unwritten field: net.sf.brico.forms.view.resources.UIResourceManager.resources | CORRECTNESS | UWF_UNWRITTEN_FIELD | Not available |
Bug | Category | Details | Line |
---|---|---|---|
Dead store to v in method net.sf.brico.forms.view.support.propertyeditor.AbstractPropertyEditor.getDoubleValue(String,String) | STYLE | DLS_DEAD_LOCAL_STORE | 26 |
Bug | Category | Details | Line |
---|---|---|---|
Method net.sf.brico.forms.view.support.propertyeditor.ColorEditor.setAsText(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 51 |