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