LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 92.0 % 1252 1152 1 99 3 22 1127 5
Current Date: 2026-11-28 16:48:44 +0900 Functions: 97.7 % 43 42 1 5 37 1
Baseline: lcov-20261128-baseline Branches: 67.4 % 919 619 4 296 2 16 601
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 2 2 2
(7,30] days: 100.0 % 7 7 6 1
(30,360] days: 91.5 % 911 834 1 76 3 14 817
(360..) days: 93.1 % 332 309 23 309
Function coverage date bins:
(1,7] days: 100.0 % 1 1 1
(30,360] days: 97.3 % 37 36 1 4 32
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 69.1 % 647 447 4 196 2 14 431
(360..) days: 63.0 % 270 170 100 170

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 11 44.4 % (8 / 18) 14.3 % (1 / 7)
ProcessRepackMessages CBC 13 84.6 % (22 / 26) 56.2 % (9 / 16)
build_new_indexes GNC 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 GNC 13 96.3 % (52 / 54) 68.5 % (37 / 54)
release_change_context CBC 13 100.0 % (6 / 6)
start_repack_decoding_worker GNC 13 98.1 % (52 / 53) 62.5 % (5 / 8)
stop_repack_decoding_worker CBC 13 90.0 % (18 / 20) 50.0 % (8 / 16)
wait_for_repack_decoding_worker CBC 13 73.7 % (14 / 19) 50.0 % (8 / 16)
HandleRepackMessageInterrupt CBC 15 100.0 % (5 / 5)
copy_index_constraints CBC 15 100.0 % (29 / 29) 100.0 % (4 / 4)
get_tables_to_repack CBC 16 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)
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)
get_tables_to_repack_partitioned GNC 52 94.2 % (49 / 52) 76.0 % (38 / 50)
restore_tuple CBC 63 91.9 % (34 / 37) 70.8 % (17 / 24)
DecodingWorkerFileName CBC 78 100.0 % (3 / 3)
cluster_rel_recheck CBC 96 55.6 % (10 / 18) 56.2 % (9 / 16)
check_index_requirements CBC 135 100.0 % (18 / 18) 90.0 % (9 / 10)
mark_index_clustered CBC 238 91.3 % (21 / 23) 65.4 % (17 / 26)
determine_clustered_index CBC 253 100.0 % (15 / 15) 86.4 % (19 / 22)
process_single_relation CBC 292 96.8 % (30 / 31) 80.8 % (21 / 26)
ExecRepack CBC 316 83.8 % (57 / 68) 64.7 % (44 / 68)
check_index_is_clusterable CBC 437 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_table_data CBC 502 96.6 % (57 / 59) 81.2 % (39 / 48)
rebuild_relation CBC 502 100.0 % (40 / 40) 82.1 % (23 / 28)
cluster_rel CBC 534 96.7 % (58 / 60) 75.8 % (50 / 66)
finish_heap_swap CBC 1722 98.1 % (51 / 52) 88.5 % (23 / 26)
RepackLockLevel CBC 1854 100.0 % (4 / 4) 100.0 % (2 / 2)
make_new_heap CBC 1863 93.8 % (30 / 32) 63.3 % (19 / 30)
swap_relation_files CBC 2061 88.2 % (112 / 127) 48.2 % (53 / 110)
repack_is_permitted_for_relation CBC 3220 86.7 % (13 / 15) 61.1 % (11 / 18)
RepackCommandAsString CBC 3617 88.9 % (8 / 9) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1