Project: <<unnamed project>>
FindBugs version: 1.3.5
Code analyzed:
717 lines of code analyzed, in 13 classes, in 1 packages.
Metric | Total | Density* |
---|---|---|
High Priority Warnings | 1 | 1.39 |
Medium Priority Warnings | 1 | 1.39 |
Total Warnings | 2 | 2.79 |
(* Defects per Thousand lines of non-commenting source statements)
Warning Type | Number |
---|---|
Correctness Warnings | 1 |
Dodgy Warnings | 1 |
Total | 2 |
Click on a warning row to see full context information.
Code | Warning |
---|---|
IL | There is an apparent infinite loop in com.bea.alui.taglib.kdpage.DocumentsDataTag.DisplayTag() |
Code | Warning |
---|---|
DLS | Dead store to ptDocURL in com.bea.alui.taglib.kdpage.DocumentsDataTag.GetDocumentDataObject(int, boolean) |
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.
This loop doesn't seem to have a way to terminate (other than by perhaps throwing an exception).