qicosmos / cinatra

modern c++(c++20), cross-platform, header-only, easy to use http framework
MIT License
1.9k stars 375 forks source link

Test http server #647

Closed qicosmos closed 1 week ago

github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                55    72.77%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                15    82.95%          22                 5    77.27%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2289    78.07%        2880               889    69.13%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               153    77.10%         202                55    72.77%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                19    78.41%          22                 6    72.73%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               713    42.31%         290               196    32.41%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2285    78.11%        2880               888    69.17%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               153    77.10%         202                55    72.77%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                15    82.95%          22                 5    77.27%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2285    78.11%        2880               889    69.13%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                55    72.77%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                15    82.95%          22                 5    77.27%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               713    42.31%         290               196    32.41%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2285    78.11%        2880               887    69.20%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                56    72.28%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                19    78.41%          22                 6    72.73%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2293    78.03%        2880               891    69.06%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                56    72.28%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                19    78.41%          22                 6    72.73%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2293    78.03%        2880               891    69.06%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                77    82.01%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                56    72.28%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984                97    90.14%         182                49    73.08%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                19    78.41%          22                 6    72.73%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2293    78.03%        2880               891    69.06%
github-actions[bot] commented 1 week ago

Code Coverage Report for detail, goto summary download Artifacts

Filename                              Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cinatra_log_wrapper.hpp                       4                 1    75.00%           9                 1    88.89%           0                 0         -
cookie.hpp                                   15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
coro_http_client.hpp                        105                 3    97.14%        1458               175    88.00%         428                78    81.78%
coro_http_connection.hpp                     36                 1    97.22%         668               157    76.50%         202                56    72.28%
coro_http_request.hpp                        28                 3    89.29%         215                35    83.72%          74                10    86.49%
coro_http_response.hpp                       32                 1    96.88%         229                 5    97.82%          94                10    89.36%
coro_http_router.hpp                         15                 0   100.00%         181                22    87.85%          20                 8    60.00%
coro_http_server.hpp                         51                 0   100.00%         984               100    89.84%         182                50    72.53%
coro_radix_tree.hpp                          17                 0   100.00%         264                38    85.61%         136                30    77.94%
define.h                                      3                 0   100.00%          36                 2    94.44%          20                 1    95.00%
http_parser.hpp                              28                 5    82.14%         183                23    87.43%          52                 8    84.62%
metric_conf.hpp                               8                 0   100.00%          96                24    75.00%          32                12    62.50%
mime_types.hpp                                1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                                 4                 0   100.00%          88                15    82.95%          22                 5    77.27%
picohttpparser.h                             13                 5    61.54%         431               242    43.85%         212               103    51.42%
response_cv.hpp                               2                 0   100.00%          55                30    45.45%          46                15    67.39%
session.hpp                                  11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
session_manager.hpp                          10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
sha1.hpp                                     12                 0   100.00%         181                 8    95.58%          12                 2    83.33%
string_resize.hpp                             2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                                20                 7    65.00%         172                70    59.30%          28                 2    92.86%
uri.hpp                                      17                 4    76.47%         200                52    74.00%         166                45    72.89%
url_encode_decode.hpp                         4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                    14                 0   100.00%         221                22    90.05%         116                43    62.93%
websocket.hpp                                15                 4    73.33%         170                42    75.29%          70                17    75.71%
ylt/coro_io/client_pool.hpp                  21                 5    76.19%         278               132    52.52%          56                37    33.93%
ylt/coro_io/coro_file.hpp                    34                 0   100.00%         246                20    91.87%          44                18    59.09%
ylt/coro_io/coro_io.hpp                      55                 6    89.09%         375                44    88.27%          32                 9    71.88%
ylt/coro_io/detail/client_queue.hpp          10                 5    50.00%          47                23    51.06%          10                 4    60.00%
ylt/coro_io/io_context_pool.hpp              40                 8    80.00%         227                41    81.94%          28                 8    71.43%
ylt/coro_io/load_blancer.hpp                 16                 1    93.75%         112                 8    92.86%          34                 8    76.47%
ylt/metric/counter.hpp                       22                 0   100.00%         173                 8    95.38%          50                 5    90.00%
ylt/metric/dynamic_metric.hpp                15                 0   100.00%          71                 0   100.00%          12                 1    91.67%
ylt/metric/gauge.hpp                          5                 0   100.00%          18                 0   100.00%           2                 0   100.00%
ylt/metric/histogram.hpp                     13                 2    84.62%         130                10    92.31%          26                 3    88.46%
ylt/metric/metric.hpp                        28                10    64.29%         101                25    75.25%          18                 2    88.89%
ylt/metric/metric_manager.hpp                58                 2    96.55%         409                42    89.73%          94                18    80.85%
ylt/metric/summary.hpp                       12                 3    75.00%          93                18    80.65%          18                 4    77.78%
ylt/metric/summary_impl.hpp                  23                 2    91.30%         266                83    68.80%          92                45    51.09%
ylt/metric/system_metric.hpp                 13                 0   100.00%         256                14    94.53%          16                 7    56.25%
ylt/metric/thread_local_value.hpp            12                 0   100.00%          74                 4    94.59%          16                 2    87.50%
ylt/util/concurrentqueue.h                   77                26    66.23%        1236               717    41.99%         290               198    31.72%
ylt/util/expected.hpp                         6                 4    33.33%           6                 4    33.33%           0                 0         -
ylt/util/map_sharded.hpp                     24                 0   100.00%         165                 5    96.97%          36                 6    83.33%
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       951               111    88.33%       10439              2292    78.04%        2880               892    69.03%