qicosmos / rest_rpc

modern C++(C++11), simple, easy to use rpc framework
MIT License
1.66k stars 365 forks source link

add test case #124

Closed zhengjian526 closed 5 months ago

zhengjian526 commented 5 months ago

119

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
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     4                 2    50.00%          25                14    44.00%           4                 3    25.00%
codec.h                             3                 0   100.00%          19                 2    89.47%           0                 0         -
connection.h                       34                 8    76.47%         344               119    65.41%          64                37    42.19%
io_service_pool.h                   5                 0   100.00%          32                 1    96.88%          12                 1    91.67%
md5.hpp                            19                 2    89.47%         127                 8    93.70%          24                 0   100.00%
nonstd_any.hpp                     13                10    23.08%          28                22    21.43%           0                 0         -
router.h                           15                 2    86.67%         119                36    69.75%          10                 6    40.00%
rpc_client.hpp                     68                16    76.47%         623               181    70.95%         124                64    48.39%
rpc_server.h                       21                 7    66.67%         159                49    69.18%          32                17    46.88%
string_view.hpp                    23                13    43.48%          72                51    29.17%          22                18    18.18%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             205                60    70.73%        1548               483    68.80%         292               146    50.00%
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
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     4                 2    50.00%          25                14    44.00%           4                 3    25.00%
codec.h                             3                 0   100.00%          19                 2    89.47%           0                 0         -
connection.h                       34                 8    76.47%         344               119    65.41%          64                37    42.19%
io_service_pool.h                   5                 0   100.00%          32                 1    96.88%          12                 1    91.67%
md5.hpp                            19                 2    89.47%         127                 8    93.70%          24                 0   100.00%
nonstd_any.hpp                     13                10    23.08%          28                22    21.43%           0                 0         -
router.h                           15                 2    86.67%         119                36    69.75%          10                 6    40.00%
rpc_client.hpp                     68                16    76.47%         623               181    70.95%         124                64    48.39%
rpc_server.h                       21                 7    66.67%         159                49    69.18%          32                17    46.88%
string_view.hpp                    23                13    43.48%          72                51    29.17%          22                18    18.18%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             205                60    70.73%        1548               483    68.80%         292               146    50.00%
codecov-commenter commented 5 months ago

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (3324f33) 48.55% compared to head (e80f74a) 52.03%.

Files Patch % Lines
tests/test_rest_rpc.cpp 89.16% 13 Missing :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #124 +/- ## ========================================== + Coverage 48.55% 52.03% +3.48% ========================================== Files 166 166 Lines 7740 7821 +81 ========================================== + Hits 3758 4070 +312 + Misses 3982 3751 -231 ```

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