<commit_before><?xml version="1.0"?>
<ruleset name="batfish-pmd-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>
    This ruleset defines the PMD rules for project "batfish".
  </description>

  <rule ref="rulesets/java/basic.xml">
     <exclude name="AvoidUsingHardCodedIP"/>
     <exclude name="CheckResultSet"/>
     <exclude name="OverrideBothEqualsAndHashcode"/>
  </rule>
  <rule ref="rulesets/java/imports.xml">
     <exclude name="TooManyStaticImports"/>
  </rule>
  <rule ref="rulesets/java/unnecessary.xml">
     <exclude name="UselessParentheses"/>
  </rule>
  <rule ref="rulesets/java/unusedcode.xml">
     <exclude name="UnusedFormalParameter"/>
     <exclude name="UnusedPrivateMethod"/>
  </rule>
</ruleset>
<commit_msg>stop caring about nested ifs (#1098)<commit_after><?xml version="1.0"?>
<ruleset name="batfish-pmd-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>
    This ruleset defines the PMD rules for project "batfish".
  </description>

  <rule ref="rulesets/java/basic.xml">
     <exclude name="AvoidUsingHardCodedIP"/>
     <exclude name="CheckResultSet"/>
     <exclude name="CollapsibleIfStatements"/>
     <exclude name="OverrideBothEqualsAndHashcode"/>
  </rule>
  <rule ref="rulesets/java/imports.xml">
     <exclude name="TooManyStaticImports"/>
  </rule>
  <rule ref="rulesets/java/unnecessary.xml">
     <exclude name="UselessParentheses"/>
  </rule>
  <rule ref="rulesets/java/unusedcode.xml">
     <exclude name="UnusedFormalParameter"/>
     <exclude name="UnusedPrivateMethod"/>
  </rule>
</ruleset>

{'fraction_non_alphanumeric': 0.16855670103092785, 'fraction_numerical': 0.018556701030927835, 'mean_word_length': 4.274456521739131, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 2, '>': 44, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '534649', 'n_tokens_mistral': 713, 'n_tokens_neox': 673, 'n_words': 99}