LCOV - code coverage report
Current view: top level - Modules - socketmodule.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 1959 2585 75.8 %
Date: 2022-07-07 18:19:46 Functions: 104 107 97.2 %

Function Name Sort by function name Hit count Sort by hit count
PyInit__socket 783
cmsg_min_space 1382
get_CMSG_LEN 2906
get_CMSG_SPACE 1855
get_cmsg_data_len 567
get_cmsg_data_space 1382
gethost_common 133
getsockaddrarg 12773
getsockaddrlen 9537
idna_cleanup 8945
idna_converter 8945
init_sockobject 282081
internal_connect 5239
internal_select 73030
internal_setblocking 12373
make_ipv4_addr 6660
make_ipv6_addr 1504
makesockaddr 10601
makeval_recvmsg 627
makeval_recvmsg_into 161
new_sockobject 134554
os_init 783
select_error 0
set_error 1660
set_gaierror 18
set_herror 0
setipaddr 9130
sock_accept 3188
sock_accept_impl 3192
sock_bind 3717
sock_call 103952
sock_call_ex 108414
sock_close 143372
sock_connect 5142
sock_connect_ex 97
sock_connect_impl 507
sock_dealloc 282054
sock_decode_hostname 140
sock_destroy_api 756
sock_detach 139314
sock_fileno 139892
sock_finalize 282054
sock_free_api 756
sock_get_api 783
sock_getblocking 17
sock_getpeername 1756
sock_getsockname 3655
sock_getsockopt 2447
sock_gettimeout 5778
sock_initobj_impl 147538
sock_listen 1532
sock_new 147541
sock_recv 57576
sock_recv_guts 66691
sock_recv_impl 66691
sock_recv_into 9115
sock_recvfrom 89
sock_recvfrom_guts 106
sock_recvfrom_impl 103
sock_recvfrom_into 20
sock_recvmsg 691
sock_recvmsg_guts 832
sock_recvmsg_impl 818
sock_recvmsg_into 239
sock_repr 2
sock_send 15569
sock_send_impl 19539
sock_sendall 3950
sock_sendmsg 13977
sock_sendmsg_afalg 12
sock_sendmsg_impl 13879
sock_sendmsg_iovec 13961
sock_sendto 3718
sock_sendto_impl 3706
sock_setblocking 8971
sock_setsockopt 1513
sock_settimeout 3297
sock_shutdown 572
socket_CMSG_LEN 2092
socket_CMSG_SPACE 1034
socket_close 3
socket_dup 44
socket_getaddrinfo 1092
socket_getdefaulttimeout 3106
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 5
socket_if_nameindex 3
socket_if_nametoindex 5
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 3475
socket_setdefaulttimeout 178
socket_sethostname 1
socket_socketpair 67277

Generated by: LCOV version 1.14