Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does all these FindBugs prefixes AM, BC, DP, ... mean?

Tags:

java

findbugs

http://findbugs.sourceforge.net/bugDescriptions.html contains a long list of error types. They belong to a category like correctness and performance but do start with an prefix too. EQ for equality is obvious, same like SQL or BIT. But some cryptic. Is there a list what all these prefixes mean?

like image 340
Christian Ullenboom Avatar asked Apr 16 '10 17:04

Christian Ullenboom


1 Answers

Some of them are explained in a PDF I found on Google: http://www.cs.colostate.edu/~mstrout/CS653Spring06/Slides/student-01-sandeep-findbugs.pdf (last page)

I hope it's OK to quote it here:

Code Description

  • CN Cloneable Not Implemented Correctly
  • DC Double Checked Locking
  • DE Dropped Exception
  • EC Suspicious Equals Comparison
  • Eq Bad Covariant Definition of Equals
  • HE Equal Objects Must Have Equal Hashcodes
  • IS2 Inconsistent Synchronization
  • MS Static Field Modifiable By Untrusted Code
  • NP Null Pointer Dereference
  • NS Non-Short-Circuit Boolean Operator
  • OS Open Stream
  • RCN Redundant Comparison to Null
  • RR Read Return Should Be Checked
  • RV Return Value Should Be Checked
  • Se Non-serializable Serializable Class
  • UR Uninitialized Read In Constructor
  • UW Unconditional Wait
  • Wa Wait Not In Loop
like image 94
Grzegorz Oledzki Avatar answered Sep 19 '22 17:09

Grzegorz Oledzki