-
Notifications
You must be signed in to change notification settings - Fork 4
/
jillion-pmd-ruleset.xml
46 lines (32 loc) · 1.27 KB
/
jillion-pmd-ruleset.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
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<ruleset name="JCVI-JavaCommon"
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>
Modification of 'Favorities' with cyclomatic complexity bumped up to 15.
</description>
<rule ref="rulesets/java/basic.xml"/>
<rule ref="rulesets/java/unusedcode.xml"/>
<rule ref="rulesets/java/braces.xml"/>
<rule ref="rulesets/java/design.xml">
<exclude name="EmptyMethodInAbstractClassShouldBeAbstract"/>
<exclude name="AvoidSynchronizedAtMethodLevel"/>
<exclude name="AccessorClassGeneration"/>
<exclude name="NonStaticInitializer"/>
</rule>
<rule ref="rulesets/java/coupling.xml">
<exclude name="LawOfDemeter"/>
</rule>
<rule ref="rulesets/java/strings.xml"/>
<rule ref="rulesets/java/codesize.xml">
<exclude name="CyclomaticComplexity"/>
<exclude name="TooManyMethods"/>
</rule>
<rule ref="rulesets/java/codesize.xml/CyclomaticComplexity">
<properties>
<property name="reportLevel" value="15"/>
</properties>
</rule>
</ruleset>