forked from PelionIoT/java-coap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs-exlude.xml
61 lines (53 loc) · 2.44 KB
/
spotbugs-exlude.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
<!--
Copyright (C) 2011-2018 ARM Limited. All rights reserved.
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<FindBugsFilter>
<Match>
<Or>
<!-- May expose internal representation by returning reference to mutable object -->
<Bug pattern="EI_EXPOSE_REP"/>
<!-- May expose internal representation by incorporating reference to mutable object -->
<Bug pattern="EI_EXPOSE_REP2"/>
<!-- Exception is caught when Exception is not thrown -->
<Bug pattern="REC_CATCH_EXCEPTION"/>
<!-- Class is Serializable, but doesn't define serialVersionUID -->
<Bug pattern="SE_NO_SERIALVERSIONID"/>
<!-- Reliance on default encoding -->
<Bug pattern="DM_DEFAULT_ENCODING"/>
<!-- May expose internal representation by incorporating reference to mutable object -->
<Bug pattern="EI_EXPOSE_REP2"/>
<!-- Random object created and used only once -->
<Bug pattern="DMI_RANDOM_USED_ONLY_ONCE"/>
<!-- This method ignores the return value of one of the variants of java.io.InputStream.read() -->
<Bug pattern="RR_NOT_CHECKED"/>
<!-- PLUGIN: https://github.com/h3xstream/find-sec-bugs -->
<!-- Not a problem for us: 'Use of java.util.Random is predictable.' -->
<Bug pattern="PREDICTABLE_RANDOM"/>
</Or>
</Match>
<Match>
<Class name="com.mbed.coap.cli.CoapSchemes"/>
<Or>
<Bug pattern="PATH_TRAVERSAL_IN"/>
<Bug pattern="HARD_CODE_PASSWORD"/>
</Or>
</Match>
<Match>
<Class name="com.mbed.coap.transport.stdio.OpensslProcessTransport"/>
<Bug pattern="COMMAND_INJECTION"/>
</Match>
<Match>
<Class name="com.mbed.coap.linkformat.LinkFormat"/>
<Bug pattern="DCN_NULLPOINTER_EXCEPTION"/>
</Match>
</FindBugsFilter>