FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.8
Threshold is Low
Effort is Max
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 1508 | 189 | 0 | 0 |
Files
org.apache.myfaces.tobago.component.AbstractUIMessages$ItemComparator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.AbstractUIMessages$ItemComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 114-116 | Medium |
org.apache.myfaces.tobago.component.AbstractUIMessages$OrderBy
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 139 | Low |
org.apache.myfaces.tobago.component.AbstractUIPage
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.AbstractUIPage.markSubmittedForm(FacesContext) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 174 | Medium |
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPage.encodeBegin(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 93 | Low |
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPage.encodeChildren(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 105 | Low |
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPage.encodeEnd(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 118 | Low |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.component.AbstractUIPage.markSubmittedForm(FacesContext) | STYLE | REC_CATCH_EXCEPTION | 174 | Low |
| Class org.apache.myfaces.tobago.component.AbstractUIPage implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 52-351 | Low |
org.apache.myfaces.tobago.component.AbstractUIPanel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPanel.encodeBegin(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 42 | Low |
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPanel.encodeChildren(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 54 | Low |
| Redundant nullcheck of layoutManager, which is known to be non-null in org.apache.myfaces.tobago.component.AbstractUIPanel.encodeEnd(FacesContext) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 67 | Low |
org.apache.myfaces.tobago.component.AbstractUIPopup
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.AbstractUIPopup implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 35-139 | Low |
org.apache.myfaces.tobago.component.AbstractUITabGroup
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.AbstractUITabGroup implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 49-334 | Low |
org.apache.myfaces.tobago.component.UIBox
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.UIBox implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 25-58 | Low |
org.apache.myfaces.tobago.component.UIButton
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIButton.getMarkup() may expose internal representation by returning UIButton.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 365 | Medium |
| org.apache.myfaces.tobago.component.UIButton.getRenderedPartially() may expose internal representation by returning UIButton.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP | 187 | Medium |
| org.apache.myfaces.tobago.component.UIButton.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIButton.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 391 | Medium |
| org.apache.myfaces.tobago.component.UIButton.setRenderedPartially(String[]) may expose internal representation by storing an externally mutable object into UIButton.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP2 | 213 | Medium |
| org.apache.myfaces.tobago.component.UIButton.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 356 | Medium |
org.apache.myfaces.tobago.component.UIColumn
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIColumn.getMarkup() may expose internal representation by returning UIColumn.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 88 | Medium |
| org.apache.myfaces.tobago.component.UIColumn.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIColumn.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 | Medium |
org.apache.myfaces.tobago.component.UICommand
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UICommand.getRenderedPartially() may expose internal representation by returning UICommand.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP | 177 | Medium |
| org.apache.myfaces.tobago.component.UICommand.setRenderedPartially(String[]) may expose internal representation by storing an externally mutable object into UICommand.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP2 | 203 | Medium |
org.apache.myfaces.tobago.component.UIData
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.UIData implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 27-271 | Low |
org.apache.myfaces.tobago.component.UIDate
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIDate.getMarkup() may expose internal representation by returning UIDate.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 658 | Medium |
| org.apache.myfaces.tobago.component.UIDate.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIDate.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 684 | Medium |
| org.apache.myfaces.tobago.component.UIDate.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 160 | Medium |
| org.apache.myfaces.tobago.component.UIDate.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 571 | Medium |
| Class org.apache.myfaces.tobago.component.UIDate implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-871 | Low |
org.apache.myfaces.tobago.component.UIForm
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.UIForm implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 23 | Low |
org.apache.myfaces.tobago.component.UIInput
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIInput.getMarkup() may expose internal representation by returning UIInput.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 640 | Medium |
| org.apache.myfaces.tobago.component.UIInput.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIInput.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 666 | Medium |
| org.apache.myfaces.tobago.component.UIInput.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 161 | Medium |
| org.apache.myfaces.tobago.component.UIInput.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 572 | Medium |
| Class org.apache.myfaces.tobago.component.UIInput implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 32-851 | Low |
org.apache.myfaces.tobago.component.UILabel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UILabel.getMarkup() may expose internal representation by returning UILabel.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 142 | Medium |
| org.apache.myfaces.tobago.component.UILabel.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UILabel.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 168 | Medium |
| org.apache.myfaces.tobago.component.UILabel.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 118 | Medium |
org.apache.myfaces.tobago.component.UILink
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UILink.getMarkup() may expose internal representation by returning UILink.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 191 | Medium |
| org.apache.myfaces.tobago.component.UILink.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UILink.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 217 | Medium |
| org.apache.myfaces.tobago.component.UILink.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 134 | Medium |
org.apache.myfaces.tobago.component.UIMessage
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.component.UIMessage shadows the simple name of the superclass javax.faces.component.UIMessage | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 28-39 | High |
org.apache.myfaces.tobago.component.UINamingContainer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.component.UINamingContainer shadows the simple name of the superclass javax.faces.component.UINamingContainer | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 28-39 | High |
org.apache.myfaces.tobago.component.UIOut
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIOut.getMarkup() may expose internal representation by returning UIOut.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 489 | Medium |
| org.apache.myfaces.tobago.component.UIOut.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIOut.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 515 | Medium |
| org.apache.myfaces.tobago.component.UIOut.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 72 | Medium |
org.apache.myfaces.tobago.component.UIPanel
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIPanel.getMarkup() may expose internal representation by returning UIPanel.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 413 | Medium |
| org.apache.myfaces.tobago.component.UIPanel.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIPanel.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 439 | Medium |
| Class org.apache.myfaces.tobago.component.UIPanel implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 27-490 | Low |
org.apache.myfaces.tobago.component.UIPopup
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.UIPopup implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 27-435 | Low |
org.apache.myfaces.tobago.component.UIProgress
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIProgress.getMarkup() may expose internal representation by returning UIProgress.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 55 | Medium |
| org.apache.myfaces.tobago.component.UIProgress.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIProgress.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 | Medium |
org.apache.myfaces.tobago.component.UISelectBoolean
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectBoolean.getMarkup() may expose internal representation by returning UISelectBoolean.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 200 | Medium |
| org.apache.myfaces.tobago.component.UISelectBoolean.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectBoolean.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 226 | Medium |
| org.apache.myfaces.tobago.component.UISelectBoolean.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 276 | Medium |
| org.apache.myfaces.tobago.component.UISelectBoolean.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 158 | Medium |
| org.apache.myfaces.tobago.component.UISelectBoolean.isValue() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 122 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectBoolean implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 28-476 | Low |
org.apache.myfaces.tobago.component.UISelectBooleanCommand
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectBooleanCommand.isValue() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 62 | Medium |
org.apache.myfaces.tobago.component.UISelectItem
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectItem.getMarkup() may expose internal representation by returning UISelectItem.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 40 | Medium |
| org.apache.myfaces.tobago.component.UISelectItem.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectItem.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
| The class name org.apache.myfaces.tobago.component.UISelectItem shadows the simple name of the superclass javax.faces.component.UISelectItem | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 28-122 | High |
org.apache.myfaces.tobago.component.UISelectItems
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.component.UISelectItems shadows the simple name of the superclass javax.faces.component.UISelectItems | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 28-39 | High |
org.apache.myfaces.tobago.component.UISelectManyCheckbox
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectManyCheckbox.getMarkup() may expose internal representation by returning UISelectManyCheckbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 523 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyCheckbox.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectManyCheckbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 549 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyCheckbox.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 157 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyCheckbox.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 581 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectManyCheckbox implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-817 | Low |
org.apache.myfaces.tobago.component.UISelectManyListbox
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectManyListbox.getMarkup() may expose internal representation by returning UISelectManyListbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 526 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyListbox.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectManyListbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 552 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyListbox.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 160 | Medium |
| org.apache.myfaces.tobago.component.UISelectManyListbox.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 584 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectManyListbox implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-871 | Low |
org.apache.myfaces.tobago.component.UISelectOneChoice
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectOneChoice.getMarkup() may expose internal representation by returning UISelectOneChoice.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 525 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneChoice.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectOneChoice.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 551 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneChoice.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 159 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneChoice.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 601 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectOneChoice implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-850 | Low |
org.apache.myfaces.tobago.component.UISelectOneListbox
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectOneListbox.getMarkup() may expose internal representation by returning UISelectOneListbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 524 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneListbox.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectOneListbox.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 550 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneListbox.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 158 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectOneListbox implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-829 | Low |
org.apache.myfaces.tobago.component.UISelectOneRadio
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UISelectOneRadio.getMarkup() may expose internal representation by returning UISelectOneRadio.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 522 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneRadio.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UISelectOneRadio.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 548 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneRadio.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 156 | Medium |
| org.apache.myfaces.tobago.component.UISelectOneRadio.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 598 | Medium |
| Class org.apache.myfaces.tobago.component.UISelectOneRadio implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-796 | Low |
org.apache.myfaces.tobago.component.UITabGroup
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.component.UITabGroup implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 29-617 | Low |
org.apache.myfaces.tobago.component.UITextarea
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UITextarea.getMarkup() may expose internal representation by returning UITextarea.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 640 | Medium |
| org.apache.myfaces.tobago.component.UITextarea.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UITextarea.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 666 | Medium |
| org.apache.myfaces.tobago.component.UITextarea.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 160 | Medium |
| Class org.apache.myfaces.tobago.component.UITextarea implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-868 | Low |
org.apache.myfaces.tobago.component.UITime
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UITime.getMarkup() may expose internal representation by returning UITime.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 658 | Medium |
| org.apache.myfaces.tobago.component.UITime.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UITime.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 684 | Medium |
| org.apache.myfaces.tobago.component.UITime.isFocus() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 160 | Medium |
| org.apache.myfaces.tobago.component.UITime.isInline() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 571 | Medium |
| Class org.apache.myfaces.tobago.component.UITime implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 30-871 | Low |
org.apache.myfaces.tobago.component.UIToolBar
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIToolBar.getMarkup() may expose internal representation by returning UIToolBar.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 419 | Medium |
| org.apache.myfaces.tobago.component.UIToolBar.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UIToolBar.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 445 | Medium |
org.apache.myfaces.tobago.component.UIToolBarCommand
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UIToolBarCommand.getRenderedPartially() may expose internal representation by returning UIToolBarCommand.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP | 183 | Medium |
| org.apache.myfaces.tobago.component.UIToolBarCommand.setRenderedPartially(String[]) may expose internal representation by storing an externally mutable object into UIToolBarCommand.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP2 | 209 | Medium |
org.apache.myfaces.tobago.component.UITreeNode
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.component.UITreeNode.getMarkup() may expose internal representation by returning UITreeNode.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 65 | Medium |
| org.apache.myfaces.tobago.component.UITreeNode.getRenderedPartially() may expose internal representation by returning UITreeNode.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP | 258 | Medium |
| org.apache.myfaces.tobago.component.UITreeNode.setMarkup(String[]) may expose internal representation by storing an externally mutable object into UITreeNode.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 91 | Medium |
| org.apache.myfaces.tobago.component.UITreeNode.setRenderedPartially(String[]) may expose internal representation by storing an externally mutable object into UITreeNode.renderedPartially | MALICIOUS_CODE | EI_EXPOSE_REP2 | 284 | Medium |
| org.apache.myfaces.tobago.component.UITreeNode.isExpanded() has Boolean return type and returns explicit null | BAD_PRACTICE | NP_BOOLEAN_RETURN_NULL | 298 | Medium |
| Class org.apache.myfaces.tobago.component.UITreeNode implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 25-371 | Low |
org.apache.myfaces.tobago.component.UIViewRoot
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.component.UIViewRoot shadows the simple name of the superclass javax.faces.component.UIViewRoot | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 47-229 | High |
org.apache.myfaces.tobago.context.MarkupConfig
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.context.MarkupConfig defines non-transient non-serializable instance field markups | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
org.apache.myfaces.tobago.context.RenderersConfigImpl
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.context.RenderersConfigImpl defines non-transient non-serializable instance field renderer | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
org.apache.myfaces.tobago.context.ResourceManagerImpl$CacheKey
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.context.ResourceManagerImpl$CacheKey is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 651-707 | Low |
org.apache.myfaces.tobago.context.ThemeImpl
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.context.ThemeImpl defines non-transient non-serializable instance field fallbackList | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
org.apache.myfaces.tobago.context.TobagoFacesContext
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Private method org.apache.myfaces.tobago.context.TobagoFacesContext.clearScriptsAndPopups() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 136-141 | Low |
org.apache.myfaces.tobago.context.TransientStateHolder
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field org.apache.myfaces.tobago.context.TransientStateHolder.object is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
org.apache.myfaces.tobago.internal.taglib.AttributeTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.AttributeTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.AttributeTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.AttributeTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.ConverterTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.ConverterTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.ConverterTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.ConverterTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.FileItemValidatorTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.FileItemValidatorTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.FileItemValidatorTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.FileItemValidatorTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.GridLayoutConstraintTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.GridLayoutConstraintTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.GridLayoutConstraintTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-312 | High |
| org.apache.myfaces.tobago.internal.taglib.GridLayoutConstraintTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-312 | Low |
org.apache.myfaces.tobago.internal.taglib.LoadBundleTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.LoadBundleTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.LoadBundleTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.LoadBundleTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.PopupReferenceTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.PopupReferenceTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.PopupReferenceTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-60 | High |
| org.apache.myfaces.tobago.internal.taglib.PopupReferenceTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-60 | Low |
org.apache.myfaces.tobago.internal.taglib.SubmittedValueLengthValidatorTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.SubmittedValueLengthValidatorTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.SubmittedValueLengthValidatorTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.SubmittedValueLengthValidatorTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.TabChangeListenerTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The class name org.apache.myfaces.tobago.internal.taglib.TabChangeListenerTag shadows the simple name of the superclass org.apache.myfaces.tobago.taglib.component.TabChangeListenerTag | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25-88 | High |
| org.apache.myfaces.tobago.internal.taglib.TabChangeListenerTag is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 25-88 | Low |
org.apache.myfaces.tobago.internal.taglib.TagUtils
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.ActionSource in org.apache.myfaces.tobago.internal.taglib.TagUtils.setActionListenerMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 154 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.ActionSource in org.apache.myfaces.tobago.internal.taglib.TagUtils.setActionMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 163 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.tobago.event.SortActionSource in org.apache.myfaces.tobago.internal.taglib.TagUtils.setSortActionListenerMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 126 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.tobago.event.SheetStateChangeSource in org.apache.myfaces.tobago.internal.taglib.TagUtils.setStateChangeListenerMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 119 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.tobago.component.InputSuggest in org.apache.myfaces.tobago.internal.taglib.TagUtils.setSuggestMethodMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 133 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.tobago.event.TabChangeSource in org.apache.myfaces.tobago.internal.taglib.TagUtils.setTabChangeListenerMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 173 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.EditableValueHolder in org.apache.myfaces.tobago.internal.taglib.TagUtils.setValidatorMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 147 | Low |
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.EditableValueHolder in org.apache.myfaces.tobago.internal.taglib.TagUtils.setValueChangeListenerMethodBinding(UIComponent, String, Class[]) | STYLE | BC_UNCONFIRMED_CAST | 140 | Low |
org.apache.myfaces.tobago.layout.FactorList
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.FactorList is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 27-52 | Low |
org.apache.myfaces.tobago.layout.IntervalList
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.IntervalList is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 26-122 | Low |
org.apache.myfaces.tobago.layout.Measure
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 38 | Low |
org.apache.myfaces.tobago.layout.PixelMeasure
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.PixelMeasure is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 28-86 | Low |
org.apache.myfaces.tobago.layout.grid.Grid
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.grid.Grid.getHeights() may expose internal representation by returning Grid.heights | MALICIOUS_CODE | EI_EXPOSE_REP | 482 | Medium |
| org.apache.myfaces.tobago.layout.grid.Grid.getHorizontalIndices() may expose internal representation by returning Grid.horizontalIndices | MALICIOUS_CODE | EI_EXPOSE_REP | 458 | Medium |
| org.apache.myfaces.tobago.layout.grid.Grid.getVerticalIndices() may expose internal representation by returning Grid.verticalIndices | MALICIOUS_CODE | EI_EXPOSE_REP | 466 | Medium |
| org.apache.myfaces.tobago.layout.grid.Grid.getWidths() may expose internal representation by returning Grid.widths | MALICIOUS_CODE | EI_EXPOSE_REP | 478 | Medium |
| org.apache.myfaces.tobago.layout.grid.Grid.setHorizontalIndices(int[]) may expose internal representation by storing an externally mutable object into Grid.horizontalIndices | MALICIOUS_CODE | EI_EXPOSE_REP2 | 462 | Medium |
| org.apache.myfaces.tobago.layout.grid.Grid.setVerticalIndices(int[]) may expose internal representation by storing an externally mutable object into Grid.verticalIndices | MALICIOUS_CODE | EI_EXPOSE_REP2 | 470 | Medium |
org.apache.myfaces.tobago.layout.math.EquationComparator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.math.EquationComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 22-26 | Medium |
org.apache.myfaces.tobago.layout.math.EquationManager
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.math.EquationManager.getResult() may expose internal representation by returning EquationManager.result | MALICIOUS_CODE | EI_EXPOSE_REP | 79 | Medium |
org.apache.myfaces.tobago.layout.math.MathUtils
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to v in org.apache.myfaces.tobago.layout.math.MathUtils.adjustRemainders(double[], double) | STYLE | DLS_DEAD_LOCAL_STORE | 34 | Low |
org.apache.myfaces.tobago.layout.math.RemainderEquation
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.myfaces.tobago.layout.math.RemainderEquation.tokens | PERFORMANCE | URF_UNREAD_FIELD | 32 | Medium |
org.apache.myfaces.tobago.layout.math.SystemOfEquations
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.layout.math.SystemOfEquations.getData() may expose internal representation by returning SystemOfEquations.data | MALICIOUS_CODE | EI_EXPOSE_REP | 387 | Medium |
| Private method org.apache.myfaces.tobago.layout.math.SystemOfEquations.findFullZero() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 338-350 | Low |
org.apache.myfaces.tobago.model.SelectItem
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.model.SelectItem.getMarkup() may expose internal representation by returning SelectItem.markup | MALICIOUS_CODE | EI_EXPOSE_REP | 78 | Medium |
| new org.apache.myfaces.tobago.model.SelectItem(Object, String, String, boolean, String, String[]) may expose internal representation by storing an externally mutable object into SelectItem.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 | Medium |
| org.apache.myfaces.tobago.model.SelectItem.setMarkup(String[]) may expose internal representation by storing an externally mutable object into SelectItem.markup | MALICIOUS_CODE | EI_EXPOSE_REP2 | 82 | Medium |
| The class name org.apache.myfaces.tobago.model.SelectItem shadows the simple name of the superclass javax.faces.model.SelectItem | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 31-83 | High |
org.apache.myfaces.tobago.model.SheetState
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.model.SheetState.getScrollPosition() may expose internal representation by returning SheetState.scrollPosition | MALICIOUS_CODE | EI_EXPOSE_REP | 106 | Medium |
| org.apache.myfaces.tobago.model.SheetState.setScrollPosition(Integer[]) may expose internal representation by storing an externally mutable object into SheetState.scrollPosition | MALICIOUS_CODE | EI_EXPOSE_REP2 | 110 | Medium |
| Class org.apache.myfaces.tobago.model.SheetState defines non-transient non-serializable instance field selectedRows | BAD_PRACTICE | SE_BAD_FIELD | Not available | Low |
org.apache.myfaces.tobago.model.TreePath
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.model.TreePath.getPath() may expose internal representation by returning TreePath.path | MALICIOUS_CODE | EI_EXPOSE_REP | 54 | Medium |
| org.apache.myfaces.tobago.model.TreePath is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 30-108 | Low |
org.apache.myfaces.tobago.model.TreeState
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.model.TreeState.getScrollPosition() may expose internal representation by returning TreeState.scrollPosition | MALICIOUS_CODE | EI_EXPOSE_REP | 201 | Medium |
| org.apache.myfaces.tobago.model.TreeState.setScrollPosition(Integer[]) may expose internal representation by storing an externally mutable object into TreeState.scrollPosition | MALICIOUS_CODE | EI_EXPOSE_REP2 | 205 | Medium |
| TreeState.marker not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |
org.apache.myfaces.tobago.renderkit.BoxRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.BoxRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.renderkit.InRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.InRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.renderkit.PanelRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.PanelRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.renderkit.PopupRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.PopupRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.renderkit.SelectManyRendererBase
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.UISelectMany in org.apache.myfaces.tobago.renderkit.SelectManyRendererBase.getConvertedValue(FacesContext, UIComponent, Object) | STYLE | BC_UNCONFIRMED_CAST | 79 | Low |
org.apache.myfaces.tobago.renderkit.SheetRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.SheetRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.renderkit.SheetUtils
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of action, which is known to be non-null in org.apache.myfaces.tobago.renderkit.SheetUtils.decode(FacesContext, UIComponent) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 53 | Low |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.renderkit.SheetUtils.decode(FacesContext, UIComponent) | STYLE | REC_CATCH_EXCEPTION | 57 | Low |
org.apache.myfaces.tobago.renderkit.TabGroupRenderer
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.myfaces.tobago.renderkit.TabGroupRenderer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 24-29 | Low |
org.apache.myfaces.tobago.servlet.ResourceServlet
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Private method org.apache.myfaces.tobago.servlet.ResourceServlet.copy(InputStream, OutputStream) is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 149-154 | Low |
org.apache.myfaces.tobago.taglib.component.ScriptTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to script in org.apache.myfaces.tobago.taglib.component.ScriptTag.doEndTag() | STYLE | DLS_DEAD_LOCAL_STORE | 91 | Medium |
| Useless control flow in org.apache.myfaces.tobago.taglib.component.ScriptTag.doEndTag() | STYLE | UCF_USELESS_CONTROL_FLOW | 75 | Low |
org.apache.myfaces.tobago.taglib.component.StyleTag
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Dead store to classes in org.apache.myfaces.tobago.taglib.component.StyleTag.doEndTag() | STYLE | DLS_DEAD_LOCAL_STORE | 63 | Medium |
| Useless control flow in org.apache.myfaces.tobago.taglib.component.StyleTag.doEndTag() | STYLE | UCF_USELESS_CONTROL_FLOW | 58 | Low |
org.apache.myfaces.tobago.util.BundleMapWrapper
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of value, which is known to be non-null in org.apache.myfaces.tobago.util.BundleMapWrapper.containsKey(Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 49 | Low |
org.apache.myfaces.tobago.util.ComponentUtil
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from org.apache.myfaces.tobago.component.SupportsMarkup to javax.faces.component.UIComponent in org.apache.myfaces.tobago.util.ComponentUtil.getMarkupBinding(FacesContext, SupportsMarkup) | STYLE | BC_UNCONFIRMED_CAST | 813 | Low |
| org.apache.myfaces.tobago.util.ComponentUtil.ACTION_LISTENER_ARGS should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 84 | Medium |
| org.apache.myfaces.tobago.util.ComponentUtil.VALIDATOR_ARGS should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 86 | Medium |
| org.apache.myfaces.tobago.util.ComponentUtil.VALUE_CHANGE_LISTENER_ARGS should be package protected | MALICIOUS_CODE | MS_PKGPROTECT | 85 | Medium |
| Exception is caught when Exception is not thrown in org.apache.myfaces.tobago.util.ComponentUtil.createActionListener(String) | STYLE | REC_CATCH_EXCEPTION | 567 | Low |
org.apache.myfaces.tobago.util.DebugPhaseListener
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Method org.apache.myfaces.tobago.util.DebugPhaseListener.beforePhase(PhaseEvent) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 97 | Medium |
org.apache.myfaces.tobago.util.EncodeAjaxCallback
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unchecked/unconfirmed cast from javax.faces.component.UIComponent to org.apache.myfaces.tobago.ajax.api.AjaxComponent in org.apache.myfaces.tobago.util.EncodeAjaxCallback.invokeContextCallback(FacesContext, UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 35 | Low |
org.apache.myfaces.tobago.util.MessageFactory
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.tobago.util.MessageFactory.getMessageText(FacesContext, String, String) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 97 | Low |