LCOV - code coverage report
Current view: top level - src/interfaces/libpq - fe-connect.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 69.3 % 2755 1908
Test Date: 2026-07-22 20:15:44 Functions: 88.3 % 111 98
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 63.1 % 1995 1258

Function Name Sort by function name Hit count Sort by function hit count
PQconnectionUsedGSSAPI 0
PQgetThreadLock 0
PQhostaddr 0
PQoptions 0
PQping 0
PQprotocolVersion 0
PQregisterThreadLock 0
PQreset 0
PQresetPoll 0
PQresetStart 0
PQsetdbLogin 0
PQtty 0
default_threadlock 0
PQfullProtocolVersion 4
ldapServiceLookup 7
pqCopyPGconn 7
fill_allowed_sasl_mechs 20
pqParseProtocolVersion 24
conninfo_uri_parse_params 33
parseServiceFile 43
pwdfMatchesString 46
index_of_allowed_sasl_mech 54
libpq_prng_init 55
pgpassfileWarning 55
get_hexdigit 59
clear_allowed_sasl_mechs 61
conninfo_uri_parse 68
conninfo_uri_parse_options 68
defaultNoticeProcessor 70
PQsetClientEncoding 91
connection_failed 94
PQconndefaults 136
encryption_negotiation_failed 150
conninfo_uri_decode 153
PQconnectionNeedsPassword 209
PQpass 209
connectNoDelay 342
setKeepalivesCount 342
setKeepalivesIdle 342
setKeepalivesInterval 342
setTCPUserTimeout 342
useKeepalives 342
connectFailureMessage 357
PQconnectionUsedPassword 377
PQpingParams 545
internal_ping 545
select_next_encryption_method 586
PQbackendPID 888
PQerrorMessage 936
PQconnectdb 1013
PQconnectStart 1332
connectOptions1 1332
PQsetNoticeReceiver 1451
PQconninfoParse 2317
PQuser 10709
PQsetErrorContextVisibility 10729
PQsetErrorVerbosity 10834
PQhost 10875
PQport 10875
PQsetNoticeProcessor 11617
PQconnectdbParams 12827
conninfo_parse 14044
pqConnectDBComplete 14072
parse_connection_string 14112
recognized_connection_string 14130
PQconnectStartParams 14753
conninfo_array_parse 14753
pqGetHomeDirectory 15641
PQfinish 15865
freePGconn 15865
pqClosePGconn 15867
pqReleaseConnHosts 15872
sendTerminateConn 15882
passwordFromFile 15956
pqConnectDBStart 16039
store_conn_addrinfo 16043
sslVerifyProtocolRange 16046
pqParseIntParam 16054
emitHostIdentityInfo 16056
getHostaddr 16056
init_allowed_encryption_methods 16056
fillPGconn 16070
count_comma_separated_elems 16077
pqConnectOptions2 16077
pqPacketSend 16082
pqMakeEmptyPGconn 16092
conninfo_add_defaults 16219
parseServiceInfo 16219
PQdb 20142
PQconninfo 21784
uri_prefix_length 28310
PQserverVersion 30833
sslVerifyProtocolVersion 32095
pqDropServerData 32270
parse_comma_separated_list 32727
pqDropConnection 32760
PQconnectPoll 48685
conninfo_init 50785
release_conn_addrinfo 63041
pqFreeCommandQueue 65520
PQconninfoFree 66915
defaultNoticeReceiver 186871
PQsocket 213894
PQtransactionStatus 271360
PQclientEncoding 279641
PQstatus 328964
conninfo_storeval 480181
PQparameterStatus 546328
conninfo_getval 868078
PQpipelineStatus 1004430
conninfo_find 1348259

Generated by: LCOV version 2.0-1