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

allow set shrink to fit #485

Merged
merged 1 commit into from
Jan 13, 2024
Merged

allow set shrink to fit #485

merged 1 commit into from
Jan 13, 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                                      17                 1    94.12%          75                 9    88.00%           4                 2    50.00%
asio/basic_socket_acceptor.hpp                             14                 1    92.86%          56                 5    91.07%           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                              11                 2    81.82%          50                13    74.00%           0                 0         -
asio/buffer.hpp                                            54                13    75.93%         226                61    73.01%          30                14    53.33%
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%          55                27    50.91%           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                 3    81.25%
asio/detail/deadline_timer_service.hpp                     14                 4    71.43%         103                46    55.34%           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%          55                19    65.45%           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%         116                28    75.86%           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%          27                12    55.56%           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                69    54.00%
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                51    39.29%        1925              1612    16.26%         224               137    38.84%
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                11    80.36%          18                13    27.78%
asio/detail/reactive_socket_service.hpp                    14                 1    92.86%         127                41    67.72%          12                 7    41.67%
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                 9    76.32%
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%          34                13    61.76%           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                17    87.94%          40                 9    77.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                 7     0.00%          23                23     0.00%           0                 0         -
asio/ip/address_v4.hpp                                     17                17     0.00%          51                51     0.00%           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                                 11                 0   100.00%          31                 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                           10                 6    40.00%         106                81    23.58%           6                 3    50.00%
asio/ip/icmp.hpp                                            8                 8     0.00%          25                25     0.00%           0                 0         -
asio/ip/impl/address.hpp                                    5                 5     0.00%          15                15     0.00%           0                 0         -
asio/ip/impl/address.ipp                                   22                22     0.00%         116               116     0.00%           4                 4     0.00%
asio/ip/impl/address_v4.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v4.ipp                                20                20     0.00%          96                96     0.00%           2                 2     0.00%
asio/ip/impl/address_v6.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v6.ipp                                34                34     0.00%         201               201     0.00%           2                 2     0.00%
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                 4    33.33%          46                38    17.39%          22                22     0.00%
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                                      12                 3    75.00%          80                44    45.00%          20                 9    55.00%
async_simple/FutureState.h                                 28                 8    71.43%         195                79    59.49%          46                27    41.30%
async_simple/LocalState.h                                   7                 3    57.14%          16                12    25.00%           0                 0         -
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                 7    68.18%          64                29    54.69%          14                11    21.43%
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%         166                43    74.10%          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                 3    25.00%           9                 6    33.33%           0                 0         -
cinatra/coro_http_client.hpp                               86                 5    94.19%        1416               221    84.39%         450               117    74.00%
cinatra/coro_http_connection.hpp                           32                 8    75.00%         566               218    61.48%         152                62    59.21%
cinatra/coro_http_request.hpp                              16                 6    62.50%         148                54    63.51%          62                22    64.52%
cinatra/coro_http_response.hpp                             16                 4    75.00%         100                15    85.00%          32                 7    78.12%
cinatra/coro_http_router.hpp                               16                 7    56.25%         169                85    49.70%          38                27    28.95%
cinatra/coro_http_server.hpp                               33                11    66.67%         685               161    76.50%         132                50    62.12%
cinatra/coro_radix_tree.hpp                                17                 3    82.35%         274               165    39.78%         144               102    29.17%
cinatra/define.h                                            1                 0   100.00%          34                12    64.71%          20                 1    95.00%
cinatra/http_parser.hpp                                    25                 8    68.00%         184                74    59.78%          48                21    56.25%
cinatra/mime_types.hpp                                      1                 0   100.00%           7                 2    71.43%           2                 1    50.00%
cinatra/multipart.hpp                                       4                 0   100.00%          86                17    80.23%          20                 5    75.00%
cinatra/picohttpparser.h                                   14                 6    57.14%         450               279    38.00%         198               103    47.98%
cinatra/response_cv.hpp                                     2                 0   100.00%          55                38    30.91%          46                19    58.70%
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                 4    81.82%         341                68    80.06%         184                44    76.09%
cinatra/uri.hpp                                            17                 5    70.59%         200                59    70.50%         166                51    69.28%
cinatra/url_encode_decode.hpp                               7                 6    14.29%          89                63    29.21%          12                 6    50.00%
cinatra/utils.hpp                                          15                 5    66.67%         221               135    38.91%         108                77    28.70%
cinatra/websocket.hpp                                      16                 5    68.75%         217                63    70.97%          78                25    67.95%
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                11    94.98%           2                 0   100.00%
cinatra/ylt/coro_io/io_context_pool.hpp                    34                13    61.76%         197                67    65.99%          18                 8    55.56%
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                                                    2614              1171    55.20%       21772             11797    45.82%        3706              1609    56.58%

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2024

Codecov Report

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

Comparison is base (b404d4f) 67.78% compared to head (375ceb4) 67.75%.

Files Patch % Lines
include/cinatra/coro_http_connection.hpp 0.00% 1 Missing ⚠️
include/cinatra/coro_http_response.hpp 50.00% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #485      +/-   ##
==========================================
- Coverage   67.78%   67.75%   -0.04%     
==========================================
  Files         207      207              
  Lines       12146    12150       +4     
==========================================
- Hits         8233     8232       -1     
- Misses       3913     3918       +5     

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

@qicosmos qicosmos merged commit 9b82fd8 into master Jan 13, 2024
22 checks passed
@qicosmos qicosmos deleted the shrink_to_fit branch January 13, 2024 11:53
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