LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit LBC UBC GBC CBC
Current: 77aeca80249c9e640c811e80633a2e334a9320de vs 38afc3dcb25c45b744d4025029ce0a6c90b7059f Lines: 91.4 % 1157 1058 1 98 1 1057
Current Date: 2026-07-25 19:08:27 +0900 Functions: 95.1 % 41 39 2 39
Baseline: lcov-20260725-baseline Branches: 66.1 % 818 541 1 276 1 540
Baseline Date: 2026-07-25 19:09:19 +0900 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 1 65 1 656
(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 1 150 1 344
(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
ProcessRepackMessage UBC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
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 3 83.3 % (5 / 6) 25.0 % (1 / 4)
HandleRepackMessageInterrupt CBC 7 100.0 % (5 / 5)
ProcessRepackMessages CBC 7 69.6 % (16 / 23) 58.3 % (7 / 12)
apply_concurrent_insert CBC 7 100.0 % (5 / 5)
build_new_indexes CBC 7 100.0 % (13 / 13) 83.3 % (5 / 6)
copy_attribute_defaults CBC 7 97.3 % (36 / 37) 50.0 % (4 / 8)
get_initial_snapshot CBC 7 100.0 % (20 / 20) 100.0 % (2 / 2)
initialize_change_context CBC 7 93.0 % (53 / 57) 50.0 % (15 / 30)
rebuild_relation_finish_concurrent CBC 7 96.3 % (52 / 54) 66.7 % (36 / 54)
release_change_context CBC 7 100.0 % (6 / 6)
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)
copy_index_constraints CBC 8 100.0 % (29 / 29) 100.0 % (4 / 4)
apply_concurrent_changes CBC 14 93.8 % (45 / 48) 68.4 % (26 / 38)
check_concurrent_repack_requirements CBC 14 95.0 % (19 / 20) 64.7 % (22 / 34)
process_concurrent_changes CBC 14 100.0 % (22 / 22) 100.0 % (2 / 2)
get_tables_to_repack CBC 17 91.3 % (42 / 46) 79.2 % (19 / 24)
adjust_toast_pointers CBC 22 94.1 % (16 / 17) 90.0 % (9 / 10)
apply_concurrent_update CBC 22 81.8 % (9 / 11) 50.0 % (4 / 8)
find_target_tuple CBC 25 100.0 % (18 / 18) 75.0 % (9 / 12)
get_tables_to_repack_partitioned CBC 32 95.0 % (38 / 40) 73.5 % (25 / 34)
restore_tuple CBC 40 91.2 % (31 / 34) 65.0 % (13 / 20)
DecodingWorkerFileName CBC 42 100.0 % (3 / 3)
cluster_rel_recheck CBC 52 55.6 % (10 / 18) 56.2 % (9 / 16)
determine_clustered_index CBC 190 100.0 % (15 / 15) 86.4 % (19 / 22)
mark_index_clustered CBC 194 91.3 % (21 / 23) 65.4 % (17 / 26)
process_single_relation CBC 216 96.8 % (30 / 31) 80.8 % (21 / 26)
ExecRepack CBC 233 84.4 % (54 / 64) 66.1 % (41 / 62)
check_index_is_clusterable CBC 357 100.0 % (13 / 13) 72.2 % (13 / 18)
copy_table_data CBC 409 96.5 % (55 / 57) 77.3 % (34 / 44)
rebuild_relation CBC 409 100.0 % (39 / 39) 83.3 % (20 / 24)
cluster_rel CBC 428 94.4 % (51 / 54) 69.0 % (40 / 58)
finish_heap_swap CBC 1443 98.1 % (51 / 52) 88.5 % (23 / 26)
RepackLockLevel CBC 1479 100.0 % (4 / 4) 100.0 % (2 / 2)
make_new_heap CBC 1568 93.8 % (30 / 32) 63.3 % (19 / 30)
swap_relation_files CBC 1715 88.2 % (112 / 127) 48.2 % (53 / 110)
repack_is_permitted_for_relation CBC 3252 92.3 % (12 / 13) 66.7 % (8 / 12)
RepackCommandAsString CBC 3623 88.9 % (8 / 9) 75.0 % (3 / 4)

Generated by: LCOV version 2.0-1