Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/java/spotbugs-excludes.xml
2864 views
1
<?xml version="1.0" encoding="UTF-8"?>
2
<FindBugsFilter
3
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
xmlns="https://github.com/spotbugs/filter/3.0.0"
5
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
6
7
<Match>
8
<Bug code="CT"/>
9
</Match>
10
11
<Match>
12
<Bug pattern="SIC_INNER_SHOULD_BE_STATIC,EI_EXPOSE_REP,EI_EXPOSE_REP2,EI_EXPOSE_BUF2"/>
13
</Match>
14
15
<Match>
16
<Bug pattern="URF_UNREAD_FIELD,URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD,SS_SHOULD_BE_STATIC"/>
17
</Match>
18
19
<Match>
20
<Bug pattern="UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS"/>
21
</Match>
22
23
<Match>
24
<Bug code="RCN,MS,DCN,UwF,THROWS,SSD"/>
25
</Match>
26
27
<Match>
28
<Class name="~.*\.*Test"/>
29
</Match>
30
31
<Match>
32
<Class name="org.openqa.selenium.ImmutableCapabilities"/>
33
<Bug pattern="EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS"/>
34
</Match>
35
36
<Match>
37
<Class name="org.openqa.selenium.build.Build"/>
38
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
39
</Match>
40
41
<Match>
42
<Class name="org.openqa.selenium.grid.config.Configs"/>
43
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
44
</Match>
45
46
<Match>
47
<Class name="org.openqa.selenium.docker.v1_41.PullImage"/>
48
<Bug pattern="DE_MIGHT_IGNORE"/>
49
</Match>
50
51
<Match>
52
<Class name="org.openqa.selenium.events.zeromq.BoundZmqEventBus"/>
53
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
54
</Match>
55
56
<Match>
57
<Class name="org.openqa.selenium.events.zeromq.UnboundZmqEventBus"/>
58
<Bug pattern="UR_UNINIT_READ"/>
59
</Match>
60
61
<Match>
62
<Class name="~org.openqa.selenium.firefox.AddHasExtensions.*"/>
63
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
64
</Match>
65
66
<Match>
67
<Class name="org.openqa.selenium.firefox.FirefoxDriver"/>
68
<Bug pattern="NP_BOOLEAN_RETURN_NULL,UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD"/>
69
</Match>
70
71
<Match>
72
<Class name="org.openqa.selenium.firefox.FirefoxProfile"/>
73
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
74
</Match>
75
76
<Match>
77
<Class name="~org.openqa.selenium.grid.commands.CompletionCommand.*"/>
78
<Bug pattern="DM_EXIT"/>
79
</Match>
80
81
<Match>
82
<Class name="org.openqa.selenium.grid.commands.StandaloneFlags"/>
83
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
84
</Match>
85
86
<Match>
87
<Class name="org.openqa.selenium.grid.log.LoggingFlags"/>
88
<Bug pattern="URF_UNREAD_FIELD"/>
89
</Match>
90
91
<Match>
92
<Class name="org.openqa.selenium.grid.node.config.DriverServiceSessionFactory"/>
93
<Bug pattern="REC_CATCH_EXCEPTION"/>
94
</Match>
95
96
<Match>
97
<Class name="org.openqa.selenium.grid.node.httpd.NodeFlags"/>
98
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
99
</Match>
100
101
<Match>
102
<Class name="org.openqa.selenium.grid.node.k8s.OneShotNode"/>
103
<Bug pattern="NP_LOAD_OF_KNOWN_NULL_VALUE,NP_NULL_ON_SOME_PATH"/>
104
</Match>
105
106
<Match>
107
<Class name="org.openqa.selenium.grid.server.BaseServerFlags"/>
108
<Bug pattern="URF_UNREAD_FIELD"/>
109
</Match>
110
111
<Match>
112
<Class name="org.openqa.selenium.grid.sessionqueue.config.SessionRequestFlags"/>
113
<Bug pattern="URF_UNREAD_FIELD"/>
114
</Match>
115
116
<Match>
117
<Class name="org.openqa.selenium.grid.web.PathResource"/>
118
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
119
</Match>
120
121
<Match>
122
<Class name="~org.openqa.selenium.interactions..*"/>
123
<Bug pattern="UWF_UNWRITTEN_FIELD"/>
124
</Match>
125
126
127
<Match>
128
<Class name="org.openqa.selenium.json.JsonInput"/>
129
<Bug pattern="IS2_INCONSISTENT_SYNC"/>
130
</Match>
131
132
<Match>
133
<Class name="org.openqa.selenium.json.JsonInputIterator"/>
134
<Bug pattern="IT_NO_SUCH_ELEMENT"/>
135
</Match>
136
137
<Match>
138
<Class name="org.openqa.selenium.net.NetworkUtils"/>
139
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
140
</Match>
141
142
<Match>
143
<Class name="org.openqa.selenium.remote.http.jdk.JdkHttpClient"/>
144
<Bug pattern="SF_SWITCH_FALLTHROUGH"/>
145
</Match>
146
147
<Match>
148
<Class name="org.openqa.selenium.safari.SafariDriverService"/>
149
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
150
</Match>
151
152
<Match>
153
<Class name="org.openqa.selenium.safari.SafariTechPreviewDriverService"/>
154
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
155
</Match>
156
157
<Match>
158
<Class name="org.openqa.selenium.support.locators.RelativeLocator$RelativeBy" />
159
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" />
160
</Match>
161
162
<Match>
163
<Class name="org.openqa.selenium.json.JsonOutputTest$1PrivatelyMappable" />
164
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" />
165
</Match>
166
167
<Match>
168
<Class name="org.openqa.selenium.testing.Pages"/>
169
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
170
</Match>
171
172
<Match>
173
<Class name="org.openqa.selenium.remote.WebDriverFixture"/>
174
<Bug pattern="WMI_WRONG_MAP_ITERATOR"/>
175
</Match>
176
177
<Match>
178
<Class name="org.openqa.selenium.remote.internal.HttpClientTestBase"/>
179
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
180
</Match>
181
182
<Match>
183
<Class name="org.openqa.selenium.json.JsonOutputTest"/>
184
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
185
</Match>
186
187
<Match>
188
<Class name="org.openqa.selenium.testing.JupiterTestBase"/>
189
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
190
</Match>
191
192
<Match>
193
<Class name="org.openqa.selenium.testing.StaticResources"/>
194
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE"/>
195
</Match>
196
197
<Match>
198
<Class name="org.openqa.selenium.remote.WebElementToJsonConverter" />
199
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_INTERFACE" />
200
</Match>
201
202
<Match>
203
<Class name="org.openqa.selenium.remote.internal.WebElementToJsonConverter" />
204
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
205
</Match>
206
207
<Match>
208
<Class name="org.openqa.selenium.chrome.AddHasCasting" />
209
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
210
</Match>
211
212
<Match>
213
<Class name="org.openqa.selenium.chrome.AddHasCdp" />
214
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
215
</Match>
216
217
<Match>
218
<Class name="org.openqa.selenium.edge.AddHasCdp" />
219
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
220
</Match>
221
222
<Match>
223
<Class name="org.openqa.selenium.edge.AddHasCasting" />
224
<Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
225
</Match>
226
227
<Match>
228
<Class name="~org.openqa.selenium.devtools.v[0-9]+\.v\w+" />
229
<Bug pattern="NM_CLASS_NAMING_CONVENTION"/>
230
</Match>
231
232
<Match>
233
<Class name="org.openqa.selenium.manager.SeleniumManager"/>
234
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE,IS2_INCONSISTENT_SYNC"/>
235
</Match>
236
237
<Match>
238
<Class name="org.openqa.selenium.remote.http.jdk.JdkHttpClient"/>
239
<Bug pattern="BC_VACUOUS_INSTANCEOF"/>
240
</Match>
241
242
</FindBugsFilter>
243
244