LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 91.4 % 1157 1058 99 1058
Current Date: 2026-07-25 17:13:00 -0400 Functions: 95.1 % 41 39 2 39
Baseline: lcov-20260726-baseline Branches: 66.1 % 818 541 277 541
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 91.3 % 23 21 2 21
(7,30] days: 91.1 % 79 72 7 72
(30,360] days: 90.9 % 723 657 66 657
(360..) days: 92.8 % 332 308 24 308
Function coverage date bins:
(1,7] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 1 1 1
(30,360] days: 94.1 % 34 32 2 32
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
(1,7] days: 63.6 % 22 14 8 14
(7,30] days: 56.2 % 32 18 14 18
(30,360] days: 69.6 % 496 345 151 345
(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
DecodingWorkerFileName CBC 42 100.0 % (3 / 3)
ExecRepack CBC 232 84.4 % (54 / 64) 66.1 % (41 / 62)
HandleRepackMessageInterrupt CBC 7 100.0 % (5 / 5)
ProcessRepackMessage UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
ProcessRepackMessages CBC 7 69.6 % (16 / 23) 58.3 % (7 / 12)
RepackCommandAsString CBC 3622 88.9 % (8 / 9) 75.0 % (3 / 4)
RepackLockLevel CBC 1478 100.0 % (4 / 4) 100.0 % (2 / 2)
adjust_toast_pointers CBC 22 94.1 % (16 / 17) 90.0 % (9 / 10)
apply_concurrent_changes CBC 14 93.8 % (45 / 48) 68.4 % (26 / 38)
apply_concurrent_delete CBC 3 83.3 % (5 / 6) 25.0 % (1 / 4)
apply_concurrent_insert CBC 7 100.0 % (5 / 5)
apply_concurrent_update CBC 22 81.8 % (9 / 11) 50.0 % (4 / 8)
build_new_indexes CBC 7 100.0 % (13 / 13) 83.3 % (5 / 6)
check_concurrent_repack_requirements CBC 14 95.0 % (19 / 20) 64.7 % (22 / 34)
check_index_is_clusterable CBC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
cluster_rel CBC 428 94.4 % (51 / 54) 69.0 % (40 / 58)
cluster_rel_recheck CBC 52 55.6 % (10 / 18) 56.2 % (9 / 16)
copy_attribute_defaults CBC 7 97.3 % (36 / 37) 50.0 % (4 / 8)
copy_index_constraints CBC 8 100.0 % (29 / 29) 100.0 % (4 / 4)
copy_table_data CBC 409 96.5 % (55 / 57) 77.3 % (34 / 44)
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)
finish_heap_swap CBC 1443 98.1 % (51 / 52) 88.5 % (23 / 26)
get_initial_snapshot CBC 7 100.0 % (20 / 20) 100.0 % (2 / 2)
get_tables_to_repack CBC 16 91.3 % (42 / 46) 79.2 % (19 / 24)
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)
initialize_change_context CBC 7 93.0 % (53 / 57) 50.0 % (15 / 30)
make_new_heap CBC 1568 93.8 % (30 / 32) 63.3 % (19 / 30)
mark_index_clustered CBC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
process_concurrent_changes CBC 14 100.0 % (22 / 22) 100.0 % (2 / 2)
process_single_relation CBC 216 96.8 % (30 / 31) 80.8 % (21 / 26)
rebuild_relation CBC 409 100.0 % (39 / 39) 83.3 % (20 / 24)
rebuild_relation_finish_concurrent CBC 7 96.3 % (52 / 54) 66.7 % (36 / 54)
release_change_context CBC 7 100.0 % (6 / 6)
repack_is_permitted_for_relation CBC 3252 92.3 % (12 / 13) 66.7 % (8 / 12)
restore_tuple CBC 40 91.2 % (31 / 34) 65.0 % (13 / 20)
start_repack_decoding_worker CBC 7 97.7 % (42 / 43) 50.0 % (3 / 6)
stop_repack_decoding_worker CBC 7 88.2 % (15 / 17) 42.9 % (6 / 14)
stop_repack_decoding_worker_cb UBC 0 0.0 % (0 / 3)
swap_relation_files CBC 1715 88.2 % (112 / 127) 48.2 % (53 / 110)

Generated by: LCOV version 2.0-1