FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

ClassesBugsErrorsMissing Classes
752000

org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaConfig

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaConfig.getDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL114Medium
org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaConfig.getDisplayOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL76Medium
org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaConfig.getReadOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL95Medium

org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaFormRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaForm in org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaFormRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST125Low

org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaFormRenderer$AddComponentToTable

BugCategoryDetailsLinePriority
Should org.apache.myfaces.custom.dynaForm.component.dynaForm.DynaFormRenderer$AddComponentToTable be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC51-86Medium

org.apache.myfaces.custom.dynaForm.guiBuilder.Slipstream

BugCategoryDetailsLinePriority
Slipstream.guiBuilder not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow
Slipstream.modelMetaData not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow

org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf.JsfGuiBuilder

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf.JsfGuiBuilder.createNative(FieldInterface), since all javax.faces.component.UIComponent are instances of javax.faces.component.UIComponentSTYLEBC_VACUOUS_INSTANCEOF264Medium
Redundant nullcheck of vld which is known to be null in org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf.JsfGuiBuilder.attachLengthValidator(HtmlInputText, int, int)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE1000Low
Redundant nullcheck of vld which is known to be null in org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf.JsfGuiBuilder.attachRangeValidator(HtmlInputText, Double, Double)STYLERCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE974Low
Switch statement found in org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf.JsfGuiBuilder.doCreateDateConverter(FieldInterface) where default case is missingSTYLESF_SWITCH_NO_DEFAULT437-438Low

org.apache.myfaces.custom.dynaForm.lib.DefaultValueMap

BugCategoryDetailsLinePriority
Class org.apache.myfaces.custom.dynaForm.lib.DefaultValueMap defines non-transient non-serializable instance field originalBAD_PRACTICESE_BAD_FIELDNot availableLow

org.apache.myfaces.custom.dynaForm.lib.NullObject

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dynaForm.lib.NullObject defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE34High

org.apache.myfaces.custom.dynaForm.lib.ObjectSerializationConverter

BugCategoryDetailsLinePriority
Call to equals() comparing different types in org.apache.myfaces.custom.dynaForm.lib.ObjectSerializationConverter.getAsObject(FacesContext, UIComponent, String)CORRECTNESSEC_UNRELATED_TYPES48High

org.apache.myfaces.custom.dynaForm.metadata.MetaData$FieldImpl

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dynaForm.metadata.MetaData$FieldImpl.getAllowedSelections() may expose internal representation by returning MetaData$FieldImpl.allowedSelectionMALICIOUS_CODEEI_EXPOSE_REP200Medium
org.apache.myfaces.custom.dynaForm.metadata.MetaData$FieldImpl.setAllowedSelections(Selection[]) may expose internal representation by storing an externally mutable object into MetaData$FieldImpl.allowedSelectionMALICIOUS_CODEEI_EXPOSE_REP2205Medium
Class org.apache.myfaces.custom.dynaForm.metadata.MetaData$FieldImpl defines non-transient non-serializable instance field wantedComponentBAD_PRACTICESE_BAD_FIELDNot availableMedium
org.apache.myfaces.custom.dynaForm.metadata.MetaData$FieldImpl is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID61-376Low

org.apache.myfaces.custom.dynaForm.metadata.Selection

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dynaForm.metadata.Selection is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-55Low

org.apache.myfaces.custom.dynaForm.metadata.impl.ejb.EjbExtractor

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dynaForm.metadata.impl.ejb.EjbExtractor.determineAccessByField(Class) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL269Medium