<commit_before><?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">




<module name="Checker">

    <property name="severity" value="error" />

    <!-- miscellaneous -->
    <module name="NewlineAtEndOfFile">
        <property name="lineSeparator" value="lf" />
    </module>
    <module name="Translation" />

    <!-- size violations -->
    <module name="FileLength" />

    <!-- Duplicate code -->
    <!--
   <module name="StrictDuplicateCode">
       <property name="min" value="100" />
   </module>
    -->

    <!-- Regexp -->
    <module name="RegexpSingleline">
        <property name="format" value="\s+$" />
        <property name="message" value="Line has trailing spaces." />
    </module>


    <!-- Whitespace -->
    <module name="FileTabCharacter" />


    <module name="TreeWalker">
        <!-- enable the suppression filters -->
        <module name="FileContentsHolder" />

        <!-- annotations -->
        <module name="AnnotationUseStyle" />
        <module name="MissingOverride" />


        <!-- block check -->
        <module name="EmptyBlock" />
        <module name="LeftCurly" />
        <module name="NeedBraces" />
        <module name="RightCurly" />
        <module name="AvoidNestedBlocks" />


        <!-- class design -->
        <module name="VisibilityModifier" />
        <module name="FinalClass" />
        <module name="InterfaceIsType" />
        <module name="HideUtilityClassConstructor" />
        <!-- <module name="DesignForExtension" /> -->
        <module name="MutableException">
            <property name="format" value="^.*Exception$" />
        </module>
        <module name="ThrowsCount">
            <property name="max" value="5" />
        </module>
        <module name="InnerTypeLast" />


        <!-- coding -->
        <module name="ArrayTrailingComma" />
        <!-- <module name="AvoidInlineConditionals"/> we like these -->
        <module name="CovariantEquals" />
        <module name="DoubleCheckedLocking" />
        <module name="EmptyStatement" />
        <!-- <module name="EqualsAvoidNull"/> yoda speak it is -->
        <module name="EqualsHashCode" />
        <!-- <module name="FinalLocalVariable" /> -->
        <module name="HiddenField">
            <property name="ignoreConstructorParameter" value="true" />
            <property name="ignoreSetter" value="true" />
        </module>
        <module name="IllegalInstantiation" />
        <!-- <module name="IllegalToken" /> increments, decrements are ok -->
        <module name="InnerAssignment" />
        <!-- too painful for hashcode/equals auto-generated methods
        <module name="MagicNumber" >
            <property name="ignoreAnnotation" value="true" />
        </module>
        --><commit_msg>DoubleCheckedLocking removed in checkstyle 5.6<commit_after><?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">




<module name="Checker">

    <property name="severity" value="error" />

    <!-- miscellaneous -->
    <module name="NewlineAtEndOfFile">
        <property name="lineSeparator" value="lf" />
    </module>
    <module name="Translation" />

    <!-- size violations -->
    <module name="FileLength" />

    <!-- Duplicate code -->
    <!--
   <module name="StrictDuplicateCode">
       <property name="min" value="100" />
   </module>
    -->

    <!-- Regexp -->
    <module name="RegexpSingleline">
        <property name="format" value="\s+$" />
        <property name="message" value="Line has trailing spaces." />
    </module>


    <!-- Whitespace -->
    <module name="FileTabCharacter" />


    <module name="TreeWalker">
        <!-- enable the suppression filters -->
        <module name="FileContentsHolder" />

        <!-- annotations -->
        <module name="AnnotationUseStyle" />
        <module name="MissingOverride" />


        <!-- block check -->
        <module name="EmptyBlock" />
        <module name="LeftCurly" />
        <module name="NeedBraces" />
        <module name="RightCurly" />
        <module name="AvoidNestedBlocks" />


        <!-- class design -->
        <module name="VisibilityModifier" />
        <module name="FinalClass" />
        <module name="InterfaceIsType" />
        <module name="HideUtilityClassConstructor" />
        <!-- <module name="DesignForExtension" /> -->
        <module name="MutableException">
            <property name="format" value="^.*Exception$" />
        </module>
        <module name="ThrowsCount">
            <property name="max" value="5" />
        </module>
        <module name="InnerTypeLast" />


        <!-- coding -->
        <module name="ArrayTrailingComma" />
        <!-- <module name="AvoidInlineConditionals"/> we like these -->
        <module name="CovariantEquals" />
        <module name="EmptyStatement" />
        <!-- <module name="EqualsAvoidNull"/> yoda speak it is -->
        <module name="EqualsHashCode" />
        <!-- <module name="FinalLocalVariable" /> -->
        <module name="HiddenField">
            <property name="ignoreConstructorParameter" value="true" />
            <property name="ignoreSetter" value="true" />
        </module>
        <module name="IllegalInstantiation" />
        <!-- <module name="IllegalToken" /> increments, decrements are ok -->
        <module name="InnerAssignment" />
        <!-- too painful for hashcode/equals auto-generated methods
        <module name="MagicNumber" >
            <property name="ignoreAnnotation" value="true" />
        </module>
        -->
{'fraction_non_alphanumeric': 0.17035087719298245, 'fraction_numerical': 0.0038596491228070177, 'mean_word_length': 2.2953757225433526, 'pattern_counts': {'":': 0, '<': 148, '<?xml version=': 2, '>': 148, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4773166', 'n_tokens_mistral': 1592, 'n_tokens_neox': 1512, 'n_words': 320}