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

Generated by: LCOV version 1.14