Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve response content type #504

Merged
merged 1 commit into from
Jan 23, 2024
Merged

improve response content type #504

merged 1 commit into from
Jan 23, 2024

Conversation

qicosmos
Copy link
Owner

No description provided.

Copy link

Code Coverage Report
for detail, goto summary download Artifacts

Filename                                            Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
asio/any_io_executor.hpp                                    2                 0   100.00%           4                 0   100.00%           0                 0         -
asio/associated_allocator.hpp                               3                 0   100.00%           9                 0   100.00%           0                 0         -
asio/associated_cancellation_slot.hpp                       2                 0   100.00%           6                 0   100.00%           0                 0         -
asio/async_result.hpp                                       2                 0   100.00%          11                 0   100.00%           0                 0         -
asio/basic_socket.hpp                                      19                 1    94.74%          81                 9    88.89%           4                 2    50.00%
asio/basic_socket_acceptor.hpp                             15                 1    93.33%          58                 5    91.38%           0                 0         -
asio/basic_socket_streambuf.hpp                             2                 2     0.00%           4                 4     0.00%           0                 0         -
asio/basic_stream_socket.hpp                               10                 0   100.00%          40                 0   100.00%           0                 0         -
asio/basic_streambuf.hpp                                   19                 1    94.74%         119                21    82.35%          24                 9    62.50%
asio/basic_waitable_timer.hpp                              12                 2    83.33%          49                10    79.59%           0                 0         -
asio/buffer.hpp                                            53                12    77.36%         221                56    74.66%          30                13    56.67%
asio/buffer_registration.hpp                                1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/buffers_iterator.hpp                                  14                 0   100.00%         140                53    62.14%          28                15    46.43%
asio/cancellation_signal.hpp                               15                13    13.33%          52                47     9.62%           0                 0         -
asio/cancellation_state.hpp                                 5                 5     0.00%          14                14     0.00%           0                 0         -
asio/cancellation_type.hpp                                  8                 8     0.00%          30                30     0.00%           0                 0         -
asio/completion_condition.hpp                               9                 3    66.67%          27                 8    70.37%           8                 0   100.00%
asio/compose.hpp                                            7                 7     0.00%          17                17     0.00%           0                 0         -
asio/coroutine.hpp                                          9                 9     0.00%           9                 9     0.00%           0                 0         -
asio/deferred.hpp                                           2                 2     0.00%           5                 5     0.00%           0                 0         -
asio/detached.hpp                                           1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/detail/atomic_count.hpp                                4                 3    25.00%          13                12     7.69%           0                 0         -
asio/detail/base_from_cancellation_state.hpp                3                 0   100.00%           7                 0   100.00%           0                 0         -
asio/detail/base_from_completion_cond.hpp                   4                 0   100.00%          11                 0   100.00%           0                 0         -
asio/detail/bind_handler.hpp                               16                 7    56.25%          52                24    53.85%           0                 0         -
asio/detail/buffer_sequence_adapter.hpp                    31                10    67.74%         146                50    65.75%          30                15    50.00%
asio/detail/buffered_stream_storage.hpp                     9                 9     0.00%          41                41     0.00%           0                 0         -
asio/detail/call_stack.hpp                                  5                 1    80.00%          30                10    66.67%           6                 0   100.00%
asio/detail/chrono_time_traits.hpp                         10                 1    90.00%          91                44    51.65%          20                16    20.00%
asio/detail/conditionally_enabled_event.hpp                10                 3    70.00%          42                18    57.14%          10                 5    50.00%
asio/detail/conditionally_enabled_mutex.hpp                12                 1    91.67%          50                 5    90.00%          14                 4    71.43%
asio/detail/consuming_buffers.hpp                          27                 5    81.48%         108                10    90.74%          16                 2    87.50%
asio/detail/deadline_timer_service.hpp                     14                 4    71.43%          96                39    59.38%           6                 3    50.00%
asio/detail/descriptor_ops.hpp                              1                 1     0.00%          11                11     0.00%           0                 0         -
asio/detail/epoll_reactor.hpp                               2                 1    50.00%           2                 1    50.00%           0                 0         -
asio/detail/eventfd_select_interrupter.hpp                  1                 0   100.00%           3                 0   100.00%           0                 0         -
asio/detail/executor_function.hpp                           9                 3    66.67%          45                 9    80.00%           6                 3    50.00%
asio/detail/executor_op.hpp                                 2                 0   100.00%          28                11    60.71%           2                 0   100.00%
asio/detail/handler_alloc_helpers.hpp                      13                 0   100.00%          88                 0   100.00%           8                 0   100.00%
asio/detail/handler_cont_helpers.hpp                        1                 0   100.00%           6                 0   100.00%           0                 0         -
asio/detail/handler_invoke_helpers.hpp                      1                 0   100.00%          14                 9    35.71%           0                 0         -
asio/detail/handler_work.hpp                                6                 1    83.33%          24                 9    62.50%           2                 1    50.00%
asio/detail/impl/descriptor_ops.ipp                        19                19     0.00%         523               523     0.00%           0                 0         -
asio/detail/impl/epoll_reactor.hpp                          7                 2    71.43%          44                19    56.82%           4                 2    50.00%
asio/detail/impl/epoll_reactor.ipp                         30                 5    83.33%         529               206    61.06%         150                67    55.33%
asio/detail/impl/eventfd_select_interrupter.ipp             7                 2    71.43%          94                70    25.53%          16                11    31.25%
asio/detail/impl/null_event.ipp                             2                 2     0.00%          21                21     0.00%           0                 0         -
asio/detail/impl/posix_event.ipp                            1                 0   100.00%          15                 0   100.00%           4                 2    50.00%
asio/detail/impl/posix_mutex.ipp                            1                 0   100.00%           6                 0   100.00%           0                 0         -
asio/detail/impl/posix_serial_port_service.ipp              4                 4     0.00%         105               105     0.00%           0                 0         -
asio/detail/impl/posix_thread.ipp                           5                 1    80.00%          36                15    58.33%           6                 3    50.00%
asio/detail/impl/reactive_descriptor_service.ipp           10                10     0.00%         140               140     0.00%           0                 0         -
asio/detail/impl/reactive_socket_service_base.ipp          14                 1    92.86%         176                51    71.02%          48                20    58.33%
asio/detail/impl/resolver_service_base.ipp                 13                 4    69.23%          83                33    60.24%          14                 8    42.86%
asio/detail/impl/scheduler.ipp                             31                13    58.06%         478               277    42.05%          74                12    83.78%
asio/detail/impl/service_registry.hpp                       6                 0   100.00%          27                 0   100.00%           0                 0         -
asio/detail/impl/service_registry.ipp                      11                 3    72.73%         116                53    54.31%          30                12    60.00%
asio/detail/impl/signal_set_service.ipp                    20                20     0.00%         567               567     0.00%           0                 0         -
asio/detail/impl/socket_ops.ipp                            84                46    45.24%        1788              1437    19.63%         250               154    38.40%
asio/detail/impl/strand_executor_service.ipp                6                 6     0.00%          91                91     0.00%           0                 0         -
asio/detail/impl/strand_service.ipp                         8                 8     0.00%         130               130     0.00%           0                 0         -
asio/detail/impl/thread_context.ipp                         1                 0   100.00%           3                 0   100.00%           0                 0         -
asio/detail/impl/throw_error.ipp                            2                 2     0.00%           9                 9     0.00%           0                 0         -
asio/detail/impl/timer_queue_set.ipp                        8                 2    75.00%          52                22    57.69%          16                 8    50.00%
asio/detail/io_control.hpp                                  7                 7     0.00%          19                19     0.00%           0                 0         -
asio/detail/io_object_impl.hpp                             11                 0   100.00%          41                 0   100.00%           2                 1    50.00%
asio/detail/keyword_tss_ptr.hpp                             3                 0   100.00%           8                 0   100.00%           0                 0         -
asio/detail/memory.hpp                                      2                 0   100.00%          16                 4    75.00%           6                 2    66.67%
asio/detail/non_const_lvalue.hpp                            1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/detail/noncopyable.hpp                                 2                 0   100.00%           2                 0   100.00%           0                 0         -
asio/detail/null_event.hpp                                  4                 4     0.00%          11                11     0.00%           0                 0         -
asio/detail/object_pool.hpp                                10                 0   100.00%          59                 0   100.00%          12                 0   100.00%
asio/detail/op_queue.hpp                                   13                 1    92.31%          67                 7    89.55%          16                 3    81.25%
asio/detail/posix_event.hpp                                 8                 2    75.00%          77                36    53.25%           6                 1    83.33%
asio/detail/posix_mutex.hpp                                 3                 0   100.00%           9                 0   100.00%           0                 0         -
asio/detail/posix_serial_port_service.hpp                  10                10     0.00%          34                34     0.00%           0                 0         -
asio/detail/posix_signal_blocker.hpp                        4                 4     0.00%          21                21     0.00%           2                 2     0.00%
asio/detail/posix_static_mutex.hpp                          3                 3     0.00%           9                 9     0.00%           0                 0         -
asio/detail/posix_thread.hpp                                5                 0   100.00%          10                 0   100.00%           0                 0         -
asio/detail/reactive_descriptor_service.hpp                13                13     0.00%          73                73     0.00%           0                 0         -
asio/detail/reactive_socket_accept_op.hpp                   5                 0   100.00%          48                 1    97.92%          16                 6    62.50%
asio/detail/reactive_socket_connect_op.hpp                  4                 0   100.00%          33                 0   100.00%           4                 2    50.00%
asio/detail/reactive_socket_recv_op.hpp                     4                 0   100.00%          54                 8    85.19%          12                 4    66.67%
asio/detail/reactive_socket_send_op.hpp                     4                 0   100.00%          56                10    82.14%          18                12    33.33%
asio/detail/reactive_socket_service.hpp                    15                 1    93.33%         139                45    67.63%          14                 8    42.86%
asio/detail/reactive_socket_service_base.hpp               17                13    23.53%         137                86    37.23%          16                 6    62.50%
asio/detail/reactor_op.hpp                                  2                 0   100.00%           5                 0   100.00%           0                 0         -
asio/detail/recycling_allocator.hpp                         5                 0   100.00%          15                 0   100.00%           0                 0         -
asio/detail/resolve_op.hpp                                  1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/detail/resolve_query_op.hpp                            3                 0   100.00%          41                 0   100.00%          10                 2    80.00%
asio/detail/resolver_service.hpp                            4                 1    75.00%          18                 3    83.33%           0                 0         -
asio/detail/resolver_service_base.hpp                       5                 5     0.00%          15                15     0.00%           0                 0         -
asio/detail/scheduler.hpp                                   4                 0   100.00%          11                 0   100.00%           2                 0   100.00%
asio/detail/scheduler_operation.hpp                         4                 0   100.00%          10                 0   100.00%           0                 0         -
asio/detail/scheduler_task.hpp                              1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/detail/scoped_lock.hpp                                 4                 0   100.00%          22                 0   100.00%           6                 3    50.00%
asio/detail/scoped_ptr.hpp                                  7                 0   100.00%          23                 0   100.00%           0                 0         -
asio/detail/service_registry.hpp                            1                 0   100.00%           1                 0   100.00%           0                 0         -
asio/detail/signal_op.hpp                                   1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/detail/signal_set_service.hpp                          4                 4     0.00%          15                15     0.00%           0                 0         -
asio/detail/socket_holder.hpp                               7                 0   100.00%          33                11    66.67%           4                 2    50.00%
asio/detail/socket_ops.hpp                                  1                 0   100.00%           1                 0   100.00%           0                 0         -
asio/detail/socket_option.hpp                               5                 0   100.00%          14                 0   100.00%           0                 0         -
asio/detail/std_fenced_block.hpp                            3                 0   100.00%           8                 0   100.00%           0                 0         -
asio/detail/thread_group.hpp                                6                 6     0.00%          24                24     0.00%           0                 0         -
asio/detail/thread_info_base.hpp                            8                 1    87.50%         107                27    74.77%          38                10    73.68%
asio/detail/throw_error.hpp                                 2                 0   100.00%           8                 2    75.00%           4                 2    50.00%
asio/detail/throw_exception.hpp                             1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/detail/timer_queue.hpp                                18                 7    61.11%         216               117    45.83%          84                52    38.10%
asio/detail/timer_queue_base.hpp                            2                 1    50.00%           2                 1    50.00%           0                 0         -
asio/detail/tss_ptr.hpp                                     1                 0   100.00%          11                 9    18.18%           0                 0         -
asio/detail/type_traits.hpp                                 1                 1     0.00%           1                 1     0.00%           0                 0         -
asio/detail/wait_handler.hpp                                2                 0   100.00%          21                 0   100.00%           2                 1    50.00%
asio/detail/wait_op.hpp                                     1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/error.hpp                                              6                 1    83.33%          22                 4    81.82%           0                 0         -
asio/execution/allocator.hpp                                4                 1    75.00%          10                 2    80.00%           0                 0         -
asio/execution/any_executor.hpp                            80                43    46.25%         396               216    45.45%           4                 2    50.00%
asio/execution/blocking.hpp                                 6                 3    50.00%          15                 8    46.67%           0                 0         -
asio/execution/context_as.hpp                               2                 0   100.00%           5                 0   100.00%           0                 0         -
asio/execution/detail/void_receiver.hpp                     2                 2     0.00%           4                 4     0.00%           0                 0         -
asio/execution/execute.hpp                                  1                 0   100.00%           3                 0   100.00%           0                 0         -
asio/execution/impl/bad_executor.ipp                        2                 2     0.00%           5                 5     0.00%           0                 0         -
asio/execution/outstanding_work.hpp                         6                 6     0.00%          18                18     0.00%           0                 0         -
asio/execution/prefer_only.hpp                              5                 2    60.00%          13                 6    53.85%           0                 0         -
asio/execution/relationship.hpp                             4                 4     0.00%          10                10     0.00%           0                 0         -
asio/execution_context.hpp                                  3                 0   100.00%           4                 0   100.00%           0                 0         -
asio/executor.hpp                                          21                21     0.00%          71                71     0.00%           0                 0         -
asio/generic/datagram_protocol.hpp                          6                 6     0.00%          17                17     0.00%           0                 0         -
asio/generic/detail/endpoint.hpp                            8                 8     0.00%          26                26     0.00%           0                 0         -
asio/generic/detail/impl/endpoint.ipp                       4                 4     0.00%          50                50     0.00%           0                 0         -
asio/generic/raw_protocol.hpp                               6                 6     0.00%          17                17     0.00%           0                 0         -
asio/generic/seq_packet_protocol.hpp                        6                 6     0.00%          17                17     0.00%           0                 0         -
asio/generic/stream_protocol.hpp                            6                 6     0.00%          17                17     0.00%           0                 0         -
asio/handler_continuation_hook.hpp                          1                 0   100.00%           3                 0   100.00%           0                 0         -
asio/handler_invoke_hook.hpp                                1                 0   100.00%           6                 3    50.00%           0                 0         -
asio/impl/any_io_executor.ipp                              13                 9    30.77%          39                30    23.08%           0                 0         -
asio/impl/cancellation_signal.ipp                           3                 3     0.00%          46                46     0.00%          10                10     0.00%
asio/impl/connect.hpp                                      13                 0   100.00%          92                18    80.43%          16                 6    62.50%
asio/impl/connect_pipe.ipp                                  2                 2     0.00%          93                93     0.00%           0                 0         -
asio/impl/detached.hpp                                      1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/impl/dispatch.hpp                                      3                 0   100.00%          19                 2    89.47%           0                 0         -
asio/impl/error.ipp                                         9                 5    44.44%          50                34    32.00%          20                18    10.00%
asio/impl/error_code.ipp                                    5                 2    60.00%          20                 4    80.00%           2                 0   100.00%
asio/impl/execution_context.hpp                             3                 0   100.00%          11                 0   100.00%           0                 0         -
asio/impl/execution_context.ipp                             9                 4    55.56%          24                 9    62.50%           0                 0         -
asio/impl/executor.ipp                                      1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/impl/handler_alloc_hook.ipp                            2                 0   100.00%           6                 0   100.00%           0                 0         -
asio/impl/io_context.hpp                                   12                 6    50.00%          83                34    59.04%           4                 1    75.00%
asio/impl/io_context.ipp                                   18                14    22.22%          70                55    21.43%           0                 0         -
asio/impl/multiple_exceptions.ipp                           3                 3     0.00%           8                 8     0.00%           0                 0         -
asio/impl/post.hpp                                          4                 1    75.00%          24                 6    75.00%           0                 0         -
asio/impl/read.hpp                                         24                 0   100.00%         168                 9    94.64%          30                 6    80.00%
asio/impl/read_until.hpp                                   13                 0   100.00%         141                10    92.91%          40                 5    87.50%
asio/impl/serial_port_base.hpp                              5                 5     0.00%          15                15     0.00%           0                 0         -
asio/impl/serial_port_base.ipp                             10                10     0.00%         434               434     0.00%           0                 0         -
asio/impl/system_context.hpp                                1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/impl/system_context.ipp                                5                 5     0.00%          30                30     0.00%           0                 0         -
asio/impl/thread_pool.hpp                                   3                 3     0.00%           9                 9     0.00%           0                 0         -
asio/impl/thread_pool.ipp                                   8                 8     0.00%          52                52     0.00%           0                 0         -
asio/impl/use_future.hpp                                    3                 3     0.00%          25                25     0.00%           0                 0         -
asio/impl/write.hpp                                        12                 0   100.00%          78                 4    94.87%          16                 2    87.50%
asio/io_context.hpp                                        19                 6    68.42%          79                34    56.96%          14                13     7.14%
asio/io_context_strand.hpp                                  8                 8     0.00%          23                23     0.00%           0                 0         -
asio/ip/address.hpp                                         7                 6    14.29%          23                20    13.04%           0                 0         -
asio/ip/address_v4.hpp                                     17                16     5.88%          51                49     3.92%           0                 0         -
asio/ip/address_v4_iterator.hpp                            13                13     0.00%          44                44     0.00%           0                 0         -
asio/ip/address_v4_range.hpp                               11                11     0.00%          33                33     0.00%           0                 0         -
asio/ip/address_v6.hpp                                     10                10     0.00%          41                41     0.00%           0                 0         -
asio/ip/address_v6_iterator.hpp                            13                13     0.00%          64                64     0.00%           0                 0         -
asio/ip/address_v6_range.hpp                               10                10     0.00%          30                30     0.00%           0                 0         -
asio/ip/bad_address_cast.hpp                                3                 3     0.00%           5                 5     0.00%           0                 0         -
asio/ip/basic_endpoint.hpp                                 12                 0   100.00%          34                 0   100.00%           2                 0   100.00%
asio/ip/basic_resolver.hpp                                  6                 0   100.00%          25                 0   100.00%           0                 0         -
asio/ip/basic_resolver_entry.hpp                            2                 0   100.00%           5                 0   100.00%           0                 0         -
asio/ip/basic_resolver_iterator.hpp                        12                 0   100.00%          51                 6    88.24%          10                 6    40.00%
asio/ip/basic_resolver_query.hpp                            4                 0   100.00%          20                 0   100.00%           0                 0         -
asio/ip/basic_resolver_results.hpp                          5                 1    80.00%          37                 4    89.19%          10                 3    70.00%
asio/ip/detail/endpoint.hpp                                 7                 1    85.71%          24                 4    83.33%           2                 0   100.00%
asio/ip/detail/impl/endpoint.ipp                           11                 4    63.64%         127                73    42.52%          12                 6    50.00%
asio/ip/icmp.hpp                                            8                 8     0.00%          25                25     0.00%           0                 0         -
asio/ip/impl/address.hpp                                    5                 4    20.00%          15                12    20.00%           0                 0         -
asio/ip/impl/address.ipp                                   22                19    13.64%         116               106     8.62%          10                 8    20.00%
asio/ip/impl/address_v4.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v4.ipp                                21                18    14.29%         105                87    17.14%           4                 3    25.00%
asio/ip/impl/address_v6.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v6.ipp                                34                33     2.94%         198               196     1.01%           4                 4     0.00%
asio/ip/impl/basic_endpoint.hpp                             1                 0   100.00%           4                 0   100.00%           0                 0         -
asio/ip/impl/host_name.ipp                                  2                 2     0.00%          16                16     0.00%           0                 0         -
asio/ip/impl/network_v4.ipp                                11                11     0.00%          89                89     0.00%           0                 0         -
asio/ip/impl/network_v6.ipp                                11                11     0.00%         107               107     0.00%           0                 0         -
asio/ip/network_v4.hpp                                     15                15     0.00%          46                46     0.00%           0                 0         -
asio/ip/network_v6.hpp                                     12                12     0.00%          37                37     0.00%           0                 0         -
asio/ip/resolver_base.hpp                                   8                 7    12.50%          29                27     6.90%           0                 0         -
asio/ip/resolver_query_base.hpp                             1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/ip/tcp.hpp                                             8                 2    75.00%          23                 6    73.91%           0                 0         -
asio/ip/udp.hpp                                             8                 8     0.00%          23                23     0.00%           0                 0         -
asio/local/datagram_protocol.hpp                            3                 3     0.00%           9                 9     0.00%           0                 0         -
asio/local/detail/endpoint.hpp                              6                 6     0.00%          20                20     0.00%           0                 0         -
asio/local/detail/impl/endpoint.ipp                         7                 7     0.00%          51                51     0.00%           0                 0         -
asio/local/stream_protocol.hpp                              3                 3     0.00%           9                 9     0.00%           0                 0         -
asio/posix/descriptor_base.hpp                              1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/prefer.hpp                                             5                 0   100.00%          23                 0   100.00%           0                 0         -
asio/query.hpp                                              3                 1    66.67%          12                 6    50.00%           0                 0         -
asio/recycling_allocator.hpp                                3                 3     0.00%           8                 8     0.00%           0                 0         -
asio/registered_buffer.hpp                                 32                32     0.00%          95                95     0.00%           0                 0         -
asio/require.hpp                                            1                 0   100.00%           4                 0   100.00%           0                 0         -
asio/serial_port_base.hpp                                   1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/socket_base.hpp                                        1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/ssl/context_base.hpp                                   1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/ssl/detail/handshake_op.hpp                            4                 1    75.00%          12                 3    75.00%           0                 0         -
asio/ssl/detail/impl/engine.ipp                            21                 7    66.67%         219               114    47.95%          52                20    61.54%
asio/ssl/detail/impl/openssl_init.ipp                       3                 1    66.67%           8                 2    75.00%           0                 0         -
asio/ssl/detail/io.hpp                                      9                 0   100.00%         130                34    73.85%          42                10    76.19%
asio/ssl/detail/openssl_init.hpp                            2                 0   100.00%           7                 0   100.00%           0                 0         -
asio/ssl/detail/password_callback.hpp                       3                 0   100.00%           7                 0   100.00%           0                 0         -
asio/ssl/detail/read_op.hpp                                 3                 0   100.00%          11                 0   100.00%           0                 0         -
asio/ssl/detail/shutdown_op.hpp                             2                 2     0.00%           7                 7     0.00%           0                 0         -
asio/ssl/detail/stream_core.hpp                             7                 2    71.43%          54                39    27.78%           0                 0         -
asio/ssl/detail/verify_callback.hpp                         3                 1    66.67%           7                 3    57.14%           0                 0         -
asio/ssl/detail/write_op.hpp                                3                 0   100.00%          14                 0   100.00%           0                 0         -
asio/ssl/error.hpp                                          2                 1    50.00%           8                 4    50.00%           0                 0         -
asio/ssl/host_name_verification.hpp                         1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/ssl/impl/context.hpp                                   4                 0   100.00%          20                 0   100.00%           0                 0         -
asio/ssl/impl/context.ipp                                  50                32    36.00%         928               776    16.38%         122                82    32.79%
asio/ssl/impl/error.ipp                                     6                 3    50.00%          46                32    30.43%          22                18    18.18%
asio/ssl/impl/host_name_verification.ipp                    1                 1     0.00%          25                25     0.00%           6                 6     0.00%
asio/ssl/impl/rfc2818_verification.ipp                      2                 2     0.00%         118               118     0.00%           0                 0         -
asio/ssl/rfc2818_verification.hpp                           1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/ssl/stream.hpp                                        12                 0   100.00%          46                 0   100.00%           0                 0         -
asio/ssl/stream_base.hpp                                    1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/ssl/verify_context.hpp                                 2                 2     0.00%           5                 5     0.00%           0                 0         -
asio/this_coro.hpp                                          8                 8     0.00%          19                19     0.00%           0                 0         -
asio/thread.hpp                                             2                 2     0.00%           5                 5     0.00%           0                 0         -
asio/traits/query_static_constexpr_member.hpp               1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/traits/static_query.hpp                                1                 1     0.00%           3                 3     0.00%           0                 0         -
asio/uses_executor.hpp                                      1                 1     0.00%           2                 2     0.00%           0                 0         -
asio/wait_traits.hpp                                        1                 0   100.00%           3                 0   100.00%           0                 0         -
async_simple/Common.h                                       1                 0   100.00%           5                 1    80.00%           2                 1    50.00%
async_simple/Executor.h                                    19                17    10.53%          40                38     5.00%           0                 0         -
async_simple/Future.h                                      14                 1    92.86%          81                 5    93.83%          24                10    58.33%
async_simple/FutureState.h                                 28                 7    75.00%         193                76    60.62%          46                27    41.30%
async_simple/LocalState.h                                   7                 2    71.43%          16                 5    68.75%           2                 1    50.00%
async_simple/MoveWrapper.h                                  5                 0   100.00%           5                 0   100.00%           0                 0         -
async_simple/Promise.h                                      7                 0   100.00%          27                 0   100.00%           2                 0   100.00%
async_simple/Try.h                                         22                 3    86.36%          64                17    73.44%          14                10    28.57%
async_simple/Unit.h                                         2                 2     0.00%           2                 2     0.00%           0                 0         -
async_simple/coro/Collect.h                                10                 0   100.00%          72                 8    88.89%          12                 6    50.00%
async_simple/coro/CountEvent.h                              5                 2    60.00%          17                 5    70.59%           2                 0   100.00%
async_simple/coro/DetachedCoroutine.h                       5                 1    80.00%          15                 9    40.00%           0                 0         -
async_simple/coro/FutureAwaiter.h                           5                 0   100.00%          19                 0   100.00%           0                 0         -
async_simple/coro/Lazy.h                                   49                 9    81.63%         163                40    75.46%          12                 6    50.00%
async_simple/coro/SyncAwait.h                               2                 0   100.00%          20                 2    90.00%           2                 1    50.00%
async_simple/coro/Traits.h                                  1                 0   100.00%           8                 1    87.50%           0                 0         -
async_simple/coro/ViaCoroutine.h                           22                 5    77.27%          77                19    75.32%           6                 3    50.00%
async_simple/experimental/coroutine.h                      39                17    56.41%         107                39    63.55%           0                 0         -
async_simple/util/Condition.h                               1                 0   100.00%           1                 0   100.00%           0                 0         -
cinatra/cinatra_log_wrapper.hpp                             4                 1    75.00%           9                 1    88.89%           0                 0         -
cinatra/cookie.hpp                                         15                 2    86.67%          84                 2    97.62%          28                 3    89.29%
cinatra/coro_http_client.hpp                               86                 5    94.19%        1421               208    85.36%         454               118    74.01%
cinatra/coro_http_connection.hpp                           35                 1    97.14%         649               154    76.27%         192                61    68.23%
cinatra/coro_http_request.hpp                              23                 3    86.96%         179                13    92.74%          72                10    86.11%
cinatra/coro_http_response.hpp                             22                 5    77.27%         166                57    65.66%          70                32    54.29%
cinatra/coro_http_router.hpp                               16                 2    87.50%         176                43    75.57%          38                12    68.42%
cinatra/coro_http_server.hpp                               36                 1    97.22%         706                62    91.22%         144                36    75.00%
cinatra/coro_radix_tree.hpp                                17                 0   100.00%         274                40    85.40%         144                32    77.78%
cinatra/define.h                                            1                 0   100.00%          24                 2    91.67%          20                 1    95.00%
cinatra/http_parser.hpp                                    25                 4    84.00%         184                30    83.70%          50                12    76.00%
cinatra/mime_types.hpp                                      1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
cinatra/multipart.hpp                                       4                 0   100.00%          86                13    84.88%          20                 4    80.00%
cinatra/picohttpparser.h                                   14                 6    57.14%         450               277    38.44%         198               101    48.99%
cinatra/response_cv.hpp                                     2                 0   100.00%          55                34    38.18%          46                17    63.04%
cinatra/session.hpp                                        11                 0   100.00%          54                 2    96.30%           4                 1    75.00%
cinatra/session_manager.hpp                                10                 1    90.00%          67                 5    92.54%          10                 1    90.00%
cinatra/sha1.hpp                                           12                 0   100.00%         183                 8    95.63%          12                 2    83.33%
cinatra/string_resize.hpp                                   2                 0   100.00%          18                 0   100.00%           2                 0   100.00%
cinatra/time_util.hpp                                      22                 3    86.36%         337                63    81.31%         184                44    76.09%
cinatra/uri.hpp                                            17                 5    70.59%         200                59    70.50%         166                50    69.88%
cinatra/url_encode_decode.hpp                               4                 0   100.00%          85                20    76.47%          48                16    66.67%
cinatra/utils.hpp                                          14                 0   100.00%         202                22    89.11%         116                43    62.93%
cinatra/websocket.hpp                                      14                 3    78.57%         174                13    92.53%          78                18    76.92%
cinatra/ylt/coro_io/coro_file.hpp                          21                 7    66.67%         251               146    41.83%          42                21    50.00%
cinatra/ylt/coro_io/coro_io.hpp                            38                 1    97.37%         219                 7    96.80%           2                 0   100.00%
cinatra/ylt/coro_io/io_context_pool.hpp                    34                13    61.76%         197                61    69.04%          18                 4    77.78%
cmdline/cmdline.h                                          63                24    61.90%         363               186    48.76%         110                55    50.00%

Files which contain no functions:
asio/detail/assert.hpp                                      0                 0         -           0                 0         -           0                 0         -
asio/detail/concurrency_hint.hpp                            0                 0         -           0                 0         -           0                 0         -
asio/detail/config.hpp                                      0                 0         -           0                 0         -           0                 0         -
asio/detail/handler_tracking.hpp                            0                 0         -           0                 0         -           0                 0         -
asio/detail/handler_type_requirements.hpp                   0                 0         -           0                 0         -           0                 0         -
asio/detail/socket_types.hpp                                0                 0         -           0                 0         -           0                 0         -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                    2673              1101    58.81%       21953             10813    50.74%        3948              1495    62.13%

@codecov-commenter
Copy link

Codecov Report

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

Comparison is base (79509a4) 70.65% compared to head (64dc44a) 70.58%.

Files Patch % Lines
include/cinatra/coro_http_response.hpp 33.33% 4 Missing ⚠️
include/cinatra/define.h 0.00% 2 Missing ⚠️
example/benchmark.cpp 0.00% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #504      +/-   ##
==========================================
- Coverage   70.65%   70.58%   -0.08%     
==========================================
  Files         214      214              
  Lines       12560    12587      +27     
==========================================
+ Hits         8874     8884      +10     
- Misses       3686     3703      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qicosmos qicosmos merged commit 849f767 into master Jan 23, 2024
22 checks passed
@qicosmos qicosmos deleted the resp_content_type branch January 23, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants