<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
    "-//Checkstyle//DTD SuppressionXpathFilter Experimental Configuration 1.2//EN"
    "https://checkstyle.org/dtds/suppressions_1_2_xpath_experimental.dtd">

<suppressions>
    <!-- Tone down the checking for test code -->
    <suppress-xpath checks="NPathComplexity"
                    query="/CLASS_DEF[./IDENT[@text='XdocsPagesTest']]
                    //METHOD_DEF[./IDENT[@text='validateCheckSection'
                                  or @text='getModulePropertyExpectedValue']]"/>

    <suppress-xpath checks="CyclomaticComplexity"
                    query="/CLASS_DEF[./IDENT[@text='XdocsPagesTest']]//METHOD_DEF"/>

    <!-- Suppressions from PMD configuration-->
    <!-- JavadocMethodCheck, JavadocStyleCheck, JavadocUtil.getJavadocTags() - deprecated -->
    <suppress-xpath checks="CyclomaticComplexity"
                    query="/CLASS_DEF[./IDENT[@text='JavadocMethodCheck'
                    or @text='JavadocStyleCheck' or @text='CustomImportOrderCheck']]//METHOD_DEF"/>
</suppressions>
