xref: /OpenGrok/dev/findbugs_filter.xml (revision 9ac4fa2f823a002b205e02a51e3a1e3fa2ab5f83)
1*9ac4fa2fSVladimir Kotal<?xml version="1.0" encoding="UTF-8"?>
2*9ac4fa2fSVladimir Kotal<FindBugsFilter>
3*9ac4fa2fSVladimir Kotal   <!-- Remove JFlex generated files from output -->
4*9ac4fa2fSVladimir Kotal  <Match>
5*9ac4fa2fSVladimir Kotal      <Field name="zzEOFDone"/>
6*9ac4fa2fSVladimir Kotal      <Bug code="UrF"/>
7*9ac4fa2fSVladimir Kotal  </Match>
8*9ac4fa2fSVladimir Kotal
9*9ac4fa2fSVladimir Kotal  <Match>
10*9ac4fa2fSVladimir Kotal      <Method name="yylex"/>
11*9ac4fa2fSVladimir Kotal      <Bug code="Bx"/>
12*9ac4fa2fSVladimir Kotal  </Match>
13*9ac4fa2fSVladimir Kotal
14*9ac4fa2fSVladimir Kotal  <Match>
15*9ac4fa2fSVladimir Kotal      <Or>
16*9ac4fa2fSVladimir Kotal         <Method name="zzUnpackAction"/>
17*9ac4fa2fSVladimir Kotal         <Method name="zzUnpackAttribute"/>
18*9ac4fa2fSVladimir Kotal         <Method name="zzUnpackRowMap"/>
19*9ac4fa2fSVladimir Kotal         <Method name="zzUnpackTrans"/>
20*9ac4fa2fSVladimir Kotal      </Or>
21*9ac4fa2fSVladimir Kotal      <Bug code="DLS"/>
22*9ac4fa2fSVladimir Kotal  </Match>
23*9ac4fa2fSVladimir Kotal
24*9ac4fa2fSVladimir Kotal  <Match>
25*9ac4fa2fSVladimir Kotal      <Method name="reInit"/>
26*9ac4fa2fSVladimir Kotal      <Bug code="EI2"/>
27*9ac4fa2fSVladimir Kotal  </Match>
28*9ac4fa2fSVladimir Kotal
29*9ac4fa2fSVladimir Kotal  <Match>
30*9ac4fa2fSVladimir Kotal      <Or>
31*9ac4fa2fSVladimir Kotal          <Field name="yychar"/>
32*9ac4fa2fSVladimir Kotal          <Field name="yycolumn"/>
33*9ac4fa2fSVladimir Kotal          <Field name="yyline"/>
34*9ac4fa2fSVladimir Kotal          <Field name="zzAtBOL"/>
35*9ac4fa2fSVladimir Kotal      </Or>
36*9ac4fa2fSVladimir Kotal      <Bug code="UrF"/>
37*9ac4fa2fSVladimir Kotal  </Match>
38*9ac4fa2fSVladimir Kotal
39*9ac4fa2fSVladimir Kotal  <!-- Some of the lex classes rename yylex() to next() -->
40*9ac4fa2fSVladimir Kotal  <Match>
41*9ac4fa2fSVladimir Kotal    <And>
42*9ac4fa2fSVladimir Kotal      <Or>
43*9ac4fa2fSVladimir Kotal        <Class name="org.opengrok.indexer.search.context.PlainLineTokenizer"/>
44*9ac4fa2fSVladimir Kotal        <Class name="org.opengrok.indexer.analysis.tcl.TclSymbolTokenizer"/>
45*9ac4fa2fSVladimir Kotal      </Or>
46*9ac4fa2fSVladimir Kotal      <Method name="yylex"/>
47*9ac4fa2fSVladimir Kotal    </And>
48*9ac4fa2fSVladimir Kotal    <Bug code="SF"/>
49*9ac4fa2fSVladimir Kotal  </Match>
50*9ac4fa2fSVladimir Kotal
51*9ac4fa2fSVladimir Kotal  <!-- ignore generated analysis classes which don't need to override equals or hashcode -->
52*9ac4fa2fSVladimir Kotal  <Match>
53*9ac4fa2fSVladimir Kotal      <Class name="~org\.opengrok\.analysis.*"/>
54*9ac4fa2fSVladimir Kotal      <Bug code="Eq"/>
55*9ac4fa2fSVladimir Kotal  </Match>
56*9ac4fa2fSVladimir Kotal
57*9ac4fa2fSVladimir Kotal</FindBugsFilter>
58