463N/A<?xml version="1.0" encoding="UTF-8"?>
463N/A<ruleset name="Custom ruleset for OpenGrok"
463N/A xmlns="http://pmd.sf.net/ruleset/1.0.0"
463N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
463N/A xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
463N/A xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
463N/A
463N/A <description>
463N/A Settings for PMD, tuned for the OpenGrok project.
463N/A </description>
463N/A
1374N/A <rule ref="rulesets/java/strings.xml"/>
1374N/A <rule ref="rulesets/java/basic.xml"/>
1374N/A <rule ref="rulesets/java/braces.xml"/>
1374N/A <rule ref="rulesets/java/clone.xml"/>
1374N/A <rule ref="rulesets/java/design.xml"/>
1374N/A <rule ref="rulesets/java/finalizers.xml"/>
1374N/A <rule ref="rulesets/java/imports.xml"/>
1374N/A <rule ref="rulesets/java/junit.xml">
1072N/A<!-- enable bellow to push people to write asserts which are easier to understand -->
1072N/A <exclude name="JUnitAssertionsShouldIncludeMessage"/>
1072N/A </rule>
1374N/A <rule ref="rulesets/java/logging-java.xml"/>
1374N/A <rule ref="rulesets/java/migrating.xml"/>
1374N/A <rule ref="rulesets/java/optimizations.xml">
525N/A <exclude name="AvoidInstantiatingObjectsInLoops"/>
525N/A <!-- Enable the following when we have fever reported warnings -->
463N/A <exclude name="LocalVariableCouldBeFinal"/>
463N/A <exclude name="MethodArgumentCouldBeFinal"/>
463N/A </rule>
1374N/A <rule ref="rulesets/java/strictexception.xml"/>
1374N/A <rule ref="rulesets/java/strings.xml"/>
1374N/A <rule ref="rulesets/java/sunsecure.xml"/>
1374N/A <rule ref="rulesets/java/typeresolution.xml">
1072N/A<!-- <properties>
1072N/A <property name="IgnoreJUnitCompletely" value="true"/>
1072N/A </properties> -->
1072N/A </rule>
1374N/A <rule ref="rulesets/java/unusedcode.xml"/>
1374N/A <rule ref="rulesets/java/javabeans.xml/MissingSerialVersionUID"/>
463N/A
463N/A</ruleset>