UI-Component Sets

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is low

Effort is min

Summary

Classes Bugs Errors Missing Classes
624 162 0 0

Files

Class Bugs
javax.faces.FactoryFinder 5
javax.faces._FactoryFinderProviderFactory 2
javax.faces.application.FacesMessage$Severity 1
javax.faces.application.NavigationCase 1
javax.faces.application.StateManager$SerializedView 1
javax.faces.component.UICommand 1
javax.faces.component.UIComponent$BundleMap 1
javax.faces.component.UIComponentBase 2
javax.faces.component.UIData 4
javax.faces.component.UIData$EditableValueHolderState 1
javax.faces.component.UIForm 1
javax.faces.component.UIInput 3
javax.faces.component.UINamingContainer 1
javax.faces.component.UISelectMany 1
javax.faces.component.UIViewAction 2
javax.faces.component.UIViewAction$ViewActionEvent 2
javax.faces.component.UIViewParameter 2
javax.faces.component.UIViewRoot 10
javax.faces.component.UIWebsocket$1 1
javax.faces.component._ComponentAttributesMap 2
javax.faces.component._ComponentChildrenList 2
javax.faces.component._ComponentFacetMap 5
javax.faces.component._DeltaList 2
javax.faces.component._DeltaStateHelper$InternalDeltaListMap 1
javax.faces.component._DeltaStateHelper$InternalList 1
javax.faces.component._DeltaStateHelper$InternalMap 1
javax.faces.component._ExternalSpecifications 1
javax.faces.component._LabeledFacesMessage 1
javax.faces.component._MethodBindingToMethodExpression 2
javax.faces.component._PassThroughAttributesMap 1
javax.faces.component._PrimitiveArrayIterator 1
javax.faces.component._SelectItemsIterator 1
javax.faces.component._SelectItemsUtil 1
javax.faces.component._SharedRendererUtils 2
javax.faces.component._ValueBindingToValueExpression 1
javax.faces.component._ViewAttributeMap 1
javax.faces.component.behavior.AjaxBehavior 3
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap 1
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList 1
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap 1
javax.faces.component.behavior._DeltaList 2
javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap 1
javax.faces.component.behavior._DeltaStateHelper$InternalList 1
javax.faces.component.behavior._DeltaStateHelper$InternalMap 1
javax.faces.component.search.SearchExpressionHandler 2
javax.faces.component.visit.VisitContext$AllIdsCollection 1
javax.faces.context.PartialResponseWriter 2
javax.faces.convert.BigDecimalConverter 1
javax.faces.convert.DateTimeConverter 2
javax.faces.convert._LabeledFacesMessage 1
javax.faces.event.ActionEvent 1
javax.faces.event.AjaxBehaviorEvent 2
javax.faces.event.ExceptionQueuedEvent 1
javax.faces.event.PhaseEvent 2
javax.faces.event.PhaseId 1
javax.faces.event.PostAddToViewEvent 1
javax.faces.event.PostConstructApplicationEvent 1
javax.faces.event.PostConstructCustomScopeEvent 1
javax.faces.event.PostConstructViewMapEvent 1
javax.faces.event.PostKeepFlashValueEvent 1
javax.faces.event.PostPutFlashValueEvent 1
javax.faces.event.PostRenderViewEvent 1
javax.faces.event.PostRestoreStateEvent 1
javax.faces.event.PostValidateEvent 1
javax.faces.event.PreClearFlashEvent 1
javax.faces.event.PreDestroyApplicationEvent 1
javax.faces.event.PreDestroyCustomScopeEvent 1
javax.faces.event.PreDestroyViewMapEvent 1
javax.faces.event.PreRemoveFlashValueEvent 1
javax.faces.event.PreRemoveFromViewEvent 1
javax.faces.event.PreRenderComponentEvent 1
javax.faces.event.PreRenderViewEvent 1
javax.faces.event.PreValidateEvent 1
javax.faces.event.SystemEvent 1
javax.faces.event.ValueChangeEvent 1
javax.faces.event.WebsocketEvent 2
javax.faces.flow.builder.NavigationCaseBuilder$RedirectBuilder 1
javax.faces.model.ArrayDataModel 2
javax.faces.model.DataModel 1
javax.faces.model.IterableDataModel 1
javax.faces.model.ResultDataModel 1
javax.faces.model.ResultSetDataModel$WrapResultSetMap 1
javax.faces.model.SelectItemGroup 3
javax.faces.validator.BeanValidator 4
javax.faces.validator.BeanValidator$1 1
javax.faces.validator.DoubleRangeValidator 7
javax.faces.validator.LengthValidator 3
javax.faces.validator.LongRangeValidator 4
javax.faces.validator.MethodExpressionValidator 1
javax.faces.validator.RegexValidator 3
javax.faces.validator.RequiredValidator 3
javax.faces.validator._ExternalSpecifications 1
javax.faces.validator._LabeledFacesMessage 1
javax.faces.view.facelets.CompositeFaceletHandler 2
javax.faces.webapp.FacesServlet 3
javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl 1
javax.faces.webapp.UIComponentELTag 1

javax.faces.FactoryFinder

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.getInjectionProvider() STYLE REC_CATCH_EXCEPTION 403 Medium
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.<static initializer for FactoryFinder>() STYLE REC_CATCH_EXCEPTION 159 Low
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.addBeanEntry(Object, Object, List) STYLE REC_CATCH_EXCEPTION 487 Low
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.getClassLoader() STYLE REC_CATCH_EXCEPTION 812 Low
Exception is caught when Exception is not thrown in javax.faces.FactoryFinder.injectAndPostConstruct(Object, Object, List) STYLE REC_CATCH_EXCEPTION 423 Low

javax.faces._FactoryFinderProviderFactory

Bug Category Details Line Priority
javax.faces._FactoryFinderProviderFactory.<static initializer for _FactoryFinderProviderFactory>() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 128 Medium
Exception is caught when Exception is not thrown in javax.faces._FactoryFinderProviderFactory.<static initializer for _FactoryFinderProviderFactory>() STYLE REC_CATCH_EXCEPTION 128 Medium

javax.faces.application.FacesMessage$Severity

Bug Category Details Line Priority
javax.faces.application.FacesMessage$Severity defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 291 Medium

javax.faces.application.NavigationCase

Bug Category Details Line Priority
javax.faces.application.NavigationCase.getCondition(FacesContext) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 127 Medium

javax.faces.application.StateManager$SerializedView

Bug Category Details Line Priority
Should javax.faces.application.StateManager$SerializedView be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 331-349 Medium

javax.faces.component.UICommand

Bug Category Details Line Priority
Null passed for non-null parameter of UIComponentBase.queueEvent(FacesEvent) in javax.faces.component.UICommand.queueEvent(FacesEvent) CORRECTNESS NP_NULL_PARAM_DEREF 143 Medium

javax.faces.component.UIComponent$BundleMap

Bug Category Details Line Priority
Redundant nullcheck of java.util.ResourceBundle.getObject(String), which is known to be non-null in javax.faces.component.UIComponent$BundleMap.containsKey(Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1411 Medium

javax.faces.component.UIComponentBase

Bug Category Details Line Priority
Questionable cast from java.util.Collection to java.util.ArrayList in javax.faces.component.UIComponentBase.saveAttachedState(FacesContext, Object) STYLE BC_BAD_CAST_TO_CONCRETE_COLLECTION 1808 High
Unchecked/unconfirmed cast from java.util.List<java.lang.Object> to java.util.ArrayList of return value in javax.faces.component.UIComponentBase.restoreAttachedState(FacesContext, Object) STYLE BC_UNCONFIRMED_CAST_OF_RETURN_VALUE 1857 Low

javax.faces.component.UIData

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in javax.faces.component.UIData.createUniqueId(FacesContext, String) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 1765 Medium
javax.faces.component.UIData.<static initializer for UIData>() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 145 Medium
Redundant nullcheck of value, which is known to be non-null in javax.faces.component.UIData.createDataModel() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2142 Medium
Exception is caught when Exception is not thrown in javax.faces.component.UIData.<static initializer for UIData>() STYLE REC_CATCH_EXCEPTION 145 Medium

javax.faces.component.UIData$EditableValueHolderState

Bug Category Details Line Priority
javax.faces.component.UIData$EditableValueHolderState is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 312-325 Low

javax.faces.component.UIForm

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in javax.faces.component.UIForm.createUniqueId(FacesContext, String) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 97 Medium

javax.faces.component.UIInput

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in javax.faces.component.UIInput.shouldAlwaysPerformValidationWhenRequiredTrue(FacesContext) I18N DM_CONVERT_CASE 628 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in javax.faces.component.UIInput.shouldValidateEmptyFields(FacesContext) I18N DM_CONVERT_CASE 547 Low
Nullcheck of UIInput._validatorList at line 986 of value previously dereferenced in javax.faces.component.UIInput.getValidators() CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 958 High

javax.faces.component.UINamingContainer

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in javax.faces.component.UINamingContainer.createUniqueId(FacesContext, String) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 81 Medium

javax.faces.component.UISelectMany

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase() in javax.faces.component.UISelectMany.shouldValidateEmptyFields(FacesContext) I18N DM_CONVERT_CASE 452 Low

javax.faces.component.UIViewAction

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in javax.faces.component.UIViewAction.broadcast(FacesEvent) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 163 Medium
Redundant nullcheck of defaultActionListener, which is known to be non-null in javax.faces.component.UIViewAction.broadcast(FacesEvent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 135 Medium

javax.faces.component.UIViewAction$ViewActionEvent

Bug Category Details Line Priority
javax.faces.component.UIViewAction$ViewActionEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 369-390 Medium
The field javax.faces.component.UIViewAction$ViewActionEvent.facesContext is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Low

javax.faces.component.UIViewParameter

Bug Category Details Line Priority
Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in javax.faces.component.UIViewParameter.getDelegateRenderer(FacesContext) MT_CORRECTNESS AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION 258 Medium
Private method javax.faces.component.UIViewParameter.releaseRenderer() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 270-292 Low

javax.faces.component.UIViewRoot

Bug Category Details Line Priority
instanceof will always return true for all non-null values in javax.faces.component.UIViewRoot.getLocale(), since all java.util.Locale are instances of java.util.Locale STYLE BC_VACUOUS_INSTANCEOF 823 Medium
Boxed value is unboxed and then immediately reboxed in javax.faces.component.UIViewRoot.createUniqueId(FacesContext, String) PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 483 Medium
javax.faces.component.UIViewRoot.<static initializer for UIViewRoot>() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 122 Low
Use of non-localized String.toUpperCase() or String.toLowerCase() in javax.faces.component.UIViewRoot.shouldViewRootPhaseListenerQueuesExceptions(FacesContext) I18N DM_CONVERT_CASE 2046 Low
Redundant nullcheck of cause, which is known to be non-null in javax.faces.component.UIViewRoot._broadcastAll(FacesContext, List, Collection) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1274 Low
Exception is caught when Exception is not thrown in javax.faces.component.UIViewRoot.<static initializer for UIViewRoot>() STYLE REC_CATCH_EXCEPTION 136 Medium
Exception is caught when Exception is not thrown in javax.faces.component.UIViewRoot._broadcastAll(FacesContext, List, Collection) STYLE REC_CATCH_EXCEPTION 1267 Low
Exception is caught when Exception is not thrown in javax.faces.component.UIViewRoot.addComponentResource(FacesContext, UIComponent, String) STYLE REC_CATCH_EXCEPTION 354 Low
Repeated conditional test in javax.faces.component.UIViewRoot.addComponentResource(FacesContext, UIComponent, String) CORRECTNESS RpC_REPEATED_CONDITIONAL_TEST 343 Low
Useless condition: it's known that isBuildingInitialState == true at this point STYLE UC_USELESS_CONDITION 343 Low

javax.faces.component.UIWebsocket$1

Bug Category Details Line Priority
The class javax.faces.component.UIWebsocket$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 81-158 Low

javax.faces.component._ComponentAttributesMap

Bug Category Details Line Priority
Class javax.faces.component._ComponentAttributesMap defines non-transient non-serializable instance field _ccBeanInfo BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.component._ComponentAttributesMap defines non-transient non-serializable instance field _component BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.component._ComponentChildrenList

Bug Category Details Line Priority
Class javax.faces.component._ComponentChildrenList implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 27-208 Low
Class javax.faces.component._ComponentChildrenList defines non-transient non-serializable instance field _component BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.component._ComponentFacetMap

Bug Category Details Line Priority
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _component BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _entrySet BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _keySet BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _map BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.component._ComponentFacetMap defines non-transient non-serializable instance field _valueCollection BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.component._DeltaList

Bug Category Details Line Priority
Class javax.faces.component._DeltaList implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 43-307 Low
javax.faces.component._DeltaList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 43-307 Low

javax.faces.component._DeltaStateHelper$InternalDeltaListMap

Bug Category Details Line Priority
javax.faces.component._DeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 959-975 Low

javax.faces.component._DeltaStateHelper$InternalList

Bug Category Details Line Priority
javax.faces.component._DeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 982-1037 Low

javax.faces.component._DeltaStateHelper$InternalMap

Bug Category Details Line Priority
javax.faces.component._DeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 885-947 Low

javax.faces.component._ExternalSpecifications

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field javax.faces.component._ExternalSpecifications.beanValidationAvailable in javax.faces.component._ExternalSpecifications.isBeanValidationAvailable() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 42-48 Medium

javax.faces.component._LabeledFacesMessage

Bug Category Details Line Priority
javax.faces.component._LabeledFacesMessage is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-67 Low

javax.faces.component._MethodBindingToMethodExpression

Bug Category Details Line Priority
Class javax.faces.component._MethodBindingToMethodExpression defines non-transient non-serializable instance field methodBinding BAD_PRACTICE SE_BAD_FIELD Not available Medium
javax.faces.component._MethodBindingToMethodExpression is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 38-254 Medium

javax.faces.component._PassThroughAttributesMap

Bug Category Details Line Priority
Class javax.faces.component._PassThroughAttributesMap defines non-transient non-serializable instance field _component BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.component._PrimitiveArrayIterator

Bug Category Details Line Priority
javax.faces.component._PrimitiveArrayIterator.next() can't throw NoSuchElementException BAD_PRACTICE IT_NO_SUCH_ELEMENT 48 Medium

javax.faces.component._SelectItemsIterator

Bug Category Details Line Priority
Possible null pointer dereference of itemValue in javax.faces.component._SelectItemsIterator.next() CORRECTNESS NP_NULL_ON_SOME_PATH 284 Medium

javax.faces.component._SelectItemsUtil

Bug Category Details Line Priority
Redundant nullcheck of targetClass, which is known to be non-null in javax.faces.component._SelectItemsUtil._convertOrCoerceValue(FacesContext, UIComponent, Object, SelectItem, Converter) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 147 Low

javax.faces.component._SharedRendererUtils

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in javax.faces.component._SharedRendererUtils.getConvertedUISelectManyValue(FacesContext, UISelectMany, String[], boolean) STYLE REC_CATCH_EXCEPTION 244 Low
Method javax.faces.component._SharedRendererUtils.log(FacesContext, String, Exception) seems to be useless STYLE UC_USELESS_VOID_METHOD 492 Low

javax.faces.component._ValueBindingToValueExpression

Bug Category Details Line Priority
Class javax.faces.component._ValueBindingToValueExpression defines non-transient non-serializable instance field _valueBinding BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.component._ViewAttributeMap

Bug Category Details Line Priority
Class javax.faces.component._ViewAttributeMap defines non-transient non-serializable instance field _root BAD_PRACTICE SE_BAD_FIELD Not available High

javax.faces.component.behavior.AjaxBehavior

Bug Category Details Line Priority
Boxed value is unboxed and then immediately reboxed in javax.faces.component.behavior.AjaxBehavior.isDisabled() PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 188 Medium
Boxed value is unboxed and then immediately reboxed in javax.faces.component.behavior.AjaxBehavior.isImmediate() PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 200 Medium
Boxed value is unboxed and then immediately reboxed in javax.faces.component.behavior.AjaxBehavior.isResetValues() PERFORMANCE BX_UNBOXING_IMMEDIATELY_REBOXED 221 Medium

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap

Bug Category Details Line Priority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 633-649 Low

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList

Bug Category Details Line Priority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 656-707 Low

javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap

Bug Category Details Line Priority
javax.faces.component.behavior._AjaxBehaviorDeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 562-621 Low

javax.faces.component.behavior._DeltaList

Bug Category Details Line Priority
Class javax.faces.component.behavior._DeltaList implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES 46-310 Low
javax.faces.component.behavior._DeltaList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 46-310 Low

javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap

Bug Category Details Line Priority
javax.faces.component.behavior._DeltaStateHelper$InternalDeltaListMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 745-761 Low

javax.faces.component.behavior._DeltaStateHelper$InternalList

Bug Category Details Line Priority
javax.faces.component.behavior._DeltaStateHelper$InternalList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 768-819 Low

javax.faces.component.behavior._DeltaStateHelper$InternalMap

Bug Category Details Line Priority
javax.faces.component.behavior._DeltaStateHelper$InternalMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 674-733 Low

javax.faces.component.search.SearchExpressionHandler

Bug Category Details Line Priority
javax.faces.component.search.SearchExpressionHandler.getExpressionSeperatorChars(FacesContext) may expose internal representation by returning SearchExpressionHandler.EXPRESSION_SEPARATOR_CHARS MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
javax.faces.component.search.SearchExpressionHandler.EXPRESSION_SEPARATOR_CHARS should be package protected MALICIOUS_CODE MS_PKGPROTECT 32 Medium

javax.faces.component.visit.VisitContext$AllIdsCollection

Bug Category Details Line Priority
javax.faces.component.visit.VisitContext$AllIdsCollection is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 61-125 Low

javax.faces.context.PartialResponseWriter

Bug Category Details Line Priority
javax.faces.context.PartialResponseWriter.startExtension(Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 188 Medium
javax.faces.context.PartialResponseWriter.updateAttributes(String, Map) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 232 Medium

javax.faces.convert.BigDecimalConverter

Bug Category Details Line Priority
BigDecimal constructed from 4815.16 in javax.faces.convert.BigDecimalConverter.getAsObject(FacesContext, UIComponent, String) CORRECTNESS DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE 69 Medium

javax.faces.convert.DateTimeConverter

Bug Category Details Line Priority
Redundant nullcheck of type, which is known to be non-null in javax.faces.convert.DateTimeConverter.isJava8DateTimeFormatter() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 468 Medium
Redundant nullcheck of timeStyle, which is known to be non-null in javax.faces.convert.DateTimeConverter.getDateTimeFormatter() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 340 Low

javax.faces.convert._LabeledFacesMessage

Bug Category Details Line Priority
javax.faces.convert._LabeledFacesMessage is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-69 Low

javax.faces.event.ActionEvent

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.ActionListener in javax.faces.event.ActionEvent.processListener(FacesListener) STYLE BC_UNCONFIRMED_CAST 58 Low

javax.faces.event.AjaxBehaviorEvent

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.AjaxBehaviorListener in javax.faces.event.AjaxBehaviorEvent.processListener(FacesListener) STYLE BC_UNCONFIRMED_CAST 60 Low
javax.faces.event.AjaxBehaviorEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 33-61 Low

javax.faces.event.ExceptionQueuedEvent

Bug Category Details Line Priority
javax.faces.event.ExceptionQueuedEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 30-43 Low

javax.faces.event.PhaseEvent

Bug Category Details Line Priority
Class javax.faces.event.PhaseEvent defines non-transient non-serializable instance field _facesContext BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class javax.faces.event.PhaseEvent defines non-transient non-serializable instance field _phaseId BAD_PRACTICE SE_BAD_FIELD Not available Medium

javax.faces.event.PhaseId

Bug Category Details Line Priority
javax.faces.event.PhaseId defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 76 Medium

javax.faces.event.PostAddToViewEvent

Bug Category Details Line Priority
javax.faces.event.PostAddToViewEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-51 Low

javax.faces.event.PostConstructApplicationEvent

Bug Category Details Line Priority
javax.faces.event.PostConstructApplicationEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-50 Low

javax.faces.event.PostConstructCustomScopeEvent

Bug Category Details Line Priority
javax.faces.event.PostConstructCustomScopeEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-50 Low

javax.faces.event.PostConstructViewMapEvent

Bug Category Details Line Priority
javax.faces.event.PostConstructViewMapEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.PostKeepFlashValueEvent

Bug Category Details Line Priority
javax.faces.event.PostKeepFlashValueEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 29-42 Low

javax.faces.event.PostPutFlashValueEvent

Bug Category Details Line Priority
javax.faces.event.PostPutFlashValueEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 29-42 Low

javax.faces.event.PostRenderViewEvent

Bug Category Details Line Priority
javax.faces.event.PostRenderViewEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 32-41 Low

javax.faces.event.PostRestoreStateEvent

Bug Category Details Line Priority
javax.faces.event.PostRestoreStateEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-48 Low

javax.faces.event.PostValidateEvent

Bug Category Details Line Priority
javax.faces.event.PostValidateEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.PreClearFlashEvent

Bug Category Details Line Priority
javax.faces.event.PreClearFlashEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 29-38 Low

javax.faces.event.PreDestroyApplicationEvent

Bug Category Details Line Priority
javax.faces.event.PreDestroyApplicationEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-50 Low

javax.faces.event.PreDestroyCustomScopeEvent

Bug Category Details Line Priority
javax.faces.event.PreDestroyCustomScopeEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 32-48 Low

javax.faces.event.PreDestroyViewMapEvent

Bug Category Details Line Priority
javax.faces.event.PreDestroyViewMapEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.PreRemoveFlashValueEvent

Bug Category Details Line Priority
javax.faces.event.PreRemoveFlashValueEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 29-42 Low

javax.faces.event.PreRemoveFromViewEvent

Bug Category Details Line Priority
javax.faces.event.PreRemoveFromViewEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-51 Low

javax.faces.event.PreRenderComponentEvent

Bug Category Details Line Priority
javax.faces.event.PreRenderComponentEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.PreRenderViewEvent

Bug Category Details Line Priority
javax.faces.event.PreRenderViewEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.PreValidateEvent

Bug Category Details Line Priority
javax.faces.event.PreValidateEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-43 Low

javax.faces.event.SystemEvent

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.SystemEventListener in javax.faces.event.SystemEvent.processListener(FacesListener) STYLE BC_UNCONFIRMED_CAST 49 Low

javax.faces.event.ValueChangeEvent

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to javax.faces.event.ValueChangeListener in javax.faces.event.ValueChangeEvent.processListener(FacesListener) STYLE BC_UNCONFIRMED_CAST 77 Low

javax.faces.event.WebsocketEvent

Bug Category Details Line Priority
Class javax.faces.event.WebsocketEvent defines non-transient non-serializable instance field code BAD_PRACTICE SE_BAD_FIELD Not available Medium
javax.faces.event.WebsocketEvent is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 42-103 Low

javax.faces.flow.builder.NavigationCaseBuilder$RedirectBuilder

Bug Category Details Line Priority
Should javax.faces.flow.builder.NavigationCaseBuilder$RedirectBuilder be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 44 Medium

javax.faces.model.ArrayDataModel

Bug Category Details Line Priority
javax.faces.model.ArrayDataModel.getWrappedData() may expose internal representation by returning ArrayDataModel._data MALICIOUS_CODE EI_EXPOSE_REP 79 Medium
javax.faces.model.ArrayDataModel.setWrappedData(Object) may expose internal representation by storing an externally mutable object into ArrayDataModel._data MALICIOUS_CODE EI_EXPOSE_REP2 119 Medium

javax.faces.model.DataModel

Bug Category Details Line Priority
javax.faces.model.DataModel.getDataModelListeners() may expose internal representation by returning DataModel._cachedListenersArray MALICIOUS_CODE EI_EXPOSE_REP 83 Medium

javax.faces.model.IterableDataModel

Bug Category Details Line Priority
Useless control flow in javax.faces.model.IterableDataModel.setRowIndex(int) STYLE UCF_USELESS_CONTROL_FLOW 128 Low

javax.faces.model.ResultDataModel

Bug Category Details Line Priority
Should javax.faces.model.ResultDataModel.getRows() return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 118 Low

javax.faces.model.ResultSetDataModel$WrapResultSetMap

Bug Category Details Line Priority
javax.faces.model.ResultSetDataModel$WrapResultSetMap is serializable but also an inner class of a non-serializable class BAD_PRACTICE SE_BAD_FIELD_INNER_CLASS 249-393 Low

javax.faces.model.SelectItemGroup

Bug Category Details Line Priority
javax.faces.model.SelectItemGroup.getSelectItems() may expose internal representation by returning SelectItemGroup._selectItems MALICIOUS_CODE EI_EXPOSE_REP 59 Medium
new javax.faces.model.SelectItemGroup(String, String, boolean, SelectItem[]) may expose internal representation by storing an externally mutable object into SelectItemGroup._selectItems MALICIOUS_CODE EI_EXPOSE_REP2 53 Medium
javax.faces.model.SelectItemGroup.setSelectItems(SelectItem[]) may expose internal representation by storing an externally mutable object into SelectItemGroup._selectItems MALICIOUS_CODE EI_EXPOSE_REP2 68 Medium

javax.faces.validator.BeanValidator

Bug Category Details Line Priority
javax.faces.validator.BeanValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 500 High
Redundant nullcheck of valueBaseClass, which is known to be non-null in javax.faces.validator.BeanValidator.validate(FacesContext, UIComponent, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 175 Medium
Private method javax.faces.validator.BeanValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 507 Low
Private method javax.faces.validator.BeanValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 500 Low

javax.faces.validator.BeanValidator$1

Bug Category Details Line Priority
The class javax.faces.validator.BeanValidator$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 380-383 Low

javax.faces.validator.DoubleRangeValidator

Bug Category Details Line Priority
new javax.faces.validator.DoubleRangeValidator(double) invokes inefficient new Double(double) constructor; use Double.valueOf(double) instead PERFORMANCE DM_FP_NUMBER_CTOR 69 Low
new javax.faces.validator.DoubleRangeValidator(double, double) invokes inefficient new Double(double) constructor; use Double.valueOf(double) instead PERFORMANCE DM_FP_NUMBER_CTOR 75 Low
javax.faces.validator.DoubleRangeValidator.setMaximum(double) invokes inefficient new Double(double) constructor; use Double.valueOf(double) instead PERFORMANCE DM_FP_NUMBER_CTOR 162 Low
javax.faces.validator.DoubleRangeValidator.setMinimum(double) invokes inefficient new Double(double) constructor; use Double.valueOf(double) instead PERFORMANCE DM_FP_NUMBER_CTOR 178 Low
javax.faces.validator.DoubleRangeValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 277 High
Private method javax.faces.validator.DoubleRangeValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 284 Low
Private method javax.faces.validator.DoubleRangeValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 277 Low

javax.faces.validator.LengthValidator

Bug Category Details Line Priority
javax.faces.validator.LengthValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 254 High
Private method javax.faces.validator.LengthValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 261 Low
Private method javax.faces.validator.LengthValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 254 Low

javax.faces.validator.LongRangeValidator

Bug Category Details Line Priority
javax.faces.validator.LongRangeValidator.setMinimum(long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead PERFORMANCE DM_NUMBER_CTOR 179 Medium
javax.faces.validator.LongRangeValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 282 High
Private method javax.faces.validator.LongRangeValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 288 Low
Private method javax.faces.validator.LongRangeValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 282 Low

javax.faces.validator.MethodExpressionValidator

Bug Category Details Line Priority
Redundant nullcheck of cause, which is known to be non-null in javax.faces.validator.MethodExpressionValidator.validate(FacesContext, UIComponent, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 72 Medium

javax.faces.validator.RegexValidator

Bug Category Details Line Priority
javax.faces.validator.RegexValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 254 High
Private method javax.faces.validator.RegexValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 261 Low
Private method javax.faces.validator.RegexValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 254 Low

javax.faces.validator.RequiredValidator

Bug Category Details Line Priority
javax.faces.validator.RequiredValidator.isDisabled() has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 94 High
Private method javax.faces.validator.RequiredValidator.getFor() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 101 Low
Private method javax.faces.validator.RequiredValidator.isDisabled() is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 94 Low

javax.faces.validator._ExternalSpecifications

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field javax.faces.validator._ExternalSpecifications.beanValidationAvailable in javax.faces.validator._ExternalSpecifications.isBeanValidationAvailable() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 42-48 Medium

javax.faces.validator._LabeledFacesMessage

Bug Category Details Line Priority
javax.faces.validator._LabeledFacesMessage is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 34-69 Low

javax.faces.view.facelets.CompositeFaceletHandler

Bug Category Details Line Priority
javax.faces.view.facelets.CompositeFaceletHandler.getHandlers() may expose internal representation by returning CompositeFaceletHandler.children MALICIOUS_CODE EI_EXPOSE_REP 52 Medium
new javax.faces.view.facelets.CompositeFaceletHandler(FaceletHandler[]) may expose internal representation by storing an externally mutable object into CompositeFaceletHandler.children MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium

javax.faces.webapp.FacesServlet

Bug Category Details Line Priority
javax.faces.webapp.FacesServlet._facesContextFactory is a mutable servlet field MT_CORRECTNESS MSF_MUTABLE_SERVLET_FIELD 252 Low
javax.faces.webapp.FacesServlet._lifecycle is a mutable servlet field MT_CORRECTNESS MSF_MUTABLE_SERVLET_FIELD 253 Low
javax.faces.webapp.FacesServlet._servletConfig is a mutable servlet field MT_CORRECTNESS MSF_MUTABLE_SERVLET_FIELD 252 Low

javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.SystemEvent to javax.faces.event.ExceptionQueuedEvent in javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandlerImpl.processEvent(SystemEvent) STYLE BC_UNCONFIRMED_CAST 262 Low

javax.faces.webapp.UIComponentELTag

Bug Category Details Line Priority
Redundant nullcheck of facesContext, which is known to be non-null in javax.faces.webapp.UIComponentELTag.getELContext() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 57 Low