LCOV - code coverage report
Current view: top level - lib/net - address.c (source / functions) Hit Total Coverage
Test: lcov.info Lines: 788 866 91.0 %
Date: 2021-11-24 03:28:48 Functions: 59 62 95.2 %

Function Name Sort by function name Hit count Sort by hit count
fmt_addr32_port 0
tor_addr_is_valid_ipv4n 0
tor_addr_make_af_unix 0
get_interface_addresses_ioctl 1
ifconf_free_ifc_buf 1
tor_addr_port_eq 1
fmt_addr32 2
get_interface_address__real 2
ifreq_to_smartlist 3
tor_addr_copy_ipv6_bytes 4
tor_dup_ip 4
tor_sockaddr_to_str 4
get_interface_address6__real 6
addr_mask_get_bits 7
tor_addr_to_PTR_name 7
tor_addr_hostname_is_local 9
string_is_valid_ipv6_address 13
fmt_addr_family 20
get_interface_address6_via_udp_socket_hack__real 20
string_is_valid_dest 20
tor_addr_parse_PTR_name 21
get_interface_addresses_raw__real 23
get_interface_addresses_ifaddrs 24
ifaddrs_to_smartlist 25
fmt_af_family 26
get_interface_address6_list__real 29
tor_addr_to_sockaddr 30
interface_address6_list_free_ 32
string_is_valid_nonrfc_hostname 33
tor_addr_port_new 70
tor_addr_from_sockaddr 78
tor_addr_is_loopback 130
tor_addr_is_v6 148
tor_addr_is_multicast 154
fmt_addrport 311
tor_addr_is_internal_ 515
tor_addr_hash 1436
fmt_addr_impl 1951
tor_addr_port_copy 2242
string_is_valid_ipv4_address 2371
tor_addr_make_null 6788
tor_addr_keyed_hash 13554
tor_addr_port_parse 16668
tor_addr_to_str_dup 42235
tor_port_is_valid 50678
tor_addr_to_str 54890
parse_port_range 58057
tor_addr_port_split 61440
tor_addr_is_valid 80823
tor_addr_make_unspec 81723
tor_addr_parse 126262
tor_addr_is_null 131160
tor_addr_parse_impl 142843
tor_addr_copy 162437
tor_addr_from_in6 170925
tor_addr_from_ipv6_bytes 225527
tor_addr_from_ipv4n 352907
tor_addr_parse_mask_ports 364578
tor_addr_is_v4 371491
tor_addr_copy_tight 459040
tor_addr_compare 684349
tor_addr_compare_masked 43909489

Generated by: LCOV version 1.14