LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-connect.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 62.3 % 2648 1650 148 197 524 129 186 871 251 342 582 1018 101 93
Current Date: 2023-04-08 15:15:32 Functions: 88.3 % 103 91 12 89 2 12 90 1
Baseline: 15
Baseline Date: 2023-04-08 15:09:40
Legend: Lines: hit not hit

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
PQbackendPID GIC 631 75.0 % (3 / 4)
PQcancel GIC 2 28.4 % (19 / 67)
PQclientEncoding ECB 156397
PQconndefaults ECB 60
PQconnectPoll GIC 28303 56.5 % (310 / 549)
PQconnectStart GIC 588 72.7 % (8 / 11)
PQconnectStartParams GIC 8660 70.6 % (12 / 17)
PQconnectdb ECB 567
PQconnectdbParams ECB 7990
PQconnectionNeedsPassword GIC 300 87.5 % (7 / 8)
PQconnectionUsedPassword GIC 218 66.7 % (4 / 6)
PQconninfo GIC 257 87.5 % (14 / 16)
PQconninfoFree ECB 24790
PQconninfoParse ECB 223
PQdb GIC 13038 100.0 % (4 / 4)
PQerrorMessage GIC 640 66.7 % (4 / 6)
PQfinish ECB 9105
PQfreeCancel GIC 169771 100.0 % (3 / 3)
PQgetCancel GIC 169802 57.1 % (20 / 35)
PQhost ECB 6479
PQhostaddr EUB 0
PQoptions EUB 0
PQparameterStatus GIC 286423 71.4 % (5 / 7)
PQpass ECB 300
PQping EUB 0
PQpingParams GIC 2 100.0 % (5 / 5)
PQpipelineStatus ECB 16947
PQport ECB 6455
PQprotocolVersion UIC 0 0.0 % (0 / 6)
PQregisterThreadLock EUB 0
PQrequestCancel UIC 0 0.0 % (0 / 19)
PQreset LBC 0 0.0 % (0 / 9)
PQreset UIC 0
makeEmptyPGconn ECB 9248
PQresetPoll UIC 0 0.0 % (0 / 10)
PQresetStart UIC 0 0.0 % (0 / 5)
PQserverVersion GIC 17686 66.7 % (4 / 6)
PQsetClientEncoding GIC 20 66.7 % (12 / 18)
PQsetErrorContextVisibility ECB 6346
PQsetErrorVerbosity ECB 6400
PQsetNoticeProcessor GIC 6993 87.5 % (7 / 8)
PQsetNoticeReceiver GIC 126 87.5 % (7 / 8)
PQsetdbLogin UIC 0 0.0 % (0 / 48)
PQsocket GIC 229494 75.0 % (3 / 4)
PQstatus ECB 184331
PQtransactionStatus GIC 153275 66.7 % (4 / 6)
PQtty UIC 0 0.0 % (0 / 4)
PQuser GIC 6337 75.0 % (3 / 4)
closePGconn GIC 9105 100.0 % (13 / 13)
connectDBComplete GIC 8385 76.6 % (36 / 47)
connectDBStart ECB 9233
connectFailureMessage ECB 226
connectNoDelay GIC 210 57.1 % (4 / 7)
connectOptions1 GIC 588 72.7 % (8 / 11)
connectOptions2 ECB 9246
conninfo_add_defaults GIC 9306 66.0 % (31 / 47)
conninfo_array_parse GIC 8660 71.7 % (43 / 60)
conninfo_find ECB 385345
conninfo_getval GIC 360654 100.0 % (3 / 3)
conninfo_init GIC 15733 81.8 % (9 / 11)
conninfo_parse ECB 6697
conninfo_storeval ECB 24691
conninfo_uri_decode GIC 127 90.9 % (20 / 22)
conninfo_uri_parse ECB 59
conninfo_uri_parse_options ECB 59
conninfo_uri_parse_params ECB 24
count_comma_separated_elems ECB 9246
defaultNoticeProcessor ECB 51
defaultNoticeReceiver ECB 10399
default_threadlock GIC 17342 71.4 % (5 / 7)
emitHostIdentityInfo ECB 9257
freePGconn ECB 9105
getHostaddr ECB 9257
get_hexdigit GIC 19 100.0 % (9 / 9)
internal_ping ECB 2
ldapServiceLookup GIC 1 19.0 % (43 / 226)
libpq_prng_init ECB 110
makeEmptyPGconn GIC 9248 92.1 % (35 / 38)
optional_setsockopt EUB 0
parseServiceFile ECB 1
parseServiceInfo ECB 9306
parse_comma_separated_list ECB 18986
parse_connection_string GIC 6756 100.0 % (4 / 4)
parse_int_param ECB 9249
passwordFromFile ECB 9238
pgpassfileWarning ECB 46
pqDropConnection ECB 18875
pqDropServerData GIC 18578 90.3 % (28 / 31)
pqFreeCommandQueue ECB 37750
pqGetHomeDirectory GIC 8963 83.3 % (5 / 6)
pqPacketSend GIC 9287 60.0 % (6 / 10)
pwdfMatchesString ECB 58
recognized_connection_string GIC 8303 100.0 % (2 / 2)
release_conn_addrinfo ECB 27222
sendTerminateConn GIC 9120 100.0 % (6 / 6)
setKeepalivesCount ECB 210
setKeepalivesIdle GIC 210 25.0 % (3 / 12)
setKeepalivesInterval GIC 210 25.0 % (3 / 12)
setTCPUserTimeout ECB 210
sslVerifyProtocolRange GIC 9235 81.8 % (9 / 11)
sslVerifyProtocolVersion GIC 36943 100.0 % (9 / 9)
store_conn_addrinfo GNC 9244 89.5 % (17 / 19)
uri_prefix_length ECB 15118
useKeepalives GIC 210 42.9 % (3 / 7)

Generated by: LCOV version v1.16-55-g56c0a2a