FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 1241 | 255 | 0 | 0 |
Files
org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.ACCORDION_LAYOUT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 46 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.BORDER_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 57 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.COLLAPSED_BACK_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 52 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.COLLAPSED_FONT_WEIGHT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 54 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.COLLAPSED_TEXT_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 53 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.EXPANDED_BACK_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 49 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.EXPANDED_FONT_WEIGHT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 51 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.EXPANDED_TEXT_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 50 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.EXPAND_STATEHOLDER_ID isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 59 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.HOVER_BACK_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 55 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.HOVER_TEXT_COLOR isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 56 |
| org.apache.myfaces.custom.accordion.AbstractHtmlAccordionPanel.TOGGLING_LAYOUT isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 47 |
org.apache.myfaces.custom.accordion.HtmlAccordionPanelRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.accordion.HtmlAccordionPanel in org.apache.myfaces.custom.accordion.HtmlAccordionPanelRenderer.decode(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 202 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.accordion.HtmlAccordionPanel in org.apache.myfaces.custom.accordion.HtmlAccordionPanelRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 67 |
org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener
| Bug | Category | Details | Line |
|---|---|---|---|
| instanceof will always return true in org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener.encodeAjax(UIComponent, FacesContext), since all org.apache.myfaces.custom.ajax.api.DeprecatedAjaxComponent are instances of org.apache.myfaces.custom.ajax.api.AjaxComponent | STYLE | BC_VACUOUS_INSTANCEOF | 240 |
| Dead store to ajaxComponent in org.apache.myfaces.custom.ajax.api.AjaxDecodePhaseListener.beforePhase(PhaseEvent) | STYLE | DLS_DEAD_LOCAL_STORE | 88 |
org.apache.myfaces.custom.ajax.util.AjaxRendererUtils
| Bug | Category | Details | Line |
|---|---|---|---|
| Method org.apache.myfaces.custom.ajax.util.AjaxRendererUtils.encodeAjax(FacesContext, UIComponent, Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 255 |
org.apache.myfaces.custom.ajaxchildcombobox.HtmlAjaxChildComboBoxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.ajaxchildcombobox.AjaxChildComboBox in org.apache.myfaces.custom.ajaxchildcombobox.HtmlAjaxChildComboBoxRenderer.encodeAjax(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 141 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.ajaxchildcombobox.AjaxChildComboBox in org.apache.myfaces.custom.ajaxchildcombobox.HtmlAjaxChildComboBoxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 89 |
org.apache.myfaces.custom.autoupdatedatatable.AutoUpdateDataTableRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.autoupdatedatatable.AutoUpdateDataTable in org.apache.myfaces.custom.autoupdatedatatable.AutoUpdateDataTableRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 101 |
org.apache.myfaces.custom.clientvalidation.common.CVCall
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.clientvalidation.common.CVCall.getValidatorScriptFunctions() may expose internal representation by returning CVCall._validatorScriptFunctions | MALICIOUS_CODE | EI_EXPOSE_REP | 84 |
| org.apache.myfaces.custom.clientvalidation.common.CVCall.getValidatorScriptResources() may expose internal representation by returning CVCall._validatorScriptResources | MALICIOUS_CODE | EI_EXPOSE_REP | 91 |
| org.apache.myfaces.custom.clientvalidation.common.CVCall.setValidatorScriptFunctions(String[]) may expose internal representation by storing an externally mutable object into CVCall._validatorScriptFunctions | MALICIOUS_CODE | EI_EXPOSE_REP2 | 87 |
| org.apache.myfaces.custom.clientvalidation.common.CVCall.setValidatorScriptResources(String[]) may expose internal representation by storing an externally mutable object into CVCall._validatorScriptResources | MALICIOUS_CODE | EI_EXPOSE_REP2 | 94 |
| org.apache.myfaces.custom.clientvalidation.common.CVCall is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.clientvalidation.common.CVCallsHolder
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.clientvalidation.common.CVCallsHolder is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.clientvalidation.validationscript.ValidationScriptTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to comp in org.apache.myfaces.custom.clientvalidation.validationscript.ValidationScriptTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 58 |
| Dead store to context in org.apache.myfaces.custom.clientvalidation.validationscript.ValidationScriptTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 62 |
org.apache.myfaces.custom.comparetovalidator.AbstractCompareToValidator
| Bug | Category | Details | Line |
|---|---|---|---|
| Comparison of String parameter using == or != in org.apache.myfaces.custom.comparetovalidator.AbstractCompareToValidator.nameForOperator(String) | BAD_PRACTICE | ES_COMPARING_PARAMETER_STRING_WITH_EQ | 182 |
| Comparison of String parameter using == or != in org.apache.myfaces.custom.comparetovalidator.AbstractCompareToValidator.validateOperatorOnComparisonResult(String, int) | BAD_PRACTICE | ES_COMPARING_PARAMETER_STRING_WITH_EQ | 200 |
| Redundant nullcheck of foreignValue, which is known to be non-null in org.apache.myfaces.custom.comparetovalidator.AbstractCompareToValidator.validate(FacesContext, UIComponent, Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 279 |
org.apache.myfaces.custom.comparetovalidator.ValidateCompareToTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.comparetovalidator.ValidateCompareToTag.createValidator() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 81 |
org.apache.myfaces.custom.conversation.ConversationManager
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.conversation.ConversationManager.ConversationManager() invokes org.apache.myfaces.custom.conversation.ConversationManager$ContextWiperThread.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 96 |
| Class org.apache.myfaces.custom.conversation.ConversationManager defines non-transient non-serializable instance field conversationBeanElevator | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.apache.myfaces.custom.conversation.ConversationManager defines non-transient non-serializable instance field conversationMessager | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.apache.myfaces.custom.conversation.ConversationManager defines non-transient non-serializable instance field persistenceManagerFactory | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| Class org.apache.myfaces.custom.conversation.ConversationManager defines non-transient non-serializable instance field wiperThread | BAD_PRACTICE | SE_BAD_FIELD | Not available |
| org.apache.myfaces.custom.conversation.DefaultConversationBeanElevator stored into non-transient field ConversationManager.conversationBeanElevator | BAD_PRACTICE | SE_BAD_FIELD_STORE | 458 |
| org.apache.myfaces.custom.conversation.DefaultConversationBeanElevator stored into non-transient field ConversationManager.conversationBeanElevator | BAD_PRACTICE | SE_BAD_FIELD_STORE | 464 |
| org.apache.myfaces.custom.conversation.DefaultConversationMessager stored into non-transient field ConversationManager.conversationMessager | BAD_PRACTICE | SE_BAD_FIELD_STORE | 424 |
| org.apache.myfaces.custom.conversation.ConversationManager is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.conversation.ConversationRequestParameterProvider
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.conversation.ConversationRequestParameterProvider.getFields() may expose internal representation by returning ConversationRequestParameterProvider.REQUEST_PARAMETERS | MALICIOUS_CODE | EI_EXPOSE_REP | 72 |
| Should org.apache.myfaces.custom.conversation.ConversationRequestParameterProvider.getFields() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 59 |
org.apache.myfaces.custom.conversation.ConversationTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to comp in org.apache.myfaces.custom.conversation.ConversationTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 59 |
| Dead store to context in org.apache.myfaces.custom.conversation.ConversationTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 63 |
org.apache.myfaces.custom.conversation.SeparateConversationContextTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to comp in org.apache.myfaces.custom.conversation.SeparateConversationContextTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 58 |
| Dead store to context in org.apache.myfaces.custom.conversation.SeparateConversationContextTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 62 |
org.apache.myfaces.custom.conversation.ValueBindingKey
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.conversation.ValueBindingKey implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Not available |
org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag.createConverter() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 102 |
| org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.convertNumber.TypedNumberConverter
| Bug | Category | Details | Line |
|---|---|---|---|
| Switch statement found in org.apache.myfaces.custom.convertNumber.TypedNumberConverter.checkJavaVersion14() where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 563-566 |
org.apache.myfaces.custom.convertNumber.TypedNumberConverterTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.convertNumber.TypedNumberConverterTag.createConverter() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 163 |
| org.apache.myfaces.custom.convertNumber.TypedNumberConverterTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.convertStringUtils.StringUtilsConverter
| Bug | Category | Details | Line |
|---|---|---|---|
| Method org.apache.myfaces.custom.convertStringUtils.StringUtilsConverter.getAsObject(FacesContext, UIComponent, String) invokes toString() method on a String | PERFORMANCE | DM_STRING_TOSTRING | 64 |
org.apache.myfaces.custom.convertStringUtils.StringUtilsConverterTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.convertStringUtils.StringUtilsConverterTag.createConverter() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 94 |
| Confusing to have methods org.apache.myfaces.custom.convertStringUtils.StringUtilsConverterTag.setMaxLength(String) and org.apache.myfaces.shared_tomahawk.taglib.html.HtmlInputTextTag.setMaxlength(String) | BAD_PRACTICE | NM_CONFUSING | 56-57 |
org.apache.myfaces.custom.convertboolean.ConvertBooleanTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.convertboolean.ConvertBooleanTag.createConverter() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 73 |
org.apache.myfaces.custom.csvvalidator.ValidateCSVTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.csvvalidator.ValidateCSVTag.createValidator() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 67 |
org.apache.myfaces.custom.dialog.ModalDialog
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dialog.ModalDialog.getCloseButton() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 274 |
org.apache.myfaces.custom.dialog.ModalDialogRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dialog.ModalDialog in org.apache.myfaces.custom.dialog.ModalDialogRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 87 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dialog.ModalDialog in org.apache.myfaces.custom.dialog.ModalDialogRenderer.encodeChildren(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 369 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dialog.ModalDialog in org.apache.myfaces.custom.dialog.ModalDialogRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 97 |
| Dead store to $L7 in org.apache.myfaces.custom.dialog.ModalDialogRenderer.appendDialogAttributes(StringBuffer, ModalDialog) | STYLE | DLS_DEAD_LOCAL_STORE | 162 |
| Method org.apache.myfaces.custom.dialog.ModalDialogRenderer.appendDialogAttributes(StringBuffer, ModalDialog) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 166 |
org.apache.myfaces.custom.dojolayouts.DojoContentPane
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getAdjustPaths() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 65 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getCacheContent() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 90 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getExecuteScripts() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 115 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getExtractContent() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 140 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getParseContent() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 228 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getPreload() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 253 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getRefreshOnShow() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 278 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoContentPane.getSizeShare() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 303 |
org.apache.myfaces.custom.dojolayouts.DojoContentPaneRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.component.StyleAware in org.apache.myfaces.custom.dojolayouts.DojoContentPaneRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 89 |
org.apache.myfaces.custom.dojolayouts.DojoSplitPane
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getActiveSizing() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 153 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getLastPoint() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 203 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getPersist() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 178 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getSizeShare() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 295 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getSizerWidth() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 128 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.DojoSplitPane.getStartPoint() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 228 |
org.apache.myfaces.custom.dojolayouts.DojoSplitPaneRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to writer in org.apache.myfaces.custom.dojolayouts.DojoSplitPaneRenderer.encodeJavascriptBegin(FacesContext, UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 50 |
org.apache.myfaces.custom.dojolayouts.FloatingPaneBase
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getConstrainToContainer() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 65 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getDisplayCloseAction() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 90 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getDisplayMinimizeAction() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 115 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getHasShadow() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 140 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getModal() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 186 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getResizable() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 211 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.dojolayouts.FloatingPaneBase.getTitleBarDisplay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 278 |
org.apache.myfaces.custom.dojolayouts.FloatingPaneBaseRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dojolayouts.FloatingPaneBase in org.apache.myfaces.custom.dojolayouts.FloatingPaneBaseRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 93 |
org.apache.myfaces.custom.effect.Effect
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getDuration() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 86 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getFade() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 111 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getPuff() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 136 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getPulsate() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 236 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getScale() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 161 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getScaleSize() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 186 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.effect.Effect.getSquish() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 211 |
org.apache.myfaces.custom.effect.EffectRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.div.Div in org.apache.myfaces.custom.effect.EffectRenderer.renderEffectsBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 203 |
org.apache.myfaces.custom.exporter.ExporterActionListener
| Bug | Category | Details | Line |
|---|---|---|---|
| Method org.apache.myfaces.custom.exporter.ExporterActionListener.processAction(ActionEvent) does an unnecessary type check using instanceof operator when it can be determined statically | CORRECTNESS | SIO_SUPERFLUOUS_INSTANCEOF | 72 |
org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getConservativeTrigger() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 110 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getEffectUnits() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 135 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getItemHeight() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 160 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getItemMaxHeight() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 185 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getItemMaxWidth() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 210 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getItemPadding() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 235 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getItemWidth() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 260 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu.getVisibleWindow() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 64 |
org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenuRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenuRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 106 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenu in org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenuRenderer.encodeChildren(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 237 |
org.apache.myfaces.custom.focus.HtmlFocusRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.focus.HtmlFocus in org.apache.myfaces.custom.focus.HtmlFocusRenderer.decode(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 59 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.focus.HtmlFocus in org.apache.myfaces.custom.focus.HtmlFocusRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 73 |
org.apache.myfaces.custom.form.HtmlForm
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.form.HtmlForm.getPort() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 64 |
org.apache.myfaces.custom.globalId.GlobalIdTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to comp in org.apache.myfaces.custom.globalId.GlobalIdTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 58 |
| Dead store to context in org.apache.myfaces.custom.globalId.GlobalIdTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 62 |
org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamicRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamic in org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamicRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 75 |
org.apache.myfaces.custom.imageloop.HtmlImageLoop
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getDelay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 64 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getHeight() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 189 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getMaxDelay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 114 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getMinDelay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 89 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getTransitionTime() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 139 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.imageloop.HtmlImageLoop.getWidth() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 164 |
org.apache.myfaces.custom.imageloop.HtmlImageLoopRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.imageloop.HtmlImageLoop in org.apache.myfaces.custom.imageloop.HtmlImageLoopRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 90 |
| org.apache.myfaces.custom.imageloop.HtmlImageLoopRenderer.getJavascriptImageArray(FacesContext, UIComponent) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 139 |
| Method org.apache.myfaces.custom.imageloop.HtmlImageLoopRenderer.getJavascriptImageArray(FacesContext, UIComponent) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 151 |
org.apache.myfaces.custom.imageloop.ImageLoopItemsIterator
| Bug | Category | Details | Line |
|---|---|---|---|
| ImageLoopItemsIterator._currentImageLoopItems not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
org.apache.myfaces.custom.inputAjax.AbstractHtmlSelectBooleanCheckboxAjax
| Bug | Category | Details | Line |
|---|---|---|---|
| instanceof will always return true in org.apache.myfaces.custom.inputAjax.AbstractHtmlSelectBooleanCheckboxAjax.decodeUISelectBoolean(FacesContext, AbstractHtmlSelectBooleanCheckboxAjax), since all org.apache.myfaces.custom.inputAjax.AbstractHtmlSelectBooleanCheckboxAjax are instances of javax.faces.component.EditableValueHolder | STYLE | BC_VACUOUS_INSTANCEOF | 103 |
| Method org.apache.myfaces.custom.inputAjax.AbstractHtmlSelectBooleanCheckboxAjax.decodeUISelectBoolean(FacesContext, AbstractHtmlSelectBooleanCheckboxAjax) does an unnecessary type check using instanceof operator when it can be determined statically | CORRECTNESS | SIO_SUPERFLUOUS_INSTANCEOF | 103 |
org.apache.myfaces.custom.inputAjax.HtmlInputTextAjax
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.inputAjax.HtmlInputTextAjax.getShowCancelButton() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 175 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.inputAjax.HtmlInputTextAjax.getShowOkButton() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 129 |
org.apache.myfaces.custom.inputAjax.HtmlInputTextAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputAjax.HtmlInputTextAjax in org.apache.myfaces.custom.inputAjax.HtmlInputTextAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 94 |
org.apache.myfaces.custom.inputAjax.HtmlSelectBooleanCheckboxAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputAjax.HtmlSelectBooleanCheckboxAjax in org.apache.myfaces.custom.inputAjax.HtmlSelectBooleanCheckboxAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 122 |
| Load of known null value in org.apache.myfaces.custom.inputAjax.HtmlSelectBooleanCheckboxAjaxRenderer.encodeJavascript(FacesContext, UIComponent) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 79 |
org.apache.myfaces.custom.inputAjax.HtmlSelectManyCheckboxAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputAjax.HtmlSelectManyCheckboxAjax in org.apache.myfaces.custom.inputAjax.HtmlSelectManyCheckboxAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 98 |
org.apache.myfaces.custom.inputAjax.HtmlSelectOneRadioAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputAjax.HtmlSelectOneRadioAjax in org.apache.myfaces.custom.inputAjax.HtmlSelectOneRadioAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 96 |
org.apache.myfaces.custom.isbnvalidator.ValidateISBNTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to facesContext in org.apache.myfaces.custom.isbnvalidator.ValidateISBNTag.createValidator() | STYLE | DLS_DEAD_LOCAL_STORE | 45 |
org.apache.myfaces.custom.loadbundle.AbstractLoadBundle
| Bug | Category | Details | Line |
|---|---|---|---|
| Class org.apache.myfaces.custom.loadbundle.AbstractLoadBundle implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | Not available |
org.apache.myfaces.custom.loadbundle.AbstractLoadBundle$BundleMap
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of ?, which is known to be non-null in org.apache.myfaces.custom.loadbundle.AbstractLoadBundle$BundleMap.containsKey(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 236 |
org.apache.myfaces.custom.media.AbstractMediaComponent
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.media.AbstractMediaComponent.COMPONENT_FAMILY isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 34 |
| org.apache.myfaces.custom.media.AbstractMediaComponent.COMPONENT_TYPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 32 |
| org.apache.myfaces.custom.media.AbstractMediaComponent.DEFAULT_RENDERER_TYPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 33 |
org.apache.myfaces.custom.media.MediaRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.media.MediaComponent in org.apache.myfaces.custom.media.MediaRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 49 |
org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamic in org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 113 |
org.apache.myfaces.custom.passwordStrength.AbstractPasswordStrengthComponent
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.passwordStrength.AbstractPasswordStrengthComponent.COMPONENT_FAMILY isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 56 |
| org.apache.myfaces.custom.passwordStrength.AbstractPasswordStrengthComponent.COMPONENT_TYPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 52 |
| org.apache.myfaces.custom.passwordStrength.AbstractPasswordStrengthComponent.DEFAULT_RENDERER_TYPE isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 54 |
org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.decode(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 365 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 193 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.BUNDLE_BASE_NAME; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 448 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.DEFAULT_PROGRESSBAR_HEIGHT; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 450 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.DEFAULT_PROGRESSBAR_VALUE; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 453 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.DEFAULT_PROGRESSBAR_WIDTH; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 449 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.PROGRESSBAR_CONTAINER_SUFFIX; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 452 |
| Unread field: org.apache.myfaces.custom.passwordStrength.PasswordStrengthRenderer.PROGRESSBAR_SUFFIX; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | 451 |
org.apache.myfaces.custom.ppr.PPRLifecycleWrapper$1
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.ppr.PPRLifecycleWrapper$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.ppr.PPRPanelGroup
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.ppr.PPRPanelGroup.getPeriodicalUpdate() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 85 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.ppr.PPRPanelGroup.getShowDebugMessages() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 240 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.ppr.PPRPanelGroup.getStateUpdate() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 265 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.ppr.PPRPanelGroup.getWaitBeforePeriodicalUpdate() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 194 |
org.apache.myfaces.custom.ppr.PPRPanelGroupRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unread field: org.apache.myfaces.custom.ppr.PPRPanelGroupRenderer.log | PERFORMANCE | URF_UNREAD_FIELD | 46 |
org.apache.myfaces.custom.ppr.PPRPhaseListener
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to $L8 in org.apache.myfaces.custom.ppr.PPRPhaseListener.getComponentsByCommaSeparatedList(FacesContext, UIComponent, String, Class) | STYLE | DLS_DEAD_LOCAL_STORE | 408 |
| Dead store of null to currentComponent in org.apache.myfaces.custom.ppr.PPRPhaseListener.getComponentsByCommaSeparatedList(FacesContext, UIComponent, String, Class) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 405 |
| org.apache.myfaces.custom.ppr.PPRPhaseListener.addTriggeredComponent(FacesContext, String) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 218 |
| Private method org.apache.myfaces.custom.ppr.PPRPhaseListener.getComponentsByCommaSeparatedList(FacesContext, UIComponent, String, Class) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 404-411 |
org.apache.myfaces.custom.ppr.PPRPhaseListener$1
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.ppr.PPRPhaseListener$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.ppr.PPRSubmitRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.ppr.PPRSubmit in org.apache.myfaces.custom.ppr.PPRSubmitRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 51 |
org.apache.myfaces.custom.ppr.PPRViewRootWrapper$1
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.ppr.PPRViewRootWrapper$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.ppr.PPRViewRootWrapper$2
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.ppr.PPRViewRootWrapper$2 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.ppr.PPRViewRootWrapper$3
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.ppr.PPRViewRootWrapper$3 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
| The field org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager.requestBeanMap is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available |
| RedirectTrackerManager.redirectEntryList not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| RedirectTrackerManager.redirectEntryMap not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager$Entry
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager$Entry is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager$MessageEntry
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager$MessageEntry is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.redirectTracker.RedirectTrackerNavigationHandler$1
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.redirectTracker.RedirectTrackerNavigationHandler$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.renderOne.UIRenderOne
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.renderOne.UIRenderOne.getValue() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 83 |
org.apache.myfaces.custom.requestParameterProvider.RequestParameterProviderManager
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.requestParameterProvider.RequestParameterProviderManager is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv.getBorderWidth() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 195 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv.getInverse() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 170 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv.getRadius() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 262 |
org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 224 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.encodeChildren(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 329 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.roundeddiv.HtmlRoundedDiv in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 347 |
| Possible doublecheck on org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.cacheSize in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.initCache(ServletContext) | MT_CORRECTNESS | DC_DOUBLECHECK | 986-992 |
| Dead store of null to baos in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.serveResource(ServletContext, HttpServletRequest, HttpServletResponse, String) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 136 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 975 |
| Redundant nullcheck of org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.cacheSize which is known to be null in org.apache.myfaces.custom.roundeddiv.HtmlRoundedDivRenderer.initCache(ServletContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 998 |
org.apache.myfaces.custom.roundeddiv.RoundedBorderGenerator
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.roundeddiv.RoundedBorderGenerator.createImage() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 254 |
| Dead store to width in org.apache.myfaces.custom.roundeddiv.RoundedBorderGenerator.paint3DBorderTransition(Graphics2D, Color, Color, int, int, boolean) | STYLE | DLS_DEAD_LOCAL_STORE | 367 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.custom.roundeddiv.RoundedBorderGenerator.main(String[]) | STYLE | REC_CATCH_EXCEPTION | 480 |
org.apache.myfaces.custom.scope.ScopeTag
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store to comp in org.apache.myfaces.custom.scope.ScopeTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 58 |
| Dead store to context in org.apache.myfaces.custom.scope.ScopeTag.setProperties(UIComponent) | STYLE | DLS_DEAD_LOCAL_STORE | 62 |
org.apache.myfaces.custom.scope.ScopeUtils
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in org.apache.myfaces.custom.scope.ScopeUtils.getManagedBean(String) | STYLE | REC_CATCH_EXCEPTION | 85 |
org.apache.myfaces.custom.script.ScriptRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.script.Script in org.apache.myfaces.custom.script.ScriptRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 46 |
org.apache.myfaces.custom.security.SecurityContext
| Bug | Category | Details | Line |
|---|---|---|---|
| SecurityContext.roles not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
org.apache.myfaces.custom.statechangednotifier.StateChangedNotifier
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.statechangednotifier.StateChangedNotifier.getDisabled() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 87 |
org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.statechangednotifier.StateChangedNotifier in org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 71 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.custom.statechangednotifier.StateChangedNotifierRenderer.getConvertedValue(FacesContext, UIComponent, Object) | STYLE | BC_UNCONFIRMED_CAST | 90 |
org.apache.myfaces.custom.submitOnEvent.SubmitOnEventRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.submitOnEvent.SubmitOnEvent in org.apache.myfaces.custom.submitOnEvent.SubmitOnEventRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 66 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 134 |
org.apache.myfaces.custom.suggest.InputSuggestRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.EditableValueHolder in org.apache.myfaces.custom.suggest.InputSuggestRenderer.decode(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 77 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.EditableValueHolder in org.apache.myfaces.custom.suggest.InputSuggestRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 97 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.ValueHolder in org.apache.myfaces.custom.suggest.InputSuggestRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 101 |
| Method call in org.apache.myfaces.custom.suggest.InputSuggestRenderer.encodeBegin(FacesContext, UIComponent) passes null for unconditionally dereferenced parameter of encodeSuggestions(FacesContext, ResponseWriter, Map, String, UIComponent) | CORRECTNESS | NP_NULL_PARAM_DEREF | 123 |
| Method org.apache.myfaces.custom.suggest.InputSuggestRenderer.encodeSuggestions(FacesContext, ResponseWriter, Map, String, UIComponent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 175 |
org.apache.myfaces.custom.suggestajax.SuggestAjax
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.suggestajax.SuggestAjax.getMaxSuggestedItems() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 66 |
org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.SuggestAjax in org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer.getSuggestedItems(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 46 |
| org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer.addQueryString(String, String) checks to see if result of String.indexOf is positive | STYLE | RV_CHECK_FOR_POSITIVE_INDEXOF | 94 |
org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax.getAutoComplete() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 66 |
org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax in org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxRenderer.encodeAjax(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 255 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax in org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 79 |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 286 |
| Method org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxRenderer.encodeEnd(FacesContext, UIComponent) invokes toString() method on a String | PERFORMANCE | DM_STRING_TOSTRING | 186 |
org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxTag
| Bug | Category | Details | Line |
|---|---|---|---|
| VERY confusing to have methods org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxTag.setAutoComplete(String) and org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextTag.setAutocomplete(String) | CORRECTNESS | NM_VERY_CONFUSING | 56-57 |
org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax.getBetweenKeyUp() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 66 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax.getStartRequest() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 91 |
org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjaxRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax in org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjaxRenderer.encodeAjax(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 253 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax in org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjaxRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 84 |
org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjaxRenderer$1
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjax in org.apache.myfaces.custom.suggestajax.tablesuggestajax.TableSuggestAjaxRenderer$1.execute(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 240 |
org.apache.myfaces.custom.table.FilterTable
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getAlternateRows() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 152 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getBorder() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 252 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getCellpadding() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 202 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getCellspacing() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 227 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getMaxSortable() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 177 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.FilterTable.getMultiple() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 127 |
org.apache.myfaces.custom.table.FilterTableRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.table.FilterTable in org.apache.myfaces.custom.table.FilterTableRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 66 |
org.apache.myfaces.custom.table.SortableColumn
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.table.SortableColumn.getEscape() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 209 |
org.apache.myfaces.custom.timednotifier.TimedNotifier
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.timednotifier.TimedNotifier.getDisabled() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 86 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.timednotifier.TimedNotifier.getHideDelay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 123 |
| Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.timednotifier.TimedNotifier.getShowDelay() | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 160 |
org.apache.myfaces.custom.timednotifier.TimedNotifierRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.timednotifier.TimedNotifier in org.apache.myfaces.custom.timednotifier.TimedNotifierRenderer.encodeEnd(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 68 |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.custom.timednotifier.TimedNotifierRenderer.getConvertedValue(FacesContext, UIComponent, Object) | STYLE | BC_UNCONFIRMED_CAST | 86 |
org.apache.myfaces.custom.urlvalidator.AbstractUrlValidator
| Bug | Category | Details | Line |
|---|---|---|---|
| Should org.apache.myfaces.custom.urlvalidator.AbstractUrlValidator.getSchemesList() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 117 |
org.apache.myfaces.custom.urlvalidator.ValidateUrlTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.urlvalidator.ValidateUrlTag.createValidator() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 74 |
org.apache.myfaces.custom.valueChangeNotifier.ValueChangeCollector$1
| Bug | Category | Details | Line |
|---|---|---|---|
| The class org.apache.myfaces.custom.valueChangeNotifier.ValueChangeCollector$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
org.apache.myfaces.custom.valueChangeNotifier.ValueChangeManager
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.valueChangeNotifier.ValueChangeManager.SIGNATURE should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 41 |
org.apache.myfaces.custom.valueChangeNotifier.ValueChangeNotifierTag
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.myfaces.custom.valueChangeNotifier.ValueChangeNotifierTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.renderkit.html.ext.HtmlButtonExRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.html.HtmlCommandButton in org.apache.myfaces.renderkit.html.ext.HtmlButtonExRenderer.encodeBegin(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 44 |
org.apache.myfaces.renderkit.template.TemplateRenderer
| Bug | Category | Details | Line |
|---|---|---|---|
| Possible null pointer dereference of templateEncoder in org.apache.myfaces.renderkit.template.TemplateRenderer.encodeTemplate(FacesContext, UIComponent, String) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 91 |
org.apache.myfaces.tomahawk.util.ErrorPageWriter
| Bug | Category | Details | Line |
|---|---|---|---|
| Incorrect lazy initialization of static field org.apache.myfaces.tomahawk.util.ErrorPageWriter.DEBUG_PARTS in org.apache.myfaces.tomahawk.util.ErrorPageWriter.init(FacesContext) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 112-113 |
| Incorrect lazy initialization of static field org.apache.myfaces.tomahawk.util.ErrorPageWriter.ERROR_PARTS in org.apache.myfaces.tomahawk.util.ErrorPageWriter.init(FacesContext) | MT_CORRECTNESS | LI_LAZY_INIT_STATIC | 108-109 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.writeAttributes(Writer, UIComponent) | STYLE | REC_CATCH_EXCEPTION | 441 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.initCauseIfAvailable(Throwable, Throwable) | STYLE | REC_CATCH_EXCEPTION | 612 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.writeAttributes(Writer, UIComponent) | STYLE | REC_CATCH_EXCEPTION | 429 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.getCause(Throwable) | STYLE | REC_CATCH_EXCEPTION | 558 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.initCausePerReflection(Throwable, String) | STYLE | REC_CATCH_EXCEPTION | 568 |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ErrorPageWriter.writeAttributes(Writer, UIComponent) | STYLE | REC_CATCH_EXCEPTION | 429 |
org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler
| Bug | Category | Details | Line |
|---|---|---|---|
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleException(FacesContext, Exception) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 132 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleException(FacesContext, Exception) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 138 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleException(FacesContext, Exception) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 144 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleException(FacesContext, Exception) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 151 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleException(FacesContext, Exception) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 160 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleThrowable(FacesContext, Throwable) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 198 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleThrowable(FacesContext, Throwable) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 202 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleThrowable(FacesContext, Throwable) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 207 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleThrowable(FacesContext, Throwable) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 212 |
| Load of known null value in org.apache.myfaces.tomahawk.util.ErrorRedirectJSFPageHandler.handleThrowable(FacesContext, Throwable) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 217 |