-
Notifications
You must be signed in to change notification settings - Fork 8
/
ruleset.xml
37 lines (35 loc) · 2.07 KB
/
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
<?xml version="1.0"?>
<ruleset name="Jill 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">
<description>
Jill code quality checks
</description>
<rule ref="category/java/bestpractices.xml" >
<exclude name="ArrayIsStoredDirectly" /> <!-- TOFIX: disabled for now -->
<exclude name="AvoidReassigningLoopVariables" /> <!-- TOFIX: disabled for now -->
<exclude name="ForLoopCanBeForeach" /> <!-- TOFIX: disabled for now -->
<exclude name="GuardLogStatement" />
<exclude name="JUnitAssertionsShouldIncludeMessage" />
<exclude name="JUnitTestContainsTooManyAsserts" />
<exclude name="MethodReturnsInternalArray" /> <!-- TOFIX: disabled for now -->
<exclude name="SystemPrintln"/>
<exclude name="UseVarargs" /> <!-- TOFIX: disabled for now -->
<exclude name="WhileLoopWithLiteralBoolean" /> <!-- TOFIX: disabled for now -->
<exclude name="UnusedAssignment" /> <!-- TOFIX: disabled for now -->
</rule>
<rule ref="category/java/errorprone.xml" >
<exclude name="AvoidFieldNameMatchingMethodName" /> <!-- TOFIX: disabled for now -->
<exclude name="AvoidLiteralsInIfCondition" /> <!-- TOFIX: disabled for now -->
<exclude name="BeanMembersShouldSerialize" /> <!-- TOFIX: disabled for now -->
<exclude name="CompareObjectsWithEquals" /> <!-- TOFIX: disabled for now -->
<exclude name="DataflowAnomalyAnalysis" /> <!-- TOFIX: disabled for now -->
<exclude name="DoNotCallSystemExit" /> <!-- TOFIX: disabled for now -->
<exclude name="DoNotTerminateVM" /> <!-- TOFIX: disabled for now -->
<exclude name="ImportFromSamePackage" /> <!-- TOFIX: disabled for now -->
<exclude name="LoggerIsNotStaticFinal" />
<exclude name="MissingSerialVersionUID" /> <!-- TOFIX: disabled for now -->
<exclude name="NullAssignment" /> <!-- TOFIX: disabled for now -->
<exclude name="ReturnEmptyCollectionRatherThanNull" /> <!-- TOFIX: disabled for now -->
</rule>
</ruleset>