LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-protocol3.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 63.4 % 1010 640 12 358 13 13 614 6 2
Current Date: 2026-05-29 21:51:00 -0400 Functions: 82.6 % 23 19 4 3 16
Baseline: lcov-20260530-034037-baseline Branches: 58.1 % 862 501 10 351 11 14 476 2
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 0.0 % 1 0 1
(7,30] days: 25.0 % 4 1 3 1
(30,360] days: 42.4 % 85 36 11 38 13 23
(360..) days: 65.5 % 920 603 317 13 590
Function coverage date bins:
(30,360] days: 0.0 % 2 0 2
(360..) days: 90.5 % 21 19 2 3 16
Branch coverage date bins:
(7,30] days: 50.0 % 4 2 2 2
(30,360] days: 53.8 % 52 28 10 14 14 14
(360..) days: 58.4 % 806 471 335 11 460

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
pqParseInput3 CBC 2202528 65.7 % (119 / 181) 55.8 % (92 / 165)
pqFunctionCall3 GNC 1341 52.4 % (54 / 103) 43.6 % (44 / 101)
pqGetNegotiateProtocolVersion3 GNC 15607 39.3 % (22 / 56) 47.2 % (17 / 36)
pqGetline3 UBC 0 0.0 % (0 / 21) 0.0 % (0 / 18)
getRowDescriptions CBC 207468 69.7 % (46 / 66) 58.6 % (34 / 58)
getBackendKeyData CBC 15178 38.7 % (12 / 31) 56.2 % (9 / 16)
pqGetlineAsync3 UBC 0 0.0 % (0 / 19) 0.0 % (0 / 10)
getAnotherTuple CBC 5012616 52.6 % (20 / 38) 60.0 % (12 / 20)
pqBuildErrorMessage3 CBC 49150 80.2 % (73 / 91) 65.4 % (51 / 78)
pqEndcopy3 CBC 205 48.5 % (16 / 33) 36.8 % (14 / 38)
getParamDescriptions CBC 58 50.0 % (16 / 32) 53.6 % (15 / 28)
getCopyDataMessage CBC 3064242 66.7 % (26 / 39) 62.5 % (15 / 24)
getNotify CBC 53 66.7 % (22 / 33) 58.3 % (7 / 12)
reportErrorPosition CBC 8038 88.9 % (80 / 90) 83.3 % (45 / 54)
pqGetErrorNotice3 CBC 49147 81.2 % (39 / 48) 72.5 % (29 / 40)
getCopyStart CBC 6855 69.2 % (18 / 26) 66.7 % (16 / 24)
handleFatalError UBC 0 0.0 % (0 / 6)
getParameterStatus CBC 236990 58.3 % (7 / 12) 50.0 % (3 / 6)
getReadyForQuery CBC 428598 76.5 % (13 / 17) 66.7 % (4 / 6)
handleSyncLoss UBC 0 0.0 % (0 / 4)
pqGetCopyData3 CBC 2936782 81.8 % (18 / 22) 71.4 % (10 / 14)
pqBuildStartupPacket3 CBC 15709 81.8 % (9 / 11) 50.0 % (4 / 8)
build_startup_packet GNC 31418 96.8 % (30 / 31) 75.5 % (80 / 106)

Generated by: LCOV version 2.5.0-beta