Skip to main content

Table 12 FindBugs warning categories

From: Correlating automatic static analysis and mutation testing: towards incremental strategies

#

Category

Warning count by category

Example warning

1

Bad practice

84

ES: Comparison of String parameter using == or !=

2

Correctness

145

RV: Method ignores return value

3

Experimental

3

OBL: Method may fail to clean up stream or resource

4

Internationalization

2

Dm: Consider using Locale parameterized version of invoked method

5

Malicious code vulnerability

15

DP: Classloaders should only be created inside doPrivileged block

6

Multithreaded correctness

45

STCAL: Static DateFormat

7

Performance

30

UuF: Unused field

8

Security

11

Dm: Empty database password

9

Dodgy code

73

BC: Unchecked/unconfirmed cast

Sum

 

408