LCOV - code coverage report
Current view:
top level
-
feature/hs
- hs_service.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
1215
1652
73.5 %
Date:
2021-11-24 03:28:48
Functions:
122
145
84.1 %
Function Name
Hit count
build_all_descriptors
23
build_desc_intro_points
0
build_desc_signing_key_cert
44
build_descriptors_for_new_service
21
build_service_desc_encrypted
44
build_service_desc_keys
44
build_service_desc_plaintext
44
build_service_desc_superencrypted
44
build_service_descriptor
44
can_service_launch_intro_circuit
3
cleanup_intro_points
6
client_filename_is_valid
7
close_directory_connections
9
close_intro_circuits
1
close_service_circuits
0
close_service_intro_circuits
0
close_service_rp_circuits
0
compare_service_authorzized_client_
6
count_desc_circuit_established__real
7
describe_intro_point
4
find_service
69
generate_ope_cipher_for_desc
44
get_extend_info_from_intro_point
0
get_first_service
4
get_hs_service_map
53
get_hs_service_map_size
7
get_hs_service_staging_list_size
5
get_intro_point_max_introduce2
24
get_intro_point_max_lifetime
24
get_intro_point_min_introduce2
24
get_intro_point_min_lifetime
24
get_intro_point_num_extra
7
get_link_spec_by_type
10
get_max_intro_circ_per_period
3
get_node_from_intro_point
8
get_objects_from_ident
14
hs_service_add_ephemeral
4
hs_service_allow_non_anonymous_connection
930
hs_service_circuit_cleanup_on_close
1
hs_service_circuit_has_opened
5
hs_service_del_ephemeral
0
hs_service_dir_info_changed
45174
hs_service_dump_stats
0
hs_service_exports_circuit_id
2
hs_service_find
1
hs_service_free_
74
hs_service_free_all
285
hs_service_get_metrics_stores
1
hs_service_get_num_services__real
45493
hs_service_get_version_from_key
11
hs_service_ht_HT_CLEAR
290
hs_service_ht_HT_FIND
69
hs_service_ht_HT_FIND_P_
90
hs_service_ht_HT_FOREACH_FN
290
hs_service_ht_HT_GROW
36
hs_service_ht_HT_INIT
589
hs_service_ht_HT_INSERT
42
hs_service_ht_HT_NEXT
45
hs_service_ht_HT_NEXT_RMV
0
hs_service_ht_HT_REMOVE
21
hs_service_ht_HT_REP_IS_BAD_
0
hs_service_ht_HT_START
63
hs_service_ht_eq
36
hs_service_ht_hash
132
hs_service_init
291
hs_service_lists_fnames_for_sandbox
0
hs_service_load_all_keys
8
hs_service_lookup_current_desc
0
hs_service_map_has_changed
67
hs_service_new
70
hs_service_non_anonymous_mode_consistent
2186
hs_service_non_anonymous_mode_enabled
1256
hs_service_receive_intro_established
4
hs_service_receive_introduce2
4
hs_service_reveal_startup_time
0
hs_service_run_scheduled_events
0
hs_service_set_conn_addr_port
0
hs_service_stage_services
10
hs_service_upload_desc_to_dir
66
ht_free_service_
19
intro_point_should_expire
9
is_client_auth_enabled
154
launch_intro_point_circuits
0
load_client_keys
4
load_service_keys
4
log_cant_upload_desc
18
move_descriptors
0
move_ephemeral_services
8
move_hs_state
0
parse_authorized_client
11
parse_authorized_client_key
9
pick_intro_point
6
pick_needed_intro_points
4
refresh_service_descriptor
0
register_all_services
8
register_service
43
remember_failing_intro_point
2
remove_expired_failing_intro
6
remove_service
21
rotate_all_descriptors
3
rotate_service_descriptors
1
run_build_circuit_event
0
run_build_descriptor_event
0
run_housekeeping_event
6
run_upload_descriptor_event
9
service_add_fnames_to_list
0
service_authorized_client_cmp
10
service_authorized_client_config_equal
5
service_authorized_client_dup
12
service_authorized_client_free_
91
service_clear_config
83
service_desc_clear_previous_hsdirs
12
service_desc_find_by_intro
5
service_desc_hsdirs_changed
2
service_desc_note_upload
66
service_desc_schedule_upload
3
service_descriptor_free_
65
service_descriptor_new
65
service_encode_descriptor
110
service_escaped_dir
4
service_free_all
293
service_handle_intro_established
3
service_handle_introduce2
3
service_intro_circ_has_opened
3
service_intro_point_add
12
service_intro_point_find
12
service_intro_point_free_
28
service_intro_point_free_void
7
service_intro_point_new
24
service_intro_point_remove
1
service_key_on_disk
11
service_rendezvous_circ_has_opened
2
set_descriptor_revision_counter
0
set_rotation_time
2
set_service_default_config
70
setup_desc_intro_point
0
setup_intro_point_exclude_list
4
should_remove_intro_point
6
should_rotate_descriptors
3
should_service_upload_descriptor
18
update_all_descriptors_intro_points
2
update_service_descriptor_intro_points
4
upload_descriptor_to_all
9
upload_descriptor_to_hsdir
66
write_address_to_file
5
Generated by:
LCOV version 1.14