forked from checkstyle/checkstyle
/
suppressions-xpath.xml
22 lines (18 loc) · 1.04 KB
/
suppressions-xpath.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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>