LCOV - differential code coverage report
Current view: top level - src/backend/replication - walreceiver.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 84.3 % 527 444 1 82 6 438 1 6
Current Date: 2025-09-06 07:49:51 +0900 Functions: 100.0 % 15 15 6 9
Baseline: lcov-20250906-005545-baseline Branches: 58.5 % 347 203 1 1 142 4 3 196
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 96.6 % 29 28 1 6 22
(360..) days: 83.5 % 498 416 82 416
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 14 14 5 9
Branch coverage date bins:
(30,360] days: 91.7 % 12 11 1 3 8
(360..) days: 57.3 % 335 192 1 142 4 188

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
WalRcvGetStateString CBC 2 26.7 % (4 / 15) 14.3 % (1 / 7)
pg_stat_get_wal_receiver CBC 7 80.3 % (53 / 66) 50.0 % (17 / 34)
WalRcvWaitForStartPosition GNC 11 54.3 % (19 / 35) 37.5 % (9 / 24)
WalRcvFetchTimeLineHistoryFiles CBC 143 86.7 % (13 / 15) 64.3 % (9 / 14)
WalRcvDie CBC 214 100.0 % (18 / 18) 61.1 % (11 / 18)
WalReceiverMain GNC 216 86.6 % (149 / 172) 55.3 % (63 / 114)
XLogWalRcvClose CBC 707 83.3 % (10 / 12) 41.7 % (5 / 12)
WalRcvForceReply CBC 9483 100.0 % (8 / 8) 100.0 % (4 / 4)
XLogWalRcvSendHSFeedback GNC 63653 94.1 % (32 / 34) 83.3 % (20 / 24)
XLogWalRcvFlush GNC 64206 100.0 % (23 / 23) 62.5 % (10 / 16)
XLogWalRcvWrite CBC 98568 82.4 % (28 / 34) 68.2 % (15 / 22)
ProcessWalSndrMessage CBC 98763 100.0 % (20 / 20) 83.3 % (10 / 12)
XLogWalRcvProcessMsg GNC 98763 86.7 % (26 / 30) 33.3 % (5 / 15)
XLogWalRcvSendReply GNC 136766 95.5 % (21 / 22) 87.5 % (14 / 16)
WalRcvComputeNextWakeup CBC 334726 87.0 % (20 / 23) 66.7 % (10 / 15)

Generated by: LCOV version 2.4-beta