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

avoid copy #450

Merged
merged 1 commit into from
Nov 27, 2023
Merged

avoid copy #450

merged 1 commit into from
Nov 27, 2023

Conversation

qicosmos
Copy link
Owner

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2023

Codecov Report

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

Comparison is base (6a93302) 64.80% compared to head (eeb1f9c) 64.87%.

Files Patch % Lines
include/cinatra/response.hpp 30.76% 9 Missing ⚠️
include/cinatra/http_server.hpp 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     #450      +/-   ##
==========================================
+ Coverage   64.80%   64.87%   +0.07%     
==========================================
  Files         217      217              
  Lines       13513    13529      +16     
==========================================
+ Hits         8757     8777      +20     
+ Misses       4756     4752       -4     

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

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                             19                 1    94.74%          74                 5    93.24%           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%          46                 6    86.96%           0                 0         -
asio/basic_streambuf.hpp                                   19                 1    94.74%         119                21    82.35%          24                 9    62.50%
asio/basic_waitable_timer.hpp                              14                 2    85.71%          65                13    80.00%           0                 0         -
asio/buffer.hpp                                            54                13    75.93%         212                50    76.42%          22                 7    68.18%
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                 1    87.50%
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                    24                 8    66.67%         117                38    67.52%          22                 8    63.64%
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                 3    94.00%          14                 3    78.57%
asio/detail/consuming_buffers.hpp                          22                 5    77.27%          85                10    88.24%          14                 1    92.86%
asio/detail/deadline_timer_service.hpp                     15                 4    73.33%         107                46    57.01%           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%          17                 0   100.00%           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%           9                 3    66.67%           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                 7    50.00%
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                50    40.48%        1925              1596    17.09%         224               132    41.07%
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                 4    93.22%          12                 2    83.33%
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%          68                22    67.65%          12                 4    66.67%
asio/detail/reactive_socket_send_op.hpp                     4                 0   100.00%          70                25    64.29%          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%         151               100    33.77%          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                            5                 1    80.00%          27                 3    88.89%           2                 1    50.00%
asio/detail/resolver_service_base.hpp                       5                 3    40.00%          15                 9    40.00%           2                 1    50.00%
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%          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%          17                 0   100.00%           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%          72                23    68.06%           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                                         25                 0   100.00%         174                 9    94.83%          30                 7    76.67%
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%          92                18    80.43%          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                16     5.88%          51                48     5.88%           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                                  8                 0   100.00%          34                 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                 1    98.04%          10                 3    70.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                19    13.64%         116               102    12.07%           4                 2    50.00%
asio/ip/impl/address_v4.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v4.ipp                                20                19     5.00%          96                90     6.25%           2                 1    50.00%
asio/ip/impl/address_v6.hpp                                 4                 4     0.00%          12                12     0.00%           0                 0         -
asio/ip/impl/address_v6.ipp                                34                32     5.88%         201               192     4.48%           2                 1    50.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                 8    61.90%         219               122    44.29%          52                21    59.62%
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%         213               117    45.07%          42                 8    80.95%
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                 0   100.00%           7                 0   100.00%           0                 0         -
asio/ssl/detail/write_op.hpp                                3                 0   100.00%          14                 0   100.00%           0                 0         -
asio/ssl/error.hpp                                          2                 2     0.00%           8                 8     0.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                33    34.00%         928               766    17.46%         122                79    35.25%
asio/ssl/impl/error.ipp                                     6                 3    50.00%          46                18    60.87%          22                16    27.27%
asio/ssl/impl/host_name_verification.ipp                    1                 0   100.00%          25                 5    80.00%           6                 3    50.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                 1    91.67%          49                 6    87.76%           0                 0         -
asio/ssl/stream_base.hpp                                    1                 0   100.00%           2                 0   100.00%           0                 0         -
asio/ssl/verify_context.hpp                                 2                 0   100.00%           5                 0   100.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                 2    83.33%          80                37    53.75%          22                10    54.55%
async_simple/FutureState.h                                 28                 8    71.43%         195                79    59.49%          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                 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%         158                35    77.85%          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/connection.hpp                                     97                30    69.07%        1433               677    52.76%         304               176    42.11%
cinatra/cookie.hpp                                         14                14     0.00%          74                74     0.00%          24                24     0.00%
cinatra/coro_http_client.hpp                               80                 5    93.75%        1176               188    84.01%         390                99    74.62%
cinatra/coro_http_connection.hpp                           27                10    62.96%         436               232    46.79%         106                60    43.40%
cinatra/coro_http_request.hpp                              13                 6    53.85%          83                44    46.99%          30                17    43.33%
cinatra/coro_http_response.hpp                             17                 7    58.82%         104                47    54.81%          22                14    36.36%
cinatra/coro_http_router.hpp                                9                 3    66.67%          65                27    58.46%           6                 3    50.00%
cinatra/coro_http_server.hpp                               23                10    56.52%         241                95    60.58%          36                18    50.00%
cinatra/define.h                                            1                 0   100.00%          34                12    64.71%          20                 1    95.00%
cinatra/http_cache.hpp                                     13                 8    38.46%          53                40    24.53%           2                 1    50.00%
cinatra/http_parser.hpp                                    22                 7    68.18%         162                71    56.17%          42                21    50.00%
cinatra/http_router.hpp                                    13                 4    69.23%         185                79    57.30%          46                28    39.13%
cinatra/http_server.hpp                                    34                 8    76.47%         634               217    65.77%         116                72    37.93%
cinatra/io_service_pool.hpp                                15                10    33.33%          64                27    57.81%          10                 1    90.00%
cinatra/itoa.hpp                                           14                 6    57.14%          65                27    58.46%          14                 8    42.86%
cinatra/mime_types.hpp                                      1                 0   100.00%           7                 1    85.71%           2                 1    50.00%
cinatra/multipart_parser.hpp                               19                 6    68.42%         317                86    72.87%         126                35    72.22%
cinatra/multipart_reader.hpp                               18                 4    77.78%          74                 4    94.59%           8                 4    50.00%
cinatra/picohttpparser.h                                   14                 6    57.14%         450               279    38.00%         198               103    47.98%
cinatra/request.hpp                                       106                39    63.21%         616               309    49.84%         160                73    54.37%
cinatra/response.hpp                                       35                21    40.00%         200               118    41.00%          44                25    43.18%
cinatra/response_cv.hpp                                     4                 2    50.00%         172               156     9.30%         122                77    36.89%
cinatra/session.hpp                                        10                10     0.00%          40                40     0.00%           0                 0         -
cinatra/session_manager.hpp                                 7                 7     0.00%          54                54     0.00%           0                 0         -
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                70    79.47%         184                45    75.54%
cinatra/upload_file.hpp                                    13                 6    53.85%          82                54    34.15%           6                 3    50.00%
cinatra/uri.hpp                                            17                 5    70.59%         200                59    70.50%         166                52    68.67%
cinatra/url_encode_decode.hpp                               7                 6    14.29%          87                61    29.89%          20                14    30.00%
cinatra/utils.hpp                                          53                33    37.74%         527               394    25.24%         126                87    30.95%
cinatra/websocket.hpp                                      16                 2    87.50%         212                42    80.19%         104                45    56.73%
cinatra/ylt/coro_io/coro_file.hpp                          16                 4    75.00%         130                41    68.46%          24                 9    62.50%
cinatra/ylt/coro_io/coro_io.hpp                            38                 1    97.37%         217                 9    95.85%           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                                                    3004              1347    55.16%       24709             13522    45.28%        4220              1930    54.27%

@qicosmos qicosmos merged commit c8b2a12 into master Nov 27, 2023
22 checks passed
@qicosmos qicosmos deleted the avoid_copy branch November 27, 2023 05:49
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