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: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 91.6 % 1224 1121 103 2 1119 2
Current Date: 2026-09-20 14:13:17 +0900 Functions: 97.7 % 43 42 1 1 41
Baseline: lcov-20260920-baseline Branches: 65.7 % 883 580 1 302 1 579
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 83.3 % 72 60 12 2 58
(7,30] days: 91.7 % 12 11 1 11
(30,360] days: 91.8 % 808 742 66 742
(360..) days: 92.8 % 332 308 24 308
Function coverage date bins:
(1,7] days: 100.0 % 2 2 2
(30,360] days: 97.2 % 36 35 1 1 34
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(1,7] days: 56.2 % 48 27 1 20 1 26
(7,30] days: 60.0 % 20 12 8 12
(30,360] days: 68.9 % 547 377 170 377
(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 1807 88.2 % (112 / 127) 48.2 % (53 / 110)
ExecRepack CBC 265 83.8 % (57 / 68) 64.7 % (44 / 68)
check_concurrent_repack_requirements CBC 20 92.3 % (24 / 26) 63.5 % (33 / 52)
cluster_rel CBC 462 94.8 % (55 / 58) 70.0 % (42 / 60)
rebuild_relation_finish_concurrent CBC 9 96.3 % (52 / 54) 66.7 % (36 / 54)
initialize_change_context CBC 9 93.0 % (53 / 57) 50.0 % (15 / 30)
apply_concurrent_changes CBC 18 93.8 % (45 / 48) 68.4 % (26 / 38)
make_new_heap CBC 1598 93.8 % (30 / 32) 63.3 % (19 / 30)
copy_table_data CBC 438 96.5 % (55 / 57) 77.3 % (34 / 44)
get_tables_to_repack_partitioned CBC 32 95.0 % (38 / 40) 73.5 % (25 / 34)
mark_index_clustered CBC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
stop_repack_decoding_worker CBC 9 80.0 % (16 / 20) 43.8 % (7 / 16)
ProcessRepackMessages CBC 9 80.8 % (21 / 26) 50.0 % (8 / 16)
wait_for_repack_decoding_worker CBC 9 73.7 % (14 / 19) 50.0 % (8 / 16)
cluster_rel_recheck CBC 52 55.6 % (10 / 18) 56.2 % (9 / 16)
repack_is_permitted_for_relation CBC 3064 86.7 % (13 / 15) 61.1 % (11 / 18)
restore_tuple CBC 42 91.2 % (31 / 34) 65.0 % (13 / 20)
ProcessRepackMessage CBC 9 44.4 % (8 / 18) 14.3 % (1 / 7)
check_index_is_clusterable CBC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
get_tables_to_repack CBC 18 91.3 % (42 / 46) 79.2 % (19 / 24)
process_single_relation CBC 239 96.8 % (30 / 31) 80.8 % (21 / 26)
apply_concurrent_update CBC 24 81.8 % (9 / 11) 50.0 % (4 / 8)
copy_attribute_defaults CBC 9 97.3 % (36 / 37) 50.0 % (4 / 8)
rebuild_relation CBC 438 100.0 % (39 / 39) 83.3 % (20 / 24)
apply_concurrent_delete CBC 3 83.3 % (5 / 6) 25.0 % (1 / 4)
determine_clustered_index CBC 213 100.0 % (15 / 15) 86.4 % (19 / 22)
find_target_tuple GNC 27 100.0 % (18 / 18) 75.0 % (9 / 12)
finish_heap_swap CBC 1473 98.1 % (51 / 52) 88.5 % (23 / 26)
identity_key_equal CBC 2 86.7 % (13 / 15) 70.0 % (7 / 10)
start_repack_decoding_worker CBC 9 97.8 % (45 / 46) 50.0 % (3 / 6)
RepackCommandAsString CBC 3467 88.9 % (8 / 9) 75.0 % (3 / 4)
adjust_toast_pointers CBC 24 94.1 % (16 / 17) 90.0 % (9 / 10)
build_new_indexes CBC 9 100.0 % (14 / 14) 83.3 % (5 / 6)
check_index_requirements CBC 83 100.0 % (18 / 18) 90.0 % (9 / 10)
RepackLockLevel CBC 1603 100.0 % (4 / 4) 100.0 % (2 / 2)
copy_index_constraints CBC 10 100.0 % (29 / 29) 100.0 % (4 / 4)
get_initial_snapshot CBC 9 100.0 % (20 / 20) 100.0 % (2 / 2)
process_concurrent_changes CBC 18 100.0 % (22 / 22) 100.0 % (2 / 2)
DecodingWorkerFileName CBC 54 100.0 % (3 / 3)
HandleRepackMessageInterrupt CBC 10 100.0 % (5 / 5)
apply_concurrent_insert CBC 7 100.0 % (5 / 5)
release_change_context CBC 9 100.0 % (6 / 6)
stop_repack_decoding_worker_cb UBC 0 0.0 % (0 / 3)

Generated by: LCOV version 2.0-1