<?xml version="1.0"?>

<ruleset name="Favorites" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../etc/ruleset_xml_schema.xml">
  <description>
The Favorites ruleset contains links to rules that I like to use.  Usually I
combine this ruleset with the unusedcode.xml, basic.xml, and import.xml rulesets for my projects.
This ruleset also serves as an example of how to do a custom ruleset.
  </description>

  <rule ref="rulesets/basic.xml"/>

 <rule ref="rulesets/basic.xml/EmptyCatchBlock" message="Must handle exceptions">
     <priority>2</priority>
  </rule>

  <rule ref="rulesets/unusedcode.xml"/>

  <rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>
  <rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>

  <rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
  <rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>

  <rule ref="rulesets/strings.xml/StringToString"/>
  <rule ref="rulesets/strings.xml/StringInstantiation"/>

  <rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>
  <rule ref="rulesets/controversial.xml/NullAssignment"/>
<!-- jmv
  <rule ref="rulesets/controversial.xml/UnusedModifier"/>
-->
  <rule ref="rulesets/codesize.xml/CyclomaticComplexity">
      <properties>
         <property name="reportLevel" value="5"/>
      </properties>
    </rule>


</ruleset>



