LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - walsummarizer.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 69.1 % 453 313 3 1 136 1 29 283 1 32
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.4 % 18 17 1 7 10 2
Baseline: lcov-20260630-baseline Branches: 45.9 % 270 124 19 127 9 115
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 91.2 % 34 31 3 29 2
(360..) days: 67.3 % 419 282 1 136 1 281
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 93.8 % 16 15 1 5 10
Branch coverage date bins:
(30,360] days: 32.1 % 28 9 19 9
(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
WalSummarizerMain GNC 3 59.5 % (44 / 74) 33.3 % (8 / 24)
SummarizeWAL GNC 21 75.5 % (71 / 94) 42.7 % (35 / 82)
GetWalSummarizerState UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
SummarizeDbaseRecord CBC 4 43.5 % (10 / 23) 12.5 % (1 / 8)
WaitForWalSummarization CBC 12 64.5 % (20 / 31) 31.2 % (5 / 16)
SummarizeXactRecord CBC 1384 47.4 % (9 / 19) 10.0 % (2 / 20)
GetOldestUnsummarizedLSN CBC 2536 83.7 % (41 / 49) 58.8 % (20 / 34)
summarizer_read_local_xlog_page CBC 2004 70.4 % (19 / 27) 57.1 % (8 / 14)
GetLatestLSN CBC 44 46.2 % (6 / 13) 50.0 % (3 / 6)
ProcessWalSummarizerInterrupts CBC 53382 66.7 % (8 / 12) 58.3 % (7 / 12)
MaybeRemoveOldWalSummaries GNC 21 88.0 % (22 / 25) 70.0 % (14 / 20)
SummarizeXlogRecord GNC 718 88.2 % (15 / 17) 87.5 % (7 / 8)
WakeupWalSummarizer GNC 1703 87.5 % (7 / 8) 75.0 % (3 / 4)
summarizer_wait_for_wal CBC 19 91.7 % (11 / 12) 83.3 % (5 / 6)
SummarizeSmgrRecord CBC 29 100.0 % (13 / 13) 60.0 % (6 / 10)
WalSummarizerShmemRequest GNC 1212 100.0 % (3 / 3)
WalSummarizerShutdown CBC 3 100.0 % (5 / 5)

Generated by: LCOV version 2.0-1