#1498 closed task (fixed)
Investigate and fix issues found by FindBugs
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.16 |
Component: | core | Version: | |
Keywords: | Cc: |
Description (last modified by )
FindBugs (http://findbugs.sourceforge.net/) is a code analyzer program that can find a wide range of potential issues. We have used this before (#397) but it is maybe time to check the code again.
I have used FindBugs 1.3.9 on the majority of the BASE code and it found 400+ potential issues. I think we should go through the list and see if we need to fix anything.
I have attached the result of the initial analysis to this ticket (findbugs-initial.xml). To use this file, download it and place it in the root BASE folder and open it in FindBugs.
I have also attached an empty FindBugs project file (findbugs-empty.xml). Load this file and goto File -> Redo analysis
after bugs have been fixed, otherwise the fixed bugs remains in the file and reappear the next time the project is loaded.
Attachments (3)
Change History (11)
Changed 13 years ago by
Attachment: | findbugs-initial.xml added |
---|
comment:1 Changed 13 years ago by
Owner: | changed from everyone to Nicklas Nordborg |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 13 years ago by
(In [5384]) References #1498: Investigate and fix issues found by FindBugs?
Fixes a lot of things found by FindBugs?. There were no really serious problems, but some minor that can improve stability in exceptional cases.
The number of issues have been reduced to 232. I'll attach a FindBugs? project file with the final results that also includes comments about some of the issues.
Changed 13 years ago by
Attachment: | findbugs-5384.xml added |
---|
Remaining issues after changeset [5384]
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Initial result of FindBugs? analysis