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

Generated by: LCOV version 1.14