pmd_ruleset.xml revision 463
98N/A<?xml version="1.0" encoding="UTF-8"?>
98N/A<ruleset name="Custom ruleset for OpenGrok"
98N/A xmlns="http://pmd.sf.net/ruleset/1.0.0"
98N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
98N/A xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
98N/A xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
98N/A
98N/A <description>
98N/A Settings for PMD, tuned for the OpenGrok project.
98N/A </description>
98N/A
98N/A <rule ref="rulesets/strings.xml"/>
98N/A <rule ref="rulesets/basic.xml"/>
98N/A <rule ref="rulesets/braces.xml"/>
98N/A <rule ref="rulesets/clone.xml"/>
98N/A <rule ref="rulesets/design.xml"/>
98N/A <rule ref="rulesets/finalizers.xml"/>
98N/A <rule ref="rulesets/imports.xml"/>
98N/A <rule ref="rulesets/junit.xml"/>
98N/A <rule ref="rulesets/logging-java.xml"/>
98N/A <rule ref="rulesets/migrating.xml"/>
98N/A <rule ref="rulesets/optimizations.xml">
98N/A <!-- Enable when we have fever reported warnings -->
98N/A <exclude name="LocalVariableCouldBeFinal"/>
98N/A <exclude name="MethodArgumentCouldBeFinal"/>
98N/A </rule>
98N/A <rule ref="rulesets/strictexception.xml"/>
98N/A <rule ref="rulesets/strings.xml"/>
98N/A <rule ref="rulesets/sunsecure.xml"/>
98N/A <rule ref="rulesets/typeresolution.xml"/>
137N/A <rule ref="rulesets/unusedcode.xml"/>
98N/A
98N/A</ruleset>
98N/A