<commit_before><commit_msg>Add phpmd rules<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<ruleset
    name="KumbiaPHP instantiator 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"
>
    <rule ref="rulesets/cleancode.xml">
        <!-- static access is used correctly -->
        <exclude name="StaticAccess"/>
    </rule>
    <rule ref="rulesets/codesize.xml"/>
    <rule ref="rulesets/controversial.xml"/>
    <rule ref="rulesets/design.xml"/>
    <rule ref="rulesets/naming.xml"/>
    <rule ref="rulesets/unusedcode.xml"/>
</ruleset>
{'fraction_non_alphanumeric': 0.18532818532818532, 'fraction_numerical': 0.018018018018018018, 'mean_word_length': 3.7439024390243905, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 1, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 11}, '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': '1391273', 'n_tokens_mistral': 291, 'n_tokens_neox': 284, 'n_words': 35}