forked from MorphiaOrg/morphia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfindbugs-exclude.xml
47 lines (45 loc) · 1.53 KB
/
findbugs-exclude.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
<FindBugsFilter>
<!-- All bugs in test classes, except for JUnit-specific bugs -->
<Match>
<Class name="~.*\.*Test.*"/>
<Not>
<Bug code="IJU"/>
</Not>
</Match>
<Match>
<Class name="~.*\.*Test.*"/>
<Not>
<Bug pattern="SE_BAD_FIELD, EI_EXPOSE_REP, EI_EXPOSE_REP2"/>
</Not>
</Match>
<Match>
<!-- Ignore test entities as these will often have unused things -->
<Package name="~org\.mongodb\.morphia\.testmappackage.*"/>
</Match>
<Match>
<Class name="org.mongodb.morphia.testmodel.Hotel"/>
<Bug pattern="EI_EXPOSE_REP, EI_EXPOSE_REP2"/>
</Match>
<Match>
<Class name="org.mongodb.morphia.utils.E1"/>
<Bug pattern="SS_SHOULD_BE_STATIC"/>
</Match>
<Match>
<Class name="relocated.morphia.org.apache.commons.collections.ReferenceMap"/>
<Bug pattern="VO_VOLATILE_INCREMENT, URF_UNREAD_FIELD, WMI_WRONG_MAP_ITERATOR"/>
</Match>
<Match>
<Class name="relocated.morphia.org.apache.commons.collections.ReferenceMap$EntryIterator"/>
<Bug pattern="VO_VOLATILE_INCREMENT, URF_UNREAD_FIELD, WMI_WRONG_MAP_ITERATOR"/>
</Match>
<Match>
<Class name="org.mongodb.morphia.mapping.MappedClass"/>
<Bug pattern="WMI_WRONG_MAP_ITERATOR"/>
</Match>
<Match>
<Bug code="SQL,XSS,J2EE,SW,STI,DL,JLM,MWN,NN,RS,UL,HRS,PT,MTIA,XFB"/>
</Match>
<Match>
<Bug category="I18N,MT_CORRECTNESS,SECURITY,PERFORMANCE"/>
</Match>
</FindBugsFilter>