UI-Component Sets

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

Classes Bugs Errors Missing Classes
174 159 0 1

Files

Class Bugs
org.apache.myfaces.shared.application.DefaultViewHandlerSupport 2
org.apache.myfaces.shared.context.AjaxExceptionHandlerImpl 1
org.apache.myfaces.shared.context.ExceptionHandlerImpl 1
org.apache.myfaces.shared.renderkit.ContentTypeUtils 3
org.apache.myfaces.shared.renderkit._SharedRendererUtils 1
org.apache.myfaces.shared.renderkit.html.HTML 70
org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlCheckboxRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase 2
org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlInputFileRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlJavaScriptUtils 1
org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase 4
org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils 7
org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl 2
org.apache.myfaces.shared.renderkit.html.HtmlSecretRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase 4
org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase 2
org.apache.myfaces.shared.renderkit.html.HtmlTextareaRendererBase 1
org.apache.myfaces.shared.renderkit.html.util.HTMLEncoder 1
org.apache.myfaces.shared.renderkit.html.util.JavascriptUtils 1
org.apache.myfaces.shared.resource.BaseResourceHandlerSupport 2
org.apache.myfaces.shared.resource.ResourceLoader$VersionComparator 1
org.apache.myfaces.shared.resource.ResourceLoaderUtils 1
org.apache.myfaces.shared.test.ClassElementHandler 1
org.apache.myfaces.shared.trace.TracingIterator 1
org.apache.myfaces.shared.util.ConcurrentLRUCache 3
org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread 4
org.apache.myfaces.shared.util.ExceptionUtils 1
org.apache.myfaces.shared.util.StateUtils 28
org.apache.myfaces.shared.util.StreamCharBuffer$StreamCharBufferSubChunkReader 1
org.apache.myfaces.shared.util.StringCharArrayAccessor 4
org.apache.myfaces.shared.util.SubKeyMap$Entry 1
org.apache.myfaces.shared.util.servlet.SourceCodeServlet 1
org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase 1
org.apache.myfaces.shared.webapp.webxml.WebXmlParser 1

org.apache.myfaces.shared.application.DefaultViewHandlerSupport

Bug Category Details Line Priority
Redundant nullcheck of mapping, which is known to be non-null in org.apache.myfaces.shared.application.DefaultViewHandlerSupport.calculateActionURL(FacesContext, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 206 Low
Redundant nullcheck of viewId, which is known to be non-null in org.apache.myfaces.shared.application.DefaultViewHandlerSupport.calculateAndCheckViewId(FacesContext, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 179 Low

org.apache.myfaces.shared.context.AjaxExceptionHandlerImpl

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.SystemEvent to javax.faces.event.ExceptionQueuedEvent in org.apache.myfaces.shared.context.AjaxExceptionHandlerImpl.processEvent(SystemEvent) STYLE BC_UNCONFIRMED_CAST 306 Low

org.apache.myfaces.shared.context.ExceptionHandlerImpl

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.event.SystemEvent to javax.faces.event.ExceptionQueuedEvent in org.apache.myfaces.shared.context.ExceptionHandlerImpl.processEvent(SystemEvent) STYLE BC_UNCONFIRMED_CAST 216 Low

org.apache.myfaces.shared.renderkit.ContentTypeUtils

Bug Category Details Line Priority
org.apache.myfaces.shared.renderkit.ContentTypeUtils.AJAX_XHTML_ALLOWED_CONTENT_TYPES should be package protected MALICIOUS_CODE MS_PKGPROTECT 42 Low
org.apache.myfaces.shared.renderkit.ContentTypeUtils.HTML_ALLOWED_CONTENT_TYPES should be package protected MALICIOUS_CODE MS_PKGPROTECT 32 Low
org.apache.myfaces.shared.renderkit.ContentTypeUtils.XHTML_ALLOWED_CONTENT_TYPES should be package protected MALICIOUS_CODE MS_PKGPROTECT 39 Low

org.apache.myfaces.shared.renderkit._SharedRendererUtils

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.renderkit._SharedRendererUtils.getConvertedUISelectManyValue(FacesContext, UISelectMany, String[], boolean) STYLE REC_CATCH_EXCEPTION 251 Low

org.apache.myfaces.shared.renderkit.html.HTML

Bug Category Details Line Priority
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 218 Medium
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 231 Medium
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 246 Medium
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 241 Medium
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 250 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BODY_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 521 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BODY_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 533 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BODY_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 543 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BODY_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 547 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BUTTON_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 362 Medium
org.apache.myfaces.shared.renderkit.html.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 375 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 143 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 86 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONFOCUS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 94 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONSELECT_AND_ONCHANGE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 101 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 170 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 199 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 190 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 185 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 175 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 203 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 154 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 162 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 166 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 195 Medium
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 158 Medium
org.apache.myfaces.shared.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 78 Medium
org.apache.myfaces.shared.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 55 Medium
org.apache.myfaces.shared.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 67 Medium
org.apache.myfaces.shared.renderkit.html.HTML.FORM_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 260 Medium
org.apache.myfaces.shared.renderkit.html.HTML.FORM_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 269 Medium
org.apache.myfaces.shared.renderkit.html.HTML.FORM_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 273 Medium
org.apache.myfaces.shared.renderkit.html.HTML.IMG_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 287 Medium
org.apache.myfaces.shared.renderkit.html.HTML.IMG_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 300 Medium
org.apache.myfaces.shared.renderkit.html.HTML.IMG_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 308 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 318 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_FILE_UPLOAD_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 462 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 326 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 340 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 330 Medium
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_STYLE_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 345 Medium
org.apache.myfaces.shared.renderkit.html.HTML.LABEL_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 386 Medium
org.apache.myfaces.shared.renderkit.html.HTML.LABEL_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 393 Medium
org.apache.myfaces.shared.renderkit.html.HTML.MESSAGE_PASSTHROUGH_ATTRIBUTES_WITHOUT_TITLE_STYLE_AND_STYLE_CLASS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 482 Medium
org.apache.myfaces.shared.renderkit.html.HTML.SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 409 Medium
org.apache.myfaces.shared.renderkit.html.HTML.SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 411 Medium
org.apache.myfaces.shared.renderkit.html.HTML.SELECT_TABLE_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 489 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TABLE_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 421 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TABLE_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 432 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TABLE_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 436 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TEXTAREA_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 445 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 452 Medium
org.apache.myfaces.shared.renderkit.html.HTML.TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 456 Medium
org.apache.myfaces.shared.renderkit.html.HTML.UL_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 493 Medium
org.apache.myfaces.shared.renderkit.html.HTML.UNIVERSAL_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 130 Medium
org.apache.myfaces.shared.renderkit.html.HTML.UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 116 Medium
org.apache.myfaces.shared.renderkit.html.HTML.UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE_AND_TITLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 124 Medium
org.apache.myfaces.shared.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 236 Low
org.apache.myfaces.shared.renderkit.html.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 367 Low
org.apache.myfaces.shared.renderkit.html.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 371 Low
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 148 Low
org.apache.myfaces.shared.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 180 Low
org.apache.myfaces.shared.renderkit.html.HTML.IMG_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 304 Low
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 466 Low
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 470 Low
org.apache.myfaces.shared.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 335 Low
org.apache.myfaces.shared.renderkit.html.HTML.LABEL_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 397 Low
org.apache.myfaces.shared.renderkit.html.HTML.LABEL_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 401 Low
org.apache.myfaces.shared.renderkit.html.HTML.UL_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 497 Low
org.apache.myfaces.shared.renderkit.html.HTML.UL_PASSTHROUGH_ATTRIBUTES_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 501 Low

org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase

Bug Category Details Line Priority
Method org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase.encodeBegin(FacesContext, UIComponent) invokes toString() method on a String PERFORMANCE DM_STRING_TOSTRING 202 Low

org.apache.myfaces.shared.renderkit.html.HtmlCheckboxRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.model.SelectItem to javax.faces.model.SelectItemGroup in org.apache.myfaces.shared.renderkit.html.HtmlCheckboxRendererBase.renderGroupOrItemCheckbox(FacesContext, UIComponent, SelectItem, boolean, Set, Converter, boolean, Integer) STYLE BC_UNCONFIRMED_CAST 241 Low

org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIForm in org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase.decode(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 258 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIForm in org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase.encodeBegin(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 58 Low

org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.html.HtmlPanelGroup in org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 59 Low

org.apache.myfaces.shared.renderkit.html.HtmlInputFileRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.shared.renderkit.html.HtmlInputFileRendererBase.decode(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 65 Low

org.apache.myfaces.shared.renderkit.html.HtmlJavaScriptUtils

Bug Category Details Line Priority
Private method org.apache.myfaces.shared.renderkit.html.HtmlJavaScriptUtils.prepareScript(FacesContext, HtmlRendererUtils$ScriptContext, boolean) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 133-339 Low

org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectOne in org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase.encodeEnd(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 58 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectOne in org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase.getConvertedValue(FacesContext, UIComponent, Object) STYLE BC_UNCONFIRMED_CAST 441 Low
Unchecked/unconfirmed cast from javax.faces.model.SelectItem to javax.faces.model.SelectItemGroup in org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase.renderGroupOrItemRadio(FacesContext, UIComponent, SelectItem, Object, Converter, boolean, Integer) STYLE BC_UNCONFIRMED_CAST 215 Low
Load of known null value in org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase.renderGroupOrItemRadio(FacesContext, UIComponent, SelectItem, Object, Converter, boolean, Integer) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 241 Medium

org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.findUIOutputConverterFailSafe(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 496 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.findUISelectManyConverterFailsafe(FacesContext, UIComponent, boolean) STYLE BC_UNCONFIRMED_CAST 478 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(boolean, UIComponent, FacesContext, Converter) STYLE BC_UNCONFIRMED_CAST 432 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectOne in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(boolean, UIComponent, FacesContext, Converter) STYLE BC_UNCONFIRMED_CAST 443 Low
Dead store to externalContext in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.buildBehaviorChain(FacesContext, UIComponent, String, String, Collection, String, Collection, Map, String, String) STYLE DLS_DEAD_LOCAL_STORE 1985 Medium
public static org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.getSupportedContentTypes() may expose internal representation by returning HtmlRendererUtils.SUPPORTED_CONTENT_TYPES MALICIOUS_CODE MS_EXPOSE_REP 1693 Medium
Method call in org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils.renderDisplayValueOnlyForSelects(FacesContext, UIComponent, boolean) passes null for nonnull parameter of renderSelectOptionsAsText(FacesContext, UIComponent, Converter, Set, List, boolean) CORRECTNESS NP_NULL_PARAM_DEREF 1009 Medium

org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 246 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 888 Low

org.apache.myfaces.shared.renderkit.html.HtmlSecretRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared.renderkit.html.HtmlSecretRendererBase.getConvertedValue(FacesContext, UIComponent, Object) STYLE BC_UNCONFIRMED_CAST 231 Low

org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase.encodeChildren(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 206 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase.encodeEnd(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 896 Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 356 Low
Redundant nullcheck of elemName, which is known to be non-null in org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase.renderFacet(FacesContext, ResponseWriter, UIComponent, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 992 Low

org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase.getConvertedValue(FacesContext, UIComponent, Object) STYLE BC_UNCONFIRMED_CAST 356 Low
Check for sign of bitwise operation in org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase.renderOutput(FacesContext, UIComponent) BAD_PRACTICE BIT_SIGNED_CHECK 110 Medium

org.apache.myfaces.shared.renderkit.html.HtmlTextareaRendererBase

Bug Category Details Line Priority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared.renderkit.html.HtmlTextareaRendererBase.getConvertedValue(FacesContext, UIComponent, Object) STYLE BC_UNCONFIRMED_CAST 201 Low

org.apache.myfaces.shared.renderkit.html.util.HTMLEncoder

Bug Category Details Line Priority
Redundant nullcheck of app which is known to be null in org.apache.myfaces.shared.renderkit.html.util.HTMLEncoder.encodeURIAtributte(Writer, String, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 1088 Medium

org.apache.myfaces.shared.renderkit.html.util.JavascriptUtils

Bug Category Details Line Priority
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 153 Low

org.apache.myfaces.shared.resource.BaseResourceHandlerSupport

Bug Category Details Line Priority
Redundant nullcheck of mapping, which is known to be non-null in org.apache.myfaces.shared.resource.BaseResourceHandlerSupport.calculateResourceBasePath(FacesContext) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 84 Low
Redundant nullcheck of mapping, which is known to be non-null in org.apache.myfaces.shared.resource.BaseResourceHandlerSupport.getMapping() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 146 Low

org.apache.myfaces.shared.resource.ResourceLoader$VersionComparator

Bug Category Details Line Priority
org.apache.myfaces.shared.resource.ResourceLoader$VersionComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE 101-162 Medium

org.apache.myfaces.shared.resource.ResourceLoaderUtils

Bug Category Details Line Priority

org.apache.myfaces.shared.test.ClassElementHandler

Bug Category Details Line Priority
ClassElementHandler.buffer not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available Low

org.apache.myfaces.shared.trace.TracingIterator

Bug Category Details Line Priority
org.apache.myfaces.shared.trace.TracingIterator.next() can't throw NoSuchElementException BAD_PRACTICE IT_NO_SUCH_ELEMENT 66 Low

org.apache.myfaces.shared.util.ConcurrentLRUCache

Bug Category Details Line Priority
Dead store to newNewestEntry in org.apache.myfaces.shared.util.ConcurrentLRUCache.markAndSweep() STYLE DLS_DEAD_LOCAL_STORE 350 Low
integral division result cast to double or float in new org.apache.myfaces.shared.util.ConcurrentLRUCache(int, int) STYLE ICAST_IDIV_CAST_TO_DOUBLE 92 Medium
new org.apache.myfaces.shared.util.ConcurrentLRUCache(int, int, int, int, boolean, boolean, ConcurrentLRUCache$EvictionListener) invokes org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread.start() MT_CORRECTNESS SC_START_IN_CTOR 86 Medium

org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread

Bug Category Details Line Priority
Inconsistent synchronization of org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread.stop; locked 66% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 779 Medium
Naked notify in org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread.wakeThread() MT_CORRECTNESS NN_NAKED_NOTIFY 796 Medium
Using notify rather than notifyAll in org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread.stopThread() MT_CORRECTNESS NO_NOTIFY_NOT_NOTIFYALL 805 Low
Using notify rather than notifyAll in org.apache.myfaces.shared.util.ConcurrentLRUCache$CleanupThread.wakeThread() MT_CORRECTNESS NO_NOTIFY_NOT_NOTIFYALL 796 Low

org.apache.myfaces.shared.util.ExceptionUtils

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.ExceptionUtils.getExceptions(Throwable) STYLE REC_CATCH_EXCEPTION 58 Low

org.apache.myfaces.shared.util.StateUtils

Bug Category Details Line Priority
instanceof will always return true in org.apache.myfaces.shared.util.StateUtils.getMacSecret(ExternalContext), since all javax.crypto.SecretKey are instances of javax.crypto.SecretKey STYLE BC_VACUOUS_INSTANCEOF 999 Medium
instanceof will always return true in org.apache.myfaces.shared.util.StateUtils.getSecret(ExternalContext), since all javax.crypto.SecretKey are instances of javax.crypto.SecretKey STYLE BC_VACUOUS_INSTANCEOF 844 Medium
Dead store of null to baos in org.apache.myfaces.shared.util.StateUtils.compress(byte[]) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 370 Low
Dead store of null to gzip in org.apache.myfaces.shared.util.StateUtils.compress(byte[]) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 369 Low
Dead store of null to bais in org.apache.myfaces.shared.util.StateUtils.decompress(byte[]) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 449 Low
Dead store of null to baos in org.apache.myfaces.shared.util.StateUtils.decompress(byte[]) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 448 Low
Dead store of null to gis in org.apache.myfaces.shared.util.StateUtils.decompress(byte[]) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 450 Low
Dead store of null to outputStream in org.apache.myfaces.shared.util.StateUtils.getAsByteArray(Object, ExternalContext) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 296 Low
Dead store of null to writer in org.apache.myfaces.shared.util.StateUtils.getAsByteArray(Object, ExternalContext) STYLE DLS_DEAD_LOCAL_STORE_OF_NULL 295 Low
Random object created and used only once in org.apache.myfaces.shared.util.StateUtils.findMacSecret(String, String) BAD_PRACTICE DMI_RANDOM_USED_ONLY_ONCE 1054 High
Random object created and used only once in org.apache.myfaces.shared.util.StateUtils.findSecret(String, String) BAD_PRACTICE DMI_RANDOM_USED_ONLY_ONCE 899 High
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 709 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 722 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 686 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 668 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 922 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 936 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 1015 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 1027 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 860 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 872 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 970 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 815 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 773 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 198 Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.StateUtils.decrypt(byte[], ExternalContext) STYLE REC_CATCH_EXCEPTION 524 Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.StateUtils.encrypt(byte[], ExternalContext) STYLE REC_CATCH_EXCEPTION 352 Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.StateUtils.getAsObject(byte[], ExternalContext) STYLE REC_CATCH_EXCEPTION 589 Low

org.apache.myfaces.shared.util.StreamCharBuffer$StreamCharBufferSubChunkReader

Bug Category Details Line Priority
Unread field: org.apache.myfaces.shared.util.StreamCharBuffer$StreamCharBufferSubChunkReader.parent PERFORMANCE URF_UNREAD_FIELD 1909 Medium

org.apache.myfaces.shared.util.StringCharArrayAccessor

Bug Category Details Line Priority
org.apache.myfaces.shared.util.StringCharArrayAccessor.createString(char[]) invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 195 Medium
org.apache.myfaces.shared.util.StringCharArrayAccessor.<static initializer>() invokes reflect.Field.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 65 Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.StringCharArrayAccessor.<static initializer>() STYLE REC_CATCH_EXCEPTION 73 Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.util.StringCharArrayAccessor.createString(char[]) STYLE REC_CATCH_EXCEPTION 216 Low

org.apache.myfaces.shared.util.SubKeyMap$Entry

Bug Category Details Line Priority
Redundant nullcheck of key, which is known to be non-null in org.apache.myfaces.shared.util.SubKeyMap$Entry.hashCode() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 294 Low

org.apache.myfaces.shared.util.servlet.SourceCodeServlet

Bug Category Details Line Priority
org.apache.myfaces.shared.util.servlet.SourceCodeServlet is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 32-72 Low

org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase

Bug Category Details Line Priority
Dead store to response in org.apache.myfaces.shared.view.JspViewDeclarationLanguageBase.getResponseSwitch(Object) STYLE DLS_DEAD_LOCAL_STORE 425 High

org.apache.myfaces.shared.webapp.webxml.WebXmlParser

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared.webapp.webxml.WebXmlParser.parse() STYLE REC_CATCH_EXCEPTION 110 Low