LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - walsummarizer.c (source / functions) Coverage Total Hit UBC GNC CBC
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 65.3 % 502 328 174 1 327
Current Date: 2026-10-12 11:56:10 +0200 Functions: 90.0 % 20 18 2 1 17
Baseline: lcov-20261012-baseline Branches: 41.8 % 304 127 177 127
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(30,360] days: 51.2 % 84 43 41 43
(360..) days: 68.1 % 417 284 133 284
Function coverage date bins:
(30,360] days: 75.0 % 4 3 1 1 2
(360..) days: 93.8 % 16 15 1 15
Branch coverage date bins:
(30,360] days: 19.4 % 62 12 50 12
(360..) days: 47.5 % 242 115 127 115

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 33 76.0 % (73 / 96) 42.7 % (35 / 82)
WalSummarizerMain CBC 5 54.1 % (46 / 85) 30.0 % (9 / 30)
SummarizeXactRecord CBC 2008 47.4 % (9 / 19) 10.0 % (2 / 20)
WalSummarizerSwitchPoint UBC 0 0.0 % (0 / 18) 0.0 % (0 / 18)
GetOldestUnsummarizedLSN CBC 2576 83.7 % (41 / 49) 58.8 % (20 / 34)
WaitForWalSummarization CBC 13 64.5 % (20 / 31) 31.2 % (5 / 16)
summarizer_wal_segment_open GNC 42 55.6 % (10 / 18) 10.0 % (1 / 10)
SummarizeDbaseRecord CBC 6 43.5 % (10 / 23) 12.5 % (1 / 8)
GetWalSummarizerState UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
summarizer_read_local_xlog_page CBC 3032 70.4 % (19 / 27) 57.1 % (8 / 14)
MaybeRemoveOldWalSummaries CBC 33 92.0 % (23 / 25) 75.0 % (15 / 20)
ProcessWalSummarizerInterrupts CBC 77749 66.7 % (8 / 12) 58.3 % (7 / 12)
SummarizeSmgrRecord CBC 48 100.0 % (13 / 13) 60.0 % (6 / 10)
GetLatestLSN CBC 71 46.2 % (6 / 13) 50.0 % (3 / 6)
SummarizeXlogRecord CBC 1064 88.2 % (15 / 17) 87.5 % (7 / 8)
WakeupWalSummarizer CBC 1782 87.5 % (7 / 8) 75.0 % (3 / 4)
summarizer_wait_for_wal CBC 31 91.7 % (11 / 12) 83.3 % (5 / 6)
WalSummarizerShmemInit CBC 1283 100.0 % (9 / 9)
WalSummarizerShmemRequest CBC 1287 100.0 % (3 / 3)
WalSummarizerShutdown CBC 5 100.0 % (5 / 5)

Generated by: LCOV version 2.0-1