UI-Component Sets

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
51413200

Files

ClassBugs
javax.faces.FactoryFinder2
javax.faces._FactoryFinderProviderFactory2
javax.faces.application.FacesMessage$Severity1
javax.faces.application.NavigationCase1
javax.faces.application.StateManager$SerializedView1
javax.faces.component.UICommand1
javax.faces.component.UIComponent4
javax.faces.component.UIComponent$BundleMap1
javax.faces.component.UIComponentBase3
javax.faces.component.UIData$EditableValueHolderState1
javax.faces.component.UIInput1
javax.faces.component.UIViewParameter1
javax.faces.component.UIViewRoot2
javax.faces.component.UIViewRoot$Events1
javax.faces.component._AttachedCollectionStateWrapper1
javax.faces.component._AttachedListStateWrapper1
javax.faces.component._ComponentAttributesMap2
javax.faces.component._ComponentChildrenList2
javax.faces.component._ComponentFacetMap9
javax.faces.component._ComponentUtils1
javax.faces.component._DeltaStateHelper$InternalDeltaListMap1
javax.faces.component._DeltaStateHelper$InternalList1
javax.faces.component._DeltaStateHelper$InternalMap1
javax.faces.component._ExternalSpecifications1
javax.faces.component._LabeledFacesMessage1
javax.faces.component._MethodBindingToMethodExpression2
javax.faces.component._PrimitiveArrayIterator1
javax.faces.component._SharedRendererUtils1
javax.faces.component._ValueBindingToValueExpression1
javax.faces.component._ViewAttributeMap2
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap1
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList1
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap1
javax.faces.component.behavior._AttachedListStateWrapper1
javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap1
javax.faces.component.behavior._DeltaStateHelper$InternalList1
javax.faces.component.behavior._DeltaStateHelper$InternalMap1
javax.faces.component.visit.VisitContext$AllIdsCollection1
javax.faces.context.PartialResponseWriter2
javax.faces.convert.NumberConverter2
javax.faces.convert._LabeledFacesMessage1
javax.faces.event.ActionEvent1
javax.faces.event.AjaxBehaviorEvent2
javax.faces.event.ExceptionQueuedEvent1
javax.faces.event.MethodExpressionActionListener1
javax.faces.event.MethodExpressionValueChangeListener1
javax.faces.event.PhaseEvent2
javax.faces.event.PhaseId1
javax.faces.event.PostAddToViewEvent1
javax.faces.event.PostConstructApplicationEvent1
javax.faces.event.PostConstructCustomScopeEvent1
javax.faces.event.PostConstructViewMapEvent1
javax.faces.event.PostRestoreStateEvent1
javax.faces.event.PostValidateEvent1
javax.faces.event.PreDestroyApplicationEvent1
javax.faces.event.PreDestroyCustomScopeEvent1
javax.faces.event.PreDestroyViewMapEvent1
javax.faces.event.PreRemoveFromViewEvent1
javax.faces.event.PreRenderComponentEvent1
javax.faces.event.PreRenderViewEvent1
javax.faces.event.PreValidateEvent1
javax.faces.event.SystemEvent1
javax.faces.event.ValueChangeEvent1
javax.faces.model.ArrayDataModel2
javax.faces.model.DataModel1
javax.faces.model.ResultDataModel1
javax.faces.model.ResultSetDataModel$WrapResultSetMap1
javax.faces.model.SelectItemGroup3
javax.faces.validator.BeanValidator5
javax.faces.validator.BeanValidator$11
javax.faces.validator.DoubleRangeValidator7
javax.faces.validator.LengthValidator3
javax.faces.validator.LongRangeValidator4
javax.faces.validator.MethodExpressionValidator1
javax.faces.validator.RegexValidator3
javax.faces.validator.RequiredValidator3
javax.faces.validator._ExternalSpecifications1
javax.faces.validator._LabeledFacesMessage1
javax.faces.validator._ValueReferenceResolver1
javax.faces.view.facelets.CompositeFaceletHandler2
javax.faces.webapp.FacesServlet3
javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl1
javax.faces.webapp.UIComponentTagBase1

javax.faces.FactoryFinder

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.<static initializer>()STYLEREC_CATCH_EXCEPTION135Low
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.getClassLoader()STYLEREC_CATCH_EXCEPTION612Low

javax.faces._FactoryFinderProviderFactory

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in javax.faces._FactoryFinderProviderFactory.<static initializer>()STYLEREC_CATCH_EXCEPTION87Medium

javax.faces.application.FacesMessage$Severity

BugCategoryDetailsLinePriority
javax.faces.application.FacesMessage$Severity defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS289Medium

javax.faces.application.NavigationCase

BugCategoryDetailsLinePriority
javax.faces.application.NavigationCase.getCondition(FacesContext) has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL112Medium

javax.faces.application.StateManager$SerializedView

BugCategoryDetailsLinePriority
Should javax.faces.application.StateManager$SerializedView be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC320-338Medium

javax.faces.component.UICommand

BugCategoryDetailsLinePriority
Method call in javax.faces.component.UICommand.queueEvent(FacesEvent) passes null for nonnull parameter of UIComponentBase.queueEvent(FacesEvent)CORRECTNESSNP_NULL_PARAM_DEREF143Medium

javax.faces.component.UIComponent

BugCategoryDetailsLinePriority
Suspicious comparison of Boolean references in javax.faces.component.UIComponent.getCurrentComponent(FacesContext)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN477Medium
Suspicious comparison of Boolean references in javax.faces.component.UIComponent.getCurrentCompositeComponent(FacesContext)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN527Medium
Suspicious comparison of Boolean references in javax.faces.component.UIComponent.popComponentFromEL(FacesContext)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN1109Medium
Suspicious comparison of Boolean references in javax.faces.component.UIComponent.pushComponentToEL(FacesContext, UIComponent)BAD_PRACTICERC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN1234Medium

javax.faces.component.UIComponent$BundleMap

BugCategoryDetailsLinePriority
Redundant nullcheck of java.util.ResourceBundle.getObject(String), which is known to be non-null in javax.faces.component.UIComponent$BundleMap.containsKey(Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE1364Low

javax.faces.component.UIComponentBase

BugCategoryDetailsLinePriority
Questionable cast from java.util.Collection to java.util.ArrayList in javax.faces.component.UIComponentBase.saveAttachedState(FacesContext, Object)STYLEBC_BAD_CAST_TO_CONCRETE_COLLECTION1777High
Load of known null value in javax.faces.component.UIComponentBase.setParent(UIComponent)STYLENP_LOAD_OF_KNOWN_NULL_VALUE200Medium
Method call in javax.faces.component.UIComponentBase.encodeEnd(FacesContext) passes null for nonnull parameter of UIComponent.popComponentFromEL(FacesContext)CORRECTNESSNP_NULL_PARAM_DEREF673Medium

javax.faces.component.UIData$EditableValueHolderState

BugCategoryDetailsLinePriority
Should javax.faces.component.UIData$EditableValueHolderState be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC284-297Medium

javax.faces.component.UIInput

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE524Low

javax.faces.component.UIViewParameter

BugCategoryDetailsLinePriority
Private method javax.faces.component.UIViewParameter.releaseRenderer() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD275-297Low

javax.faces.component.UIViewRoot

BugCategoryDetailsLinePriority
instanceof will always return true in javax.faces.component.UIViewRoot.getLocale(), since all java.util.Locale are instances of java.util.LocaleSTYLEBC_VACUOUS_INSTANCEOF665Medium
Exception is caught when Exception is not thrown in javax.faces.component.UIViewRoot._broadcastAll(FacesContext, List, Collection)STYLEREC_CATCH_EXCEPTION1053Low

javax.faces.component.UIViewRoot$Events

BugCategoryDetailsLinePriority
Should javax.faces.component.UIViewRoot$Events be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC1655-1673Medium

javax.faces.component._AttachedCollectionStateWrapper

BugCategoryDetailsLinePriority
Class javax.faces.component._AttachedCollectionStateWrapper defines non-transient non-serializable instance field _wrappedStateListBAD_PRACTICESE_BAD_FIELDNot availableLow

javax.faces.component._AttachedListStateWrapper

BugCategoryDetailsLinePriority
Class javax.faces.component._AttachedListStateWrapper defines non-transient non-serializable instance field _wrappedStateListBAD_PRACTICESE_BAD_FIELDNot availableLow

javax.faces.component._ComponentAttributesMap

BugCategoryDetailsLinePriority
Class javax.faces.component._ComponentAttributesMap defines non-transient non-serializable instance field _ccBeanInfoBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class javax.faces.component._ComponentAttributesMap defines non-transient non-serializable instance field _componentBAD_PRACTICESE_BAD_FIELDNot availableMedium

javax.faces.component._ComponentChildrenList

BugCategoryDetailsLinePriority
Class javax.faces.component._ComponentChildrenList defines non-transient non-serializable instance field _componentBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class javax.faces.component._ComponentChildrenList defines non-transient non-serializable instance field _listBAD_PRACTICESE_BAD_FIELDNot availableLow

javax.faces.component._ComponentFacetMap

BugCategoryDetailsLinePriority
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _componentBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _entrySetBAD_PRACTICESE_BAD_FIELDNot availableLow
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _keySetBAD_PRACTICESE_BAD_FIELDNot availableLow
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _mapBAD_PRACTICESE_BAD_FIELDNot availableLow
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _valueCollectionBAD_PRACTICESE_BAD_FIELDNot availableLow
javax.faces.component._ArrayMap stored into non-transient field _ComponentFacetMap._mapBAD_PRACTICESE_BAD_FIELD_STORE37High
javax.faces.component._ComponentFacetMap$ComponentFacetEntrySet stored into non-transient field _ComponentFacetMap._entrySetBAD_PRACTICESE_BAD_FIELD_STORE102Medium
javax.faces.component._ComponentFacetMap$ComponentFacetKeySet stored into non-transient field _ComponentFacetMap._keySetBAD_PRACTICESE_BAD_FIELD_STORE111Medium
javax.faces.component._ComponentFacetMap$ComponentFacetValueCollection stored into non-transient field _ComponentFacetMap._valueCollectionBAD_PRACTICESE_BAD_FIELD_STORE85Medium

javax.faces.component._ComponentUtils

BugCategoryDetailsLinePriority
Private method javax.faces.component._ComponentUtils.dynamicIdIsEqual(String, String) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD260Low

javax.faces.component._DeltaStateHelper$InternalDeltaListMap

BugCategoryDetailsLinePriority
javax.faces.component._DeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID796-812Low

javax.faces.component._DeltaStateHelper$InternalList

BugCategoryDetailsLinePriority
javax.faces.component._DeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID819-870Low

javax.faces.component._DeltaStateHelper$InternalMap

BugCategoryDetailsLinePriority
javax.faces.component._DeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID725-784Low

javax.faces.component._ExternalSpecifications

BugCategoryDetailsLinePriority
Incorrect lazy initialization and update of static field javax.faces.component._ExternalSpecifications.beanValidationAvailable in javax.faces.component._ExternalSpecifications.isBeanValidationAvailable()MT_CORRECTNESSLI_LAZY_INIT_UPDATE_STATIC51-57Medium

javax.faces.component._LabeledFacesMessage

BugCategoryDetailsLinePriority
javax.faces.component._LabeledFacesMessage is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID37-76Low

javax.faces.component._MethodBindingToMethodExpression

BugCategoryDetailsLinePriority
Class javax.faces.component._MethodBindingToMethodExpression defines non-transient non-serializable instance field methodBindingBAD_PRACTICESE_BAD_FIELDNot availableLow
javax.faces.component._MethodBindingToMethodExpression is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID40-256Medium

javax.faces.component._PrimitiveArrayIterator

BugCategoryDetailsLinePriority
javax.faces.component._PrimitiveArrayIterator.next() can't throw NoSuchElementExceptionBAD_PRACTICEIT_NO_SUCH_ELEMENT48Medium

javax.faces.component._SharedRendererUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in javax.faces.component._SharedRendererUtils.getConvertedUISelectManyValue(FacesContext, UISelectMany, String[], boolean)STYLEREC_CATCH_EXCEPTION249Low

javax.faces.component._ValueBindingToValueExpression

BugCategoryDetailsLinePriority
Class javax.faces.component._ValueBindingToValueExpression defines non-transient non-serializable instance field _valueBindingBAD_PRACTICESE_BAD_FIELDNot availableMedium

javax.faces.component._ViewAttributeMap

BugCategoryDetailsLinePriority
Class javax.faces.component._ViewAttributeMap defines non-transient non-serializable instance field _rootBAD_PRACTICESE_BAD_FIELDNot availableHigh
Class javax.faces.component._ViewAttributeMap defines non-transient non-serializable instance field _delegateBAD_PRACTICESE_BAD_FIELDNot availableLow

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap

BugCategoryDetailsLinePriority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID636-652Low

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList

BugCategoryDetailsLinePriority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID659-710Low

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap

BugCategoryDetailsLinePriority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID565-624Low

javax.faces.component.behavior._AttachedListStateWrapper

BugCategoryDetailsLinePriority
Class javax.faces.component.behavior._AttachedListStateWrapper defines non-transient non-serializable instance field _wrappedStateListBAD_PRACTICESE_BAD_FIELDNot availableLow

javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap

BugCategoryDetailsLinePriority
javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID751-767Low

javax.faces.component.behavior._DeltaStateHelper$InternalList

BugCategoryDetailsLinePriority
javax.faces.component.behavior._DeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID774-825Low

javax.faces.component.behavior._DeltaStateHelper$InternalMap

BugCategoryDetailsLinePriority
javax.faces.component.behavior._DeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID680-739Low

javax.faces.component.visit.VisitContext$AllIdsCollection

BugCategoryDetailsLinePriority
javax.faces.component.visit.VisitContext$AllIdsCollection is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID64-128Low

javax.faces.context.PartialResponseWriter

BugCategoryDetailsLinePriority
Method javax.faces.context.PartialResponseWriter.startExtension(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR211Medium
Method javax.faces.context.PartialResponseWriter.updateAttributes(String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR255Medium

javax.faces.convert.NumberConverter

BugCategoryDetailsLinePriority
Switch statement found in javax.faces.convert.NumberConverter.checkJavaVersion14() where one case falls through to the next caseSTYLESF_SWITCH_FALLTHROUGH604-608Medium
Switch statement found in javax.faces.convert.NumberConverter.checkJavaVersion14() where default case is missingSTYLESF_SWITCH_NO_DEFAULT610-615Low

javax.faces.convert._LabeledFacesMessage

BugCategoryDetailsLinePriority
javax.faces.convert._LabeledFacesMessage is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID37-77Low

javax.faces.event.ActionEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.ActionListener in javax.faces.event.ActionEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST51Low

javax.faces.event.AjaxBehaviorEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.AjaxBehaviorListener in javax.faces.event.AjaxBehaviorEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST57Low
javax.faces.event.AjaxBehaviorEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID39-58Low

javax.faces.event.ExceptionQueuedEvent

BugCategoryDetailsLinePriority
javax.faces.event.ExceptionQueuedEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID34-39Low

javax.faces.event.MethodExpressionActionListener

BugCategoryDetailsLinePriority
Redundant nullcheck of cause, which is known to be non-null in javax.faces.event.MethodExpressionActionListener.processAction(ActionEvent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE108Low

javax.faces.event.MethodExpressionValueChangeListener

BugCategoryDetailsLinePriority
Redundant nullcheck of cause, which is known to be non-null in javax.faces.event.MethodExpressionValueChangeListener.processValueChange(ValueChangeEvent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE106Low

javax.faces.event.PhaseEvent

BugCategoryDetailsLinePriority
Class javax.faces.event.PhaseEvent defines non-transient non-serializable instance field _facesContextBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class javax.faces.event.PhaseEvent defines non-transient non-serializable instance field _phaseIdBAD_PRACTICESE_BAD_FIELDNot availableMedium

javax.faces.event.PhaseId

BugCategoryDetailsLinePriority
javax.faces.event.PhaseId defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS78Medium

javax.faces.event.PostAddToViewEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostAddToViewEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-45Low

javax.faces.event.PostConstructApplicationEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostConstructApplicationEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-44Low

javax.faces.event.PostConstructCustomScopeEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostConstructCustomScopeEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID35-43Low

javax.faces.event.PostConstructViewMapEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostConstructViewMapEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.PostRestoreStateEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostRestoreStateEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-42Low

javax.faces.event.PostValidateEvent

BugCategoryDetailsLinePriority
javax.faces.event.PostValidateEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.PreDestroyApplicationEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreDestroyApplicationEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-44Low

javax.faces.event.PreDestroyCustomScopeEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreDestroyCustomScopeEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID33-41Low

javax.faces.event.PreDestroyViewMapEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreDestroyViewMapEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.PreRemoveFromViewEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreRemoveFromViewEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-45Low

javax.faces.event.PreRenderComponentEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreRenderComponentEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.PreRenderViewEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreRenderViewEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.PreValidateEvent

BugCategoryDetailsLinePriority
javax.faces.event.PreValidateEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-37Low

javax.faces.event.SystemEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.SystemEventListener in javax.faces.event.SystemEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST43Low

javax.faces.event.ValueChangeEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.ValueChangeListener in javax.faces.event.ValueChangeEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST68Low

javax.faces.model.ArrayDataModel

BugCategoryDetailsLinePriority
javax.faces.model.ArrayDataModel.getWrappedData() may expose internal representation by returning ArrayDataModel._dataMALICIOUS_CODEEI_EXPOSE_REP82Medium
javax.faces.model.ArrayDataModel.setWrappedData(Object) may expose internal representation by storing an externally mutable object into ArrayDataModel._dataMALICIOUS_CODEEI_EXPOSE_REP2122Medium

javax.faces.model.DataModel

BugCategoryDetailsLinePriority
javax.faces.model.DataModel.getDataModelListeners() may expose internal representation by returning DataModel._cachedListenersArrayMALICIOUS_CODEEI_EXPOSE_REP86Medium

javax.faces.model.ResultDataModel

BugCategoryDetailsLinePriority
Should javax.faces.model.ResultDataModel.getRows() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS121Low

javax.faces.model.ResultSetDataModel$WrapResultSetMap

BugCategoryDetailsLinePriority
javax.faces.model.ResultSetDataModel$WrapResultSetMap is serializable but also an inner class of a non-serializable classBAD_PRACTICESE_BAD_FIELD_INNER_CLASS253-397Low

javax.faces.model.SelectItemGroup

BugCategoryDetailsLinePriority
javax.faces.model.SelectItemGroup.getSelectItems() may expose internal representation by returning SelectItemGroup._selectItemsMALICIOUS_CODEEI_EXPOSE_REP62Medium
new javax.faces.model.SelectItemGroup(String, String, boolean, SelectItem[]) may expose internal representation by storing an externally mutable object into SelectItemGroup._selectItemsMALICIOUS_CODEEI_EXPOSE_REP256Medium
javax.faces.model.SelectItemGroup.setSelectItems(SelectItem[]) may expose internal representation by storing an externally mutable object into SelectItemGroup._selectItemsMALICIOUS_CODEEI_EXPOSE_REP271Medium

javax.faces.validator.BeanValidator

BugCategoryDetailsLinePriority
javax.faces.validator.BeanValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL447Medium
Redundant nullcheck of reference, which is known to be non-null in javax.faces.validator.BeanValidator.validate(FacesContext, UIComponent, Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE157Low
Redundant nullcheck of valueBaseClass, which is known to be non-null in javax.faces.validator.BeanValidator.validate(FacesContext, UIComponent, Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE168Low
Private method javax.faces.validator.BeanValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD453Low
Private method javax.faces.validator.BeanValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD447Low

javax.faces.validator.BeanValidator$1

BugCategoryDetailsLinePriority
The class javax.faces.validator.BeanValidator$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON340-343Low

javax.faces.validator.DoubleRangeValidator

BugCategoryDetailsLinePriority
Method new javax.faces.validator.DoubleRangeValidator(double) invokes inefficient Double.valueOf(double) constructor; use DoubleRangeValidator.java:[line 73] insteadPERFORMANCEDM_FP_NUMBER_CTOR73Low
Method new javax.faces.validator.DoubleRangeValidator(double, double) invokes inefficient Double.valueOf(double) constructor; use DoubleRangeValidator.java:[line 79] insteadPERFORMANCEDM_FP_NUMBER_CTOR79Low
Method javax.faces.validator.DoubleRangeValidator.setMaximum(double) invokes inefficient Double.valueOf(double) constructor; use DoubleRangeValidator.java:[line 166] insteadPERFORMANCEDM_FP_NUMBER_CTOR166Low
Method javax.faces.validator.DoubleRangeValidator.setMinimum(double) invokes inefficient Double.valueOf(double) constructor; use DoubleRangeValidator.java:[line 182] insteadPERFORMANCEDM_FP_NUMBER_CTOR182Low
javax.faces.validator.DoubleRangeValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL270Medium
Private method javax.faces.validator.DoubleRangeValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD276Low
Private method javax.faces.validator.DoubleRangeValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD270Low

javax.faces.validator.LengthValidator

BugCategoryDetailsLinePriority
javax.faces.validator.LengthValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL247Medium
Private method javax.faces.validator.LengthValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD253Low
Private method javax.faces.validator.LengthValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD247Low

javax.faces.validator.LongRangeValidator

BugCategoryDetailsLinePriority
Method javax.faces.validator.LongRangeValidator.setMinimum(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR183Medium
javax.faces.validator.LongRangeValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL276Medium
Private method javax.faces.validator.LongRangeValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD282Low
Private method javax.faces.validator.LongRangeValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD276Low

javax.faces.validator.MethodExpressionValidator

BugCategoryDetailsLinePriority
Redundant nullcheck of cause, which is known to be non-null in javax.faces.validator.MethodExpressionValidator.validate(FacesContext, UIComponent, Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE74Low

javax.faces.validator.RegexValidator

BugCategoryDetailsLinePriority
javax.faces.validator.RegexValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL244Medium
Private method javax.faces.validator.RegexValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD250Low
Private method javax.faces.validator.RegexValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD244Low

javax.faces.validator.RequiredValidator

BugCategoryDetailsLinePriority
javax.faces.validator.RequiredValidator.isDisabled() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL95Medium
Private method javax.faces.validator.RequiredValidator.getFor() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD101Low
Private method javax.faces.validator.RequiredValidator.isDisabled() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD95Low

javax.faces.validator._ExternalSpecifications

BugCategoryDetailsLinePriority
Incorrect lazy initialization and update of static field javax.faces.validator._ExternalSpecifications.beanValidationAvailable in javax.faces.validator._ExternalSpecifications.isBeanValidationAvailable()MT_CORRECTNESSLI_LAZY_INIT_UPDATE_STATIC55-61Medium

javax.faces.validator._LabeledFacesMessage

BugCategoryDetailsLinePriority
javax.faces.validator._LabeledFacesMessage is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID37-78Low

javax.faces.validator._ValueReferenceResolver

BugCategoryDetailsLinePriority
_ValueReferenceResolver.lastObject not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow

javax.faces.view.facelets.CompositeFaceletHandler

BugCategoryDetailsLinePriority
javax.faces.view.facelets.CompositeFaceletHandler.getHandlers() may expose internal representation by returning CompositeFaceletHandler.childrenMALICIOUS_CODEEI_EXPOSE_REP55Medium
new javax.faces.view.facelets.CompositeFaceletHandler(FaceletHandler[]) may expose internal representation by storing an externally mutable object into CompositeFaceletHandler.childrenMALICIOUS_CODEEI_EXPOSE_REP238Medium

javax.faces.webapp.FacesServlet

BugCategoryDetailsLinePriority
javax.faces.webapp.FacesServlet._facesContextFactory is a mutable servlet fieldMT_CORRECTNESSMSF_MUTABLE_SERVLET_FIELD245Low
javax.faces.webapp.FacesServlet._lifecycle is a mutable servlet fieldMT_CORRECTNESSMSF_MUTABLE_SERVLET_FIELD197Low
javax.faces.webapp.FacesServlet._servletConfig is a mutable servlet fieldMT_CORRECTNESSMSF_MUTABLE_SERVLET_FIELD103Low

javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.SystemEvent to javax.faces.event.ExceptionQueuedEvent in javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl.processEvent(SystemEvent)STYLEBC_UNCONFIRMED_CAST343Low

javax.faces.webapp.UIComponentTagBase

BugCategoryDetailsLinePriority
javax.faces.webapp.UIComponentTagBase.log isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL37High