-
Notifications
You must be signed in to change notification settings - Fork 1
/
spotbugs-filter.xml
65 lines (59 loc) · 2.45 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter xmlns="https://github.com/spotbugs/filter/3.0.0">
<Match>
<Or>
<Class name="~com\.io7m\.jtensors\.core\.unparameterized\.vectors\.Vector.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.parameterized\.vectors\.PVector.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.unparameterized\.matrices\.Matrix.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.parameterized\.matrices\.PMatrix.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.quaternions\.Quaternion.*Builder"/>
<And>
<Class name="~com\.io7m\.jtensors\.core\.parameterized\.matrices\.PMatrices.*"/>
<Method name="ofScale"/>
</And>
<And>
<Class name="~com\.io7m\.jtensors\.core\.unparameterized\.matrices\.Matrices.*"/>
<Method name="ofScale"/>
</And>
</Or>
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
</Match>
<Match>
<And>
<Or>
<Class name="~com\.io7m\.jtensors\.core\.unparameterized\.vectors\.Vector.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.parameterized\.vectors\.PVector.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.unparameterized\.matrices\.Matrix.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.parameterized\.matrices\.PMatrix.*Builder"/>
<Class name="~com\.io7m\.jtensors\.core\.quaternions\.Quaternion.*Builder"/>
</Or>
<Method name="from"/>
</And>
<Bug pattern="ITC_INHERITANCE_TYPE_CHECKING" />
</Match>
<Match>
<Or>
<Package name="com.io7m.jtensors.core.parameterized.matrices"/>
<Package name="com.io7m.jtensors.core.parameterized.vectors"/>
<Package name="com.io7m.jtensors.core.unparameterized.matrices"/>
<Package name="com.io7m.jtensors.core.unparameterized.vectors"/>
</Or>
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
<Method name="hashCode"/>
<Bug pattern="USBR_UNNECESSARY_STORE_BEFORE_RETURN"/>
</Match>
<Match>
<Or>
<Bug pattern="OCP_OVERLY_CONCRETE_PARAMETER"/>
<Bug pattern="OPM_OVERLY_PERMISSIVE_METHOD"/>
<Bug pattern="CE_CLASS_ENVY"/>
<Bug pattern="MRC_METHOD_RETURNS_CONSTANT"/>
<Bug pattern="PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS"/>
<Bug pattern="IMC_IMMATURE_CLASS_NO_TOSTRING"/>
<Bug pattern="UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER"/>
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
</Or>
</Match>
</FindBugsFilter>