qicosmos / cinatra

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

improve #510

Closed qicosmos closed 5 months ago

github-actions[bot] commented 5 months 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                     86                 5    94.19%        1421               207    85.43%         454               117    74.23%
coro_http_connection.hpp                 35                 1    97.14%         649               154    76.27%         192                61    68.23%
coro_http_request.hpp                    23                 3    86.96%         179                13    92.74%          72                10    86.11%
coro_http_response.hpp                   22                 5    77.27%         174                62    64.37%          74                35    52.70%
coro_http_router.hpp                     16                 2    87.50%         176                43    75.57%          38                12    68.42%
coro_http_server.hpp                     36                 1    97.22%         706                62    91.22%         144                36    75.00%
coro_radix_tree.hpp                      17                 0   100.00%         274                40    85.40%         144                32    77.78%
define.h                                  1                 0   100.00%          24                 2    91.67%          20                 1    95.00%
http_parser.hpp                          25                 4    84.00%         184                30    83.70%          50                12    76.00%
mime_types.hpp                            1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
multipart.hpp                             4                 0   100.00%          86                13    84.88%          20                 4    80.00%
picohttpparser.h                         14                 6    57.14%         450               277    38.44%         198               101    48.99%
response_cv.hpp                           2                 0   100.00%          55                34    38.18%          46                17    63.04%
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%         183                 8    95.63%          12                 2    83.33%
string_resize.hpp                         2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
time_util.hpp                            22                 3    86.36%         337                63    81.31%         184                44    76.09%
uri.hpp                                  17                 5    70.59%         200                59    70.50%         166                50    69.88%
url_encode_decode.hpp                     4                 0   100.00%          85                20    76.47%          48                16    66.67%
utils.hpp                                14                 0   100.00%         202                22    89.11%         116                43    62.93%
websocket.hpp                            14                 3    78.57%         174                13    92.53%          78                18    76.92%
ylt/coro_io/coro_file.hpp                21                 7    66.67%         251               146    41.83%          42                21    50.00%
ylt/coro_io/coro_io.hpp                  38                 1    97.37%         219                 7    96.80%           2                 0   100.00%
ylt/coro_io/io_context_pool.hpp          34                13    61.76%         197                61    69.04%          18                 4    77.78%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                   500                63    87.40%        6465              1348    79.15%        2164               642    70.33%
codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fd92340) 70.55% compared to head (42b9b9e) 70.58%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #510 +/- ## ========================================== + Coverage 70.55% 70.58% +0.02% ========================================== Files 214 214 Lines 12586 12587 +1 ========================================== + Hits 8880 8884 +4 + Misses 3706 3703 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.