<commit_before><?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
    <Match>
      <!-- That code is auto generated -->
      <Package name="~com\.puppycrawl\.tools\.checkstyle\.grammars.*" />
    </Match>
    <Match>
      <!-- We are not aware of encoding of files that user has, so using user encoding is ok -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption" />
      <Bug pattern="DM_DEFAULT_ENCODING" />
    </Match>
    <Match>
      <!-- see a reason of suppression at #910 -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck$UniqueProperties" />
      <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
    </Match>
    <Match>
      <!-- false-positive, as Map will return null if key is not found -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler" />
      <Method name="collectFirstNodes" />
      <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
    </Match>
    <Match>
      <!-- it is ok here, as business meaning of that cases is not the same, it is occasional similarity -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck" />
      <Method name="visitToken" />
      <Bug pattern="DB_DUPLICATE_SWITCH_CLAUSES" />
    </Match>
    <Match>
      <!-- false positive, condition elements are not the same -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler" />
      <Method name="collectFirstNodes" />
      <Bug pattern="RpC_REPEATED_CONDITIONAL_TEST" />
    </Match>
    <Match>
      <!-- false positive, "preceded" is returned from method as result -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck" />
      <Method name="getPreceded" />
      <Bug pattern="DLS_DEAD_LOCAL_STORE" />
    </Match>
    <Match>
      <!-- till #922 -->
      <Class name="com.puppycrawl.tools.checkstyle.Checker" />
      <Method name="setClassloader" />
      <Bug pattern="NM_CONFUSING" />
    </Match>
    <Match>
      <!-- that CLI class so we need system exit code there, but only in main(...) method -->
      <Class name="com.puppycrawl.tools.checkstyle.Main" />
      <Method name="main" />
      <Bug pattern="DM_EXIT" />
    </Match>
    <Match>
      <!-- have never been a case for years, Eclipse does not show any other classes inherited from CommonASTWithHiddenTokens -->
      <Class name="com.puppycrawl.tools.checkstyle.api.DetailAST" />
      <Bug pattern="BC_UNCONFIRMED_CAST" />
    </Match>
    <Match>
      <!-- The structure of frames relies on the AST structure which relies on correct/compilable
        java files. It is ok to have direct casts to subtypes there. Any problems at runtime do
        mean serious problems in the algorithm or AST generation. -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck"/>
      <Or>
        <Bug pattern="BC_UNCONFIRMED_CAST"/>
        <Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
      </Or>
    </Match>
    <Match>
      <!-- till SonarQube update Checkstyle version. Support both getFileName() and getFilename() -->
      <and>
        <Class name="com.puppycrawl.tools.checkstyle.api.FileContents" />
        <Method name="~setFile[nN]ame" />
      </and><commit_msg>minor: update for reason in findbugs excludes<commit_after><?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
    <Match>
      <!-- That code is auto generated -->
      <Package name="~com\.puppycrawl\.tools\.checkstyle\.grammars.*" />
    </Match>
    <Match>
      <!-- We are not aware of encoding of files that user has, so using user encoding is ok -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption" />
      <Bug pattern="DM_DEFAULT_ENCODING" />
    </Match>
    <Match>
      <!-- see a reason of suppression at #910 -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck$UniqueProperties" />
      <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
    </Match>
    <Match>
      <!-- false-positive, as Map will return null if key is not found -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler" />
      <Method name="collectFirstNodes" />
      <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
    </Match>
    <Match>
      <!-- it is ok here, as business meaning of that cases is not the same, it is occasional similarity -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck" />
      <Method name="visitToken" />
      <Bug pattern="DB_DUPLICATE_SWITCH_CLAUSES" />
    </Match>
    <Match>
      <!-- false positive, condition elements are not the same -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler" />
      <Method name="collectFirstNodes" />
      <Bug pattern="RpC_REPEATED_CONDITIONAL_TEST" />
    </Match>
    <Match>
      <!-- false positive, "preceded" is returned from method as result -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck" />
      <Method name="getPreceded" />
      <Bug pattern="DLS_DEAD_LOCAL_STORE" />
    </Match>
    <Match>
      <!-- till #922 -->
      <Class name="com.puppycrawl.tools.checkstyle.Checker" />
      <Method name="setClassloader" />
      <Bug pattern="NM_CONFUSING" />
    </Match>
    <Match>
      <!-- that CLI class so we need system exit code there, but only in main(...) method -->
      <Class name="com.puppycrawl.tools.checkstyle.Main" />
      <Method name="main" />
      <Bug pattern="DM_EXIT" />
    </Match>
    <Match>
      <!-- have never been a case for years, Eclipse does not show any other classes inherited from CommonASTWithHiddenTokens -->
      <Class name="com.puppycrawl.tools.checkstyle.api.DetailAST" />
      <Bug pattern="BC_UNCONFIRMED_CAST" />
    </Match>
    <Match>
      <!-- The structure of frames relies on the AST structure which relies on correct/compilable
        java files. It is ok to have direct casts to subtypes there. Any problems at runtime do
        mean serious problems in the algorithm or AST generation. -->
      <Class name="com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck"/>
      <Or>
        <Bug pattern="BC_UNCONFIRMED_CAST"/>
        <Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
      </Or>
    </Match>
    <Match>
      <!-- till https://github.com/checkstyle/checkstyle/issues/3666 -->
      <and>
        <Class name="com.puppycrawl.tools.checkstyle.api.FileContents" />
        <Method name="~setFile[nN]ame" />
      </and>
{'fraction_non_alphanumeric': 0.13548095739876562, 'fraction_numerical': 0.0033117567364142706, 'mean_word_length': 2.851594202898551, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 2, '>': 145, 'https://': 1, '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': '7431365', 'n_tokens_mistral': 2123, 'n_tokens_neox': 2017, 'n_words': 495}