Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
1831 368 0 0

Files

Class Bugs
org.apache.myfaces.component.html.ext.AbstractHtmlDataTable 2
org.apache.myfaces.component.html.ext.AbstractHtmlSelectManyCheckbox 1
org.apache.myfaces.component.html.ext.BaseSortableModel$IntList 2
org.apache.myfaces.component.html.ext.BaseSortableModel$RowDataComparator 1
org.apache.myfaces.component.html.ext.HtmlDataTableHack 1
org.apache.myfaces.component.html.ext.HtmlDataTableHack$EditableValueHolderState 1
org.apache.myfaces.component.html.ext.HtmlInputSecret 1
org.apache.myfaces.component.html.ext.HtmlInputText 1
org.apache.myfaces.component.html.ext.HtmlInputTextarea 1
org.apache.myfaces.component.html.ext.HtmlPanelGrid 1
org.apache.myfaces.component.html.ext.HtmlPanelGroup 1
org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox 1
org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox 1
org.apache.myfaces.component.html.ext.HtmlSelectManyListbox 1
org.apache.myfaces.component.html.ext.HtmlSelectManyMenu 1
org.apache.myfaces.component.html.ext.HtmlSelectOneListbox 1
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu 1
org.apache.myfaces.component.html.ext.HtmlSelectOneRadio 1
org.apache.myfaces.component.html.ext.SortCriterion 1
org.apache.myfaces.component.html.ext.SortableModel$Comp 2
org.apache.myfaces.component.html.ext.SortableModel$Inverter 1
org.apache.myfaces.component.html.ext.UIComponentPerspective 1
org.apache.myfaces.component.html.ext._SerializableDataModel 1
org.apache.myfaces.component.html.util.MultipartFilter 2
org.apache.myfaces.custom.buffer.BufferRenderer 2
org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar 1
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer 3
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$1 1
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent 3
org.apache.myfaces.custom.captcha.CAPTCHARenderer 1
org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator 1
org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator 1
org.apache.myfaces.custom.captcha.util.ColorGenerator 1
org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer 2
org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag 2
org.apache.myfaces.custom.crosstable.HtmlColumns 3
org.apache.myfaces.custom.crosstable.HtmlColumnsTag 1
org.apache.myfaces.custom.crosstable.UIColumns$EditableValueHolderState 1
org.apache.myfaces.custom.datalist.HtmlListRenderer 1
org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller 2
org.apache.myfaces.custom.datascroller.HtmlDataScroller 1
org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer 3
org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData 1
org.apache.myfaces.custom.date.HtmlDateRenderer 2
org.apache.myfaces.custom.date.HtmlDateRenderer$1 1
org.apache.myfaces.custom.div.DivRenderer 1
org.apache.myfaces.custom.document.AbstractDocumentRenderer 2
org.apache.myfaces.custom.document.AbstractDocumentTag 1
org.apache.myfaces.custom.document.DocumentHeadTag 2
org.apache.myfaces.custom.document.DocumentTag 2
org.apache.myfaces.custom.dojo.DojoConfig 1
org.apache.myfaces.custom.dojo.DojoInitializerRenderer 1
org.apache.myfaces.custom.dojo.DojoUtils 5
org.apache.myfaces.custom.emailvalidator.ValidateEmailTag 1
org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator 1
org.apache.myfaces.custom.equalvalidator.ValidateEqualTag 1
org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer 2
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl 4
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl 4
org.apache.myfaces.custom.htmlTag.HtmlTagRenderer 2
org.apache.myfaces.custom.inputHtml.InputHtml 1
org.apache.myfaces.custom.inputHtml.InputHtmlRenderer 3
org.apache.myfaces.custom.jslistener.JsValueChangeListenerRenderer 1
org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetRenderer 1
org.apache.myfaces.custom.layout.HtmlLayoutRenderer 1
org.apache.myfaces.custom.layout.HtmlPanelLayoutTag 1
org.apache.myfaces.custom.navigation.AbstractHtmlPanelNavigation 1
org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag 2
org.apache.myfaces.custom.navigation.HtmlNavigationRenderer 1
org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag 2
org.apache.myfaces.custom.navmenu.NavigationMenuUtils 1
org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu 2
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer 1
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer 3
org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer 9
org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer 1
org.apache.myfaces.custom.picklist.HtmlPicklistRenderer 2
org.apache.myfaces.custom.popup.HtmlPopup 4
org.apache.myfaces.custom.popup.HtmlPopupRenderer 2
org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag 1
org.apache.myfaces.custom.savestate.SaveStateTag 2
org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer 1
org.apache.myfaces.custom.schedule.AbstractHtmlSchedule 1
org.apache.myfaces.custom.schedule.AbstractScheduleRenderer 2
org.apache.myfaces.custom.schedule.HtmlSchedule 1
org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer 2
org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer 2
org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer 7
org.apache.myfaces.custom.schedule.ScheduleMouseEvent 1
org.apache.myfaces.custom.schedule.UISchedule 6
org.apache.myfaces.custom.schedule.UIScheduleBase 2
org.apache.myfaces.custom.schedule.model.AbstractScheduleModel 3
org.apache.myfaces.custom.schedule.model.Day 4
org.apache.myfaces.custom.schedule.model.DefaultScheduleEntry 4
org.apache.myfaces.custom.schedule.model.HalfHourInterval 1
org.apache.myfaces.custom.schedule.model.Interval 7
org.apache.myfaces.custom.schedule.model.ScheduleDay 1
org.apache.myfaces.custom.schedule.model.SimpleScheduleModel 1
org.apache.myfaces.custom.selectOneCountry.AbstractSelectOneCountry 2
org.apache.myfaces.custom.selectOneCountry.SelectOneCountry 1
org.apache.myfaces.custom.selectOneCountry.SelectOneCountryRenderer 1
org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag 1
org.apache.myfaces.custom.selectOneLanguage.AbstractSelectOneLanguage 4
org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguage 1
org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageRenderer 1
org.apache.myfaces.custom.selectitems.AbstractUISelectItems 1
org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer 1
org.apache.myfaces.custom.stylesheet.StylesheetRenderer 1
org.apache.myfaces.custom.stylesheet.TextResourceFilter 2
org.apache.myfaces.custom.subform.SubForm 2
org.apache.myfaces.custom.subform.SubFormRenderer 1
org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane 1
org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer 2
org.apache.myfaces.custom.tabbedpane.TabChangeEvent 1
org.apache.myfaces.custom.tree.DefaultMutableTreeNode 1
org.apache.myfaces.custom.tree.HtmlTree$ModelListener 1
org.apache.myfaces.custom.tree.HtmlTreeNode 2
org.apache.myfaces.custom.tree.event.TreeSelectionEvent 1
org.apache.myfaces.custom.tree.model.DefaultTreeModel 2
org.apache.myfaces.custom.tree.model.TreeModelEvent 4
org.apache.myfaces.custom.tree.model.TreePath 1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeCheckboxRenderer 1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeNodeRenderer 1
org.apache.myfaces.custom.tree.renderkit.html.HtmlTreeRenderer 1
org.apache.myfaces.custom.tree.taglib.TreeColumnTag 2
org.apache.myfaces.custom.tree2.HtmlTreeRenderer 3
org.apache.myfaces.custom.tree2.ToggleExpandedEvent 1
org.apache.myfaces.custom.tree2.TreeNodeBase 1
org.apache.myfaces.custom.tree2.TreeWalkerBase 1
org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTagHandler 1
org.apache.myfaces.dateformat.DateFormatSymbols 2
org.apache.myfaces.dateformat.SimpleDateFormatter 8
org.apache.myfaces.generated.taglib.html.ext.HtmlInputHiddenTag 1
org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer 1
org.apache.myfaces.renderkit.html.ext.HtmlHiddenRenderer 1
org.apache.myfaces.renderkit.html.ext.HtmlSecretRenderer 1
org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer 4
org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer 1
org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer 1
org.apache.myfaces.renderkit.html.util.DefaultAddResource 2
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener 1
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils 2
org.apache.myfaces.shared_tomahawk.renderkit.html.HTML 44
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlCheckboxRendererBase 1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlFormRendererBase 2
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRadioRendererBase 3
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils 6
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl 4
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlSecretRendererBase 1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase 5
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase 1
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextareaRendererBase 1
org.apache.myfaces.shared_tomahawk.renderkit.html.util.JavascriptUtils 1
org.apache.myfaces.shared_tomahawk.taglib.html.HtmlColumnTag 2
org.apache.myfaces.shared_tomahawk.test.ClassElementHandler 1
org.apache.myfaces.shared_tomahawk.util.ExceptionUtils 1
org.apache.myfaces.shared_tomahawk.util.LocaleUtils 1
org.apache.myfaces.shared_tomahawk.util.MessageUtils 2
org.apache.myfaces.shared_tomahawk.util.SelectItemsIterator 1
org.apache.myfaces.shared_tomahawk.util.StateUtils 14
org.apache.myfaces.shared_tomahawk.util.StringUtils 1
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet 2
org.apache.myfaces.shared_tomahawk.webapp.webxml.WebXmlParser 2
org.apache.myfaces.tomahawk.util.ExternalContextUtils 2
org.apache.myfaces.webapp.filter.ExtensionsFilter 3
org.apache.myfaces.webapp.filter.ExtensionsFilterConfig$ExtensionsFilterConfigParser 3
org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper$MyServletOutputStream 1
org.apache.myfaces.webapp.filter.JavaScriptDetectorFilter 2
org.apache.myfaces.webapp.filter.ServeResourcePhaseListener 1
org.apache.myfaces.webapp.filter.WelcomeFileFilter 2
org.apache.myfaces.webapp.filter.WelcomeFileHandler 2
org.apache.myfaces.webapp.filter.portlet.PortletExternalContextWrapper$1 1
org.apache.myfaces.webapp.filter.portlet.SessionMap 1
org.apache.myfaces.webapp.filter.servlet.ServletExternalContextWrapper$1 1
org.apache.myfaces.webapp.filter.servlet.SessionMap 1

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

Bug Category Details Line
Comparison of String objects using == or != in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.getRowStyle() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1262
Comparison of String objects using == or != in org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.getRowStyleClass() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 1233

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

Bug Category Details Line
Private method org.apache.myfaces.component.html.ext.AbstractHtmlSelectManyCheckbox.booleanFromObject(Object, boolean) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 99-108

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

Bug Category Details Line
Class org.apache.myfaces.component.html.ext.BaseSortableModel$IntList implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available
org.apache.myfaces.component.html.ext.BaseSortableModel$IntList is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

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

Bug Category Details Line
org.apache.myfaces.component.html.ext.BaseSortableModel$RowDataComparator implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE Not available

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

Bug Category Details Line
Private method org.apache.myfaces.component.html.ext.HtmlDataTableHack.booleanFromObject(Object, boolean) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 641-650

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

Bug Category Details Line
Should org.apache.myfaces.component.html.ext.HtmlDataTableHack$EditableValueHolderState be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputSecret.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputText.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 111

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlInputTextarea.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 87

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlPanelGrid.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 64

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlPanelGroup.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 319

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectBooleanCheckbox.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyCheckbox.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 87

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyListbox.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectManyMenu.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneListbox.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneMenu.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.component.html.ext.HtmlSelectOneRadio.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 66

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

Bug Category Details Line
org.apache.myfaces.component.html.ext.SortCriterion is Serializable; consider declaring a serialVersionUID BAD_PRACTICE SE_NO_SERIALVERSIONID Not available

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

Bug Category Details Line
org.apache.myfaces.component.html.ext.SortableModel$Comp implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE Not available
Should org.apache.myfaces.component.html.ext.SortableModel$Comp be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

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

Bug Category Details Line
org.apache.myfaces.component.html.ext.SortableModel$Inverter implements Comparator but not Serializable BAD_PRACTICE SE_COMPARATOR_SHOULD_BE_SERIALIZABLE Not available

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

Bug Category Details Line
Confusing to have methods org.apache.myfaces.component.html.ext.UIComponentPerspective.getUiData() and org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.getUIData() BAD_PRACTICE NM_CONFUSING 66

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

Bug Category Details Line
The field org.apache.myfaces.component.html.ext._SerializableDataModel._rowIndex is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available

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

Bug Category Details Line
Unchecked/unconfirmed cast from javax.servlet.ServletRequest to javax.servlet.http.HttpServletRequest in org.apache.myfaces.component.html.util.MultipartFilter.doFilter(ServletRequest, ServletResponse, FilterChain) STYLE BC_UNCONFIRMED_CAST 101
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 69

org.apache.myfaces.custom.buffer.BufferRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 64
Exception is caught when Exception is not thrown in org.apache.myfaces.custom.buffer.BufferRenderer.encodeEnd(FacesContext, UIComponent) STYLE REC_CATCH_EXCEPTION 76

org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar

Bug Category Details Line
Class org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.calendar.HtmlCalendarRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 115
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIInput in org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.getConvertedValue(FacesContext, UIComponent, Object) STYLE BC_UNCONFIRMED_CAST 1075
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) STYLE BC_UNCONFIRMED_CAST 847

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

Bug Category Details Line
The class org.apache.myfaces.custom.calendar.HtmlCalendarRenderer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent

Bug Category Details Line
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.COMPONENT_FAMILY isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 36
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.COMPONENT_TYPE isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 35
org.apache.myfaces.custom.captcha.AbstractCAPTCHAComponent.DEFAULT_RENDERER_TYPE isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 37

org.apache.myfaces.custom.captcha.CAPTCHARenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 66

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

Bug Category Details Line
int division result cast to double or float in org.apache.myfaces.custom.captcha.util.CAPTCHAImageGenerator.getDelta(int, double, double, double) STYLE ICAST_IDIV_CAST_TO_DOUBLE 226

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

Bug Category Details Line
Method org.apache.myfaces.custom.captcha.util.CAPTCHATextGenerator.generateRandomText() concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 56

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

Bug Category Details Line
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 efficient PERFORMANCE DM_NEXTINT_VIA_NEXTDOUBLE 41

org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 129
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) STYLE BC_UNCONFIRMED_CAST 62

org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 55
Dead store to context in org.apache.myfaces.custom.collapsiblepanel.HtmlHeaderLinkTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59

org.apache.myfaces.custom.crosstable.HtmlColumns

Bug Category Details Line
Confusing to have methods org.apache.myfaces.custom.crosstable.HtmlColumns.getFooterstyle() and org.apache.myfaces.custom.layout.HtmlPanelLayout.getFooterStyle() BAD_PRACTICE NM_CONFUSING 422-431
Confusing to have methods org.apache.myfaces.custom.crosstable.HtmlColumns.getHeaderstyle() and org.apache.myfaces.custom.layout.HtmlPanelLayout.getHeaderStyle() BAD_PRACTICE NM_CONFUSING 737-746
Class org.apache.myfaces.custom.crosstable.HtmlColumns implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.crosstable.HtmlColumnsTag

Bug Category Details Line
Confusing to have methods org.apache.myfaces.custom.crosstable.HtmlColumnsTag.setHeaderstyle(String) and org.apache.myfaces.custom.layout.HtmlPanelLayout.setHeaderStyle(String) BAD_PRACTICE NM_CONFUSING 274-275

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

Bug Category Details Line
Should org.apache.myfaces.custom.crosstable.UIColumns$EditableValueHolderState be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available

org.apache.myfaces.custom.datalist.HtmlListRenderer

Bug Category Details Line
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UIData in org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 119

org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller

Bug Category Details Line
Dead store to rows in org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.getPageCount() STYLE DLS_DEAD_LOCAL_STORE 445
Redundant nullcheck of uiData, which is known to be non-null in org.apache.myfaces.custom.datascroller.AbstractHtmlDataScroller.broadcast(FacesEvent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 258

org.apache.myfaces.custom.datascroller.HtmlDataScroller

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.datascroller.HtmlDataScroller.getDisplayValueOnly() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 695

org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 184
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) STYLE BC_UNCONFIRMED_CAST 201
Redundant nullcheck of ?, which is known to be non-null in org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer.encodeEnd(FacesContext, UIComponent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 203

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

Bug Category Details Line
Potentially dangerous use of non-short-circuit logic in org.apache.myfaces.custom.date.AbstractHtmlInputDate$UserData.parse() CORRECTNESS NS_DANGEROUS_NON_SHORT_CIRCUIT 158

org.apache.myfaces.custom.date.HtmlDateRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 333
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) STYLE BC_UNCONFIRMED_CAST 86

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

Bug Category Details Line
The class org.apache.myfaces.custom.date.HtmlDateRenderer$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

org.apache.myfaces.custom.div.DivRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 56

org.apache.myfaces.custom.document.AbstractDocumentRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 47
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) STYLE BC_UNCONFIRMED_CAST 77

org.apache.myfaces.custom.document.AbstractDocumentTag

Bug Category Details Line
Dead store to context in org.apache.myfaces.custom.document.AbstractDocumentTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 65

org.apache.myfaces.custom.document.DocumentHeadTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.document.DocumentHeadTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 54
Dead store to context in org.apache.myfaces.custom.document.DocumentHeadTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 58

org.apache.myfaces.custom.document.DocumentTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.document.DocumentTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 54
Dead store to context in org.apache.myfaces.custom.document.DocumentTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 58

org.apache.myfaces.custom.dojo.DojoConfig

Bug Category Details Line
org.apache.myfaces.custom.dojo.DojoConfig.ATTR_DOJO_TYPE isn't final but should be MALICIOUS_CODE MS_SHOULD_BE_FINAL 54

org.apache.myfaces.custom.dojo.DojoInitializerRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 75

org.apache.myfaces.custom.dojo.DojoUtils

Bug Category Details Line
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 118
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 131
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 127
Redundant nullcheck of m, which is known to be non-null in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 136
Exception is caught when Exception is not thrown in org.apache.myfaces.custom.dojo.DojoUtils.getAttributeMap(FacesContext, String[], UIComponent) STYLE REC_CATCH_EXCEPTION 142

org.apache.myfaces.custom.emailvalidator.ValidateEmailTag

Bug Category Details Line
Dead store to facesContext in org.apache.myfaces.custom.emailvalidator.ValidateEmailTag.createValidator() STYLE DLS_DEAD_LOCAL_STORE 41

org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator

Bug Category Details Line
Redundant nullcheck of foreignValue, which is known to be non-null in org.apache.myfaces.custom.equalvalidator.AbstractEqualValidator.validate(FacesContext, UIComponent, Object) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 127

org.apache.myfaces.custom.equalvalidator.ValidateEqualTag

Bug Category Details Line
org.apache.myfaces.custom.equalvalidator.ValidateEqualTag.createValidator() invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 56

org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer

Bug Category Details Line
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.custom.fileupload.HtmlInputFileUpload in org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer.decode(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 127
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) STYLE BC_UNCONFIRMED_CAST 68

org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl

Bug Category Details Line
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl.getBytes() ignores result of java.io.InputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 66
Class org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl defines non-transient non-serializable instance field storageStrategy BAD_PRACTICE SE_BAD_FIELD Not available
org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl$1 stored into non-transient field UploadedFileDefaultFileImpl.storageStrategy BAD_PRACTICE SE_BAD_FIELD_STORE 44
The field org.apache.myfaces.custom.fileupload.UploadedFileDefaultFileImpl.fileItem is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available

org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl

Bug Category Details Line
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl.getBytes() may expose internal representation by returning UploadedFileDefaultMemoryImpl.bytes MALICIOUS_CODE EI_EXPOSE_REP 63
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl.UploadedFileDefaultMemoryImpl(FileItem) ignores result of java.io.InputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 44
Class org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl defines non-transient non-serializable instance field storageStrategy BAD_PRACTICE SE_BAD_FIELD Not available
org.apache.myfaces.custom.fileupload.UploadedFileDefaultMemoryImpl$1 stored into non-transient field UploadedFileDefaultMemoryImpl.storageStrategy BAD_PRACTICE SE_BAD_FIELD_STORE 45

org.apache.myfaces.custom.htmlTag.HtmlTagRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 51
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) STYLE BC_UNCONFIRMED_CAST 77

org.apache.myfaces.custom.inputHtml.InputHtml

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

org.apache.myfaces.custom.inputHtml.InputHtmlRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 1328
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) STYLE BC_UNCONFIRMED_CAST 83
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) STYLE BC_UNCONFIRMED_CAST 1347

org.apache.myfaces.custom.jslistener.JsValueChangeListenerRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 55

org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 122

org.apache.myfaces.custom.layout.HtmlLayoutRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 69

org.apache.myfaces.custom.layout.HtmlPanelLayoutTag

Bug Category Details Line
Confusing to have methods org.apache.myfaces.custom.layout.HtmlPanelLayoutTag.setFooterStyle(String) and org.apache.myfaces.custom.crosstable.HtmlColumns.setFooterstyle(String) BAD_PRACTICE NM_CONFUSING 106-107

org.apache.myfaces.custom.navigation.AbstractHtmlPanelNavigation

Bug Category Details Line
Class org.apache.myfaces.custom.navigation.AbstractHtmlPanelNavigation implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 55
Dead store to context in org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 59

org.apache.myfaces.custom.navigation.HtmlNavigationRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 100

org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 54
Dead store to context in org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 58

org.apache.myfaces.custom.navmenu.NavigationMenuUtils

Bug Category Details Line
Nullcheck of child at line 111 of value previously dereferenced in org.apache.myfaces.custom.navmenu.NavigationMenuUtils.getNavigationMenuItemList(UIComponent) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 111

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

Bug Category Details Line
Redundant nullcheck of prevItem, which is known to be non-null in org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu.restoreOpenActiveStates(FacesContext, UIViewRoot, List) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 118
Class org.apache.myfaces.custom.navmenu.htmlnavmenu.AbstractHtmlPanelNavigationMenu implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

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

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 101

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

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 109
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) STYLE BC_UNCONFIRMED_CAST 356
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) STYLE BC_UNCONFIRMED_CAST 368

org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 59
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) STYLE BC_UNCONFIRMED_CAST 74
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) STYLE BC_UNCONFIRMED_CAST 161
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.HtmlDataTable STYLE BC_VACUOUS_INSTANCEOF 336
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.HtmlDataTable STYLE BC_VACUOUS_INSTANCEOF 326
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.HtmlDataTable STYLE BC_VACUOUS_INSTANCEOF 349
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getFooterClass(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 336
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getHeaderClass(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 326
Method org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.getStyles(HtmlNewspaperTable) does an unnecessary type check using instanceof operator when it can be determined statically CORRECTNESS SIO_SUPERFLUOUS_INSTANCEOF 349

org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 62

org.apache.myfaces.custom.picklist.HtmlPicklistRenderer

Bug Category Details Line
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.custom.picklist.HtmlPicklistRenderer.encodeEnd(FacesContext, UIComponent) STYLE BC_UNCONFIRMED_CAST 147
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) STYLE BC_UNCONFIRMED_CAST 122

org.apache.myfaces.custom.popup.HtmlPopup

Bug Category Details Line
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingElement() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 156
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getClosePopupOnExitingPopup() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 181
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getDisplayAtDistanceX() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 106
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.custom.popup.HtmlPopup.getDisplayAtDistanceY() STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 131

org.apache.myfaces.custom.popup.HtmlPopupRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 68
org.apache.myfaces.custom.popup.HtmlPopupRenderer.encodeEnd(FacesContext, UIComponent) invokes inefficient new String(String) constructor PERFORMANCE DM_STRING_CTOR 95

org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag

Bug Category Details Line
Dead store to facesContext in org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag.createValidator() STYLE DLS_DEAD_LOCAL_STORE 48

org.apache.myfaces.custom.savestate.SaveStateTag

Bug Category Details Line
Dead store to comp in org.apache.myfaces.custom.savestate.SaveStateTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 54
Dead store to context in org.apache.myfaces.custom.savestate.SaveStateTag.setProperties(UIComponent) STYLE DLS_DEAD_LOCAL_STORE 58

org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer

Bug Category Details Line
Class org.apache.myfaces.custom.schedule.AbstractCompactScheduleRenderer implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.schedule.AbstractHtmlSchedule

Bug Category Details Line
Class org.apache.myfaces.custom.schedule.AbstractHtmlSchedule implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.schedule.AbstractScheduleRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 73
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) STYLE BC_UNCONFIRMED_CAST 152

org.apache.myfaces.custom.schedule.HtmlSchedule

Bug Category Details Line
Class org.apache.myfaces.custom.schedule.HtmlSchedule implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 71
Class org.apache.myfaces.custom.schedule.ScheduleCompactMonthRenderer implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 68
Class org.apache.myfaces.custom.schedule.ScheduleCompactWeekRenderer implements same interface as superclass STYLE RI_REDUNDANT_INTERFACES Not available

org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer

Bug Category Details Line
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) STYLE BC_UNCONFIRMED_CAST 81
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) STYLE BC_UNCONFIRMED_CAST 115
int division result cast to double or float in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.writeBackgroundStart(FacesContext, HtmlSchedule, ResponseWriter) STYLE ICAST_IDIV_CAST_TO_DOUBLE 421
int division result cast to double or float in org.apache.myfaces.custom.schedule.ScheduleDetailedDayRenderer.writeEntries(FacesContext, HtmlSchedule, ScheduleDay, ResponseWriter) STYLE