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