LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UNC GNC
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 91.0 % 1096 997 99 997
Current Date: 2026-05-29 21:51:00 -0400 Functions: 95.0 % 40 38 2 38
Baseline: lcov-20260530-034037-baseline Branches: 66.5 % 792 527 265 527
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 80.0 % 25 20 5 20
(7,30] days: 79.1 % 67 53 14 53
(30,360] days: 91.7 % 671 615 56 615
(360..) days: 92.8 % 333 309 24 309
Function coverage date bins:
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 97.0 % 33 32 1 32
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(1,7] days: 40.6 % 32 13 19 13
(7,30] days: 59.3 % 54 32 22 32
(30,360] days: 72.6 % 434 315 119 315
(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 93.8 % (30 / 32) 75.0 % (12 / 16)
DecodingWorkerFileName GNC 42 100.0 % (3 / 3)
cluster_rel_recheck GNC 52 52.9 % (9 / 17) 57.1 % (8 / 14)
determine_clustered_index GNC 189 100.0 % (15 / 15) 86.4 % (19 / 22)
mark_index_clustered GNC 193 91.3 % (21 / 23) 65.4 % (17 / 26)
process_single_relation GNC 215 96.8 % (30 / 31) 80.8 % (21 / 26)
ExecRepack GNC 230 90.5 % (67 / 74) 67.6 % (50 / 74)
check_index_is_clusterable GNC 355 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_table_data GNC 408 96.5 % (55 / 57) 77.3 % (34 / 44)
rebuild_relation GNC 408 100.0 % (37 / 37) 81.8 % (18 / 22)
cluster_rel GNC 427 94.4 % (51 / 54) 69.0 % (40 / 58)
finish_heap_swap GNC 1446 98.1 % (51 / 52) 88.5 % (23 / 26)
RepackLockLevel GNC 1473 100.0 % (4 / 4) 100.0 % (2 / 2)
make_new_heap GNC 1579 93.5 % (29 / 31) 63.3 % (19 / 30)
swap_relation_files GNC 1718 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 3608 88.9 % (8 / 9) 75.0 % (3 / 4)

Generated by: LCOV version 2.5.0-beta