LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UBC CBC
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 91.3 % 1161 1060 101 1060
Current Date: 2026-08-27 14:31:44 +0300 Functions: 95.1 % 41 39 2 39
Baseline: lcov-20260827-baseline Branches: 65.8 % 828 545 283 545
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 66.7 % 6 4 2 4
(30,360] days: 90.9 % 823 748 75 748
(360..) days: 92.8 % 332 308 24 308
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 94.3 % 35 33 2 33
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(7,30] days: 41.7 % 12 5 7 5
(30,360] days: 68.6 % 548 376 172 376
(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 1723 88.2 % (112 / 127) 48.2 % (53 / 110)
ProcessRepackMessage UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
ExecRepack CBC 232 83.3 % (55 / 66) 63.6 % (42 / 66)
cluster_rel_recheck CBC 52 55.6 % (10 / 18) 56.2 % (9 / 16)
ProcessRepackMessages CBC 7 69.6 % (16 / 23) 58.3 % (7 / 12)
get_tables_to_repack CBC 16 91.3 % (42 / 46) 79.2 % (19 / 24)
initialize_change_context CBC 7 93.0 % (53 / 57) 50.0 % (15 / 30)
apply_concurrent_changes CBC 14 93.8 % (45 / 48) 68.4 % (26 / 38)
cluster_rel CBC 428 94.4 % (51 / 54) 69.0 % (40 / 58)
restore_tuple CBC 40 91.2 % (31 / 34) 65.0 % (13 / 20)
stop_repack_decoding_worker_cb UBC 0 0.0 % (0 / 3)
apply_concurrent_update CBC 22 81.8 % (9 / 11) 50.0 % (4 / 8)
copy_table_data CBC 409 96.5 % (55 / 57) 77.3 % (34 / 44)
get_tables_to_repack_partitioned CBC 32 95.0 % (38 / 40) 73.5 % (25 / 34)
identity_key_equal CBC 2 86.7 % (13 / 15) 70.0 % (7 / 10)
make_new_heap CBC 1576 93.8 % (30 / 32) 63.3 % (19 / 30)
mark_index_clustered CBC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
rebuild_relation_finish_concurrent CBC 7 96.3 % (52 / 54) 66.7 % (36 / 54)
repack_is_permitted_for_relation CBC 3252 86.7 % (13 / 15) 61.1 % (11 / 18)
stop_repack_decoding_worker CBC 7 88.2 % (15 / 17) 42.9 % (6 / 14)
RepackCommandAsString CBC 3622 88.9 % (8 / 9) 75.0 % (3 / 4)
adjust_toast_pointers CBC 22 94.1 % (16 / 17) 90.0 % (9 / 10)
apply_concurrent_delete CBC 3 83.3 % (5 / 6) 25.0 % (1 / 4)
check_concurrent_repack_requirements CBC 14 95.0 % (19 / 20) 64.7 % (22 / 34)
copy_attribute_defaults CBC 7 97.3 % (36 / 37) 50.0 % (4 / 8)
finish_heap_swap CBC 1451 98.1 % (51 / 52) 88.5 % (23 / 26)
process_single_relation CBC 216 96.8 % (30 / 31) 80.8 % (21 / 26)
start_repack_decoding_worker CBC 7 97.7 % (42 / 43) 50.0 % (3 / 6)
DecodingWorkerFileName CBC 42 100.0 % (3 / 3)
HandleRepackMessageInterrupt CBC 7 100.0 % (5 / 5)
RepackLockLevel CBC 1478 100.0 % (4 / 4) 100.0 % (2 / 2)
apply_concurrent_insert CBC 7 100.0 % (5 / 5)
build_new_indexes CBC 7 100.0 % (13 / 13) 83.3 % (5 / 6)
check_index_is_clusterable CBC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_index_constraints CBC 8 100.0 % (29 / 29) 100.0 % (4 / 4)
determine_clustered_index CBC 190 100.0 % (15 / 15) 86.4 % (19 / 22)
find_target_tuple CBC 25 100.0 % (18 / 18) 75.0 % (9 / 12)
get_initial_snapshot CBC 7 100.0 % (20 / 20) 100.0 % (2 / 2)
process_concurrent_changes CBC 14 100.0 % (22 / 22) 100.0 % (2 / 2)
rebuild_relation CBC 409 100.0 % (39 / 39) 83.3 % (20 / 24)
release_change_context CBC 7 100.0 % (6 / 6)

Generated by: LCOV version 2.0-1