-
Notifications
You must be signed in to change notification settings - Fork 0
/
spotbugs-filter.xml
43 lines (36 loc) · 1.12 KB
/
spotbugs-filter.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
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter xmlns="https://github.com/spotbugs/filter/3.0.0">
<Match>
<Class name="~com\.io7m\.jsx\..+\$InitShim"/>
<Bug pattern="PME_POOR_MANS_ENUM"/>
</Match>
<Match>
<Class name="~com\.io7m\.jsx\..+\$Builder"/>
<Or>
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
<Bug pattern="ITC_INHERITANCE_TYPE_CHECKING"/>
<Bug pattern="PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS"/>
</Or>
</Match>
<Match>
<Class name="com.io7m.jsx.api.lexer.JSXLexerConfiguration"/>
</Match>
<Match>
<Class name="com.io7m.jsx.lexer.JSXLexer"/>
<Method name="tokenRead"/>
<Bug pattern="CC_CYCLOMATIC_COMPLEXITY"/>
</Match>
<Match>
<Class name="com.io7m.jsx.parser.JSXParser"/>
<Bug pattern="ITC_INHERITANCE_TYPE_CHECKING"/>
</Match>
<Match>
<Or>
<Bug pattern="IMC_IMMATURE_CLASS_NO_TOSTRING"/>
<Bug pattern="OPM_OVERLY_PERMISSIVE_METHOD"/>
<Bug pattern="OCP_OVERLY_CONCRETE_PARAMETER"/>
<Bug pattern="DRE_DECLARED_RUNTIME_EXCEPTION"/>
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
</Or>
</Match>
</FindBugsFilter>