<commit_before><?xml version="1.0"?>
<!DOCTYPE module PUBLIC
          "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
          "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
    Checkstyle configuration that checks the SSHD coding conventions.
    Checkstyle is very configurable. Be sure to read the documentation at
    http://checkstyle.sf.net (or in your downloaded distribution).
    To completely disable a check, just comment it out or delete it from the file.

    Authors: <NAME>, <NAME>
 -->

<module name="Checker">
	<!-- Checks whether files end with a new line.                        -->
	<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
	<!--
		<module name="NewlineAtEndOfFile" />
	-->

	<!-- Checks that property files contain the same keys.         -->
	<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
	<module name="Translation" />

	<!--<module name="StrictDuplicateCode" />-->

	<module name="TreeWalker">
        <property name="fileExtensions" value="java" />

            <!-- Checks for Javadoc comments.                     -->
            <!-- See http://checkstyle.sf.net/config_javadoc.html -->
            <!--
                <module name="PackageHtml" />
                <module name="JavadocMethod" />
                <module name="JavadocType" />
                <module name="JavadocVariable" />
                <module name="JavadocStyle" />
            -->

            <!-- Check annotations conventions -->
            <!-- See http://checkstyle.sourceforge.net/config_annotation.html -->
        <module name="MissingOverride" />
        <module name="MissingDeprecated" />
        <module name="AnnotationLocation">
            <property name="allowSamelineMultipleAnnotations" value="false" />
            <property name="allowSamelineSingleParameterlessAnnotation" value="false" />
            <property name="allowSamelineParameterizedAnnotation" value="false" />
        </module>

            <!-- Checks for Naming Conventions.                  -->
            <!-- See http://checkstyle.sf.net/config_naming.html -->
        <module name="ConstantName" />
        <module name="LocalFinalVariableName" />
        <module name="LocalVariableName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="MemberName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="MethodName" />
            <!-- Allow only lowercase and digits in package name -->
        <module name="PackageName">
            <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
        </module>
        <module name="ParameterName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="InterfaceTypeParameterName">
            <property name="format" value="^[A-Z]+$" />
        </module>
        <module name="StaticVariableName" />
        <module name="TypeName" />

            <!-- Checks for imports                              -->
            <!-- See http://checkstyle.sf.net/config_imports.html -->
        <module name="AvoidStarImport" />
        <module name="AvoidStaticImport" />
        <module name="IllegalImport" /><!-- defaults to sun.* packages -->
        <module name="RedundantImport" />
        <module name="UnusedImports" />
        <module name="ImportOrder">
            <property name="groups" value="java,javax,org,net,io,com,*" />
            <property name="ordered" value="true" />
            <property name="separated" value="true" />
        </module>

            <!--
                <module name="ImportControl">
                    <property name="file" value="etc/import-control.xml" />
                </module>
            -->

            <!-- Checks for Size Violations.                    -->
            <!-- See http://checkstyle.sf.net/config_sizes.html -->
        <module name="AnonInnerLength">
            <property name="max" value="50" />
        </module>
        <module name="ExecutableStatementCount">
            <property name="max" value="100" />
        </module>
        <module name="LineLength">
            <property name="max" value="180" />
        </module>
        <module name="MethodLength">
            <property name="max" value="150" />
            <property name="countEmpty" value="false" />
        </module>
        <module name="ParameterNumber">
            <property name="max" value="8" />
        </module>
        <module name="OuterTypeNumber">
            <property name="max" value="2"/>
        </module>
        <module name="MethodCount">
            <property name="maxPrivate" value="5"/>
            <property name="maxPackage" value="5"/>
        </module>

            <!-- Checks for whitespace                               -->
            <!-- See http://checkstyle.sf.net/config_whitespace.html -->
        <module name="EmptyForIteratorPad" />
        <module name="EmptyForInitializerPad" />
        <module name="MethodParamPad" />
        <module name="WhitespaceAfter" />
        <module name="NoWhitespaceAfter">
            <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,AT,LNOT,UNARY_MINUS,UNARY_PLUS" />
        </module>
        <module name="EmptyLineSeparator">
            <property name="tokens" value="IMPORT,CLASS_DEF,INTERFACE_DEF,STATIC_INIT,INSTANCE_INIT,METHOD_DEF,CTOR_DEF" />
            <property name="allowMultipleEmptyLines" value="false" />
            <property name="allowNoEmptyLineBetweenFields" value="true" />
            <property name="allowMultipleEmptyLinesInsideClassMembers" value="false" />
        </module>
        <module name="NoWhitespaceBefore" />
        <module name="GenericWhitespace"/>
        <module name="OperatorWrap" />
        <module name="ParenPad" /><commit_msg>Disallow empty space(s) between method reference and its parameters<commit_after><?xml version="1.0"?>
<!DOCTYPE module PUBLIC
          "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
          "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
    Checkstyle configuration that checks the SSHD coding conventions.
    Checkstyle is very configurable. Be sure to read the documentation at
    http://checkstyle.sf.net (or in your downloaded distribution).
    To completely disable a check, just comment it out or delete it from the file.

    Authors: <NAME>, <NAME>
 -->

<module name="Checker">
	<!-- Checks whether files end with a new line.                        -->
	<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
	<!--
		<module name="NewlineAtEndOfFile" />
	-->

	<!-- Checks that property files contain the same keys.         -->
	<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
	<module name="Translation" />

	<!--<module name="StrictDuplicateCode" />-->

	<module name="TreeWalker">
        <property name="fileExtensions" value="java" />

            <!-- Checks for Javadoc comments.                     -->
            <!-- See http://checkstyle.sf.net/config_javadoc.html -->
            <!--
                <module name="PackageHtml" />
                <module name="JavadocMethod" />
                <module name="JavadocType" />
                <module name="JavadocVariable" />
                <module name="JavadocStyle" />
            -->

            <!-- Check annotations conventions -->
            <!-- See http://checkstyle.sourceforge.net/config_annotation.html -->
        <module name="MissingOverride" />
        <module name="MissingDeprecated" />
        <module name="AnnotationLocation">
            <property name="allowSamelineMultipleAnnotations" value="false" />
            <property name="allowSamelineSingleParameterlessAnnotation" value="false" />
            <property name="allowSamelineParameterizedAnnotation" value="false" />
        </module>

            <!-- Checks for Naming Conventions.                  -->
            <!-- See http://checkstyle.sf.net/config_naming.html -->
        <module name="ConstantName" />
        <module name="LocalFinalVariableName" />
        <module name="LocalVariableName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="MemberName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="MethodName" />
            <!-- Allow only lowercase and digits in package name -->
        <module name="PackageName">
            <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
        </module>
        <module name="ParameterName">
            <property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
        </module>
        <module name="InterfaceTypeParameterName">
            <property name="format" value="^[A-Z]+$" />
        </module>
        <module name="StaticVariableName" />
        <module name="TypeName" />

            <!-- Checks for imports                              -->
            <!-- See http://checkstyle.sf.net/config_imports.html -->
        <module name="AvoidStarImport" />
        <module name="AvoidStaticImport" />
        <module name="IllegalImport" /><!-- defaults to sun.* packages -->
        <module name="RedundantImport" />
        <module name="UnusedImports" />
        <module name="ImportOrder">
            <property name="groups" value="java,javax,org,net,io,com,*" />
            <property name="ordered" value="true" />
            <property name="separated" value="true" />
        </module>

            <!--
                <module name="ImportControl">
                    <property name="file" value="etc/import-control.xml" />
                </module>
            -->

            <!-- Checks for Size Violations.                    -->
            <!-- See http://checkstyle.sf.net/config_sizes.html -->
        <module name="AnonInnerLength">
            <property name="max" value="50" />
        </module>
        <module name="ExecutableStatementCount">
            <property name="max" value="100" />
        </module>
        <module name="LineLength">
            <property name="max" value="180" />
        </module>
        <module name="MethodLength">
            <property name="max" value="150" />
            <property name="countEmpty" value="false" />
        </module>
        <module name="ParameterNumber">
            <property name="max" value="8" />
        </module>
        <module name="OuterTypeNumber">
            <property name="max" value="2"/>
        </module>
        <module name="MethodCount">
            <property name="maxPrivate" value="5"/>
            <property name="maxPackage" value="5"/>
        </module>

            <!-- Checks for whitespace                               -->
            <!-- See http://checkstyle.sf.net/config_whitespace.html -->
        <module name="EmptyForIteratorPad" />
        <module name="EmptyForInitializerPad" />
        <module name="MethodParamPad" />
        <module name="WhitespaceAfter" />
        <module name="NoWhitespaceBefore">
            <property name="tokens" value="COMMA,ELLIPSIS,SEMI,POST_INC,POST_DEC,METHOD_REF" />
        </module>
        <module name="NoWhitespaceAfter">
            <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,AT,LNOT,UNARY_MINUS,UNARY_PLUS,METHOD_REF" />
        </module>
        <module name="EmptyLineSeparator">
            <property name="tokens" value="IMPORT,CLASS_DEF,INTERFACE_DEF,STATIC_INIT,INSTANCE_INIT,METHOD_DEF,CTOR_DEF" />
            <property name="allowMultipleEmptyLines" value="false" />
            <property name="allowNoEmptyLineBetweenFields" value="true" />
            <property name="allowMultipleEmptyLinesInsideClassMembers" value="false" />
        </module>
        <module name="GenericWhitespace"/>
        <module name="OperatorWrap" />
        <module name="ParenPad" />
{'fraction_non_alphanumeric': 0.15486836606769744, 'fraction_numerical': 0.004847471792728792, 'mean_word_length': 2.0619242579324464, 'pattern_counts': {'":': 0, '<': 241, '<?xml version=': 2, '>': 241, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3582417', 'n_tokens_mistral': 3313, 'n_tokens_neox': 3175, 'n_words': 634}