## Coverage Report

#### Created: 2026-04-14 19:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)

    /home/liu/actions-runner/_work/ccv/ccv/lib/ccv_output.c

    Line
    Count
    Source
    1
    #include "ccv.h"
    2
    3
    static int cli_output_levels = 0xffffffff & (~(CCV_CLI_VERBOSE | CCV_CLI_INFO));
    4
    5
    int ccv_cli_output_level_and_above(int level)
    6
    2
    {
    7
    2
      if (level == CCV_CLI_NONE)
    8
    1
        return CCV_CLI_NONE;
    9
    1
      int i;
    10
    1
      uint32_t levels = 0;
    11
    33
      for (i = 0; i < 32; i++32)
    12
    32
        if (level <= (1u << i))
    13
    31
          levels |= 1u << i;
    14
    1
      return (int)levels;
    15
    2
    }
    16
    17
    void ccv_cli_set_output_levels(int levels)
    18
    3
    {
    19
    3
      cli_output_levels = levels;
    20
    3
    }
    21
    22
    int ccv_cli_get_output_levels(void)
    23
    4.72M
    {
    24
    4.72M
      return cli_output_levels;
    25
    4.72M
    }