LCOV - differential code coverage report
Current view: top level - src/backend/storage/freespace - freespace.c (source / functions) Coverage Total Hit LBC UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 91.5 % 236 216 20 216
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 22 22 22
Baseline: lcov-20260726-baseline Branches: 75.8 % 128 97 1 30 97
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 6 6 6
(360..) days: 91.3 % 230 210 20 210
Function coverage date bins:
(360..) days: 100.0 % 22 22 22
Branch coverage date bins:
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 76.2 % 126 96 1 29 96

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
FreeSpaceMapPrepareTruncateRel CBC 296 85.7 % (18 / 21) 70.8 % (17 / 24)
FreeSpaceMapVacuum CBC 307 100.0 % (3 / 3)
fsm_space_cat_to_avail CBC 1976 100.0 % (4 / 4) 100.0 % (2 / 2)
GetRecordedFreeSpace CBC 2012 100.0 % (8 / 8) 100.0 % (2 / 2)
fsm_extend CBC 4907 100.0 % (2 / 2)
FreeSpaceMapVacuumRange CBC 8133 100.0 % (4 / 4) 50.0 % (1 / 2)
fsm_vacuum_page CBC 26329 90.5 % (38 / 42) 76.9 % (20 / 26)
fsm_does_block_exist CBC 37321 100.0 % (5 / 5) 83.3 % (5 / 6)
fsm_get_heap_blk CBC 37321 100.0 % (3 / 3) 50.0 % (1 / 2)
fsm_get_parent CBC 53607 100.0 % (6 / 6) 50.0 % (1 / 2)
fsm_get_child CBC 54967 100.0 % (5 / 5) 50.0 % (1 / 2)
GetPageWithFreeSpace CBC 109756 100.0 % (3 / 3)
RecordPageWithFreeSpace CBC 141319 100.0 % (5 / 5)
RecordAndGetPageWithFreeSpace CBC 142828 100.0 % (10 / 10) 75.0 % (3 / 4)
fsm_search CBC 231478 76.3 % (29 / 38) 75.0 % (12 / 16)
fsm_space_needed_to_cat CBC 252584 66.7 % (6 / 9) 37.5 % (3 / 8)
fsm_set_and_search CBC 287246 100.0 % (12 / 12) 100.0 % (4 / 4)
XLogRecordPageWithFreeSpace CBC 312602 100.0 % (13 / 13) 100.0 % (4 / 4)
fsm_readbuf CBC 587427 100.0 % (20 / 20) 92.9 % (13 / 14)
fsm_space_avail_to_cat CBC 596749 87.5 % (7 / 8) 66.7 % (4 / 6)
fsm_get_location CBC 632729 100.0 % (5 / 5)
fsm_logical_to_physical CBC 900325 100.0 % (10 / 10) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1