LCOV - code coverage report
Current view: top level - Modules - socketmodule.c (source / functions) Hit Total Coverage
Test: CPython 3.12 LCOV report [commit acb105a7c1f] Lines: 2011 2690 74.8 %
Date: 2022-07-20 13:12:14 Functions: 104 109 95.4 %
Branches: 768 1227 62.6 %

Function Name Sort by function name Hit count Sort by hit count
makebdaddr 0
select_error 0
set_herror 0
setbdaddr 0
socket_getprotobyname 0
socket_sethostname 1
sock_repr 2
socket_close 3
socket_getservbyname 3
socket_if_nameindex 3
socket_gethostbyname_ex 4
socket_getservbyport 5
socket_if_indextoname 8
socket_if_nametoindex 8
socket_inet_ntoa 8
socket_getnameinfo 11
sock_sendmsg_afalg 12
socket_inet_aton 12
socket_inet_ntop 14
sock_getblocking 17
set_gaierror 18
sock_recvfrom_into 20
socket_htonl 25
socket_ntohl 25
socket_htons 28
socket_ntohs 28
socket_dup 44
socket_gethostbyname 47
sock_recvfrom 91
sock_connect_ex 97
sock_recvfrom_impl 105
sock_recvfrom_guts 108
gethost_common 133
socket_gethostbyaddr 134
sock_decode_hostname 140
makeval_recvmsg_into 144
sock_recvmsg_into 211
socket_setdefaulttimeout 212
socket_gethostname 276
socket_inet_pton 468
sock_connect_impl 504
get_cmsg_data_len 562
sock_shutdown 569
makeval_recvmsg 608
sock_recvmsg 663
sock_destroy_api 751
sock_free_api 751
sock_recvmsg_impl 775
PyInit__socket 781
os_init 781
sock_get_api 781
sock_recvmsg_guts 790
socket_CMSG_SPACE 1029
socket_getaddrinfo 1088
cmsg_min_space 1371
get_cmsg_data_space 1371
sock_listen 1493
sock_setsockopt 1509
make_ipv6_addr 1568
set_error 1642
sock_getpeername 1757
get_CMSG_SPACE 1843
socket_CMSG_LEN 2092
sock_getsockopt 2280
get_CMSG_LEN 2900
socket_getdefaulttimeout 3094
sock_accept_impl 3160
sock_accept 3166
sock_getsockname 3496
sock_settimeout 3503
sock_bind 3642
sock_sendto_impl 3706
socket_parse_timeout 3715
sock_sendto 3718
sock_sendall 3932
sock_connect 5092
internal_connect 5189
sock_gettimeout 5998
make_ipv4_addr 6401
idna_cleanup 8815
idna_converter 8815
setipaddr 9000
sock_setblocking 9002
sock_recv_into 9276
getsockaddrlen 9317
makesockaddr 10384
internal_setblocking 12619
getsockaddrarg 12647
sock_sendmsg_impl 13106
sock_sendmsg_iovec 13180
sock_sendmsg 13193
sock_send 15797
sock_send_impl 19738
sock_recv 57302
sock_recv_impl 66573
sock_recv_guts 66578
socket_socketpair 67279
internal_select 72481
sock_call 103239
sock_call_ex 107680
new_sockobject 134558
sock_detach 139342
sock_fileno 139770
sock_close 143194
sock_initobj_impl 147435
sock_new 147438
sock_dealloc 281952
sock_finalize 281952
init_sockobject 281981

Generated by: LCOV version 1.14