LCOV - differential code coverage report
Current view: top level - src/backend/storage/freespace - freespace.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 91.5 % 236 216 20 5 211 2
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 22 22 1 21
Baseline: lcov-20260530-034037-baseline Branches: 76.6 % 128 98 1 29 3 1 94
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 5 5 5
(360..) days: 91.3 % 230 210 20 210
Function coverage date bins:
(360..) days: 100.0 % 22 22 1 21
Branch coverage date bins:
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 77.0 % 126 97 29 3 94

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 253 85.7 % (18 / 21) 70.8 % (17 / 24)
FreeSpaceMapVacuum CBC 253 100.0 % (3 / 3)
fsm_space_cat_to_avail CBC 1967 100.0 % (4 / 4) 100.0 % (2 / 2)
GetRecordedFreeSpace CBC 2003 100.0 % (8 / 8) 100.0 % (2 / 2)
fsm_extend CBC 4891 100.0 % (2 / 2)
FreeSpaceMapVacuumRange CBC 7931 100.0 % (4 / 4) 100.0 % (2 / 2)
fsm_vacuum_page GNC 24911 90.5 % (38 / 42) 76.9 % (20 / 26)
fsm_does_block_exist CBC 34159 100.0 % (5 / 5) 83.3 % (5 / 6)
fsm_get_heap_blk CBC 34159 100.0 % (3 / 3) 50.0 % (1 / 2)
fsm_get_parent CBC 50759 100.0 % (6 / 6) 50.0 % (1 / 2)
fsm_get_child CBC 50933 100.0 % (5 / 5) 50.0 % (1 / 2)
GetPageWithFreeSpace CBC 110466 100.0 % (3 / 3)
RecordPageWithFreeSpace CBC 113583 100.0 % (5 / 5)
RecordAndGetPageWithFreeSpace CBC 144689 100.0 % (10 / 10) 75.0 % (3 / 4)
fsm_search CBC 235984 76.3 % (29 / 38) 75.0 % (12 / 16)
fsm_space_needed_to_cat CBC 255155 66.7 % (6 / 9) 37.5 % (3 / 8)
fsm_set_and_search CBC 260989 100.0 % (12 / 12) 100.0 % (4 / 4)
XLogRecordPageWithFreeSpace CBC 309496 100.0 % (13 / 13) 100.0 % (4 / 4)
fsm_readbuf CBC 560808 100.0 % (20 / 20) 92.9 % (13 / 14)
fsm_space_avail_to_cat CBC 567768 87.5 % (7 / 8) 66.7 % (4 / 6)
fsm_get_location CBC 602052 100.0 % (5 / 5)
fsm_logical_to_physical CBC 870557 100.0 % (10 / 10) 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta