LCOV - differential code coverage report
Current view: top level - src/backend/commands - cluster.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 90.5 % 559 506 23 30 175 331 1 13 90
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 16 16 12 4 6
Baseline: lcov-20260315-024220-baseline Branches: 64.5 % 470 303 48 119 1 126 176 23 61
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 88.3 % 196 173 23 173
(30,360] days: 100.0 % 2 2 2
(360..) days: 91.7 % 361 331 30 331 1
Function coverage date bins:
(1,7] days: 100.0 % 9 9 9
(360..) days: 100.0 % 7 7 3 4
Branch coverage date bins:
(1,7] days: 72.4 % 174 126 48 126
(360..) days: 59.8 % 296 177 119 1 176

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
ExecRepack GNC 139 89.1 % (49 / 55) 66.7 % (36 / 54)
RepackCommandAsString GNC 1808 88.9 % (8 / 9) 75.0 % (3 / 4)
check_index_is_clusterable CBC 241 76.9 % (10 / 13) 38.9 % (7 / 18)
cluster_rel GNC 319 82.9 % (34 / 41) 54.5 % (24 / 44)
cluster_rel_recheck GNC 39 52.9 % (9 / 17) 57.1 % (8 / 14)
copy_table_data GNC 319 96.3 % (52 / 54) 73.8 % (31 / 42)
determine_clustered_index GNC 109 93.3 % (14 / 15) 77.3 % (17 / 22)
finish_heap_swap GNC 1109 98.0 % (48 / 49) 86.4 % (19 / 22)
get_tables_to_repack GNC 12 93.6 % (44 / 47) 90.9 % (20 / 22)
get_tables_to_repack_partitioned GNC 16 100.0 % (22 / 22) 92.9 % (13 / 14)
make_new_heap CBC 1196 93.5 % (29 / 31) 63.3 % (19 / 30)
mark_index_clustered CBC 150 91.7 % (22 / 24) 67.9 % (19 / 28)
process_single_relation GNC 127 93.3 % (28 / 30) 73.1 % (19 / 26)
rebuild_relation GNC 319 100.0 % (19 / 19) 75.0 % (9 / 12)
repack_is_permitted_for_relation GNC 1527 100.0 % (6 / 6) 75.0 % (6 / 8)
swap_relation_files CBC 1321 88.2 % (112 / 127) 48.2 % (53 / 110)

Generated by: LCOV version 2.4-beta