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
181 170 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.context.flash.ClientWindowFlashTokenLRUMap 2
org.apache.myfaces.shared.context.flash.FlashClientWindowTokenCollection 1
org.apache.myfaces.shared.renderkit.ContentTypeUtils 3
org.apache.myfaces.shared.renderkit._SharedRendererUtils 1
org.apache.myfaces.shared.renderkit.html.HTML 73
org.apache.myfaces.shared.renderkit.html.HtmlCheckboxRendererBase 1
org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase 2
org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase 2
org.apache.myfaces.shared.renderkit.html.HtmlInputFileRendererBase 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.renderkit.html.util.SelectItemsUtils 1
org.apache.myfaces.shared.resource.BaseResourceHandlerSupport 2
org.apache.myfaces.shared.resource.ResourceHandlerCache 1
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.ServletSpecifications 1
org.apache.myfaces.shared.util.StateUtils 29
org.apache.myfaces.shared.util.StreamCharBuffer$StreamCharBufferSubChunkReader 1
org.apache.myfaces.shared.util.StringCharArrayAccessor 6
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.context.flash.ClientWindowFlashTokenLRUMap

Bug Category Details Line Priority
org.apache.myfaces.shared.context.flash.ClientWindowFlashTokenLRUMap is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 36-98 Low

org.apache.myfaces.shared.context.flash.FlashClientWindowTokenCollection

Bug Category Details Line Priority
org.apache.myfaces.shared.context.flash.FlashClientWindowTokenCollection is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID 31-56 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_ATTRIBUTES_DISABLED should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 255 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_DISABLED 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.ANCHOR_PASSTHROUGH_ATTRIBUTES_DISABLED_WITHOUT_EVENTS should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 265 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 536 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 548 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 558 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 562 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 377 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 390 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 275 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 284 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 288 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 302 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 315 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 323 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 333 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 477 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 341 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 355 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 345 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 360 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 401 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 408 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 497 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 424 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 426 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 504 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 436 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 447 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 451 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 460 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 467 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 471 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 508 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 382 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 386 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 319 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 481 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 485 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 350 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 412 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 416 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 512 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 516 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 277 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 72 Low
Possible null pointer dereference of behaviors in org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase.encodeEnd(FacesContext, UIComponent) CORRECTNESS NP_NULL_ON_SOME_PATH 87 Medium

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.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 446 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 510 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 492 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 446 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 457 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 2006 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 1707 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 1023 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 247 Low
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 899 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 225 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.encodeURIAttribute(Writer, String, String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE 1099 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.renderkit.html.util.SelectItemsUtils

Bug Category Details Line Priority
Nullcheck of selectItemInfo at line 87 of value previously dereferenced in org.apache.myfaces.shared.renderkit.html.util.SelectItemsUtils.renderSelectOptions(FacesContext, UIComponent, Converter, Set, List) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 87 Medium

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.ResourceHandlerCache

Bug Category Details Line Priority
org.apache.myfaces.shared.resource.ResourceHandlerCache.libraryExists(String) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 315 Medium

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.ServletSpecifications

Bug Category Details Line Priority
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.shared.util.ServletSpecifications.isServlet30Available() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 38 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
Null pointer dereference of System.out in org.apache.myfaces.shared.util.StateUtils.main(String[]) CORRECTNESS NP_ALWAYS_NULL 657 High
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
Null pointer dereference of System.err in org.apache.myfaces.shared.util.StringCharArrayAccessor.<static initializer>() CORRECTNESS NP_ALWAYS_NULL 76 High
Null pointer dereference of System.err in org.apache.myfaces.shared.util.StringCharArrayAccessor.handleError(Exception) CORRECTNESS NP_ALWAYS_NULL 232 High
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