LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 91.6 % 1233 1130 103 2 1128 2
Current Date: 2026-10-12 11:56:10 +0200 Functions: 97.7 % 43 42 1 1 41
Baseline: lcov-20261012-baseline Branches: 66.3 % 899 596 1 302 1 595
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 4 4 4
(7,30] days: 86.5 % 89 77 12 2 75
(30,360] days: 91.7 % 808 741 67 741
(360..) days: 92.8 % 332 308 24 308
Function coverage date bins:
(7,30] days: 100.0 % 3 3 3
(30,360] days: 97.1 % 35 34 1 1 33
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(1,7] days: 100.0 % 4 4 4
(7,30] days: 61.7 % 60 37 1 22 1 36
(30,360] days: 69.0 % 567 391 176 391
(360..) days: 61.2 % 268 164 104 164

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
stop_repack_decoding_worker_cb UBC 0 0.0 % (0 / 3)
identity_key_equal CBC 2 86.7 % (13 / 15) 70.0 % (7 / 10)
apply_concurrent_delete CBC 4 83.3 % (5 / 6) 25.0 % (1 / 4)
apply_concurrent_insert CBC 9 100.0 % (5 / 5)
ProcessRepackMessage CBC 13 44.4 % (8 / 18) 14.3 % (1 / 7)
ProcessRepackMessages CBC 13 80.8 % (21 / 26) 50.0 % (8 / 16)
build_new_indexes CBC 13 100.0 % (14 / 14) 83.3 % (5 / 6)
copy_attribute_defaults CBC 13 97.3 % (36 / 37) 50.0 % (4 / 8)
get_initial_snapshot CBC 13 100.0 % (20 / 20) 100.0 % (2 / 2)
initialize_change_context CBC 13 93.1 % (54 / 58) 53.3 % (16 / 30)
rebuild_relation_finish_concurrent CBC 13 96.3 % (52 / 54) 68.5 % (37 / 54)
release_change_context CBC 13 100.0 % (6 / 6)
start_repack_decoding_worker CBC 13 97.8 % (45 / 46) 50.0 % (3 / 6)
stop_repack_decoding_worker CBC 13 80.0 % (16 / 20) 43.8 % (7 / 16)
wait_for_repack_decoding_worker CBC 13 73.7 % (14 / 19) 50.0 % (8 / 16)
HandleRepackMessageInterrupt CBC 14 100.0 % (5 / 5)
copy_index_constraints CBC 15 100.0 % (29 / 29) 100.0 % (4 / 4)
get_tables_to_repack CBC 15 91.3 % (42 / 46) 79.2 % (19 / 24)
check_concurrent_repack_requirements CBC 24 92.3 % (24 / 26) 63.5 % (33 / 52)
apply_concurrent_changes CBC 26 93.8 % (45 / 48) 68.4 % (26 / 38)
process_concurrent_changes CBC 26 100.0 % (22 / 22) 100.0 % (2 / 2)
get_tables_to_repack_partitioned CBC 32 95.0 % (38 / 40) 73.5 % (25 / 34)
apply_concurrent_update CBC 40 81.8 % (9 / 11) 50.0 % (4 / 8)
prepare_concurrent_update CBC 40 94.1 % (16 / 17) 90.0 % (9 / 10)
find_target_tuple GNC 44 100.0 % (18 / 18) 75.0 % (9 / 12)
cluster_rel_recheck CBC 52 55.6 % (10 / 18) 56.2 % (9 / 16)
restore_tuple CBC 63 91.9 % (34 / 37) 70.8 % (17 / 24)
DecodingWorkerFileName CBC 78 100.0 % (3 / 3)
check_index_requirements CBC 87 100.0 % (18 / 18) 90.0 % (9 / 10)
mark_index_clustered CBC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
determine_clustered_index CBC 217 100.0 % (15 / 15) 86.4 % (19 / 22)
process_single_relation CBC 244 96.8 % (30 / 31) 80.8 % (21 / 26)
ExecRepack CBC 267 83.8 % (57 / 68) 64.7 % (44 / 68)
check_index_is_clusterable CBC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_table_data CBC 442 96.6 % (57 / 59) 77.1 % (37 / 48)
rebuild_relation CBC 442 100.0 % (40 / 40) 82.1 % (23 / 28)
cluster_rel CBC 466 95.0 % (57 / 60) 71.9 % (46 / 64)
finish_heap_swap CBC 1477 98.1 % (51 / 52) 88.5 % (23 / 26)
make_new_heap CBC 1602 93.8 % (30 / 32) 63.3 % (19 / 30)
RepackLockLevel CBC 1617 100.0 % (4 / 4) 100.0 % (2 / 2)
swap_relation_files CBC 1816 88.2 % (112 / 127) 48.2 % (53 / 110)
repack_is_permitted_for_relation CBC 3064 86.7 % (13 / 15) 61.1 % (11 / 18)
RepackCommandAsString CBC 3468 88.9 % (8 / 9) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1