LCOV - code coverage report
Current view:
top level
-
test
- test_dir.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
3777
3809
99.2 %
Date:
2021-11-24 03:28:48
Functions:
120
121
99.2 %
Function Name
Hit count
mock_check_private_dir
0
listdir_mock
1
mock_ei_get_by_ei_digest
1
setup_dls_digests
1
test_consensus_for_v3ns
1
test_dir_add_fingerprint
1
test_dir_assumed_flags
1
test_dir_authdir_type_to_string
1
test_dir_bwauth_bw_file_digest256
1
test_dir_clip_unmeasured_bw_kb
1
test_dir_clip_unmeasured_bw_kb_alt
1
test_dir_conn_purpose_to_string
1
test_dir_dirserv_add_own_fingerprint
1
test_dir_dirserv_load_fingerprint_file
1
test_dir_dirserv_read_measured_bandwidths
1
test_dir_dirserv_router_get_status
1
test_dir_dirserv_set_routerstatus_testing
1
test_dir_dirserv_would_reject_router
1
test_dir_download_status_increment
1
test_dir_download_status_random_backoff
1
test_dir_download_status_random_backoff_ranges
1
test_dir_dump_unparseable_descriptors
1
test_dir_extrainfo_parsing
1
test_dir_fetch_type
1
test_dir_fmt_control_ns
1
test_dir_format_versions_list
1
test_dir_fp_pairs
1
test_dir_getinfo_extra
1
test_dir_http_handling
1
test_dir_load_extrainfo
1
test_dir_load_routers
1
test_dir_matching_flags
1
test_dir_measured_bw_kb
1
test_dir_measured_bw_kb_cache
1
test_dir_measured_bw_kb_line_is_after_headers
1
test_dir_networkstatus_compute_bw_weights_v10
1
test_dir_nicknames
1
test_dir_packages
1
test_dir_param_voting
1
test_dir_param_voting_lookup
1
test_dir_parse_router_list
1
test_dir_platform_str
1
test_dir_populate_dump_desc_fifo
1
test_dir_populate_dump_desc_fifo_2
1
test_dir_post_parsing
1
test_dir_purpose_needs_anonymity_ret_false_for_non_sensitive_conn
1
test_dir_purpose_needs_anonymity_returns_false_for_own_bridge_desc
1
test_dir_purpose_needs_anonymity_returns_true_by_default
1
test_dir_purpose_needs_anonymity_returns_true_for_bridges
1
test_dir_random_weighted
1
test_dir_routerinfo_parsing
1
test_dir_scale_bw
1
test_dir_should_init_request_to_dir_auths
1
test_dir_should_not_init_request_to_dir_auths_without_v3_info
1
test_dir_should_not_init_request_to_ourselves
1
test_dir_should_use_directory_guards
1
test_dir_split_fps
1
test_dir_v3_networkstatus
1
test_dir_versions
1
dir_tests_directory_initiate_request
2
mock_ei_insert
2
mock_get_by_ei_desc_digest
2
mock_router_get_dl_status
2
test_consensus_for_umbw
2
test_routerstatus_for_v3ns
2
get_my_v3_authority_cert_m
3
pop_one_mock
3
read_file_to_str_mock
3
reset_read_file_to_str_mock
3
setup_ei_digests
3
test_a_networkstatus
3
vote_tweaks_for_v3ns
3
download_status_random_backoff_helper
4
basic_routerinfo_new
6
get_new_bandwidth_line
6
get_new_bridge_distribution_request_line
6
get_new_fingerprint_line
6
get_new_ntor_onion_key_line
6
get_new_onion_key_block
6
get_new_platform_line
6
get_new_published_line
6
get_new_router_line
6
get_new_signing_key_block
6
get_new_uptime_line
6
mock_get_current_curve25519_keypair
6
mock_get_master_signing_key_cert
6
mock_get_onion_key
6
mock_router_build_fresh_unsigned_routerinfo
6
setup_dir_formats_options
6
setup_mocks_for_fresh_descriptor
6
test_dir_formats_rsa_ed25519
6
vote_tweaks_for_umbw
6
dir_tests_public_server_mode
7
test_vrs_for_v3ns
7
test_dir_find_dl_min_delay
8
test_routerstatus_for_umbw
8
get_detached_sigs
9
mock_write_str_to_file_reset
9
test_same_voter
9
mock_unlink
11
get_new_rsa_key_block
12
mock_get_master_signing_keypair
12
mock_get_server_identity_key
12
mock_unlink_reset
12
my_dirvote_compute_params
12
reset_routerstatus
13
mock_networkstatus_consensus_can_use_extra_fallbacks
16
mock_num_bridges_usable
16
mock_write_str_to_file
16
test_vrs_for_umbw
16
routerinfo_free_wrapper_
17
cleanup_mocks_for_fresh_descriptor
18
mock_get_configured_ports
18
networkstatus_parse_vote_from_string_
18
reset_options
18
setup_mock_configured_ports
18
mock_get_datadir_fname
20
mock_networkstatus_consensus_is_bootstrapping
28
gen_routerstatus_for_umbw
30
cleanup_mock_configured_ports
42
mock_get_options
91
Generated by:
LCOV version 1.14