LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - walsummarizer.c (source / functions) Coverage Total Hit UBC GNC CBC
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 77.2 % 505 390 115 1 389
Current Date: 2026-11-05 14:14:01 +0100 Functions: 95.0 % 20 19 1 1 18
Baseline: lcov-20261105-baseline Branches: 53.3 % 306 163 143 163
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 3 3 3
(7,30] days: 100.0 % 1 1 1
(30,360] days: 81.3 % 75 61 14 61
(360..) days: 76.3 % 426 325 101 325
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 93.8 % 16 15 1 15
Branch coverage date bins:
[..1] days: 50.0 % 2 1 1 1
(30,360] days: 35.0 % 40 14 26 14
(360..) days: 56.1 % 264 148 116 148

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
SummarizeWAL CBC 62 81.2 % (78 / 96) 52.4 % (43 / 82)
SummarizeXactRecord CBC 3342 47.4 % (9 / 19) 10.0 % (2 / 20)
WalSummarizerMain CBC 10 80.0 % (68 / 85) 53.3 % (16 / 30)
GetOldestUnsummarizedLSN CBC 2612 83.7 % (41 / 49) 61.8 % (21 / 34)
WaitForWalSummarization CBC 15 64.5 % (20 / 31) 31.2 % (5 / 16)
summarizer_wal_segment_open GNC 80 55.6 % (10 / 18) 10.0 % (1 / 10)
WalSummarizerSwitchPoint CBC 1 88.9 % (16 / 18) 55.6 % (10 / 18)
SummarizeDbaseRecord CBC 10 43.5 % (10 / 23) 12.5 % (1 / 8)
GetWalSummarizerState UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SummarizeSmgrRecord CBC 77 100.0 % (16 / 16) 58.3 % (7 / 12)
ProcessWalSummarizerInterrupts CBC 129068 75.0 % (9 / 12) 66.7 % (8 / 12)
MaybeRemoveOldWalSummaries CBC 63 96.0 % (24 / 25) 85.0 % (17 / 20)
summarizer_read_local_xlog_page CBC 4758 96.3 % (26 / 27) 78.6 % (11 / 14)
GetLatestLSN CBC 135 84.6 % (11 / 13) 83.3 % (5 / 6)
WakeupWalSummarizer CBC 1815 87.5 % (7 / 8) 75.0 % (3 / 4)
summarizer_wait_for_wal CBC 58 91.7 % (11 / 12) 83.3 % (5 / 6)
SummarizeXlogRecord CBC 1639 100.0 % (17 / 17) 100.0 % (8 / 8)
WalSummarizerShmemInit CBC 1303 100.0 % (9 / 9)
WalSummarizerShmemRequest CBC 1307 100.0 % (3 / 3)
WalSummarizerShutdown CBC 10 100.0 % (5 / 5)

Generated by: LCOV version 2.0-1