Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

ClassesBugsErrorsMissing Classes
75946400

Files

ClassBugs
org.apache.myfaces.component.html.ext.AbstractHtmlDataTable4
org.apache.myfaces.component.html.ext.AbstractHtmlSelectManyCheckbox1
org.apache.myfaces.component.html.ext.BaseSortableModel$IntList2
org.apache.myfaces.component.html.ext.BaseSortableModel$RowDataComparator1
org.apache.myfaces.component.html.ext.HtmlDataTableHack1
org.apache.myfaces.component.html.ext.HtmlDataTableHack$EditableValueHolderState1
org.apache.myfaces.component.html.ext.HtmlInputSecret2
org.apache.myfaces.component.html.ext.HtmlInputText2
org.apache.myfaces.component.html.ext.HtmlInputTextarea2
org.apache.myfaces.component.html.ext.HtmlPanelGrid2
org.apache.myfaces.component.html.ext.HtmlPanelGroup2
org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox2
org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox2
org.apache.myfaces.component.html.ext.HtmlSelectManyListbox2
org.apache.myfaces.component.html.ext.HtmlSelectManyMenu2
org.apache.myfaces.component.html.ext.HtmlSelectOneListbox2
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu2
org.apache.myfaces.component.html.ext.HtmlSelectOneRadio2
org.apache.myfaces.component.html.ext.SortCriterion1
org.apache.myfaces.component.html.ext.SortableModel$Comp1
org.apache.myfaces.component.html.ext.SortableModel$Inverter1
org.apache.myfaces.component.html.ext.UIComponentPerspective1
org.apache.myfaces.component.html.ext._SerializableDataModel2
org.apache.myfaces.component.html.util.ExtensionsFilter1
org.apache.myfaces.component.html.util.MultipartFilter3
org.apache.myfaces.component.html.util.StreamingAddResource2
org.apache.myfaces.custom.buffer.BufferRenderer2
org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar1
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer4
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$11
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent3
org.apache.myfaces.custom.captcha.CAPTCHARenderer1
org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator1
org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator1
org.apache.myfaces.custom.captcha.util.ColorGenerator1
org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer2
org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag2
org.apache.myfaces.custom.column.HtmlColumnTag3
org.apache.myfaces.custom.column.HtmlSimpleColumn2
org.apache.myfaces.custom.crosstable.HtmlColumns1
org.apache.myfaces.custom.crosstable.UIColumns1
org.apache.myfaces.custom.crosstable.UIColumns$EditableValueHolderState1
org.apache.myfaces.custom.datalist.AbstractHtmlDataList1
org.apache.myfaces.custom.datalist.HtmlListRenderer1
org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller1
org.apache.myfaces.custom.datascroller.HtmlDataScroller2
org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer4
org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData1
org.apache.myfaces.custom.date.HtmlDateRenderer3
org.apache.myfaces.custom.date.HtmlDateRenderer$11
org.apache.myfaces.custom.div.DivRenderer1
org.apache.myfaces.custom.document.AbstractDocumentRenderer2
org.apache.myfaces.custom.document.AbstractDocumentTag1
org.apache.myfaces.custom.document.DocumentHeadTag2
org.apache.myfaces.custom.document.DocumentTag2
org.apache.myfaces.custom.dojo.DojoConfig1
org.apache.myfaces.custom.dojo.DojoInitializerRenderer1
org.apache.myfaces.custom.dojo.DojoUtils7
org.apache.myfaces.custom.emailvalidator.ValidateEmailTag1
org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator1
org.apache.myfaces.custom.equalvalidator.ValidateEqualTag1
org.apache.myfaces.custom.fieldset.FieldsetRenderer1
org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer1
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl2
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl$DefaultDiskStorageStrategy2
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl3
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl$DefaultMemoryStorageStrategy2
org.apache.myfaces.custom.htmlTag.HtmlTagRenderer2
org.apache.myfaces.custom.inputHtml.InputHtml1
org.apache.myfaces.custom.inputHtml.InputHtmlRenderer3
org.apache.myfaces.custom.jslistener.JsValueChangeListenerRenderer1
org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetRenderer1
org.apache.myfaces.custom.layout.HtmlLayoutRenderer1
org.apache.myfaces.custom.navigation.AbstractHtmlCommandNavigation1
org.apache.myfaces.custom.navigation.AbstractHtmlPanelNavigation1
org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag2
org.apache.myfaces.custom.navigation.HtmlNavigationRenderer1
org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag2
org.apache.myfaces.custom.navmenu.NavigationMenuItem1
org.apache.myfaces.custom.navmenu.NavigationMenuUtils1
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem4
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu2
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer1
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer3
org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer9
org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer1
org.apache.myfaces.custom.picklist.HtmlPicklistRenderer2
org.apache.myfaces.custom.popup.HtmlPopup6
org.apache.myfaces.custom.popup.HtmlPopupRenderer2
org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag1
org.apache.myfaces.custom.savestate.SaveStateTag2
org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer1
org.apache.myfaces.custom.schedule.AbstractHtmlSchedule1
org.apache.myfaces.custom.schedule.AbstractScheduleRenderer2
org.apache.myfaces.custom.schedule.HtmlSchedule1
org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer2
org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer2
org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer7
org.apache.myfaces.custom.schedule.ScheduleMouseEvent1
org.apache.myfaces.custom.schedule.UISchedule6
org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener1
org.apache.myfaces.custom.schedule.UIScheduleBase2
org.apache.myfaces.custom.schedule.model.AbstractScheduleModel3
org.apache.myfaces.custom.schedule.model.Day4
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry4
org.apache.myfaces.custom.schedule.model.HalfHourInterval1
org.apache.myfaces.custom.schedule.model.Interval7
org.apache.myfaces.custom.schedule.model.ScheduleDay2
org.apache.myfaces.custom.schedule.model.SimpleScheduleModel1
org.apache.myfaces.custom.selectOneCountry.AbstractSelectOneCountry2
org.apache.myfaces.custom.selectOneCountry.SelectOneCountry1
org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer1
org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag1
org.apache.myfaces.custom.selectOneLanguage.AbstractSelectOneLanguage2
org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage1
org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer1
org.apache.myfaces.custom.selectitems.AbstractUISelectItems1
org.apache.myfaces.custom.selectitems.SelectItemsTag1
org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer1
org.apache.myfaces.custom.stylesheet.StylesheetRenderer1
org.apache.myfaces.custom.stylesheet.TextResourceFilter3
org.apache.myfaces.custom.subform.SubForm3
org.apache.myfaces.custom.subform.SubFormRenderer1
org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane2
org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer2
org.apache.myfaces.custom.tabbedpane.TabChangeEvent1
org.apache.myfaces.custom.toggle.ToggleGroupRenderer2
org.apache.myfaces.custom.toggle.ToggleLinkRenderer2
org.apache.myfaces.custom.toggle.TogglePanelRenderer1
org.apache.myfaces.custom.transform.AbstractXmlTransform1
org.apache.myfaces.custom.tree.DefaultMutableTreeNode2
org.apache.myfaces.custom.tree.HtmlTree$Event1
org.apache.myfaces.custom.tree.HtmlTree$ModelListener1
org.apache.myfaces.custom.tree.HtmlTreeNode2
org.apache.myfaces.custom.tree.event.TreeSelectionEvent1
org.apache.myfaces.custom.tree.model.DefaultTreeModel2
org.apache.myfaces.custom.tree.model.TreeModelEvent4
org.apache.myfaces.custom.tree.model.TreePath1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeNodeRenderer1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer1
org.apache.myfaces.custom.tree.taglib.TreeColumnTag2
org.apache.myfaces.custom.tree2.HtmlTreeRenderer3
org.apache.myfaces.custom.tree2.ToggleExpandedEvent1
org.apache.myfaces.custom.tree2.TreeNodeBase2
org.apache.myfaces.custom.tree2.TreeWalkerBase1
org.apache.myfaces.custom.tree2.UITreeData1
org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTagHandler1
org.apache.myfaces.dateformat.DateFormatSymbols2
org.apache.myfaces.dateformat.ParserContext1
org.apache.myfaces.dateformat.SimpleDateFormatter1
org.apache.myfaces.generated.taglib.html.ext.HtmlCommandButtonTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlCommandLinkTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlDataTableTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlGraphicImageTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlInputHiddenTag2
org.apache.myfaces.generated.taglib.html.ext.HtmlInputSecretTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextareaTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlMessageTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlMessagesTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlOutputLabelTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlOutputTextTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGridTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGroupTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectBooleanCheckboxTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyCheckboxTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyListboxTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyMenuTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneListboxTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneMenuTag1
org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneRadioTag1
org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer1
org.apache.myfaces.renderkit.html.ext.HtmlHiddenRenderer1
org.apache.myfaces.renderkit.html.ext.HtmlSecretRenderer1
org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer4
org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer1
org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer1
org.apache.myfaces.renderkit.html.util.DefaultAddResource2
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener1
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils2
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils$11
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML48
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase2
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlListboxRendererBase1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase3
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils6
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl4
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlSecretRendererBase1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase5
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextareaRendererBase1
org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils2
org.apache.myfaces.shared_tomahawk.taglib.html.HtmlColumnTag2
org.apache.myfaces.shared_tomahawk.test.ClassElementHandler1
org.apache.myfaces.shared_tomahawk.util.ExceptionUtils1
org.apache.myfaces.shared_tomahawk.util.LocaleUtils1
org.apache.myfaces.shared_tomahawk.util.MessageUtils5
org.apache.myfaces.shared_tomahawk.util.ParametrizableFacesMessage3
org.apache.myfaces.shared_tomahawk.util.StateUtils28
org.apache.myfaces.shared_tomahawk.util.StringUtils1
org.apache.myfaces.shared_tomahawk.util._Constants1
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet2
org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXmlParser1
org.apache.myfaces.tomahawk.util.ExternalContextUtils2
org.apache.myfaces.validator.AttachedListStateWrapper1
org.apache.myfaces.webapp.filter.ExtensionsFilter3
org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper$MyServletOutputStream1
org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter3
org.apache.myfaces.webapp.filter.MultipartRequestWrapper1
org.apache.myfaces.webapp.filter.MultipartRequestWrapperConfig2
org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper1
org.apache.myfaces.webapp.filter.WelcomeFileFilter2
org.apache.myfaces.webapp.filter.WelcomeFileHandler2
org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload1
org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload$11
org.apache.myfaces.webapp.filter.portlet.PortletExternalContextWrapper$11
org.apache.myfaces.webapp.filter.portlet.SessionMap1
org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload1
org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload$11
org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper$11
org.apache.myfaces.webapp.filter.servlet.SessionMap1

org.apache.myfaces.component.html.ext.AbstractHtmlDataTable

BugCategoryDetailsLinePriority
Primitive boxed just to call toString in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.expandAllDetails()PERFORMANCEDM_BOXED_PRIMITIVE_TOSTRING1703Low
Comparison of String objects using == or != in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.getRowStyle() BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ1447Low
Comparison of String objects using == or != in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.getRowStyleClass() BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ1418Low
Switch statement found in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.process(FacesContext, UIComponent, int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT590-593Low

org.apache.myfaces.component.html.ext.AbstractHtmlSelectManyCheckbox

BugCategoryDetailsLinePriority
Private method org.apache.myfaces.component.html.ext.AbstractHtmlSelectManyCheckbox.booleanFromObject(Object, boolean) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD101-110Low

org.apache.myfaces.component.html.ext.BaseSortableModel$IntList

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.BaseSortableModel$IntList is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID244-252Low

org.apache.myfaces.component.html.ext.BaseSortableModel$RowDataComparator

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.BaseSortableModel$RowDataComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE257-274Low

org.apache.myfaces.component.html.ext.HtmlDataTableHack

BugCategoryDetailsLinePriority
Private method org.apache.myfaces.component.html.ext.HtmlDataTableHack.booleanFromObject(Object, boolean) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD661-670Low

org.apache.myfaces.component.html.ext.HtmlDataTableHack$EditableValueHolderState

BugCategoryDetailsLinePriority
Should org.apache.myfaces.component.html.ext.HtmlDataTableHack$EditableValueHolderState be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC596-609Medium

org.apache.myfaces.component.html.ext.HtmlInputSecret

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlInputSecret.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputSecret.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlInputText

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlInputText.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL125Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputText.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE119Medium

org.apache.myfaces.component.html.ext.HtmlInputTextarea

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlInputTextarea.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL101Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputTextarea.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE95Medium

org.apache.myfaces.component.html.ext.HtmlPanelGrid

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlPanelGrid.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL70Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlPanelGrid.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE64Medium

org.apache.myfaces.component.html.ext.HtmlPanelGroup

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlPanelGroup.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL413Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlPanelGroup.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE407Medium

org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL101Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE95Medium

org.apache.myfaces.component.html.ext.HtmlSelectManyListbox

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectManyListbox.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyListbox.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlSelectManyMenu

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectManyMenu.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyMenu.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlSelectOneListbox

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectOneListbox.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneListbox.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlSelectOneMenu

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneMenu.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.HtmlSelectOneRadio

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL72Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.component.html.ext.SortCriterion

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.SortCriterion is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID31-75Low

org.apache.myfaces.component.html.ext.SortableModel$Comp

BugCategoryDetailsLinePriority
Should org.apache.myfaces.component.html.ext.SortableModel$Comp be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC162-217Medium

org.apache.myfaces.component.html.ext.SortableModel$Inverter

BugCategoryDetailsLinePriority
org.apache.myfaces.component.html.ext.SortableModel$Inverter implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE228-234Low

org.apache.myfaces.component.html.ext.UIComponentPerspective

BugCategoryDetailsLinePriority

org.apache.myfaces.component.html.ext._SerializableDataModel

BugCategoryDetailsLinePriority
Class org.apache.myfaces.component.html.ext._SerializableDataModel defines non-transient non-serializable instance field _listBAD_PRACTICESE_BAD_FIELDNot availableLow
The field org.apache.myfaces.component.html.ext._SerializableDataModel._rowIndex is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot availableMedium

org.apache.myfaces.component.html.util.ExtensionsFilter

BugCategoryDetailsLinePriority

org.apache.myfaces.component.html.util.MultipartFilter

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.servlet.ServletRequest to javax.servlet.http.HttpServletRequest in org.apache.myfaces.component.html.util.MultipartFilter.doFilter(ServletRequest, ServletResponse, FilterChain)STYLEBC_UNCONFIRMED_CAST122Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE83Low
Load of known null value in org.apache.myfaces.component.html.util.MultipartFilter.init(FilterConfig)STYLENP_LOAD_OF_KNOWN_NULL_VALUE69Medium

org.apache.myfaces.component.html.util.StreamingAddResource

BugCategoryDetailsLinePriority
Dead store to manager in org.apache.myfaces.component.html.util.StreamingAddResource.addStyleSheet(FacesContext, StreamingAddResource$StreamablePositionedInfo)STYLEDLS_DEAD_LOCAL_STORE603Medium
Unread field: org.apache.myfaces.component.html.util.StreamingAddResource.REQUEST_ID_COUNTERPERFORMANCEURF_UNREAD_FIELD135Low

org.apache.myfaces.custom.buffer.BufferRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.buffer.Buffer in org.apache.myfaces.custom.buffer.BufferRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST64Low
Exception is caught when Exception is not thrown in org.apache.myfaces.custom.buffer.BufferRenderer.encodeEnd(FacesContext, UIComponent)STYLEREC_CATCH_EXCEPTION76Low

org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.calendar.HtmlCalendarRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.calendar.HtmlInputCalendar in org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST117Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar in org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST1184Low
Unchecked/unconfirmed cast from javax.faces.component.UIInput to org.apache.myfaces.custom.calendar.HtmlInputCalendar in org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.writeLink(String, UIInput, FacesContext, Date)STYLEBC_UNCONFIRMED_CAST927Low
Redundant nullcheck of textValue, which is known to be non-null in org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(FacesContext, UIComponent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE134Low

org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON328-335Low

org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.COMPONENT_FAMILY isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL36Low
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.COMPONENT_TYPE isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL35Low
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.DEFAULT_RENDERER_TYPE isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL37Low

org.apache.myfaces.custom.captcha.CAPTCHARenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.captcha.CAPTCHAComponent in org.apache.myfaces.custom.captcha.CAPTCHARenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST69Low

org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator

BugCategoryDetailsLinePriority
integral division result cast to double or float in org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator.getDelta(int, double, double, double)STYLEICAST_IDIV_CAST_TO_DOUBLE237Medium

org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator

BugCategoryDetailsLinePriority
Method org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator.generateRandomText() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION62Medium

org.apache.myfaces.custom.captcha.util.ColorGenerator

BugCategoryDetailsLinePriority
Method org.apache.myfaces.custom.captcha.util.ColorGenerator.generateRandomColor(Color) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficientPERFORMANCEDM_NEXTINT_VIA_NEXTDOUBLE45Medium

org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanel in org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST131Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanel in org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST62Low

org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE59Medium
Dead store to context in org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE63Medium

org.apache.myfaces.custom.column.HtmlColumnTag

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.column.HtmlSimpleColumn

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.crosstable.HtmlColumns

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.crosstable.UIColumns

BugCategoryDetailsLinePriority
Switch statement found in org.apache.myfaces.custom.crosstable.UIColumns.process(FacesContext, UIComponent, int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT484-487Low

org.apache.myfaces.custom.crosstable.UIColumns$EditableValueHolderState

BugCategoryDetailsLinePriority
Should org.apache.myfaces.custom.crosstable.UIColumns$EditableValueHolderState be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC527-539Medium

org.apache.myfaces.custom.datalist.AbstractHtmlDataList

BugCategoryDetailsLinePriority
Switch statement found in org.apache.myfaces.custom.datalist.AbstractHtmlDataList.process(FacesContext, UIComponent, int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT169-172Low

org.apache.myfaces.custom.datalist.HtmlListRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST119Low

org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller

BugCategoryDetailsLinePriority
Redundant nullcheck of uiData, which is known to be non-null in org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.broadcast(FacesEvent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE256Low

org.apache.myfaces.custom.datascroller.HtmlDataScroller

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.datascroller.HtmlDataScroller.getDisplayValueOnly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL973Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.datascroller.HtmlDataScroller.getDisplayValueOnly()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE967Medium

org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.datascroller.HtmlDataScroller in org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST186Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.datascroller.HtmlDataScroller in org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST199Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.datascroller.HtmlDataScroller in org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST219Low
Redundant nullcheck of org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.getUIData(), which is known to be non-null in org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeEnd(FacesContext, UIComponent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE221Low

org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData

BugCategoryDetailsLinePriority
Potentially dangerous use of non-short-circuit logic in org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData.parse()STYLENS_DANGEROUS_NON_SHORT_CIRCUIT184High

org.apache.myfaces.custom.date.HtmlDateRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.date.HtmlInputDate in org.apache.myfaces.custom.date.HtmlDateRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST389Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.date.HtmlInputDate in org.apache.myfaces.custom.date.HtmlDateRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST91Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.date.HtmlInputDate in org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST494Low

org.apache.myfaces.custom.date.HtmlDateRenderer$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.custom.date.HtmlDateRenderer$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON373-380Low

org.apache.myfaces.custom.div.DivRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.div.Div in org.apache.myfaces.custom.div.DivRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST56Low

org.apache.myfaces.custom.document.AbstractDocumentRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.document.AbstractDocument in org.apache.myfaces.custom.document.AbstractDocumentRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST47Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.document.AbstractDocument in org.apache.myfaces.custom.document.AbstractDocumentRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST77Low

org.apache.myfaces.custom.document.AbstractDocumentTag

BugCategoryDetailsLinePriority
Dead store to context in org.apache.myfaces.custom.document.AbstractDocumentTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE69Medium

org.apache.myfaces.custom.document.DocumentHeadTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.document.DocumentHeadTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.custom.document.DocumentHeadTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.custom.document.DocumentTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.document.DocumentTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.custom.document.DocumentTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.custom.dojo.DojoConfig

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dojo.DojoConfig.ATTR_DOJO_TYPE isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL54Low

org.apache.myfaces.custom.dojo.DojoInitializerRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.dojo.DojoInitializer in org.apache.myfaces.custom.dojo.DojoInitializerRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST75Low

org.apache.myfaces.custom.dojo.DojoUtils

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.dojo.DojoUtils.addDebugConsole(FacesContext, UIComponent) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR185Medium
org.apache.myfaces.custom.dojo.DojoUtils.getExpanded(FacesContext) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR422Medium
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE118Low
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE131Medium
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE127Low
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE136Low
Exception is caught when Exception is not thrown in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent)STYLEREC_CATCH_EXCEPTION142Low

org.apache.myfaces.custom.emailvalidator.ValidateEmailTag

BugCategoryDetailsLinePriority
Dead store to facesContext in org.apache.myfaces.custom.emailvalidator.ValidateEmailTag.createValidator()STYLEDLS_DEAD_LOCAL_STORE45Medium

org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator

BugCategoryDetailsLinePriority
Redundant nullcheck of foreignValue, which is known to be non-null in org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator.validate(FacesContext, UIComponent, Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE128Medium

org.apache.myfaces.custom.equalvalidator.ValidateEqualTag

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.equalvalidator.ValidateEqualTag.createValidator() invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR60Medium

org.apache.myfaces.custom.fieldset.FieldsetRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.fieldset.Fieldset in org.apache.myfaces.custom.fieldset.FieldsetRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST53Low

org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.fileupload.HtmlInputFileUpload in org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST72Low

org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl.getBytes() ignores result of java.io.InputStream.read(byte[])BAD_PRACTICERR_NOT_CHECKED91Medium
The field org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl.fileItem is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot availableLow

org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl$DefaultDiskStorageStrategy

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl$DefaultDiskStorageStrategy is serializable and an inner classBAD_PRACTICESE_INNER_CLASS54-80Medium

org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl.getBytes() may expose internal representation by returning UploadedFileDefaultMemoryImpl.bytesMALICIOUS_CODEEI_EXPOSE_REP78Medium
new org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl(FileItem) ignores result of java.io.InputStream.read(byte[])BAD_PRACTICERR_NOT_CHECKED47Medium
The field org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl.fileItem is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot availableLow

org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl$DefaultMemoryStorageStrategy

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl$DefaultMemoryStorageStrategy is serializable and an inner classBAD_PRACTICESE_INNER_CLASS51-68Medium

org.apache.myfaces.custom.htmlTag.HtmlTagRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.htmlTag.HtmlTag in org.apache.myfaces.custom.htmlTag.HtmlTagRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST51Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.htmlTag.HtmlTag in org.apache.myfaces.custom.htmlTag.HtmlTagRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST77Low

org.apache.myfaces.custom.inputHtml.InputHtml

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

org.apache.myfaces.custom.inputHtml.InputHtmlRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputHtml.InputHtml in org.apache.myfaces.custom.inputHtml.InputHtmlRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST1803Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputHtml.InputHtml in org.apache.myfaces.custom.inputHtml.InputHtmlRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST88Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.inputHtml.InputHtml in org.apache.myfaces.custom.inputHtml.InputHtmlRenderer.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST1822Low

org.apache.myfaces.custom.jslistener.JsValueChangeListenerRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.jslistener.JsValueChangeListener in org.apache.myfaces.custom.jslistener.JsValueChangeListenerRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST55Low

org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.jsvalueset.HtmlJsValueSet in org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST122Low

org.apache.myfaces.custom.layout.HtmlLayoutRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.layout.HtmlPanelLayout in org.apache.myfaces.custom.layout.HtmlLayoutRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST69Low

org.apache.myfaces.custom.navigation.AbstractHtmlCommandNavigation

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.custom.navigation.AbstractHtmlCommandNavigation.toggleOpen(), since all org.apache.myfaces.custom.navigation.HtmlPanelNavigation are instances of org.apache.myfaces.custom.navigation.HtmlPanelNavigationSTYLEBC_VACUOUS_INSTANCEOF164Medium

org.apache.myfaces.custom.navigation.AbstractHtmlPanelNavigation

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE59Medium
Dead store to context in org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE63Medium

org.apache.myfaces.custom.navigation.HtmlNavigationRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.navigation.HtmlPanelNavigation in org.apache.myfaces.custom.navigation.HtmlNavigationRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST100Low

org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.custom.navmenu.NavigationMenuItem

BugCategoryDetailsLinePriority
Class org.apache.myfaces.custom.navmenu.NavigationMenuItem defines non-transient non-serializable instance field _navigationMenuItemsBAD_PRACTICESE_BAD_FIELDNot availableLow

org.apache.myfaces.custom.navmenu.NavigationMenuUtils

BugCategoryDetailsLinePriority
Nullcheck of child at line 111 of value previously dereferenced in org.apache.myfaces.custom.navmenu.NavigationMenuUtils.getNavigationMenuItemList(UIComponent)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE111High

org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem.getParentPanelNavigation(), since all org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu are instances of org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenuSTYLEBC_VACUOUS_INSTANCEOF179Medium
instanceof will always return true in org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem.toggleOpen(), since all org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu are instances of org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenuSTYLEBC_VACUOUS_INSTANCEOF222Medium
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem.getActiveDirectly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL105Medium
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlCommandNavigationItem.getOpenDirectly() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL98Medium

org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu

BugCategoryDetailsLinePriority
Redundant nullcheck of prevItem, which is known to be non-null in org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu.restoreOpenActiveStates(FacesContext, UIViewRoot, List)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE118Medium

org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu in org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST101Low

org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu in org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST109Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu in org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST361Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu in org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST373Low

org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.newspaper.HtmlNewspaperTable in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST59Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.newspaper.HtmlNewspaperTable in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST74Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.newspaper.HtmlNewspaperTable in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST161Low
instanceof will always return true in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getFooterClass(HtmlNewspaperTable), since all org.apache.myfaces.custom.newspaper.HtmlNewspaperTable are instances of javax.faces.component.html.HtmlDataTableSTYLEBC_VACUOUS_INSTANCEOF336Medium
instanceof will always return true in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getHeaderClass(HtmlNewspaperTable), since all org.apache.myfaces.custom.newspaper.HtmlNewspaperTable are instances of javax.faces.component.html.HtmlDataTableSTYLEBC_VACUOUS_INSTANCEOF326Medium
instanceof will always return true in org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getStyles(HtmlNewspaperTable), since all org.apache.myfaces.custom.newspaper.HtmlNewspaperTable are instances of javax.faces.component.html.HtmlDataTableSTYLEBC_VACUOUS_INSTANCEOF349Medium
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getFooterClass(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined staticallyCORRECTNESSSIO_SUPERFLUOUS_INSTANCEOF336Low
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getHeaderClass(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined staticallyCORRECTNESSSIO_SUPERFLUOUS_INSTANCEOF326Low
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getStyles(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined staticallyCORRECTNESSSIO_SUPERFLUOUS_INSTANCEOF349Low

org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.panelstack.HtmlPanelStack in org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST62Low

org.apache.myfaces.custom.picklist.HtmlPicklistRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.custom.picklist.HtmlPicklistRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST168Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.picklist.HtmlSelectManyPicklist in org.apache.myfaces.custom.picklist.HtmlPicklistRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST131Low

org.apache.myfaces.custom.popup.HtmlPopup

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingElement() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL178Medium
org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingPopup() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL203Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingElement()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE172Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingPopup()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE197Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getDisplayAtDistanceX()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE122Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getDisplayAtDistanceY()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE147Medium

org.apache.myfaces.custom.popup.HtmlPopupRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.popup.HtmlPopup in org.apache.myfaces.custom.popup.HtmlPopupRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST75Low
org.apache.myfaces.custom.popup.HtmlPopupRenderer.encodeEnd(FacesContext, UIComponent) invokes inefficient new String(String) constructorPERFORMANCEDM_STRING_CTOR131Medium

org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag

BugCategoryDetailsLinePriority
Dead store to facesContext in org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag.createValidator()STYLEDLS_DEAD_LOCAL_STORE52Medium

org.apache.myfaces.custom.savestate.SaveStateTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.savestate.SaveStateTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.custom.savestate.SaveStateTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.schedule.AbstractHtmlSchedule

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.schedule.AbstractScheduleRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.AbstractScheduleRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST73Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.AbstractScheduleRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST152Low

org.apache.myfaces.custom.schedule.HtmlSchedule

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST71Low

org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST68Low

org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST82Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.schedule.HtmlSchedule in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST116Low
integral division result cast to double or float in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.writeBackgroundStart(FacesContext, HtmlSchedule, ResponseWriter)STYLEICAST_IDIV_CAST_TO_DOUBLE422Medium
integral division result cast to double or float in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.writeEntries(FacesContext, HtmlSchedule, ScheduleDay, ResponseWriter)STYLEICAST_IDIV_CAST_TO_DOUBLE654Medium
integral division result cast to double or float in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.writeForegroundStart(FacesContext, HtmlSchedule, ResponseWriter)STYLEICAST_IDIV_CAST_TO_DOUBLE764Medium
Unread field: org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.defaultRowHeightInPixels; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC64Medium

org.apache.myfaces.custom.schedule.ScheduleMouseEvent

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.schedule.UISchedule

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.UISchedule.getLastClickedDateAndTime() may expose internal representation by returning UISchedule._lastClickedDateAndTimeMALICIOUS_CODEEI_EXPOSE_REP209Medium
Class org.apache.myfaces.custom.schedule.UISchedule defines non-transient non-serializable instance field _scheduleListenerBAD_PRACTICESE_BAD_FIELDNot availableHigh
Class org.apache.myfaces.custom.schedule.UISchedule defines non-transient non-serializable instance field _actionBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class org.apache.myfaces.custom.schedule.UISchedule defines non-transient non-serializable instance field _actionListenerBAD_PRACTICESE_BAD_FIELDNot availableMedium
Class org.apache.myfaces.custom.schedule.UISchedule defines non-transient non-serializable instance field _mouseListenerBAD_PRACTICESE_BAD_FIELDNot availableMedium

org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener

BugCategoryDetailsLinePriority
Should org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC51-65Medium

org.apache.myfaces.custom.schedule.UIScheduleBase

BugCategoryDetailsLinePriority
Class org.apache.myfaces.custom.schedule.UIScheduleBase defines non-transient non-serializable instance field _converterBAD_PRACTICESE_BAD_FIELDNot availableMedium

org.apache.myfaces.custom.schedule.model.AbstractScheduleModel

BugCategoryDetailsLinePriority
Method org.apache.myfaces.custom.schedule.model.AbstractScheduleModel.getDays() uses the same code for two switch clausesSTYLEDB_DUPLICATE_SWITCH_CLAUSES89-91Low
org.apache.myfaces.custom.schedule.model.AbstractScheduleModel.getSelectedDate() may expose internal representation by returning AbstractScheduleModel.selectedDateMALICIOUS_CODEEI_EXPOSE_REP168Medium
org.apache.myfaces.custom.schedule.model.AbstractScheduleModel.setSelectedDate(Date) may expose internal representation by storing an externally mutable object into AbstractScheduleModel.selectedDateMALICIOUS_CODEEI_EXPOSE_REP2159Medium

org.apache.myfaces.custom.schedule.model.Day

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.model.Day.getDate() may expose internal representation by returning Day.dateMALICIOUS_CODEEI_EXPOSE_REP111Medium
org.apache.myfaces.custom.schedule.model.Day.getDayEnd() may expose internal representation by returning Day.dayEndMALICIOUS_CODEEI_EXPOSE_REP119Medium
org.apache.myfaces.custom.schedule.model.Day.getDayStart() may expose internal representation by returning Day.dayStartMALICIOUS_CODEEI_EXPOSE_REP127Medium
new org.apache.myfaces.custom.schedule.model.Day(Date, TimeZone) may expose internal representation by storing an externally mutable object into Day.dateMALICIOUS_CODEEI_EXPOSE_REP283Medium

org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry.getEndTime() may expose internal representation by returning DefaultScheduleEntry.endTimeMALICIOUS_CODEEI_EXPOSE_REP116Medium
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry.getStartTime() may expose internal representation by returning DefaultScheduleEntry.startTimeMALICIOUS_CODEEI_EXPOSE_REP152Medium
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry.setEndTime(Date) may expose internal representation by storing an externally mutable object into DefaultScheduleEntry.endTimeMALICIOUS_CODEEI_EXPOSE_REP297Medium
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry.setStartTime(Date) may expose internal representation by storing an externally mutable object into DefaultScheduleEntry.startTimeMALICIOUS_CODEEI_EXPOSE_REP2140Medium

org.apache.myfaces.custom.schedule.model.HalfHourInterval

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.model.HalfHourInterval is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID41-71Low

org.apache.myfaces.custom.schedule.model.Interval

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.model.Interval.getEndTime() may expose internal representation by returning Interval.endTimeMALICIOUS_CODEEI_EXPOSE_REP72Medium
org.apache.myfaces.custom.schedule.model.Interval.getStartTime() may expose internal representation by returning Interval.startTimeMALICIOUS_CODEEI_EXPOSE_REP63Medium
new org.apache.myfaces.custom.schedule.model.Interval(String, Date, Date) may expose internal representation by storing an externally mutable object into Interval.endTimeMALICIOUS_CODEEI_EXPOSE_REP249Medium
new org.apache.myfaces.custom.schedule.model.Interval(String, Date, Date) may expose internal representation by storing an externally mutable object into Interval.startTimeMALICIOUS_CODEEI_EXPOSE_REP248Medium
org.apache.myfaces.custom.schedule.model.Interval.setEndTime(Date) may expose internal representation by storing an externally mutable object into Interval.endTimeMALICIOUS_CODEEI_EXPOSE_REP276Medium
org.apache.myfaces.custom.schedule.model.Interval.setStartTime(Date) may expose internal representation by storing an externally mutable object into Interval.startTimeMALICIOUS_CODEEI_EXPOSE_REP267Medium
org.apache.myfaces.custom.schedule.model.Interval is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID46-158Low

org.apache.myfaces.custom.schedule.model.ScheduleDay

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.schedule.model.ScheduleDay doesn't override Day.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS65-357Medium

org.apache.myfaces.custom.schedule.model.SimpleScheduleModel

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.selectOneCountry.AbstractSelectOneCountry

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE82Low
Method org.apache.myfaces.custom.selectOneCountry.AbstractSelectOneCountry.getCountriesChoicesAsSelectItemList() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR126Medium

org.apache.myfaces.custom.selectOneCountry.SelectOneCountry

BugCategoryDetailsLinePriority
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.selectOneCountry.SelectOneCountry.getMaxLength()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.selectOneCountry.SelectOneCountry in org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST52Low

org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.selectOneLanguage.AbstractSelectOneLanguage

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE86Low
Method org.apache.myfaces.custom.selectOneLanguage.AbstractSelectOneLanguage.getLanguagesChoicesAsSelectItemList() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR130Medium

org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage

BugCategoryDetailsLinePriority
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage.getMaxLength()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE66Medium

org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage in org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST52Low

org.apache.myfaces.custom.selectitems.AbstractUISelectItems

BugCategoryDetailsLinePriority
Method org.apache.myfaces.custom.selectitems.AbstractUISelectItems.createSelectItems(Object) uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY145Low

org.apache.myfaces.custom.selectitems.SelectItemsTag

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.sortheader.HtmlCommandSortHeader in org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST70Low

org.apache.myfaces.custom.stylesheet.StylesheetRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.stylesheet.Stylesheet in org.apache.myfaces.custom.stylesheet.StylesheetRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST52Low

org.apache.myfaces.custom.stylesheet.TextResourceFilter

BugCategoryDetailsLinePriority
Method org.apache.myfaces.custom.stylesheet.TextResourceFilter.getOrCreateFilteredResource(FacesContext, String) invokes toString() method on a StringPERFORMANCEDM_STRING_TOSTRING196Low
Class org.apache.myfaces.custom.stylesheet.TextResourceFilter defines non-transient non-serializable instance field filteredResourcesBAD_PRACTICESE_BAD_FIELDNot availableLow
org.apache.myfaces.custom.stylesheet.TextResourceFilter is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID61-233Medium

org.apache.myfaces.custom.subform.SubForm

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.subform.SubForm.getPreserveSubmittedValues() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL71Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.subform.SubForm.getPreserveSubmittedValues()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE65Medium

org.apache.myfaces.custom.subform.SubFormRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.subform.SubForm in org.apache.myfaces.custom.subform.SubFormRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST80Low

org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane.getActivePanelTabVar() has Boolean return type and returns explicit nullBAD_PRACTICENP_BOOLEAN_RETURN_NULL82Medium
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane.getActivePanelTabVar()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE76Medium

org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane in org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST258Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane in org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST94Low

org.apache.myfaces.custom.tabbedpane.TabChangeEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to org.apache.myfaces.custom.tabbedpane.TabChangeListener in org.apache.myfaces.custom.tabbedpane.TabChangeEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST63Low

org.apache.myfaces.custom.toggle.ToggleGroupRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.toggle.ToggleGroup in org.apache.myfaces.custom.toggle.ToggleGroupRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST43Low
Dead store to toggleGroup in org.apache.myfaces.custom.toggle.ToggleGroupRenderer.encodeEnd(FacesContext, UIComponent)STYLEDLS_DEAD_LOCAL_STORE43Medium

org.apache.myfaces.custom.toggle.ToggleLinkRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.toggle.ToggleLink in org.apache.myfaces.custom.toggle.ToggleLinkRenderer.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST147Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.toggle.ToggleLink in org.apache.myfaces.custom.toggle.ToggleLinkRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST137Low

org.apache.myfaces.custom.toggle.TogglePanelRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.toggle.TogglePanel in org.apache.myfaces.custom.toggle.TogglePanelRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST54Low

org.apache.myfaces.custom.transform.AbstractXmlTransform

BugCategoryDetailsLinePriority

org.apache.myfaces.custom.tree.DefaultMutableTreeNode

BugCategoryDetailsLinePriority
Class org.apache.myfaces.custom.tree.DefaultMutableTreeNode defines non-transient non-serializable instance field childrenBAD_PRACTICESE_BAD_FIELDNot availableLow
org.apache.myfaces.custom.tree.DefaultMutableTreeNode is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID36-214Low

org.apache.myfaces.custom.tree.HtmlTree$Event

BugCategoryDetailsLinePriority
Switch statement found in org.apache.myfaces.custom.tree.HtmlTree$Event.process(HtmlTree) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1066-1069Low

org.apache.myfaces.custom.tree.HtmlTree$ModelListener

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.tree.HtmlTree$ModelListener is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID980-1033Low

org.apache.myfaces.custom.tree.HtmlTreeNode

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.tree.HtmlTreeNode.getLayout() may expose internal representation by returning HtmlTreeNode.layoutMALICIOUS_CODEEI_EXPOSE_REP438Medium
org.apache.myfaces.custom.tree.HtmlTreeNode.setLayout(int[]) may expose internal representation by storing an externally mutable object into HtmlTreeNode.layoutMALICIOUS_CODEEI_EXPOSE_REP2444Medium

org.apache.myfaces.custom.tree.event.TreeSelectionEvent

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.event.FacesListener to org.apache.myfaces.custom.tree.event.TreeSelectionListener in org.apache.myfaces.custom.tree.event.TreeSelectionEvent.processListener(FacesListener)STYLEBC_UNCONFIRMED_CAST86Low

org.apache.myfaces.custom.tree.model.DefaultTreeModel

BugCategoryDetailsLinePriority
Should org.apache.myfaces.custom.tree.model.DefaultTreeModel.getPathToRoot(TreeNode, int) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS265Low
org.apache.myfaces.custom.tree.model.DefaultTreeModel is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID40-403Low

org.apache.myfaces.custom.tree.model.TreeModelEvent

BugCategoryDetailsLinePriority
new org.apache.myfaces.custom.tree.model.TreeModelEvent(Object, TreePath, int[], Object[]) may expose internal representation by storing an externally mutable object into TreeModelEvent.childIndicesMALICIOUS_CODEEI_EXPOSE_REP271Medium
new org.apache.myfaces.custom.tree.model.TreeModelEvent(Object, TreePath, int[], Object[]) may expose internal representation by storing an externally mutable object into TreeModelEvent.childrenMALICIOUS_CODEEI_EXPOSE_REP272Medium
Should org.apache.myfaces.custom.tree.model.TreeModelEvent.getChildIndices() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS177Low
Should org.apache.myfaces.custom.tree.model.TreeModelEvent.getChildren() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS155Low

org.apache.myfaces.custom.tree.model.TreePath

BugCategoryDetailsLinePriority
new org.apache.myfaces.custom.tree.model.TreePath(Object[]) may expose internal representation by storing an externally mutable object into TreePath.elementsMALICIOUS_CODEEI_EXPOSE_REP248Medium

org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tree.HtmlTreeCheckbox in org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST51Low

org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeNodeRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tree.HtmlTreeNode in org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeNodeRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST51Low

org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tree.HtmlTree in org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST95Low

org.apache.myfaces.custom.tree.taglib.TreeColumnTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.custom.tree.taglib.TreeColumnTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.custom.tree.taglib.TreeColumnTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.custom.tree2.HtmlTreeRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tree2.HtmlTree in org.apache.myfaces.custom.tree2.HtmlTreeRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST131Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.tree2.HtmlTree in org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST176Low
Method org.apache.myfaces.custom.tree2.HtmlTreeRenderer.restoreStateFromCookies(FacesContext, UIComponent) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR105Medium

org.apache.myfaces.custom.tree2.ToggleExpandedEvent

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.tree2.ToggleExpandedEvent is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID40-66Low

org.apache.myfaces.custom.tree2.TreeNodeBase

BugCategoryDetailsLinePriority
org.apache.myfaces.custom.tree2.TreeNodeBase defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS103-118Medium
Class org.apache.myfaces.custom.tree2.TreeNodeBase defines non-transient non-serializable instance field childrenBAD_PRACTICESE_BAD_FIELDNot availableLow

org.apache.myfaces.custom.tree2.TreeWalkerBase

BugCategoryDetailsLinePriority
TreeWalkerBase.tree not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow

org.apache.myfaces.custom.tree2.UITreeData

BugCategoryDetailsLinePriority
Switch statement found in org.apache.myfaces.custom.tree2.UITreeData.processNodes(FacesContext, int, TreeWalker) where default case is missingSTYLESF_SWITCH_NO_DEFAULT556-559Low

org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTagHandler

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.ActionSource in org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTagHandler.apply(FaceletContext, UIComponent)STYLEBC_UNCONFIRMED_CAST83Low

org.apache.myfaces.dateformat.DateFormatSymbols

BugCategoryDetailsLinePriority
Unread field: org.apache.myfaces.dateformat.DateFormatSymbols.erasPERFORMANCEURF_UNREAD_FIELD41Medium
Unread field: org.apache.myfaces.dateformat.DateFormatSymbols.zoneStringsPERFORMANCEURF_UNREAD_FIELD67Medium

org.apache.myfaces.dateformat.ParserContext

BugCategoryDetailsLinePriority
Unread field: org.apache.myfaces.dateformat.ParserContext.ambiguousWeekYearPERFORMANCEURF_UNREAD_FIELD581Medium

org.apache.myfaces.dateformat.SimpleDateFormatter

BugCategoryDetailsLinePriority
integral division result cast to double or float in org.apache.myfaces.dateformat.SimpleDateFormatter.getIsoWeekDate(Date)STYLEICAST_IDIV_CAST_TO_DOUBLE172Medium

org.apache.myfaces.generated.taglib.html.ext.HtmlCommandButtonTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlCommandLinkTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlDataTableTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlGraphicImageTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlInputHiddenTag

BugCategoryDetailsLinePriority
Dead store to context in org.apache.myfaces.generated.taglib.html.ext.HtmlInputHiddenTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE78Medium

org.apache.myfaces.generated.taglib.html.ext.HtmlInputSecretTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlInputTextareaTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlMessageTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlMessagesTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlOutputLabelTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlOutputTextTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGridTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlPanelGroupTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectBooleanCheckboxTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyCheckboxTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyListboxTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectManyMenuTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneListboxTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneMenuTag

BugCategoryDetailsLinePriority

org.apache.myfaces.generated.taglib.html.ext.HtmlSelectOneRadioTag

BugCategoryDetailsLinePriority

org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.model.SelectItem to javax.faces.model.SelectItemGroup in org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer.renderGroupOrItemCheckbox(FacesContext, UIComponent, SelectItem, boolean, Set, Converter, boolean)STYLEBC_UNCONFIRMED_CAST259Low

org.apache.myfaces.renderkit.html.ext.HtmlHiddenRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.renderkit.html.ext.HtmlHiddenRenderer.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST77Low

org.apache.myfaces.renderkit.html.ext.HtmlSecretRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.renderkit.html.ext.HtmlSecretRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST65Low

org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIData to org.apache.myfaces.component.html.ext.HtmlDataTable in org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.beforeBody(FacesContext, UIData)STYLEBC_UNCONFIRMED_CAST307Low
Unchecked/unconfirmed cast from javax.faces.component.UIData to org.apache.myfaces.component.html.ext.HtmlDataTable in org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderColumnBody(FacesContext, ResponseWriter, UIData, UIComponent, HtmlTableRendererBase$Styles, int)STYLEBC_UNCONFIRMED_CAST664Low
Unchecked/unconfirmed cast from javax.faces.component.UIData to org.apache.myfaces.component.html.ext.HtmlDataTable in org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderRowStart(FacesContext, ResponseWriter, UIData, HtmlTableRendererBase$Styles, int)STYLEBC_UNCONFIRMED_CAST531Low
Primitive boxed just to call toString in org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderColumnBody(FacesContext, ResponseWriter, UIData, UIComponent, HtmlTableRendererBase$Styles, int)PERFORMANCEDM_BOXED_PRIMITIVE_TOSTRING704Low

org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST209Low

org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST64Low

org.apache.myfaces.renderkit.html.util.DefaultAddResource

BugCategoryDetailsLinePriority
Field DefaultAddResource.log masks field in superclass org.apache.myfaces.renderkit.html.util.NonBufferingAddResourceCORRECTNESSMF_CLASS_MASKS_FIELD79-824High
org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeResponse(HttpServletRequest, HttpServletResponse) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM488Medium

org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(FacesContext)STYLEREC_CATCH_EXCEPTION186Low

org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils

BugCategoryDetailsLinePriority
Can't close content since it is always null in org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.loadResourceFile(FacesContext, String)CORRECTNESSNP_CLOSING_NULL912High
Possible null pointer dereference of content in org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.loadResourceFile(FacesContext, String)CORRECTNESSNP_NULL_ON_SOME_PATH931Medium

org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils$1

BugCategoryDetailsLinePriority
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils$1 defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE58-65Medium

org.apache.myfaces.shared_tomahawk.renderkit.html.HTML

BugCategoryDetailsLinePriority
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY222High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY137High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY88High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONSELECT_AND_ONCHANGE is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY103High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY148High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY152High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY78High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.IMG_PASSTHROUGH_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY270High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.IMG_PASSTHROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY274High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.INPUT_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY284High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.INPUT_FILE_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY416High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY296High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY301High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.SELECT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY361High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.SELECT_TABLE_PASSTHROUGH_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY436High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.TABLE_PASSTHROUGH_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY387High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.UL_PASSTHROUGH_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY444High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.UNIVERSAL_ATTRIBUTES is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY124High
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.ANCHOR_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT199Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT212Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.ANCHOR_PASSTHROUGH_ATTRIBUTES_WITHOUT_STYLE should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT217Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.BUTTON_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT317Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT325Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.BUTTON_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT329Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_EVENT_ATTRIBUTES_WITHOUT_ONFOCUS should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT96Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT164Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT179Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS_AND_ONCLICK should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT174Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT156Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONCLICK_WITHOUT_STYLE should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT160Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT184Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONCLICK should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT55Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.EVENT_HANDLER_ATTRIBUTES_WITHOUT_ONMOUSEOVER_AND_ONMOUSEOUT should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT67Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.FORM_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT233Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.FORM_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT242Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.IMG_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT257Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.INPUT_FILE_UPLOAD_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT412Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.LABEL_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT340Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.MESSAGE_PASSTHROUGH_ATTRIBUTES_WITHOUT_TITLE_STYLE_AND_STYLE_CLASS should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT429Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.SELECT_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT355Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.TABLE_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT373Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.TEXTAREA_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT396Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.TEXTAREA_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT406Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.UL_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT440Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.UNIVERSAL_ATTRIBUTES_WITHOUT_STYLE should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT116Medium
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT142Low
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONFOCUS should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT169Low
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML.LABEL_PASSTHROUGH_ATTRIBUTES should be moved out of an interface and made package protectedMALICIOUS_CODEMS_OOI_PKGPROTECT347Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.model.SelectItem to javax.faces.model.SelectItemGroup in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase.renderGroupOrItemCheckbox(FacesContext, UIComponent, SelectItem, boolean, Set, Converter, boolean)STYLEBC_UNCONFIRMED_CAST177Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIForm in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase.decode(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST222Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIForm in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST98Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlListboxRendererBase

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlListboxRendererBase.encodeEnd(FacesContext, UIComponent), since all javax.faces.component.html.HtmlSelectOneListbox are instances of javax.faces.component.html.HtmlSelectOneListboxSTYLEBC_VACUOUS_INSTANCEOF68Medium

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectOne in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST59Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST300Low
Unchecked/unconfirmed cast from javax.faces.model.SelectItem to javax.faces.model.SelectItemGroup in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase.renderGroupOrItemRadio(FacesContext, UIComponent, SelectItem, Object, Converter, boolean)STYLEBC_UNCONFIRMED_CAST165Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.findUIOutputConverterFailSafe(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST376Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.findUISelectManyConverterFailsafe(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST362Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(boolean, UIComponent, FacesContext, Converter)STYLEBC_UNCONFIRMED_CAST335Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectOne in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.getSubmittedOrSelectedValuesAsSet(boolean, UIComponent, FacesContext, Converter)STYLEBC_UNCONFIRMED_CAST342Low
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.DEFAULT_CHAR_ENCODING isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL1346Low
Method call in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.renderDisplayValueOnlyForSelects(FacesContext, UIComponent) passes null for nonnull parameter of renderSelectOptionsAsText(FacesContext, UIComponent, Converter, Set, List, boolean)CORRECTNESSNP_NULL_PARAM_DEREF668Medium

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE117Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE189Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE263Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE359Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlSecretRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlSecretRendererBase.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST106Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeBegin(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST105Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeChildren(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST133Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeEnd(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST544Low
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(FacesContext, UIComponent)STYLEBC_UNCONFIRMED_CAST215Low
Redundant nullcheck of elemName, which is known to be non-null in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.renderFacet(FacesContext, ResponseWriter, UIComponent, boolean)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE628Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST191Low

org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextareaRendererBase

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIOutput in org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextareaRendererBase.getConvertedValue(FacesContext, UIComponent, Object)STYLEBC_UNCONFIRMED_CAST92Low

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

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE149Low
Switch statement found in org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils.encodeString(String) where default case is missingSTYLESF_SWITCH_NO_DEFAULT206-208Low

org.apache.myfaces.shared_tomahawk.taglib.html.HtmlColumnTag

BugCategoryDetailsLinePriority
Dead store to comp in org.apache.myfaces.shared_tomahawk.taglib.html.HtmlColumnTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE58Medium
Dead store to context in org.apache.myfaces.shared_tomahawk.taglib.html.HtmlColumnTag.setProperties(UIComponent)STYLEDLS_DEAD_LOCAL_STORE62Medium

org.apache.myfaces.shared_tomahawk.test.ClassElementHandler

BugCategoryDetailsLinePriority
ClassElementHandler.buffer not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow

org.apache.myfaces.shared_tomahawk.util.ExceptionUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.ExceptionUtils.getExceptions(Throwable)STYLEREC_CATCH_EXCEPTION59Low

org.apache.myfaces.shared_tomahawk.util.LocaleUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.LocaleUtils.converterTagLocaleFromString(String)STYLEREC_CATCH_EXCEPTION136Low

org.apache.myfaces.shared_tomahawk.util.MessageUtils

BugCategoryDetailsLinePriority
Method call in org.apache.myfaces.shared_tomahawk.util.MessageUtils.getMessageFromBundle(String, String, Object[]) passes null for nonnull parameter of getMessageFromBundle(String, FacesContext, Locale, String, Object[])CORRECTNESSNP_NULL_PARAM_DEREF263Medium
Redundant comparison of non-null value to null in org.apache.myfaces.shared_tomahawk.util.MessageUtils.getMessage(String, FacesContext, String, Object[])STYLERCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE588Low
Redundant comparison of non-null value to null in org.apache.myfaces.shared_tomahawk.util.MessageUtils.getMessage(FacesContext, String, Object[])STYLERCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE568Low
Redundant nullcheck of message, which is known to be non-null in org.apache.myfaces.shared_tomahawk.util.MessageUtils.getMessage(String, FacesContext, String, Object[])STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE591Low
Redundant nullcheck of message, which is known to be non-null in org.apache.myfaces.shared_tomahawk.util.MessageUtils.getMessage(FacesContext, String, Object[])STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE571Low

org.apache.myfaces.shared_tomahawk.util.ParametrizableFacesMessage

BugCategoryDetailsLinePriority
new org.apache.myfaces.shared_tomahawk.util.ParametrizableFacesMessage(String, String, Object[], Locale) may expose internal representation by storing an externally mutable object into ParametrizableFacesMessage._argsMALICIOUS_CODEEI_EXPOSE_REP254Medium
new org.apache.myfaces.shared_tomahawk.util.ParametrizableFacesMessage(FacesMessage$Severity, String, String, Object[], Locale) may expose internal representation by storing an externally mutable object into ParametrizableFacesMessage._argsMALICIOUS_CODEEI_EXPOSE_REP263Medium
The field org.apache.myfaces.shared_tomahawk.util.ParametrizableFacesMessage._evaluatedArgs is transient but isn't set by deserializationBAD_PRACTICESE_TRANSIENT_FIELD_NOT_RESTOREDNot availableLow

org.apache.myfaces.shared_tomahawk.util.StateUtils

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.shared_tomahawk.util.StateUtils.getMacSecret(ExternalContext), since all javax.crypto.SecretKey are instances of javax.crypto.SecretKeySTYLEBC_VACUOUS_INSTANCEOF930Medium
instanceof will always return true in org.apache.myfaces.shared_tomahawk.util.StateUtils.getSecret(ExternalContext), since all javax.crypto.SecretKey are instances of javax.crypto.SecretKeySTYLEBC_VACUOUS_INSTANCEOF785Medium
Dead store of null to baos in org.apache.myfaces.shared_tomahawk.util.StateUtils.compress(byte[])STYLEDLS_DEAD_LOCAL_STORE_OF_NULL346Low
Dead store of null to gzip in org.apache.myfaces.shared_tomahawk.util.StateUtils.compress(byte[])STYLEDLS_DEAD_LOCAL_STORE_OF_NULL345Low
Dead store of null to bais in org.apache.myfaces.shared_tomahawk.util.StateUtils.decompress(byte[])STYLEDLS_DEAD_LOCAL_STORE_OF_NULL417Low
Dead store of null to baos in org.apache.myfaces.shared_tomahawk.util.StateUtils.decompress(byte[])STYLEDLS_DEAD_LOCAL_STORE_OF_NULL416Low
Dead store of null to gis in org.apache.myfaces.shared_tomahawk.util.StateUtils.decompress(byte[])STYLEDLS_DEAD_LOCAL_STORE_OF_NULL418Low
Dead store of null to outputStream in org.apache.myfaces.shared_tomahawk.util.StateUtils.getAsByteArray(Object, ExternalContext)STYLEDLS_DEAD_LOCAL_STORE_OF_NULL274Low
Dead store of null to writer in org.apache.myfaces.shared_tomahawk.util.StateUtils.getAsByteArray(Object, ExternalContext)STYLEDLS_DEAD_LOCAL_STORE_OF_NULL273Low
Random object created and used only once in org.apache.myfaces.shared_tomahawk.util.StateUtils.findMacSecret(String, String)BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE980High
Random object created and used only once in org.apache.myfaces.shared_tomahawk.util.StateUtils.findSecret(String, String)BAD_PRACTICEDMI_RANDOM_USED_ONLY_ONCE835High
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE661Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE673Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE639Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE624Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE855Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE868Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE944Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE956Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE799Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE811Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE901Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE756Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE718Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE189Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.StateUtils.decrypt(byte[], ExternalContext)STYLEREC_CATCH_EXCEPTION484Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.StateUtils.encrypt(byte[], ExternalContext)STYLEREC_CATCH_EXCEPTION328Low
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.StateUtils.getAsObject(byte[], ExternalContext)STYLEREC_CATCH_EXCEPTION546Low

org.apache.myfaces.shared_tomahawk.util.StringUtils

BugCategoryDetailsLinePriority
Should org.apache.myfaces.shared_tomahawk.util.StringUtils.trim(String[]) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS685Low

org.apache.myfaces.shared_tomahawk.util._Constants

BugCategoryDetailsLinePriority
Redundant nullcheck of ret, which is known to be non-null in org.apache.myfaces.shared_tomahawk.util._Constants.getStringResource(String)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE185Low

org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet.doGet(HttpServletRequest, HttpServletResponse)STYLEREC_CATCH_EXCEPTION87Low
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet is Serializable; consider declaring a serialVersionUIDBAD_PRACTICESE_NO_SERIALVERSIONID26-121Low

org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXmlParser

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXmlParser.parse()STYLEREC_CATCH_EXCEPTION112Low

org.apache.myfaces.tomahawk.util.ExternalContextUtils

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ExternalContextUtils.getContentLength(ExternalContext)STYLEREC_CATCH_EXCEPTION73Low
Exception is caught when Exception is not thrown in org.apache.myfaces.tomahawk.util.ExternalContextUtils.getRequestInputStream(ExternalContext)STYLEREC_CATCH_EXCEPTION103Low

org.apache.myfaces.validator.AttachedListStateWrapper

BugCategoryDetailsLinePriority
Class org.apache.myfaces.validator.AttachedListStateWrapper defines non-transient non-serializable instance field _wrappedStateListBAD_PRACTICESE_BAD_FIELDNot availableLow

org.apache.myfaces.webapp.filter.ExtensionsFilter

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.servlet.ServletRequest to javax.servlet.http.HttpServletRequest in org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ServletRequest, ServletResponse, FilterChain)STYLEBC_UNCONFIRMED_CAST299Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE254Low
Load of known null value in org.apache.myfaces.webapp.filter.ExtensionsFilter.init(FilterConfig)STYLENP_LOAD_OF_KNOWN_NULL_VALUE236Medium

org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper$MyServletOutputStream

BugCategoryDetailsLinePriority
Should org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper$MyServletOutputStream be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC128-142Medium

org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.servlet.ServletRequest to javax.servlet.http.HttpServletRequest in org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter.doFilter(ServletRequest, ServletResponse, FilterChain)STYLEBC_UNCONFIRMED_CAST54Low
Unchecked/unconfirmed cast from javax.servlet.ServletResponse to javax.servlet.http.HttpServletResponse in org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter.doFilter(ServletRequest, ServletResponse, FilterChain)STYLEBC_UNCONFIRMED_CAST55Low
HTTP parameter directly written to HTTP header output in org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter.doFilter(ServletRequest, ServletResponse, FilterChain)SECURITYHRS_REQUEST_PARAMETER_TO_HTTP_HEADER59Medium

org.apache.myfaces.webapp.filter.MultipartRequestWrapper

BugCategoryDetailsLinePriority
Should org.apache.myfaces.webapp.filter.MultipartRequestWrapper.getParameterValues(String) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS305Low

org.apache.myfaces.webapp.filter.MultipartRequestWrapperConfig

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE57Low
Load of known null value in org.apache.myfaces.webapp.filter.MultipartRequestWrapperConfig.getMultipartRequestWrapperConfig(ExternalContext)STYLENP_LOAD_OF_KNOWN_NULL_VALUE173Medium

org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper

BugCategoryDetailsLinePriority
Dead store to oldResponse in org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.release()STYLEDLS_DEAD_LOCAL_STORE348Medium

org.apache.myfaces.webapp.filter.WelcomeFileFilter

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.servlet.ServletRequest to javax.servlet.http.HttpServletRequest in org.apache.myfaces.webapp.filter.WelcomeFileFilter.doFilter(ServletRequest, ServletResponse, FilterChain)STYLEBC_UNCONFIRMED_CAST100Low
Exception is caught when Exception is not thrown in org.apache.myfaces.webapp.filter.WelcomeFileFilter.init(FilterConfig)STYLEREC_CATCH_EXCEPTION209Low

org.apache.myfaces.webapp.filter.WelcomeFileHandler

BugCategoryDetailsLinePriority
org.apache.myfaces.webapp.filter.WelcomeFileHandler.getWelcomeFiles() may expose internal representation by returning WelcomeFileHandler.filesMALICIOUS_CODEEI_EXPOSE_REP63Medium
WelcomeFileHandler.welcomeFiles not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot availableLow

org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload

BugCategoryDetailsLinePriority
Nullcheck of fileItem at line 205 of value previously dereferenced in org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload.parseRequestCatchingFileSizeErrors(ActionRequest, FileUpload)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE205Medium

org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.webapp.filter.portlet.PortletChacheFileSizeErrorsFileUpload$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON176-180Low

org.apache.myfaces.webapp.filter.portlet.PortletExternalContextWrapper$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.webapp.filter.portlet.PortletExternalContextWrapper$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON201-211Low

org.apache.myfaces.webapp.filter.portlet.SessionMap

BugCategoryDetailsLinePriority
Method org.apache.myfaces.webapp.filter.portlet.SessionMap.getAttribute(String) invokes toString() method on a StringPERFORMANCEDM_STRING_TOSTRING54Low

org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload

BugCategoryDetailsLinePriority
Nullcheck of fileItem at line 204 of value previously dereferenced in org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload.parseRequestCatchingFileSizeErrors(HttpServletRequest, FileUpload)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE204Medium

org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.webapp.filter.servlet.ServletChacheFileSizeErrorsFileUpload$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON175-179Low

org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON220-230Low

org.apache.myfaces.webapp.filter.servlet.SessionMap

BugCategoryDetailsLinePriority
Method org.apache.myfaces.webapp.filter.servlet.SessionMap.getAttribute(String) invokes toString() method on a StringPERFORMANCEDM_STRING_TOSTRING54Low