-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspotbugs-exclude.xml
156 lines (156 loc) · 4.23 KB
/
spotbugs-exclude.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<FindBugsFilter>
<Match>
<Class name="~.*\.Test.*"/>
</Match>
<Match>
<Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" />
</Match>
<Match>
<Bug pattern="SE_NO_SERIALVERSIONID" />
</Match>
<Match>
<Bug pattern="URF_UNREAD_FIELD" />
</Match>
<Match>
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
</Match>
<Match>
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />
</Match>
<Match>
<Bug pattern="SF_SWITCH_NO_DEFAULT" />
</Match>
<Match>
<Bug pattern="DB_DUPLICATE_SWITCH_CLAUSES" />
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT" />
</Match>
<Match>
<Bug pattern="SS_SHOULD_BE_STATIC" />
</Match>
<Match>
<Bug pattern="DM_CONVERT_CASE" />
</Match>
<Match>
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
</Match>
<Match>
<Bug pattern="DM_DEFAULT_ENCODING" />
</Match>
<Match>
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
</Match>
<Match>
<Bug pattern="NM_CONFUSING" />
</Match>
<Match>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
</Match>
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE" />
</Match>
<Match>
<Bug pattern="AI_ANNOTATION_ISSUES_NEEDS_NULLABLE" />
</Match>
<Match>
<Bug pattern="IMC_IMMATURE_CLASS_NO_TOSTRING" />
</Match>
<Match>
<Bug pattern="FII_USE_FUNCTION_IDENTITY" />
</Match>
<Match>
<Bug pattern="WEM_WEAK_EXCEPTION_MESSAGING" />
</Match>
<Match>
<Bug pattern="ITC_INHERITANCE_TYPE_CHECKING" />
</Match>
<Match>
<Bug pattern="STT_STRING_PARSING_A_FIELD" />
</Match>
<Match>
<Bug pattern="PSC_PRESIZE_COLLECTIONS" />
</Match>
<Match>
<Bug pattern="FII_USE_METHOD_REFERENCE" />
</Match>
<Match>
<Bug pattern="UAC_UNNECESSARY_API_CONVERSION_FILE_TO_PATH" />
</Match>
<Match>
<Bug pattern="UVA_USE_VAR_ARGS" />
</Match>
<Match>
<Bug pattern="PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS" />
</Match>
<Match>
<Bug pattern="OPM_OVERLY_PERMISSIVE_METHOD" />
</Match>
<Match>
<Bug pattern="LEST_LOST_EXCEPTION_STACK_TRACE" />
</Match>
<Match>
<Bug pattern="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS" />
</Match>
<Match>
<Bug pattern="PL_PARALLEL_LISTS" />
</Match>
<Match>
<Bug pattern="CFS_CONFUSING_FUNCTION_SEMANTICS" />
</Match>
<!-- Has false positive instances -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
</Match>
<Match>
<Bug pattern="CBC_CONTAINS_BASED_CONDITIONAL" />
</Match>
<Match>
<Bug pattern="CLI_CONSTANT_LIST_INDEX" />
</Match>
<!-- Too many false positive instances and errors (eg private methods) -->
<Match>
<Bug pattern="PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS" />
</Match>
<Match>
<Bug pattern="SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR" />
</Match>
<Match>
<Bug pattern="RFI_SET_ACCESSIBLE" />
</Match>
<!-- False positive instances -->
<Match>
<Bug pattern="DRE_DECLARED_RUNTIME_EXCEPTION" />
</Match>
<Match>
<Bug pattern="USBR_UNNECESSARY_STORE_BEFORE_RETURN" />
</Match>
<!-- not relevant -->
<Match>
<Bug pattern="NSE_NON_SYMMETRIC_EQUALS" />
</Match>
<Match>
<Bug pattern="IMC_IMMATURE_CLASS_NO_EQUALS" />
</Match>
<!-- Only false positive instances -->
<Match>
<Bug pattern="CE_CLASS_ENVY" />
</Match>
<!-- Hard to interpret. Should ignore dependencies in the same inner package, factories -->
<Match>
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />
</Match>
<!-- Raises false positives -->
<Match>
<Bug pattern="OI_OPTIONAL_ISSUES_USES_IMMEDIATE_EXECUTION" />
</Match>
<Match>
<Bug pattern="OCP_OVERLY_CONCRETE_PARAMETER" />
</Match>
<Match>
<Bug pattern="SEC_SIDE_EFFECT_CONSTRUCTOR" />
</Match>
<Match>
<Bug pattern="MDM_WAIT_WITHOUT_TIMEOUT" />
</Match>
</FindBugsFilter>