LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UNC GNC
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 90.9 % 1099 999 100 999
Current Date: 2026-06-29 16:15:13 +0200 Functions: 95.0 % 40 38 2 38
Baseline: lcov-20260630-baseline Branches: 66.3 % 796 528 268 528
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 33.3 % 3 1 2 1
(30,360] days: 90.3 % 762 688 74 688
(360..) days: 92.8 % 334 310 24 310
Function coverage date bins:
(30,360] days: 94.3 % 35 33 2 33
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(7,30] days: 16.7 % 6 1 5 1
(30,360] days: 69.5 % 518 360 158 360
(360..) days: 61.4 % 272 167 105 167

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
ProcessRepackMessage UNC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
stop_repack_decoding_worker_cb UNC 0 0.0 % (0 / 3)
identity_key_equal GNC 2 86.7 % (13 / 15) 70.0 % (7 / 10)
apply_concurrent_delete GNC 3 83.3 % (5 / 6) 25.0 % (1 / 4)
HandleRepackMessageInterrupt GNC 7 100.0 % (5 / 5)
ProcessRepackMessages GNC 7 69.6 % (16 / 23) 58.3 % (7 / 12)
apply_concurrent_insert GNC 7 100.0 % (5 / 5)
build_new_indexes GNC 7 100.0 % (13 / 13) 83.3 % (5 / 6)
get_initial_snapshot GNC 7 100.0 % (20 / 20) 100.0 % (2 / 2)
initialize_change_context GNC 7 90.2 % (37 / 41) 42.3 % (11 / 26)
rebuild_relation_finish_concurrent GNC 7 96.3 % (52 / 54) 66.7 % (36 / 54)
release_change_context GNC 7 100.0 % (6 / 6)
start_repack_decoding_worker GNC 7 97.7 % (42 / 43) 50.0 % (3 / 6)
stop_repack_decoding_worker GNC 7 88.2 % (15 / 17) 42.9 % (6 / 14)
copy_index_constraints GNC 8 100.0 % (29 / 29) 100.0 % (4 / 4)
apply_concurrent_changes GNC 14 93.8 % (45 / 48) 68.4 % (26 / 38)
check_concurrent_repack_requirements GNC 14 95.0 % (19 / 20) 64.7 % (22 / 34)
process_concurrent_changes GNC 14 100.0 % (22 / 22) 100.0 % (2 / 2)
get_tables_to_repack GNC 15 79.7 % (47 / 59) 73.3 % (22 / 30)
get_tables_to_repack_partitioned GNC 20 100.0 % (22 / 22) 92.9 % (13 / 14)
adjust_toast_pointers GNC 22 94.1 % (16 / 17) 90.0 % (9 / 10)
apply_concurrent_update GNC 22 81.8 % (9 / 11) 50.0 % (4 / 8)
find_target_tuple GNC 25 100.0 % (18 / 18) 75.0 % (9 / 12)
restore_tuple GNC 40 91.2 % (31 / 34) 65.0 % (13 / 20)
DecodingWorkerFileName GNC 42 100.0 % (3 / 3)
cluster_rel_recheck GNC 52 52.9 % (9 / 17) 57.1 % (8 / 14)
determine_clustered_index GNC 190 100.0 % (15 / 15) 86.4 % (19 / 22)
mark_index_clustered GNC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
process_single_relation GNC 216 96.8 % (30 / 31) 80.8 % (21 / 26)
ExecRepack GNC 231 90.5 % (67 / 74) 67.6 % (50 / 74)
check_index_is_clusterable GNC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_table_data GNC 409 96.5 % (55 / 57) 77.3 % (34 / 44)
rebuild_relation GNC 409 100.0 % (37 / 37) 81.8 % (18 / 22)
cluster_rel GNC 428 94.4 % (51 / 54) 69.0 % (40 / 58)
finish_heap_swap GNC 1435 98.1 % (51 / 52) 88.5 % (23 / 26)
RepackLockLevel GNC 1477 100.0 % (4 / 4) 100.0 % (2 / 2)
make_new_heap GNC 1556 93.8 % (30 / 32) 63.3 % (19 / 30)
swap_relation_files GNC 1707 88.2 % (112 / 127) 48.2 % (53 / 110)
repack_is_permitted_for_relation GNC 3240 100.0 % (6 / 6) 75.0 % (6 / 8)
RepackCommandAsString GNC 3609 88.9 % (8 / 9) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1