All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ib.automata-build-tools.0.8.0.source-code.automatalib-spotbugs-exclusions.xml Maven / Gradle / Ivy

There is a newer version: 0.10.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2013-2019 TU Dortmund
This file is part of AutomataLib, http://www.automatalib.net/.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<FindBugsFilter>
    <Match>
        <!-- TODO: mostly due to performance. However, usage should be checked again -->
        <Bug pattern="EI_EXPOSE_REP2"/>
        <Class name="net.automatalib.util.partitionrefinement.PaigeTarjan"/>
    </Match>
    <Match>
        <!-- mostly internal structures, where this behavior is fine -->
        <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/>
        <Or>
            <Class name="net.automatalib.commons.smartcollections.BackedGeneralPriorityQueue$Entry"/>
            <Class name="net.automatalib.util.graphs.sssp.DijkstraSSSP$Record"/>
        </Or>
    </Match>
    <Match>
        <!-- fields are accessed from classes in other maven modules which is not detected by findBugs -->
        <Bug pattern="UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD,UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD,URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
        <Or>
            <Class name="net.automatalib.commons.util.Holder"/>
            <Class name="net.automatalib.graphs.base.compact.CompactBidiEdge"/>
            <Class name="net.automatalib.graphs.base.compact.CompactEdge"/>
        </Or>
    </Match>
    <Match>
        <Bug pattern="CN_IDIOM_NO_SUPER_CALL"/>
        <!-- we want to cut cloning hierarchy here -->
        <Class name="net.automatalib.commons.smartcollections.ArrayStorage"/>
    </Match>
    <Match>
        <Bug pattern="DM_DEFAULT_ENCODING,URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD,SBSC_USE_STRINGBUFFER_CONCATENATION,SF_SWITCH_NO_DEFAULT"/>
        <!-- TODO: this module/package currently contains generated javaCC code, we cannot easily change -->
        <Or>
            <Class name="net.automatalib.serialization.taf.parser.InternalTAFParser"/>
            <Class name="net.automatalib.serialization.taf.parser.InternalTAFParserConstants"/>
            <Class name="net.automatalib.serialization.taf.parser.InternalTAFParserTokenManager"/>
            <Class name="net.automatalib.serialization.taf.parser.ParseException"/>
            <Class name="net.automatalib.serialization.taf.parser.SimpleCharStream"/>
            <Class name="net.automatalib.serialization.taf.parser.Token"/>
            <Class name="net.automatalib.serialization.taf.parser.TokenMgrError"/>
        </Or>
    </Match>
    <Match>
        <!-- False-positive on Java 11. See https://github.com/spotbugs/spotbugs/issues/756 -->
        <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
        <Or>
            <Class name="net.automatalib.serialization.taf.parser.TAFParser"/>
            <Class name="net.automatalib.serialization.aut.InternalAUTParser"/>
            <Class name="net.automatalib.serialization.dot.DOTSerializationProvider"/>
            <Class name="net.automatalib.visualization.dot.DOTComponent$1"/>
            <Class name="net.automatalib.visualization.dot.GraphVizBrowserVisualizationProvider"/>
            <Class name="net.automatalib.visualization.dot.PlottedGraph"/>
        </Or>
    </Match>
</FindBugsFilter>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy