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: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 91.7 % 1251 1147 1 103 20 1127 3
Current Date: 2026-11-05 14:14:01 +0100 Functions: 97.7 % 43 42 1 3 39
Baseline: lcov-20261105-baseline Branches: 66.7 % 917 612 4 301 16 596
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 6 6 6
(7,30] days: 94.1 % 17 16 1 12 4
(30,360] days: 91.2 % 896 817 79 2 815
(360..) days: 92.8 % 332 308 24 308
Function coverage date bins:
(30,360] days: 97.4 % 38 37 1 3 34
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(1,7] days: 100.0 % 2 2 2
(7,30] days: 85.0 % 20 17 3 13 4
(30,360] days: 68.4 % 627 429 1 197 1 428
(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
swap_relation_files CBC 1864 88.2 % (112 / 127) 48.2 % (53 / 110)
ExecRepack CBC 296 83.8 % (57 / 68) 64.7 % (44 / 68)
ProcessRepackMessage CBC 13 44.4 % (8 / 18) 14.3 % (1 / 7)
cluster_rel_recheck CBC 96 55.6 % (10 / 18) 56.2 % (9 / 16)
ProcessRepackMessages CBC 13 80.8 % (21 / 26) 50.0 % (8 / 16)
wait_for_repack_decoding_worker CBC 13 73.7 % (14 / 19) 56.2 % (9 / 16)
get_tables_to_repack CBC 16 91.3 % (42 / 46) 79.2 % (19 / 24)
initialize_change_context CBC 13 93.1 % (54 / 58) 53.3 % (16 / 30)
stop_repack_decoding_worker CBC 13 80.0 % (16 / 20) 43.8 % (7 / 16)
apply_concurrent_changes CBC 26 93.8 % (45 / 48) 68.4 % (26 / 38)
cluster_rel CBC 514 95.0 % (57 / 60) 71.9 % (46 / 64)
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)
stop_repack_decoding_worker_cb UBC 0 0.0 % (0 / 3)
apply_concurrent_update CBC 40 81.8 % (9 / 11) 50.0 % (4 / 8)
check_concurrent_repack_requirements CBC 24 92.3 % (24 / 26) 63.5 % (33 / 52)
copy_table_data CBC 490 96.6 % (57 / 59) 77.1 % (37 / 48)
identity_key_equal CBC 2 86.7 % (13 / 15) 70.0 % (7 / 10)
make_new_heap CBC 1650 93.8 % (30 / 32) 63.3 % (19 / 30)
mark_index_clustered CBC 226 91.3 % (21 / 23) 65.4 % (17 / 26)
rebuild_relation_finish_concurrent CBC 13 96.3 % (52 / 54) 68.5 % (37 / 54)
repack_is_permitted_for_relation CBC 3188 86.7 % (13 / 15) 61.1 % (11 / 18)
RepackCommandAsString CBC 3573 88.9 % (8 / 9) 75.0 % (3 / 4)
apply_concurrent_delete CBC 4 83.3 % (5 / 6) 25.0 % (1 / 4)
copy_attribute_defaults CBC 13 97.3 % (36 / 37) 50.0 % (4 / 8)
finish_heap_swap CBC 1525 98.1 % (51 / 52) 88.5 % (23 / 26)
prepare_concurrent_update CBC 40 94.1 % (16 / 17) 90.0 % (9 / 10)
process_single_relation CBC 272 96.8 % (30 / 31) 80.8 % (21 / 26)
start_repack_decoding_worker GNC 13 98.1 % (51 / 52) 62.5 % (5 / 8)
DecodingWorkerFileName CBC 78 100.0 % (3 / 3)
HandleRepackMessageInterrupt CBC 15 100.0 % (5 / 5)
RepackLockLevel CBC 1790 100.0 % (4 / 4) 100.0 % (2 / 2)
apply_concurrent_insert CBC 9 100.0 % (5 / 5)
build_new_indexes CBC 13 100.0 % (14 / 14) 83.3 % (5 / 6)
check_index_is_clusterable CBC 405 100.0 % (13 / 13) 72.2 % (13 / 18)
check_index_requirements CBC 119 100.0 % (18 / 18) 90.0 % (9 / 10)
copy_index_constraints CBC 15 100.0 % (29 / 29) 100.0 % (4 / 4)
determine_clustered_index CBC 233 100.0 % (15 / 15) 86.4 % (19 / 22)
find_target_tuple GNC 44 100.0 % (18 / 18) 75.0 % (9 / 12)
get_initial_snapshot CBC 13 100.0 % (20 / 20) 100.0 % (2 / 2)
process_concurrent_changes CBC 26 100.0 % (22 / 22) 100.0 % (2 / 2)
rebuild_relation CBC 490 100.0 % (40 / 40) 82.1 % (23 / 28)
release_change_context CBC 13 100.0 % (6 / 6)

Generated by: LCOV version 2.0-1