LCOV - code coverage report
Current view: top level - feature/relay - router.c (source / functions) Hit Total Coverage
Test: lcov.info Lines: 801 1528 52.4 %
Date: 2021-11-24 03:28:48 Functions: 64 95 67.4 %

Function Name Sort by function name Hit count Sort by hit count
check_descriptor_bandwidth_changed 6
check_descriptor_ipaddress_changed 0
client_identity_key_is_set 0
consider_publishable_server 0
construct_ntor_key_map 0
decide_if_publishable_server 0
decide_to_advertise_dir_impl 19
dup_onion_keys 0
expire_old_onion_keys 0
extrainfo_dump_to_string 6
extrainfo_dump_to_string_ed_sig_helper 6
extrainfo_dump_to_string_header_helper 6
extrainfo_dump_to_string_rsa_sig_helper 6
extrainfo_dump_to_string_stats_helper 6
get_current_curve25519_keypair__real 0
get_my_declared_family 7
get_my_v3_authority_cert__real 35
get_my_v3_authority_signing_key 17
get_my_v3_legacy_cert 0
get_my_v3_legacy_signing_key 0
get_onion_key__real 0
get_onion_key_grace_period 0
get_onion_key_lifetime 25
get_onion_key_rotation_days_ 25
get_onion_key_set_at 0
get_platform_str 7
get_server_identity_key__real 77
get_tlsclient_identity_key 24
init_curve25519_keypair_from_file 19
init_keys 28
init_keys_client 4
init_keys_common 28
init_v3_authority_keys 0
load_authority_keyset 0
load_stats_file 22
log_addr_has_changed 0
log_new_relay_greeting 29
mark_my_descriptor_dirty 29
mark_my_descriptor_dirty_if_too_old 7
mark_my_descriptor_if_omit_ipv6_changes 0
ntor_key_map_free_ 0
ntor_key_map_free_helper 0
rotate_onion_key 0
router_addr_is_my_published_addr 0
router_announce_bridge_status_page 0
router_build_fresh_descriptor 6
router_build_fresh_signed_extrainfo 6
router_build_fresh_unsigned_extrainfo 6
router_build_fresh_unsigned_routerinfo__real 0
router_can_extend_over_ipv6__real 2
router_check_descriptor_address_consistency 0
router_check_descriptor_address_port_consistency 0
router_compare_to_my_exit_policy 0
router_digest_is_me 23999
router_dump_and_sign_extrainfo_descriptor_body 6
router_dump_and_sign_routerinfo_descriptor_body 6
router_dump_exit_policy_to_string 30
router_dump_router_to_string 19
router_extrainfo_digest_is_me 1
router_free_all 235
router_get_active_listener_port_by_type_af 4
router_get_descriptor_gen_reason 0
router_get_my_descriptor 19
router_get_my_extrainfo 1
router_get_my_id_digest 6
router_get_my_routerinfo__real 210
router_get_my_routerinfo_with_err__real 210
router_get_rsa_onion_pkey 170
router_has_bandwidth_to_be_dirserver 122
router_initialize_tls_context 24
router_is_me 1
router_my_exit_policy_is_reject_star__real 45
router_new_consensus_params 5
router_rebuild_descriptor 0
router_reset_warnings 0
router_set_rsa_onion_pkey 7
router_should_advertise_begindir 19
router_should_advertise_dirport 19
router_should_be_dirserver 18
router_update_routerinfo_from_extrainfo 6
router_upload_dir_desc_to_dirservers 0
router_write_fingerprint 42
routerconf_find_dir_port 8
routerconf_find_ipv6_or_ap 5
routerconf_find_or_port 58
routerconf_has_ipv6_orport 2
routerinfo_err_is_transient 6
routerinfo_err_to_string 6
server_identity_key_is_set 12
set_client_identity_key 33
set_onion_key 19
set_server_identity_key 31
set_server_identity_key_digest_testing 1
should_refuse_unknown_exits 2
v3_authority_check_key_expiry 0

Generated by: LCOV version 1.14