LCOV - differential code coverage report
Current view: top level - src/interfaces/libpq - fe-misc.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 74.5 % 443 330 113 330
Current Date: 2026-07-25 17:13:00 -0400 Functions: 90.0 % 40 36 4 36
Baseline: lcov-20260726-baseline Branches: 61.1 % 262 160 102 160
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 56.0 % 25 14 11 14
(30,360] days: 40.0 % 5 2 3 2
(360..) days: 76.0 % 413 314 99 314
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 66.7 % 3 2 1 2
(360..) days: 91.4 % 35 32 3 32
Branch coverage date bins:
(7,30] days: 50.0 % 20 10 10 10
(360..) days: 62.0 % 242 150 92 150

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
pqReadData_internal CBC 1203007 67.2 % (45 / 67) 62.2 % (23 / 37)
pqSendSome CBC 597331 60.4 % (29 / 48) 58.1 % (18 / 31)
pqCheckInBufferSpace CBC 341804 64.7 % (22 / 34) 46.4 % (13 / 28)
pqCheckOutBufferSpace CBC 1794069 52.2 % (12 / 23) 36.4 % (8 / 22)
pqDrainPending CBC 816020 28.6 % (4 / 14) 12.5 % (1 / 8)
pqPutInt CBC 98441 68.8 % (11 / 16) 57.1 % (4 / 7)
pqGetInt CBC 36744797 80.0 % (16 / 20) 71.4 % (5 / 7)
pqSocketCheck CBC 630731 76.5 % (13 / 17) 75.0 % (12 / 16)
libpq_append_grease_info UBC 0 0.0 % (0 / 3)
pqPutMsgEnd CBC 839232 85.0 % (17 / 20) 62.5 % (10 / 16)
PQlibVersion UBC 0 0.0 % (0 / 2)
PQsocketPoll CBC 631127 89.5 % (17 / 19) 85.7 % (12 / 14)
pqGets_append UBC 0 0.0 % (0 / 2)
pqWriteReady UBC 0 0.0 % (0 / 2)
PQenv2encoding CBC 10564 87.5 % (7 / 8) 66.7 % (4 / 6)
libpq_append_conn_error CBC 727 90.9 % (10 / 11) 62.5 % (5 / 8)
libpq_append_error CBC 38 90.9 % (10 / 11) 50.0 % (4 / 8)
pqGetnchar CBC 15679 83.3 % (5 / 6) 50.0 % (1 / 2)
pqGets_internal CBC 1901499 92.9 % (13 / 14) 62.5 % (5 / 8)
pqPutMsgBytes CBC 954812 83.3 % (5 / 6) 50.0 % (1 / 2)
pqPutMsgStart CBC 839232 92.3 % (12 / 13) 83.3 % (5 / 6)
pqPutc CBC 13032 75.0 % (3 / 4) 50.0 % (1 / 2)
pqPutnchar CBC 383339 75.0 % (3 / 4) 50.0 % (1 / 2)
pqPuts CBC 460000 75.0 % (3 / 4) 50.0 % (1 / 2)
pqReadData CBC 1203010 91.7 % (11 / 12) 80.0 % (8 / 10)
pqSkipnchar CBC 18696751 80.0 % (4 / 5) 50.0 % (1 / 2)
PQdsplen CBC 29736748 100.0 % (2 / 2)
PQgetCurrentTimeUSec CBC 905 100.0 % (3 / 3)
PQmblen CBC 29736439 100.0 % (2 / 2)
PQmblenBounded CBC 651133 100.0 % (2 / 2)
libpq_binddomain CBC 37965 100.0 % (13 / 13) 83.3 % (5 / 6)
libpq_gettext CBC 37958 100.0 % (3 / 3)
libpq_ngettext CBC 7 100.0 % (3 / 3)
pqFlush CBC 1041862 100.0 % (6 / 6) 100.0 % (4 / 4)
pqGetc CBC 11508189 100.0 % (5 / 5) 100.0 % (2 / 2)
pqGets CBC 1901499 100.0 % (2 / 2)
pqParseDone CBC 7892298 100.0 % (5 / 5) 100.0 % (2 / 2)
pqReadReady CBC 120 100.0 % (2 / 2)
pqWait CBC 601989 100.0 % (2 / 2)
pqWaitTimed CBC 630611 100.0 % (8 / 8) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1