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

Generated by: LCOV version 2.5.0-beta