1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
9 Documentation: http://findbugs.sourceforge.net/manual/filter.html
10 In particular, ~ at the start of a string means it's a regex.
13 <!-- Skip the generated resource classes (including nested classes). -->
15 <Class name="~org\.chromium\..*\.R(\$\w+)?" />
18 <Class name="~org\.chromium\..*\.Manifest(\$\w+)?" />
20 <!-- Ignore bugs in NativeLibraries.java (the auto-generation confuses findbugs). -->
22 <Class name="~org\.chromium\.content\..*\.NativeLibraries.*?" />
25 Ignore bugs in CleanupReferenceTest.java (redundant null check)
26 TODO(joth): Group all GC related tests and filter them out, since the null
27 check is necessary to make sure the nullification is flushed to memory.
30 <Class name="~org\.chromium\.content\..*\.CleanupReferenceTest.*?" />
32 <!-- Ignore errors in JavaBridge due to reflection. -->
34 <Class name="~.*\.JavaBridge.*"/>
35 <Bug code="UuF,UrF,UMAC" />
37 <!-- "Struct" like classes expect to have unused public data members -->
39 <Class name="~.*android_webview.*FileChooserParams"/>
42 <!-- Ignore "reliance on default String encoding" warnings, as we're not multi-platform -->
43 <Bug pattern="DM_DEFAULT_ENCODING" />
44 <!-- Ignore bugs that are often false-positives in test code -->
46 <Class name="~org\.chromium\..*Test(\$\w+)?" />
48 <Bug code="DLS,UrF" />
49 <Bug pattern="DM_GC" />