qicosmos / rest_rpc

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

[feat|test|style] add construct test, fix spell error #127

Closed wf0312 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
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
client_util.hpp                     3                 1    66.67%          19                 8    57.89%           2                 1    50.00%
codec.h                             4                 0   100.00%          24                 2    91.67%           0                 0         -
connection.h                       37                 6    83.78%         360                91    74.72%          70                35    50.00%
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                     20                 5    75.00%          49                12    75.51%           8                 4    50.00%
router.h                           19                 2    89.47%         144                35    75.69%           4                 3    25.00%
rpc_client.hpp                     73                13    82.19%         663               162    75.57%         132                64    51.52%
rpc_server.h                       26                 3    88.46%         191                20    89.53%          40                 9    77.50%
string_view.hpp                    23                10    56.52%          72                35    51.39%          22                14    36.36%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             229                42    81.66%        1681               374    77.75%         314               131    58.28%
codecov-commenter commented 5 months ago

Codecov Report

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

Comparison is base (439925f) 52.01% compared to head (c9fe96b) 52.54%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #127 +/- ## ========================================== + Coverage 52.01% 52.54% +0.52% ========================================== Files 166 166 Lines 7826 7829 +3 ========================================== + Hits 4071 4114 +43 + Misses 3755 3715 -40 ```

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

qicosmos commented 5 months ago

expected more test cases to improve the coverage.

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                     3                 1    66.67%          19                 8    57.89%           2                 1    50.00%
codec.h                             4                 0   100.00%          24                 2    91.67%           0                 0         -
connection.h                       37                 6    83.78%         360                91    74.72%          70                35    50.00%
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                     20                 5    75.00%          49                12    75.51%           8                 4    50.00%
router.h                           19                 2    89.47%         144                35    75.69%           4                 3    25.00%
rpc_client.hpp                     73                12    83.56%         663               152    77.07%         132                62    53.03%
rpc_server.h                       26                 3    88.46%         191                20    89.53%          40                 9    77.50%
string_view.hpp                    23                10    56.52%          72                35    51.39%          22                14    36.36%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             229                41    82.10%        1681               364    78.35%         314               129    58.92%
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                     3                 1    66.67%          19                 8    57.89%           2                 1    50.00%
codec.h                             4                 0   100.00%          24                 2    91.67%           0                 0         -
connection.h                       37                 6    83.78%         360                91    74.72%          70                35    50.00%
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                     20                 5    75.00%          49                12    75.51%           8                 4    50.00%
router.h                           19                 2    89.47%         144                35    75.69%           4                 3    25.00%
rpc_client.hpp                     73                12    83.56%         663               152    77.07%         132                62    53.03%
rpc_server.h                       26                 3    88.46%         191                20    89.53%          40                 9    77.50%
string_view.hpp                    23                10    56.52%          72                35    51.39%          22                14    36.36%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             229                41    82.10%        1681               364    78.35%         314               129    58.92%
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                     3                 1    66.67%          19                 8    57.89%           2                 1    50.00%
codec.h                             4                 0   100.00%          24                 2    91.67%           0                 0         -
connection.h                       37                 6    83.78%         360                96    73.33%          70                37    47.14%
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                     20                 5    75.00%          49                12    75.51%           8                 4    50.00%
router.h                           19                 2    89.47%         144                35    75.69%           4                 3    25.00%
rpc_client.hpp                     73                12    83.56%         663               152    77.07%         132                62    53.03%
rpc_server.h                       26                 3    88.46%         191                20    89.53%          40                 9    77.50%
string_view.hpp                    23                10    56.52%          72                35    51.39%          22                14    36.36%
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                             229                41    82.10%        1681               369    78.05%         314               131    58.28%