LCOV - code coverage report
Current view:
top level
-
app/config
- config.c
(
source
/ functions)
Hit
Total
Coverage
Test:
lcov.info
Lines:
2298
2893
79.4 %
Date:
2021-11-24 03:28:48
Functions:
108
122
88.5 %
Function Name
Hit count
get_default_conf_file
0
get_first_listener_addrport_string
0
get_torrc_fname
0
handle_cmdline_master_key
0
list_deprecated_options
0
load_torrc_from_stdin
0
opt_streq
0
options_rollback_listener_transaction
0
options_save_current
0
port_exists_by_type_addr32h_port
0
port_exists_by_type_addr_port
0
print_library_versions
0
print_usage
0
write_configuration_file
0
getinfo_helper_config
1
handle_cmdline_newpass
1
list_torrc_options
1
option_get_canonical_name
1
open_and_add_file_log
2
options_rollback_log_transaction
2
handle_cmdline_no_passphrase
3
init_cookie_authentication
3
options_transition_affects_guards
3
write_to_data_subdir
3
check_or_create_data_subdir
4
config_maybe_load_geoip_files_
4
get_num_cpus
4
handle_cmdline_format
4
init_libevent
4
list_enabled_modules
4
option_get_assignment
4
parse_tcp_proxy_line
4
handle_cmdline_passphrase_fd
5
options_check_transition_cb
5
options_trial_assign
5
warn_nonlocal_client_ports
5
warn_client_dns_cache
7
config_load_geoip_file_
8
option_is_recognized
8
options_need_geoip_info
8
parse_dirauth_dirport
11
using_default_dir_authorities
11
escaped_safe_str
14
warn_nonlocal_controller_ports
15
portconf_get_first_advertised_addr
16
verify_and_store_outbound_address
19
addressmap_register_auto
25
config_register_addressmaps
28
bridge_line_free_
34
validate_transport_socks_arguments
53
safe_str_opts
54
port_binds_ipv6
56
pt_parse_transport_line
65
create_keys_directory
70
portconf_get_first_advertised_port
71
get_configured_ports__real
76
portconf_get_first_advertised
87
options_dump
110
parse_bridge_line
148
add_default_fallback_dir_servers__real
211
options_act__real
213
options_act_once_on_startup
214
options_act_reversible__real
214
options_commit_listener_transaction
214
options_start_listener_transaction
214
options_switch_id
214
set_options
216
options_commit_log_transaction
217
options_start_log_transaction
219
options_create_directories
220
add_default_trusted_dir_authorities
224
consider_adding_dir_servers
227
options_init_from_string
230
options_validate_and_set
232
options_init_from_torrc
235
config_free_all
241
escaped_safe_str_client
255
options_any_client_port_set
313
options_validate
349
options_validate_scheduler
386
get_protocol_warning_severity_level
423
compute_group_readable_flag
437
validate_dir_servers
452
find_torrc_filename
456
load_torrc_from_disk
456
config_parse_commandline
470
port_binds_ipv4
471
parsed_cmdline_free_
478
options_validate_single_onion
513
compute_real_max_mem_in_queues
531
warn_about_relative_paths
563
validate_data_directories
564
get_data_directory
570
options_validate_cb
576
options_init_log_granularity
578
options_init_logs
578
parse_ports
588
check_and_create_data_directory
657
port_cfg_line_extract_addrport
759
parse_outbound_addresses
778
get_options_defaults
956
options_init
956
options_get_dir_fname2_suffix__real
995
warn_if_option_path_is_relative
1214
port_cfg_free_
1231
port_cfg_new
1272
safe_str_client_opts
1488
validate_ports_csv
2142
parse_dir_authority_line
2315
parse_outbound_address_lines
3109
config_ensure_bandwidth_cap
4610
port_count_real_listeners
5193
init_protocol_warning_severity_level
5553
set_protocol_warning_severity_level
5766
options_new
6358
port_parse_config
6537
options_clear_cb
6591
or_options_free_
7309
get_options_mgr
32238
parse_dir_fallback_line
42210
get_options__real
271777
get_options_mutable__real
272675
Generated by:
LCOV version 1.14