LCOV - code coverage report
Current view:
top level
-
feature/nodelist
- nodelist.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
758
1108
68.4 %
Date:
2021-11-24 03:28:48
Functions:
98
127
77.2 %
Function Name
Hit count
build_addr_port_item
1012
compute_frac_paths_available
1
count_loading_descriptors_progress
0
count_usable_descriptors
3
get_dir_info_status_string
1
get_estimated_address_per_node__real
70
get_frac_paths_needed_for_circs
1
init_nodelist
6338
link_specifier_smartlist_free_
8
microdesc_has_curve25519_onion_key
7359
node_add_to_address_set
12214
node_add_to_ed25519_map
6187
node_addrs_changed
0
node_allows_single_hop_exits
7323
node_ed25519_id_matches
0
node_ed_id_eq
15975
node_ed_id_hash
24154
node_exit_policy_is_exact
0
node_exit_policy_rejects_all
813
node_family_contains
35
node_free_
6118
node_get_addr
616
node_get_address_string
0
node_get_all_orports
0
node_get_by_ed25519_id__real
12049
node_get_by_hex_id
0
node_get_by_id__real
6580
node_get_by_nickname__real
11
node_get_curve25519_onion_key
7372
node_get_declared_uptime
0
node_get_ed25519_id__real
26281
node_get_link_specifier_smartlist__real
23
node_get_mutable_by_ed25519_id
12049
node_get_mutable_by_id__real
39870
node_get_nickname
1987
node_get_or_create
12206
node_get_platform
0
node_get_pref_dirport
0
node_get_pref_ipv6_dirport
76
node_get_pref_ipv6_orport
705
node_get_pref_orport
6
node_get_prim_addr_ipv4
0
node_get_prim_dirport
96
node_get_prim_orport
5345
node_get_protover_summary_flags
30073
node_get_purpose
0
node_get_rsa_id_digest
28
node_get_rsa_onion_key
21
node_get_verbose_nickname
67
node_get_verbose_nickname_by_id
79
node_has_any_descriptor
0
node_has_curve25519_onion_key
7344
node_has_declared_family
6
node_has_ipv6_addr
0
node_has_ipv6_dirport
10
node_has_ipv6_orport
19
node_has_preferred_descriptor
24203
node_id_eq
40563
node_id_hash
45909
node_in_nickname_smartlist
3
node_ipv6_dir_preferred
30
node_ipv6_or_preferred
4642
node_is_dir
253701
node_is_good_exit
0
node_is_me
0
node_is_unreliable
7323
node_is_usable
6052
node_log_dup_ed_id
1
node_lookup_declared_family
2
node_nickname_matches
21
node_remove_from_ed25519_map
6187
node_set_country
12206
node_set_hsdir_index
12054
node_supports_accepting_ipv6_extends
0
node_supports_ed25519_hs_intro
3
node_supports_ed25519_link_authentication__real
23
node_supports_establish_intro_dos_extension
3
node_supports_initiating_ipv6_extends
0
node_supports_v3_hsdir
30065
node_supports_v3_rendezvous_point
0
nodelist_add_addr_to_address_set
6751
nodelist_add_microdesc
2
nodelist_add_node_and_family
6
nodelist_assert_ok
42
nodelist_drop_node
0
nodelist_ed_map_HT_CLEAR
60
nodelist_ed_map_HT_FIND
18102
nodelist_ed_map_HT_FIND_P_
18103
nodelist_ed_map_HT_GROW
130
nodelist_ed_map_HT_INIT
137
nodelist_ed_map_HT_INSERT
6051
nodelist_ed_map_HT_NEXT
6021
nodelist_ed_map_HT_REMOVE
1
nodelist_ed_map_HT_REP_IS_BAD_
0
nodelist_ed_map_HT_START
42
nodelist_ensure_freshness
66
nodelist_find_nodes_with_microdesc
0
nodelist_free_all
301
nodelist_get_list__real
135
nodelist_map_HT_CLEAR
60
nodelist_map_HT_FIND
39744
nodelist_map_HT_FIND_P_
39744
nodelist_map_HT_GROW
162
nodelist_map_HT_INIT
137
nodelist_map_HT_INSERT
6165
nodelist_map_HT_NEXT
6052
nodelist_map_HT_NEXT_RMV
0
nodelist_map_HT_REMOVE
0
nodelist_map_HT_REP_IS_BAD_
0
nodelist_map_HT_START
41
nodelist_probably_contains_address
166
nodelist_purge
41
nodelist_reentry_contains
6
nodelist_refresh_countries
4
nodelist_remove_microdesc
0
nodelist_remove_routerinfo
0
nodelist_set_consensus
41
nodelist_set_routerinfo
6160
nodes_in_same_family
332
router_addrs_in_same_network
317
router_dir_info_changed
45174
router_exit_policy_all_nodes_reject
0
router_find_exact_exit_enclave
0
router_have_consensus_path__real
3
router_have_minimum_dir_info__real
12
router_set_status
24
update_router_have_minimum_dir_info
1
Generated by:
LCOV version 1.14