<commit_before><?xml version="1.0" encoding="UTF-8"?>
<cobra document="https://github.com/wufeifei/cobra">
    <name value="信息泄露"/>
    <language value="php"/>
    <match mode="regex-only-match"><![CDATA[(print_r|var_dump|show_source|highlight_file|dd)\s*\(]]></match>
    <level value="2"/>
    <test>
        <case assert="true"><![CDATA[print_r($a);]]></case>
        <case assert="true"><![CDATA[var_dump($a);]]></case>
        <case assert="true"><![CDATA[highlight_file($file);]]></case>
    </test>
    <solution>
        ## 安全风险
        可能导致信息泄露

        ## 修复方案
        删除代码
    </solution>
    <status value="on"/>
    <author name="Feei" email="<EMAIL>"/>
</cobra><commit_msg>remove special function (dd)<commit_after><?xml version="1.0" encoding="UTF-8"?>
<cobra document="https://github.com/wufeifei/cobra">
    <name value="信息泄露"/>
    <language value="php"/>
    <match mode="regex-only-match"><![CDATA[(print_r|var_dump|show_source|highlight_file)\s*\(]]></match>
    <level value="2"/>
    <test>
        <case assert="true"><![CDATA[print_r($a);]]></case>
        <case assert="true"><![CDATA[var_dump($a);]]></case>
        <case assert="true"><![CDATA[highlight_file($file);]]></case>
    </test>
    <solution>
        ## 安全风险
        可能导致信息泄露

        ## 修复方案
        删除代码
    </solution>
    <status value="on"/>
    <author name="Feei" email="<EMAIL>"/>
</cobra>
{'fraction_non_alphanumeric': 0.2344877344877345, 'fraction_numerical': 0.005772005772005772, 'mean_word_length': 3.4455128205128207, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 2, '>': 53, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4361295', 'n_tokens_mistral': 545, 'n_tokens_neox': 537, 'n_words': 68}