-
I downloaded http://www.zentus.com/sqlitejdbc/dist/sqlitejdbc-v044-nested.tgz In that file is sqlitejdbc-v044-nested.jar. Trying to analyze that file using the FindBugs 1.3.3 GUI ultimately results in hang.
The analysis goes on for a while (CPU stays at 100% for a while). However, after a period of time the analysis apparently stops (CPU drops to just a few %), but the GUI is unchanged.
2008-04-22 02:01:34 UTC in FindBugs
-
Just noticed that with 1.3.3 the last copyright year in the about box is 2007. It should be 2008.
2008-04-04 01:50:16 UTC in FindBugs
-
Good point ;-)
2008-03-27 19:12:09 UTC in FindBugs
-
Here's the code:
if (fp.lastGen == -1) {
// This field was not seen since the previous
// flush, so, free up its resources now
// Unhash
final int hashPos = fp.fieldInfo.name.hashCode() & fieldDataHashMask;
FieldData last = null;
FieldData fp0 = fieldDataHash[hashPos];
while(fp0 != fp) {
last =...
2008-03-26 19:50:46 UTC in FindBugs
-
I'm getting a redundant nullcheck warning for the variable os this code:
IndexOutput os = null;
try {
os = directory.createOutput(fileName);
...
IndexOutput tmp = os;
os = null;
tmp.close();
} finally {
if (os != null) try { os.close(); } catch (IOException e) { }
}
}...
2008-03-26 18:33:07 UTC in FindBugs
-
I'm getting a dead store warning about the docMap variable in this code:
...
int[] docMap = smi.getDocMap();
postings.seek(smi.termEnum);
while (postings.next()) {
int doc = postings.doc();
if (docMap != null)
doc = docMap[doc]; // map around deletions
doc += base; // convert to merged...
2008-03-26 18:27:09 UTC in FindBugs
-
I'm getting a "Dead store to local variable" warning about the variable "result" in the following code:
public static HashSet getWordSet(File wordfile) throws IOException {
HashSet result = new HashSet();
FileReader reader = null;
try {
reader = new FileReader(wordfile);
result = getWordSet(reader);
}
finally {
if (reader != null...
2008-03-26 18:24:02 UTC in FindBugs
-
Ran FindBugs against Apache Lucene 2.3.1. Was looking at the results and in several cases it gives "Computation of average could overflow" warnings. The text description talks about right shifts to do division. The problem is that the lines that are highlighted do not have right shifts in them. However, line immediately before it does. For some reason, the line number highlight seems to be...
2008-03-26 18:17:44 UTC in FindBugs
-
There's a minor glitch in the HTML output where the displayed text is something like "Code Warning". Okay, the code is trying to display a space and it's getting screwed up for some reason. Looking at the HTML source we see: "Code
Warning". So, some post-processing is trying to make sure that the text is proper HTML and is screwing...
2008-03-26 15:44:30 UTC in FindBugs
-
For the -project option the manual states "It will typically end in the extension .fb." With the current version of the GUI the extension is ".fbp".
2008-03-26 15:03:10 UTC in FindBugs