LCOV - code coverage report
Current view:
top level
-
src
- chttpclient.c
(
source
/ functions)
Coverage
Total
Hit
Test:
c_collections 2.0.0
Lines:
92.4 %
5926
5473
Test Date:
2026-11-15 18:57:05
Functions:
99.4 %
350
348
Legend:
Lines:
hit
not hit
Function Name
Hit count
addr_connect_start
1390
addr_is_silent_for_tests
1389
addr_list_interleave
1353
addr_list_resolve
1333
addr_list_resolve_for_target
1359
alloc_with_procs_copy
2205
async_awaiting_continue_on_data
29
async_build_response
780
async_chain_create
920
async_chain_release
1951
async_connect_begin
834
async_connect_failed
4
async_connect_register
820
async_connect_task
834
async_ctx_create
841
async_ctx_destroy_now
833
async_ctx_finish
465
async_ctx_handle_if_abandoned
5
async_ctx_teardown
483
async_dispatch_kind
6888
async_drive_write
916
async_finish_connection
895
async_fulfill
76
async_fulfill_chain
1808
async_fulfill_success
3
async_handle_redirect
119
async_idle_ctx_finish
346
async_idle_pool_offer
551
async_idle_pool_take
1002
async_idle_remove_locked
346
async_input_pending
1313
async_on_error
1
async_on_error_impl
1
async_on_readable
5870
async_on_readable_impl
5871
async_on_room
30
async_on_writable
1020
async_on_writable_impl
1020
async_parser_start
1319
async_plain_try_write
4400
async_process_reading_data
5258
async_race_close_attempt_locked
52
async_race_decide_locked
0
async_race_detach
833
async_race_launch_locked
54
async_race_on_event
44
async_race_on_removed
52
async_race_release
78
async_race_start
26
async_race_tick
40
async_reg_modify
4746
async_replay_continue_carry
3572
async_retry_hop
33
async_reused_conn_is_clean
189
async_room_watch_start
3545
async_room_watch_stop
3656
async_sink_close
1
async_submit_hop
1016
async_submit_hop_fail
9
async_tls_advance
201
async_tls_try_write
151
async_upload_pause
3572
async_upload_resume
3555
async_writable_rest
3
build_request_target
2819
ccol_cond_var_init_monotonic
2873
chttp__addr_list_interleave_for_tests
3
chttp__async_chain_struct_size_for_tests
1
chttp__async_hops_abandoned_for_tests
3
chttp__concat_len_overflow_guard_for_tests
2
chttp__continue_deadline_stores_for_tests
9
chttp__continue_sweep_arm_for_tests
1
chttp__continue_sweep_parked_for_tests
96
chttp__continue_sweep_release_for_tests
3
chttp__deadline_remaining_ms_at_for_tests
7
chttp__deadline_remaining_ms_for_tests
3
chttp__in_redirect_resolve_for_tests
574
chttp__merge_ref_path_overflow_guard_for_tests
2
chttp__ms_elapsed_floor_for_tests
4
chttp__name_lookups_for_tests
2
chttp__ob_append_cap_overflow_for_tests
1
chttp__ob_append_overflow_guard_for_tests
2
chttp__offer_done_count_for_tests
301
chttp__offer_entered_count_for_tests
3
chttp__parse_url_for_tests
102
chttp__percent_encode_unix_path_overflow_guard_for_tests
2
chttp__redirect_transport_allowed_for_tests
29
chttp__redirect_transport_check_for_tests
18
chttp__resolve_redirect_url_for_tests
50
chttp__seen_names_add_overflow_guard_for_tests
2
chttp__set_addr_override_for_tests
16
chttp__set_async_tls_first_read_cap_for_tests
2
chttp__set_connect_async_failures_for_tests
2
chttp__set_connect_attempt_delay_ms_for_tests
4
chttp__set_connect_short_delays_for_tests
2
chttp__set_expire_at_read_for_tests
2
chttp__set_name_lookup_delay_ms_for_tests
9
chttp__set_silent_addr_for_tests
9
chttp__short_next_capped_waits_for_tests
2
chttp__sink_buffered_cap_overflow_for_tests
1
chttp__sink_buffered_overflow_guard_for_tests
2
chttp__stall_next_read_for_tests
2
chttp__stalled_read_resume_for_tests
2
chttp__sweep_due_for_tests
2
chttp__sweep_due_reset_for_tests
2
chttp__sweep_fd_wait_arm_for_tests
1
chttp__sweep_fd_wait_held_for_tests
1
chttp__sweep_fd_wait_trace_for_tests
1
chttp__sweep_race_arm_for_tests
1
chttp__sweep_race_disarm_for_tests
1
chttp__sweep_race_parked_phase_for_tests
98
chttp__sweep_race_release_for_tests
1
chttp__sweep_ticks_for_tests
4
chttp__tier1_continue_waits_for_tests
4
chttp__tier1_read_waits_for_tests
2
chttp__tier1_reads_for_tests
2
chttp__tls_client_create_code_for_tests
5
chttp__tls_client_handshake_for_tests
4
chttp_async_preflight_check
944
chttp_default_client
308
chttp_delete
4
chttp_do_async_internal
944
chttp_do_default
266
chttp_do_internal
630
chttp_early_resp_finish
646
chttp_get
169
chttp_patch
6
chttp_perform
240
chttp_post
31
chttp_put
5
chttp_read_message
931
chttp_read_message_loop
651
chttp_read_message_with
934
chttp_request_create_mp
1470
chttp_request_free
1453
chttp_request_get_header
25
chttp_request_set_header
136
chttp_send_all
14
chttp_send_all_watch
648
chttp_send_and_read
654
chttp_test_continue_carry_replay_delay
8
chttp_test_idle_probe_hold
347
chttpcli__abandon_shutdown_under_lock_for_tests
1201
chttpcli__arm_create_fault_for_tests
10
chttpcli__arm_idle_probe_hold_for_tests
2
chttpcli__arm_stray_write_at_take_for_tests
1
chttpcli__arm_stray_write_before_take_for_tests
1
chttpcli__async_idle_timed_out_count_for_tests
1
chttpcli__async_idle_total_count_for_tests
43
chttpcli__clear_engine_user_logger_for_tests
1
chttpcli__destroy
2817
chttpcli__engine_acquire_for_tests
31
chttpcli__engine_dns_pool_for_tests
1
chttpcli__engine_globals_entered_for_tests
1
chttpcli__engine_logger_for_tests
2
chttpcli__engine_num_reactor_threads_for_tests
2
chttpcli__engine_reaper_abandoned_count_for_tests
18
chttpcli__engine_ref_count_for_tests
8155
chttpcli__engine_release_for_tests
30
chttpcli__engine_running_for_tests
57
chttpcli__engine_unjoined_reaper_for_tests
1
chttpcli__engine_wait_for_quiescence_for_tests
340
chttpcli__engine_wait_stopped_unjoined_for_tests
1
chttpcli__field_rec_reads_for_tests
2
chttpcli__force_async_hard_read_error_once_for_tests
1
chttpcli__force_async_idle_stale_for_tests
241
chttpcli__force_next_free_index_push_failure_for_tests
9
chttpcli__force_offer_push_fail_once_for_tests
1
chttpcli__force_reactivate_fail_once_for_tests
1
chttpcli__force_reaper_spawn_fail_for_tests
4
chttpcli__force_stray_idle_write_arm_once_for_tests
1
chttpcli__force_stray_write_arm_once_for_tests
1
chttpcli__free_index_count_for_tests
3
chttpcli__hold_next_reaper_final_section_for_tests
4
chttpcli__hold_next_reaper_spawn_for_tests
1
chttpcli__hold_next_reaper_tail_for_tests
1
chttpcli__idle_pools_async_key_count_for_tests
4
chttpcli__idle_pools_key_count_for_tests
4
chttpcli__pin_count_for_tests
5
chttpcli__reaper_created_count_for_tests
28
chttpcli__reaper_final_section_was_entered_for_tests
8
chttpcli__reaper_joined_count_for_tests
28
chttpcli__reaper_spawn_is_held_for_tests
2
chttpcli__reaper_tail_was_entered_for_tests
2
chttpcli__reaper_tail_was_left_for_tests
1
chttpcli__release_idle_probe_hold_for_tests
2
chttpcli__release_reaper_spawn_for_tests
1
chttpcli__reset_abandon_shutdown_probe_for_tests
1
chttpcli__resolve_for_tests
289
chttpcli__set_continue_carry_replay_delay_ms_for_tests
2
chttpcli__set_max_idle_origins_for_tests
4
chttpcli__shutdown_async_idle_connections_for_tests
2
chttpcli__slot_table_capacity_for_tests
6
chttpcli__stray_write_arm_restores_for_tests
5
chttpcli__stray_write_before_take_held_for_tests
1
chttpcli__timeouts_for_tests
2
chttpcli__tls_dir_block_attempts_for_tests
1
chttpcli__tls_dir_inject_for_tests
8
chttpcli__tls_dir_read_interest_while_writing_for_tests
1
chttpcli__tls_dir_released_for_tests
4
chttpcli__tls_dir_write_interest_while_reading_for_tests
1
chttpcli__wait_idle_probe_held_for_tests
2
chttpcli_any_slot_live_locked
39
chttpcli_async_result_free
913
chttpcli_async_result_get
736
chttpcli_atfork_child
0
chttpcli_atfork_parent
219
chttpcli_atfork_prepare
219
chttpcli_atfork_unlock_all
219
chttpcli_create_mp
2845
chttpcli_do
620
chttpcli_do_async
739
chttpcli_do_async_streaming
13
chttpcli_do_pooled
191
chttpcli_do_pooled_streaming
9
chttpcli_do_streaming
16
chttpcli_engine_wait
5
chttpcli_free_index_release_locked
2819
chttpcli_handle_slot_acquire
2832
chttpcli_reclaim_lost_index_locked
9
chttpcli_release_slot_table_if_deferred_locked
2810
chttpcli_release_slot_table_locked
36
chttpcli_resp_free
2310
chttpcli_resp_header
110
chttpcli_resp_header_at
167
chttpcli_resp_header_count
68
chttpcli_set_connect_timeout
19
chttpcli_set_engine_logger
9
chttpcli_set_engine_mem_mgmt_procs
4
chttpcli_set_engine_num_reactor_threads
14
chttpcli_set_inactivity_timeout
16
chttpcli_set_max_response_body_size
17
chttpcli_set_pool_size
50
chttpcli_set_request_timeout
175
chttpcli_set_tls
147
chttpcli_slot_table_init_globals
42
cleanup_default_client
39
cleanup_engine_user_logger
39
client_at_exit
33
client_atfork_install
33
client_deadline_init_globals
33
client_deadline_note
1886
client_deadline_note_ns
1679
client_deadline_register
834
client_deadline_sweep_fn
419
client_deadline_sweep_once
606
client_deadline_sweep_stop_and_join
409
client_deadline_unregister
833
client_engine_acquire_impl
1505
client_engine_forget_inherited_locked
1871
client_engine_globals_init
36
client_engine_join_reaper_if_needed_locked
2508
client_engine_reaper_fn
409
client_engine_release_impl
1497
client_engine_retry_abandoned_reap
606
client_engine_spawn_reaper
414
client_engine_wait_for_quiescence
340
client_exit_hook_install
36
clone_headers_map
47
concat_len
12
conn_inactivity_charge
5339
conn_open
548
conn_read
5363
conn_teardown
524
conn_tls_wants_write
119
conn_wait
994
conn_wait_io
946
conn_write
850
connect_attempt_delay_ms
598
connection_value_has_close
17
continue_sweep_park_for_tests
87
deadline_earlier
38
deadline_make
3058
deadline_remaining_ms
17145
deadline_remaining_ms_at
14151
default_client_destroy_if_idle
30
early_resp_eof
2
early_resp_feed
3556
early_resp_start_parser
10
field_lines_add
85
field_lines_combine
28
field_lines_find
321
field_lines_free
3891
field_lines_put
165
field_lines_reserve
85
field_rec_at
1289
format_bracketed_host
2806
host_is_ip_literal
3528
http1_on_body
9623
http1_on_header
4953
http1_on_headers_complete
2142
http1_on_message_complete
2097
idle_pool_offer
224
idle_pool_take
672
init_chttp1_settings
37
init_default_client
29
is_redirect_credential_header
113
is_target_literal_byte
68733
location_has_scheme
91
lower_name_copy
482
merge_ref_path
37
monotonic_now_ns
11834
normalize_authority_ref
208
ob_append
20330
origin_key_host_span
50
origin_keys_same
1102
parse_chttp_unix_url
80
parse_chttp_url
2902
parse_ctx_free_fields
2030
parse_ctx_reset_for_continue
582
percent_decode_component
118
percent_encode_unix_path_len
4
read_deadline_passed
7209
reaper_final_hold_for_tests
406
reaper_spawn_hook_for_tests
409
reaper_tail_hold_for_tests
406
rebuild_tls_ctx_body_locked
2993
redirect_header_drops
1088
redirect_transport_allowed
245
remove_dot_segments
273
resolve_redirect_url_impl
295
resp_occurrence
231
scan_header_presence
1681
seen_names_add
262
seen_names_contains
265
serialize_request
1683
silent_attempt_fd_for_tests
1
sink_async_user
30
sink_buffered
9571
sink_discard
7
slot_acquire
625
slot_release
622
stray_before_take_wait_for_tests
2
sweep_fd_wait_for_tests
826
sweep_note_due_for_tests
38
sweep_race_park_for_tests
2
sweep_race_take_forced_verdict_for_tests
301
tcp_connect
535
tls_client_create
158
tls_client_create_failure_code
2
tls_ctx_retry_if_oom_locked
1705
tls_dir_inject_blocks
809
tls_dir_note_wait
5390
tls_handshake
48
unix_connect
13
uri_ip_literal_is_valid
35
uri_reg_name_is_valid
2758
uri_unreserved_or_sub_delim
25138
uri_userinfo_is_valid
27
url_free
2736
Generated by:
LCOV version 2.0-1