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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 86.6 % 538 466 4 68 1 52 413 1 1 43
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 15 15 11 4 2
Baseline: lcov-20260505-025707-baseline Branches: 61.1 % 342 209 10 2 2 119 6 1 26 176 10 10 7 17
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 3 3 3
(7,30] days: 90.0 % 10 9 1 9
(30,360] days: 93.0 % 43 40 3 40
(360..) days: 85.9 % 482 414 68 1 413 1
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 100.0 % 13 13 9 4
Branch coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 70.6 % 34 24 10 24
(360..) days: 56.1 % 326 183 2 2 119 6 1 176 10 10

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
WalReceiverMain GNC 241 88.0 % (154 / 175) 59.1 % (65 / 110)
WalRcvGetStateString GNC 19 23.5 % (4 / 17) 12.5 % (1 / 8)
pg_stat_get_wal_receiver GNC 31 81.8 % (54 / 66) 56.2 % (18 / 32)
WalRcvWaitForStartPosition GNC 14 82.9 % (29 / 35) 40.9 % (9 / 22)
XLogWalRcvWrite GNC 108610 82.9 % (29 / 35) 68.2 % (15 / 22)
XLogWalRcvProcessMsg GNC 108876 86.7 % (26 / 30) 33.3 % (5 / 15)
WalRcvComputeNextWakeup CBC 316304 87.0 % (20 / 23) 66.7 % (10 / 15)
WalRcvFetchTimeLineHistoryFiles CBC 180 86.7 % (13 / 15) 64.3 % (9 / 14)
XLogWalRcvClose CBC 752 83.3 % (10 / 12) 41.7 % (5 / 12)
XLogWalRcvSendHSFeedback GNC 43630 94.1 % (32 / 34) 83.3 % (20 / 24)
ProcessWalSndrMessage CBC 108876 100.0 % (20 / 20) 80.0 % (8 / 10)
WalRcvDie GNC 240 100.0 % (18 / 18) 66.7 % (12 / 18)
WalRcvRequestApplyReply GNC 12412 100.0 % (8 / 8) 100.0 % (2 / 2)
XLogWalRcvFlush GNC 44141 100.0 % (24 / 24) 64.3 % (9 / 14)

Generated by: LCOV version 2.5.0-beta