<commit_before>"! Version constants for abap-log
CLASS zcl_alog_version DEFINITION
  PUBLIC
  FINAL
  CREATE PRIVATE.

  PUBLIC SECTION.
    CONSTANTS:
      "! Version of abap-log library in major.minor.revision format
      gc_version TYPE string VALUE '0.1.0'.
    CLASS-METHODS:
      class_constructor,
      "! Factory method
      "! @parameter iv_version | Version string
      "! @parameter ro_version | Created instance
      "! @raising zcx_alog_illegal_argument | iv_version does not have the required format
      of IMPORTING iv_version        TYPE string
         RETURNING VALUE(ro_version) TYPE REF TO zcl_alog_version
         RAISING   zcx_alog_illegal_argument,
      "! Compare two version instances
      "! @parameter io_version_a | Version A
      "! @parameter io_version_b | Version B
      "! @parameter rv_result | <ul>
      "!                          <li>Less than 0 = version A is lower than version B</li>
      "!                          <li>Greater than 0 = version A is higher than version B</li>
      "!                          <li>Equal to 0 = versions are identical</li>
      "!                        </ul>
      "! @raising zcx_alog_argument_null | io_version_a and io_version_b cannot be null
      compare IMPORTING io_version_a     TYPE REF TO zcl_alog_version
                        io_version_b     TYPE REF TO zcl_alog_version
              RETURNING VALUE(rv_result) TYPE i
              RAISING   zcx_alog_argument_null.
    METHODS:
      "! Compare this version to another one
      "! @parameter io_version | The version to compare this instance to
      "! @parameter rv_result | See <em>compare</em>
      "! @raising zcx_alog_argument_null | io_version cannot be null
      compare_to IMPORTING io_version       TYPE REF TO zcl_alog_version
                 RETURNING VALUE(rv_result) TYPE i<commit_msg>Prepare for next development iteration<commit_after>"! Version constants for abap-log
CLASS zcl_alog_version DEFINITION
  PUBLIC
  FINAL
  CREATE PRIVATE.

  PUBLIC SECTION.
    CONSTANTS:
      "! Version of abap-log library in major.minor.revision format
      gc_version TYPE string VALUE '0.1.1-SNAPSHOT'.
    CLASS-METHODS:
      class_constructor,
      "! Factory method
      "! @parameter iv_version | Version string
      "! @parameter ro_version | Created instance
      "! @raising zcx_alog_illegal_argument | iv_version does not have the required format
      of IMPORTING iv_version        TYPE string
         RETURNING VALUE(ro_version) TYPE REF TO zcl_alog_version
         RAISING   zcx_alog_illegal_argument,
      "! Compare two version instances
      "! @parameter io_version_a | Version A
      "! @parameter io_version_b | Version B
      "! @parameter rv_result | <ul>
      "!                          <li>Less than 0 = version A is lower than version B</li>
      "!                          <li>Greater than 0 = version A is higher than version B</li>
      "!                          <li>Equal to 0 = versions are identical</li>
      "!                        </ul>
      "! @raising zcx_alog_argument_null | io_version_a and io_version_b cannot be null
      compare IMPORTING io_version_a     TYPE REF TO zcl_alog_version
                        io_version_b     TYPE REF TO zcl_alog_version
              RETURNING VALUE(rv_result) TYPE i
              RAISING   zcx_alog_argument_null.
    METHODS:
      "! Compare this version to another one
      "! @parameter io_version | The version to compare this instance to
      "! @parameter rv_result | See <em>compare</em>
      "! @raising zcx_alog_argument_null | io_version cannot be null
      compare_to IMPORTING io_version       TYPE REF TO zcl_alog_version
                 RETURNING VALUE(rv_result) TYPE i
{'fraction_non_alphanumeric': 0.06037234042553191, 'fraction_numerical': 0.0031914893617021275, 'mean_word_length': 2.2200342465753424, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4488199', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1091, 'n_words': 339}