LCOV - code coverage report
Current view:
top level
-
feature/client
- entrynodes.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
1339
1581
84.7 %
Date:
2021-11-24 03:28:48
Functions:
111
129
86.0 %
Function Name
Hit count
bridge_passes_guard_filter
0
choose_guard_selection
33
circ_state_has_higher_priority
57
circuit_guard_state_free_
320
circuit_guard_state_new__real
196
compare_guards_by_confirmed_idx
17
compare_guards_by_sampled_idx
731
create_initial_guard_context
23
entry_guard_add_bridge_to_sample
0
entry_guard_add_to_sample
1871
entry_guard_add_to_sample_impl
1871
entry_guard_cancel
64
entry_guard_chan_failed
5
entry_guard_consider_retry
20051
entry_guard_could_succeed
0
entry_guard_describe
3813
entry_guard_encode_for_state
9
entry_guard_failed
111
entry_guard_find_node
0
entry_guard_free_
1724
entry_guard_get_by_id_digest
0
entry_guard_get_by_id_digest_for_guard_selection
0
entry_guard_get_pathbias_state
29
entry_guard_get_rsa_id_digest
0
entry_guard_handle_free_
196
entry_guard_handle_get
587
entry_guard_handle_new
196
entry_guard_handles_clear
1723
entry_guard_has_higher_priority
64
entry_guard_is_listed__real
300
entry_guard_learned_bridge_identity
0
entry_guard_obeys_restriction
13432
entry_guard_parse_from_state
38
entry_guard_passes_filter
2311
entry_guard_pick_for_circuit
196
entry_guard_restriction_free_
202
entry_guard_set_filtered_flags
2311
entry_guard_state_should_expire
4
entry_guard_succeeded
54
entry_guards_all_primary_guards_are_down
43
entry_guards_changed
0
entry_guards_changed_for_guard_selection
2113
entry_guards_expand_sample
164
entry_guards_free_all
240
entry_guards_get_err_str_if_dir_info_missing
0
entry_guards_load_guards_from_state
17
entry_guards_note_guard_failure
120
entry_guards_note_guard_success
54
entry_guards_note_internet_connectivity
255
entry_guards_parse_state
17
entry_guards_update_all
9
entry_guards_update_confirmed
15
entry_guards_update_filtered_sets
36
entry_guards_update_guards_in_state
5
entry_guards_update_primary
289
entry_guards_update_state
5
entry_guards_upgrade_waiting_circuits
34
entry_list_is_constrained
3
first_reachable_filtered_entry_guard
290
get_bridge_info_for_guard
4
get_eligible_guards
157
get_extreme_restriction_threshold
22
get_guard_confirmed_min_lifetime
21
get_guard_lifetime
2114
get_guard_selection_by_name
63
get_guard_selection_info
245
get_guard_state_for_bridge_desc_fetch
0
get_internet_likely_down_interval
42
get_max_sample_size
157
get_max_sample_size_absolute
193
get_max_sample_threshold
155
get_meaningful_restriction_threshold
66
get_min_filtered_sample_size
604
get_n_primary_guards
291
get_n_primary_guards_to_use
262
get_nonprimary_guard_connect_timeout
24
get_nonprimary_guard_idle_timeout
3
get_remove_unlisted_guards_after_days
39
get_remove_unlisted_guards_after_seconds
36
get_retry_schedule
1314
get_sampled_guard_by_bridge_addr
0
get_sampled_guard_for_bridge
0
get_sampled_guard_with_id
1895
getinfo_helper_entry_guards
0
getinfo_helper_format_single_entry_guard
0
guard_create_dirserver_md_restriction
4
guard_create_exit_restriction
15
guard_get_guardfraction_bandwidth
872
guard_has_descriptor
1512
guard_in_node_family
327
guard_obeys_exit_restriction
327
guard_obeys_md_dirserver_restriction
129
guard_selection_free_
97
guard_selection_get_err_str_if_dir_info_missing
6
guard_selection_infer_type
116
guard_selection_new
116
guards_choose_dirguard
4
guards_choose_guard
6
guards_retry_optimistic
0
guards_update_all
2
have_sampled_guard_with_id
1871
make_guard_confirmed
219
mark_all_guards_maybe_reachable
6
mark_guard_maybe_reachable
156
mark_primary_guards_maybe_reachable
9
node_is_possible_guard
46695
node_passes_guard_filter
5080
num_bridges_usable__real
0
num_reachable_filtered_guards
514
parse_from_state_handle_time
31
parse_from_state_set_vals
38
pathbias_check_close_success_count
31
pathbias_check_use_success_count
31
randomize_time__real
4841
reasonably_live_consensus_is_missing
191
remove_all_entry_guards
0
remove_all_entry_guards_for_guard_selection
3
remove_guard_from_confirmed_and_primary_lists
9
sampled_guards_prune_obsolete_entries
18
sampled_guards_update_consensus_presence
18
sampled_guards_update_from_consensus
27
select_and_add_guard_item_for_sample
1847
select_confirmed_guard_for_circuit
99
select_entry_guard_for_circuit
256
select_filtered_guard_for_circuit
78
select_primary_guard_for_circuit
256
should_apply_guardfraction
9
should_set_md_dirserver_restriction
4
update_guard_selection_choice
2
Generated by:
LCOV version 1.14