LCOV - differential code coverage report
Current view: top level - src/backend/replication - walreceiver.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 87.6 % 541 474 2 65 4 60 410 1 1 46
Current Date: 2026-06-29 16:15:13 +0200 Functions: 100.0 % 15 15 10 5 2
Baseline: lcov-20260630-baseline Branches: 62.0 % 342 212 9 2 2 117 8 1 27 176 11 9
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 96.8 % 62 60 2 60
(360..) days: 86.4 % 478 413 65 4 409 1
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 13 13 8 5
Branch coverage date bins:
(30,360] days: 75.0 % 36 27 9 27
(360..) days: 56.7 % 326 185 2 2 117 8 1 176 11 9

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
ProcessWalSndrMessage CBC 111189 100.0 % (20 / 20) 80.0 % (8 / 10)
WalRcvComputeNextWakeup CBC 340513 87.0 % (20 / 23) 66.7 % (10 / 15)
WalRcvDie CBC 255 100.0 % (18 / 18) 66.7 % (12 / 18)
WalRcvFetchTimeLineHistoryFiles CBC 181 86.7 % (13 / 15) 64.3 % (9 / 14)
WalRcvGetStateString GNC 19 35.3 % (6 / 17) 25.0 % (2 / 8)
WalRcvRequestApplyReply GNC 12038 100.0 % (8 / 8) 100.0 % (2 / 2)
WalRcvWaitForStartPosition GNC 13 82.9 % (29 / 35) 40.9 % (9 / 22)
WalReceiverMain GNC 260 88.2 % (157 / 178) 58.2 % (64 / 110)
XLogWalRcvClose CBC 760 83.3 % (10 / 12) 41.7 % (5 / 12)
XLogWalRcvFlush GNC 54042 100.0 % (24 / 24) 64.3 % (9 / 14)
XLogWalRcvProcessMsg GNC 111189 86.7 % (26 / 30) 33.3 % (5 / 15)
XLogWalRcvSendHSFeedback GNC 53591 94.1 % (32 / 34) 83.3 % (20 / 24)
XLogWalRcvSendReply GNC 119191 96.2 % (25 / 26) 91.7 % (22 / 24)
XLogWalRcvWrite GNC 110886 82.9 % (29 / 35) 68.2 % (15 / 22)
pg_stat_get_wal_receiver GNC 30 86.4 % (57 / 66) 62.5 % (20 / 32)

Generated by: LCOV version 2.0-1