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

<!--

  A Checkstyle configuration that checks the coding conventions of
  the Community OpenORB project (openorb.sourceforge.net)

  Many Apache Jakarta projects like
  Avalon or Turbine use very similar conventions.

  Interesting techniques in this configuration:
  - use property expansion to find the header file
  - multiple instantiation of the MethodLengthCheck for different Token types

  This configuration includes rules taken from

  the Java Language Specification at
  http://java.sun.com/docs/books/jls/second_edition/html/index.html

  the Sun Code Conventions at
  http://java.sun.com/docs/codeconv/

  the Javadoc guidelines at
  http://java.sun.com/j2se/javadoc/writingdoccomments/index.html

  the JDK Api documentation
  http://java.sun.com/j2se/docs/api/index.html

  the OpenORB coding conventions at
  http://jakarta.apache.org/turbine/common/code-standards.html

  some best practices

-->

<module name="Checker">

  <property name="basedir" value="${basedir}"/>

  <module name="TreeWalker">

    <!-- naming conventions, the CORBA spec includes method names with underscores so we allow them here -->
    <module name="ConstantName">           <property name="format" value="^[A-Z](_?[A-Z0-9]+)*$"/></module>
    <module name="MethodName">             <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="LocalFinalVariableName"> <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="LocalVariableName">      <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="MemberName">             <property name="format" value="^m_[a-z](_?[a-zA-Z0-9])*$"/></module>
    <module name="ParameterName">          <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="TypeName">               <property name="format" value="^[A-Z][a-zA-Z0-9]*$"/></module>
    <module name="StaticVariableName">     <property name="format" value="^s_[a-z](_?[a-zA-Z0-9])*$"/></module>
    <module name="PackageName">            <property name="format" value="^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$"/></module>

    <!-- code layout -->
    <module name="RightCurly">             <property name="option" value="alone"/></module>
    <module name="MethodLeftCurly">        <property name="option" value="nl"/></module>
    <module name="OtherLeftCurly">         <property name="option" value="nl"/></module>
    <module name="TypeLeftCurly">          <property name="option" value="nl"/></module>
    <module name="NeedBraces"/>
    <module name="OperatorWrap"/>

    <!-- whitespace settings -->
    <module name="NoWhitespaceAfter"/>
    <module name="NoWhitespaceBefore"/>
    <module name="WhitespaceAfter"/>
    <module name="WhitespaceAround"/>



    <!-- JavaDoc guidelines -->
    <!-- <module name="JavadocMethod"><property name="scope" value="protected"/></module> -->
    <!-- <module name="JavadocVariable"><property name="scope" value="protected"/></module> -->
    <module name="JavadocType">
      <property name="scope" value="protected"/>
      <property name="authorFormat" value="^.+$"/> <!-- don't require email to avoid spam --><commit_msg>module name correction<commit_after><?xml version="1.0"?>
<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.0//EN"
    "http://www.puppycrawl.com/dtds/configuration_1_0.dtd">

<!--

  A Checkstyle configuration that checks the coding conventions of
  the Community OpenORB project (openorb.sourceforge.net)

  Many Apache Jakarta projects like
  Avalon or Turbine use very similar conventions.

  Interesting techniques in this configuration:
  - use property expansion to find the header file
  - multiple instantiation of the MethodLengthCheck for different Token types

  This configuration includes rules taken from

  the Java Language Specification at
  http://java.sun.com/docs/books/jls/second_edition/html/index.html

  the Sun Code Conventions at
  http://java.sun.com/docs/codeconv/

  the Javadoc guidelines at
  http://java.sun.com/j2se/javadoc/writingdoccomments/index.html

  the JDK Api documentation
  http://java.sun.com/j2se/docs/api/index.html

  the OpenORB coding conventions at
  http://jakarta.apache.org/turbine/common/code-standards.html

  some best practices

-->

<module name="Checker">

  <property name="basedir" value="${basedir}"/>

  <module name="TreeWalker">

    <!-- naming conventions, the CORBA spec includes method names with underscores so we allow them here -->
    <module name="ConstantName">           <property name="format" value="^[A-Z](_?[A-Z0-9]+)*$"/></module>
    <module name="MethodName">             <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="LocalFinalVariableName"> <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="LocalVariableName">      <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="MemberName">             <property name="format" value="^m_[a-z](_?[a-zA-Z0-9])*$"/></module>
    <module name="ParameterName">          <property name="format" value="^[a-z](_?[a-zA-Z0-9]+)*$"/></module>
    <module name="TypeName">               <property name="format" value="^[A-Z][a-zA-Z0-9]*$"/></module>
    <module name="StaticVariableName">     <property name="format" value="^s_[a-z](_?[a-zA-Z0-9])*$"/></module>
    <module name="PackageName">            <property name="format" value="^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$"/></module>

    <!-- code layout -->
    <module name="LeftCurly">              <property name="option" value="nl"/></module>
    <module name="RightCurly">             <property name="option" value="alone"/></module>
    <module name="NeedBraces"/>
    <module name="OperatorWrap"/>

    <!-- whitespace settings -->
    <module name="NoWhitespaceAfter"/>
    <module name="NoWhitespaceBefore"/>
    <module name="WhitespaceAfter"/>
    <module name="WhitespaceAround"/>



    <!-- JavaDoc guidelines -->
    <!-- <module name="JavadocMethod"><property name="scope" value="protected"/></module> -->
    <!-- <module name="JavadocVariable"><property name="scope" value="protected"/></module> -->
    <module name="JavadocType">
      <property name="scope" value="protected"/>
      <property name="authorFormat" value="^.+$"/> <!-- don't require email to avoid spam -->
{'fraction_non_alphanumeric': 0.18531521905052664, 'fraction_numerical': 0.007937719432147763, 'mean_word_length': 3.6666666666666665, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 2, '>': 131, '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': '5608187', 'n_tokens_mistral': 2146, 'n_tokens_neox': 2019, 'n_words': 438}