-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpmd.xml
33 lines (27 loc) · 1.19 KB
/
pmd.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<ruleset name="Custom ruleset"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>RoboXtensions PMD Ruleset</description>
<rule ref="rulesets/imports.xml" />
<rule ref="rulesets/controversial.xml">
<exclude name="UseConcurrentHashMap"/>
<exclude name="AtLeastOneConstructor"/>
<exclude name="CallSuperInConstructor"/>
<exclude name="DataflowAnomalyAnalysis"/>
</rule>
<rule ref="rulesets/strings.xml"/>
<rule ref="rulesets/android.xml"/>
<rule ref="rulesets/basic.xml" />
<rule ref="rulesets/coupling.xml" />
<rule ref="rulesets/unusedcode.xml"/>
<rule ref="rulesets/codesize.xml" />
<rule ref="rulesets/braces.xml"/>
<rule ref="rulesets/optimizations.xml">
<exclude name="LocalVariableCouldBeFinal"/>
<exclude name="MethodArgumentCouldBeFinal"/>
</rule>
<rule ref="rulesets/design.xml" />
</ruleset>