<commit_before><?xml version="1.0"?>
<ruleset name="Custom 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">

    <!-- Rule descriptions found at: https://pmd.github.io/pmd-5.4.0/pmd-java/rules/index.html -->
    <description>PMD scans Java source code and looks for potential problems/</description>

    <!-- Contains a collection of good practices which should be followed. -->
    <rule ref="rulesets/java/basic.xml" />

    <!-- Contains rules regarding the use and placement of braces. -->
    <rule ref="rulesets/java/braces.xml" />

    <!-- Find questionable usages of the clone() method. -->
    <rule ref="rulesets/java/clone.xml" />

    <!-- Contains rules that find problems related to code size or complexity. -->
    <rule ref="rulesets/java/codesize.xml">
        <exclude name="TooManyMethods" />
    </rule>

    <!-- Contains rules that find problems related to code size or complexity. -->
    <rule ref="rulesets/java/controversial.xml">
        <exclude name="OnlyOneReturn" /><commit_msg>Fix typo in PMD ruleset<commit_after><?xml version="1.0"?>
<ruleset name="Custom 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">

    <!-- Rule descriptions found at: https://pmd.github.io/pmd-5.4.0/pmd-java/rules/index.html -->
    <description>PMD scans Java source code and looks for potential problems.</description>

    <!-- Contains a collection of good practices which should be followed. -->
    <rule ref="rulesets/java/basic.xml" />

    <!-- Contains rules regarding the use and placement of braces. -->
    <rule ref="rulesets/java/braces.xml" />

    <!-- Find questionable usages of the clone() method. -->
    <rule ref="rulesets/java/clone.xml" />

    <!-- Contains rules that find problems related to code size or complexity. -->
    <rule ref="rulesets/java/codesize.xml">
        <exclude name="TooManyMethods" />
    </rule>

    <!-- Contains rules that find problems related to code size or complexity. -->
    <rule ref="rulesets/java/controversial.xml">
        <exclude name="OnlyOneReturn" />
{'fraction_non_alphanumeric': 0.15485996705107083, 'fraction_numerical': 0.015650741350906095, 'mean_word_length': 3.0281923714759538, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 2, '>': 39, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 16}, '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': '7412392', 'n_tokens_mistral': 777, 'n_tokens_neox': 739, 'n_words': 178}