exclude dagger module generated classes and align with files-client excludes

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-12-09 14:33:50 +01:00
parent 96176c4f1c
commit b93845cebd
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -54,12 +54,16 @@
<Match>
<Or>
<Class name="~.*\.Dagger.*" />
<Class name="~dagger\.android\..*" />
<Class name="~~.*\.dagger\.android\..*" />
<Class name="~~.*\.dagger\.modules\..*" />
</Or>
</Match>
<!-- Dagger generated code uses internal APIs -->
<Match>
<Class name="~.*\..*.*Factory" />
<Or>
<Class name="~.*\..*.*Factory" />
<Class name="~.*\..*.*Factory_Impl" />
</Or>
<Bug pattern="IICU_INCORRECT_INTERNAL_CLASS_USE" />
</Match>
@ -76,12 +80,30 @@
<Match>
<Class name="~.*\$\$JsonObjectMapper.*" />
</Match>
<!-- Third-party library code -->
<Match>
<Or>
<Package name="~third\.parties\..*" />
</Or>
</Match>
<Bug pattern="PATH_TRAVERSAL_IN" />
<Bug pattern="ANDROID_EXTERNAL_FILE_ACCESS" />
<Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" />
<Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" />
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP2" />
<!-- This is unmanageable for now due to large amount of interconnected static state -->
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />
<!--Autogenerated Room classes-->
<Match>
<Class name="~.*\.TalkDatabase_Impl.*" />
</Match>
<Match>
<Class name="~.*\..*Dao_Impl.*" />
</Match>
</FindBugsFilter>