<commit_before><ruleset name="Button Men Rules"
         xmlns="http://pmd.sf.net/ruleset/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
         xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">

  <description>PMD rules used for Button Men PHP code</description>

  <!-- Import existing rule sets -->

  <!-- Import codesize rule set, but exclude several items -->
  <!-- N.B. exclude CyclomaticComplexity here, and include it later with a different threshold -->
  <rule ref="rulesets/codesize.xml">
    <exclude name="CyclomaticComplexity" />
    <exclude name="ExcessiveClassComplexity" />
    <exclude name="ExcessiveClassLength" />
    <exclude name="NPathComplexity" />
    <exclude name="TooManyMethods" />
  </rule> 

  <!-- Include CyclomaticComplexity with a higher threshold (default is 10) -->
  <rule ref="rulesets/codesize.xml/CyclomaticComplexity">
    <properties>
      <property name="reportLevel" value="13" />
    </properties> 
  </rule>

  <!-- Import entire design rule set, but exclude NumberOfChildren -->
  <rule ref="rulesets/design.xml">
    <exclude name="NumberOfChildren" />
  </rule> 

  <!-- Import naming and unused code rule sets without modification -->
  <rule ref="rulesets/naming.xml" /> 
  <rule ref="rulesets/unusedcode.xml" /> 
</ruleset><commit_msg>* raise LongVariable threshold to 30<commit_after><ruleset name="Button Men Rules"
         xmlns="http://pmd.sf.net/ruleset/1.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
         xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">

  <description>PMD rules used for Button Men PHP code</description>

  <!-- Import existing rule sets -->

  <!-- Import codesize rule set, but exclude several items -->
  <!-- N.B. exclude CyclomaticComplexity here, and include it later with a different threshold -->
  <rule ref="rulesets/codesize.xml">
    <exclude name="CyclomaticComplexity" />
    <exclude name="ExcessiveClassComplexity" />
    <exclude name="ExcessiveClassLength" />
    <exclude name="NPathComplexity" />
    <exclude name="TooManyMethods" />
  </rule> 

  <!-- Include CyclomaticComplexity with a higher threshold (default is 10) -->
  <rule ref="rulesets/codesize.xml/CyclomaticComplexity">
    <properties>
      <property name="reportLevel" value="13" />
    </properties> 
  </rule>

  <!-- Import entire design rule set, but exclude NumberOfChildren -->
  <rule ref="rulesets/design.xml">
    <exclude name="NumberOfChildren" />
  </rule> 

  <!-- Import naming rule set, but exclude items whose thresholds we want to change -->
  <rule ref="rulesets/naming.xml">
    <exclude name="LongVariable" />
  </rule>

  <!-- Import LongVariable with a higher threshold (default is 20) -->
  <rule ref="rulesets/naming.xml/LongVariable">
    <properties>
      <property name="maximum" value="30" />
    </properties>
  </rule>

  <!-- Import unused code rule set without modification -->
  <rule ref="rulesets/unusedcode.xml" /> 
</ruleset>
{'fraction_non_alphanumeric': 0.14964517124344337, 'fraction_numerical': 0.011107682813946312, 'mean_word_length': 3.465564738292011, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 66, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 19}, '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': '6696896', 'n_tokens_mistral': 1043, 'n_tokens_neox': 966, 'n_words': 231}