I'm using FindBug and I want to understand the .XML report generated by it for documentation purpose.
Sample I got is below.
<BugInstance type="RANGE_ARRAY_INDEX" priority="2" rank="7" abbrev="RANGE" category="CORRECTNESS" first="1">
So as it seems type RANGE_ARRAY_INDEX of category CORRECTNESS is having rank 7 so it is a scary one. So is it always true ? Is RANGE_ARRAY_INDEX always a scary one ?
I couldn't find any resource mentioning about a relationship among them.
I referred to FindBugs Bug Descriptions and FindBugs 2 site and this SO question which dose not have a clear answer
As it seems we have several Categories,
- Bad practice
- Correctness
- Experimental
- Internationalization
- Malicious code vulnerability
- Multithreaded correctness
- Performance
- Security
- Dodgy code
And
- Scariest (1-4),
- Scary (5-9),
- Troubling (10-14)
- Of Concern (rank 15-20)
And we have many types as it's in the doc.
Can anyone help me on this ?