FindBugs Report

Project Information

Project: <<unnamed project>>

FindBugs version: 1.3.5

Code analyzed:



Metrics

2286 lines of code analyzed, in 17 classes, in 3 packages.

Metric Total Density*
High Priority Warnings 0.00
Medium Priority Warnings 8 3.50
Total Warnings 8 3.50

(* Defects per Thousand lines of non-commenting source statements)



Contents

Summary

Warning Type Number
Bad practice Warnings 1
Dodgy Warnings 7
Total 8

Warnings

Click on a warning row to see full context information.

Bad practice Warnings

Code Warning
DE com.plumtree.portalnavigation.views.NavigationCommonVerticalView.Write508ShortcutsSection(HTMLElementCollection) might ignore java.lang.Exception

Dodgy Warnings

Code Warning
DLS Dead store to tCell in com.plumtree.portalnavigation.views.NavigationAccessibleLeftVerticalView.AddStandardListRow(HTMLTable, HTMLElement)
DLS Dead store to tCell in com.plumtree.portalnavigation.views.NavigationCommonVerticalView.AddStandardListBoldRow(HTMLTable, String)
DLS Dead store to tCell in com.plumtree.portalnavigation.views.NavigationCommonVerticalView.AddStandardListRow(HTMLTable, ASURL)
DLS Dead store to tCell in com.plumtree.portalnavigation.views.NavigationCommonVerticalView.AddStandardListRow(HTMLTable, HTMLAnchor)
DLS Dead store to tCell in com.plumtree.portalnavigation.views.NavigationCommonVerticalView.AddSubSectionListRow(HTMLTable, HTMLAnchor)
DLS Dead store to application in com.plumtree.portalnavigation.views.NavigationJSPortalMenuDropDownView.Display()
NP Load of known null value in com.plumtree.portalnavigation.views.NavigationHorizontalComboBoxView.WriteMandLinksSection(HTMLTableRow)

Details

DE_MIGHT_IGNORE: Method might ignore exception

This method might ignore an exception.  In general, exceptions should be handled or reported in some way, or they should be thrown out of the method.

DLS_DEAD_LOCAL_STORE: Dead store to local variable

This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used.

Note that Sun's javac compiler often generates dead stores for final local variables. Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.

NP_LOAD_OF_KNOWN_NULL_VALUE: Load of known null value

The variable referenced at this point is known to be null due to an earlier check against null. Although this is valid, it might be a mistake (perhaps you intended to refer to a different variable, or perhaps the earlier check to see if the variable is null should have been a check to see if it was nonnull).