-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspotbugs-excludes.xml
56 lines (52 loc) · 2.09 KB
/
spotbugs-excludes.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
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://github.com/spotbugs/filter/3.0.0"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<Match>
<Package name="~backend\.academy\.samples.*"/>
</Match>
<!-- Find Sec Bugs
see: https://find-sec-bugs.github.io/bugs.htm
-->
<Match>
<Or>
<Bug pattern="CRLF_INJECTION_LOGS"/>
<Bug pattern="FORMAT_STRING_MANIPULATION"/>
<Bug pattern="SPRING_ENDPOINT"/>
</Or>
</Match>
<!-- SpotBugs Contrib:
see: http://fb-contrib.sourceforge.net/bugdescriptions.html
-->
<Match>
<Or>
<Bug pattern="CE_CLASS_ENVY"/>
<Bug pattern="CFS_CONFUSING_FUNCTION_SEMANTICS"/>
<Bug pattern="DLC_DUBIOUS_LIST_COLLECTION"/>
<Bug pattern="EI_EXPOSE_REP"/>
<Bug pattern="EI_EXPOSE_REP2"/>
<Bug pattern="EXS_EXCEPTION_SOFTENING_NO_CHECKED"/>
<Bug pattern="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS"/>
<Bug pattern="EXS_EXCEPTION_SOFTENING_RETURN_FALSE"/>
<Bug pattern="FCBL_FIELD_COULD_BE_LOCAL"/>
<Bug pattern="IMC_IMMATURE_CLASS_NO_EQUALS"/>
<Bug pattern="IMC_IMMATURE_CLASS_NO_TOSTRING"/>
<Bug pattern="NM_CONFUSING"/>
<Bug pattern="OCP_OVERLY_CONCRETE_PARAMETER"/>
<Bug pattern="OI_OPTIONAL_ISSUES_PRIMITIVE_VARIANT_PREFERRED"/>
<Bug pattern="OPM_OVERLY_PERMISSIVE_METHOD"/>
<Bug pattern="SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR"/>
<Bug pattern="SE_NO_SERIALVERSIONID"/>
<Bug pattern="USBR_UNNECESSARY_STORE_BEFORE_RETURN"/>
<Bug pattern="WEM_WEAK_EXCEPTION_MESSAGING"/>
</Or>
</Match>
<Match>
<Or>
<Method name="hashCode"/>
<Method name="equals"/>
</Or>
<Bug pattern="CC_CYCLOMATIC_COMPLEXITY"/>
</Match>
</FindBugsFilter>