LCOV - differential code coverage report
Current view: top level - src/backend/commands - repack.c (source / functions) Coverage Total Hit UNC GNC
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 90.5 % 1042 943 99 943
Current Date: 2026-05-05 10:23:31 +0900 Functions: 97.4 % 38 37 1 37
Baseline: lcov-20260505-025707-baseline Branches: 64.7 % 740 479 261 479
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 1 1 1
(1,7] days: 100.0 % 1 1 1
(7,30] days: 90.6 % 520 471 49 471
(30,360] days: 88.8 % 187 166 21 166
(360..) days: 91.3 % 333 304 29 304
Function coverage date bins:
(7,30] days: 96.0 % 25 24 1 24
(30,360] days: 100.0 % 8 8 8
(360..) days: 100.0 % 5 5 5
Branch coverage date bins:
[..1] days: 50.0 % 2 1 1 1
(7,30] days: 66.6 % 290 193 97 193
(30,360] days: 72.2 % 176 127 49 127
(360..) days: 58.1 % 272 158 114 158

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 GNC 1681 88.2 % (112 / 127) 48.2 % (53 / 110)
ProcessRepackMessage UNC 0 0.0 % (0 / 14) 0.0 % (0 / 6)
cluster_rel GNC 424 83.3 % (45 / 54) 62.1 % (36 / 58)
ProcessRepackMessages GNC 3 65.2 % (15 / 23) 50.0 % (6 / 12)
cluster_rel_recheck GNC 52 52.9 % (9 / 17) 57.1 % (8 / 14)
ExecRepack GNC 217 89.7 % (61 / 68) 64.9 % (48 / 74)
get_tables_to_repack GNC 15 87.2 % (41 / 47) 81.8 % (18 / 22)
apply_concurrent_changes GNC 6 93.8 % (45 / 48) 68.4 % (26 / 38)
check_index_is_clusterable GNC 307 76.9 % (10 / 13) 38.9 % (7 / 18)
initialize_change_context GNC 3 90.6 % (29 / 32) 38.9 % (7 / 18)
stop_repack_decoding_worker GNC 3 81.2 % (13 / 16) 40.0 % (4 / 10)
apply_concurrent_update GNC 20 81.8 % (9 / 11) 50.0 % (4 / 8)
copy_table_data GNC 392 96.5 % (55 / 57) 75.0 % (33 / 44)
make_new_heap GNC 1562 93.5 % (29 / 31) 63.3 % (19 / 30)
mark_index_clustered GNC 187 91.3 % (21 / 23) 65.4 % (17 / 26)
process_single_relation GNC 202 93.5 % (29 / 31) 73.1 % (19 / 26)
rebuild_relation_finish_concurrent GNC 3 96.3 % (52 / 54) 66.7 % (36 / 54)
restore_tuple GNC 38 93.8 % (30 / 32) 75.0 % (12 / 16)
RepackCommandAsString GNC 3579 88.9 % (8 / 9) 75.0 % (3 / 4)
adjust_toast_pointers GNC 20 94.1 % (16 / 17) 90.0 % (9 / 10)
apply_concurrent_delete GNC 3 83.3 % (5 / 6) 25.0 % (1 / 4)
determine_clustered_index GNC 174 93.3 % (14 / 15) 77.3 % (17 / 22)
finish_heap_swap GNC 1429 98.1 % (51 / 52) 88.5 % (23 / 26)
start_repack_decoding_worker GNC 3 97.8 % (44 / 45) 50.0 % (3 / 6)
DecodingWorkerFileName GNC 18 100.0 % (3 / 3)
HandleRepackMessageInterrupt GNC 3 100.0 % (5 / 5)
RepackLockLevel GNC 1425 100.0 % (4 / 4) 100.0 % (2 / 2)
apply_concurrent_insert GNC 7 100.0 % (5 / 5)
build_new_indexes GNC 3 100.0 % (13 / 13) 83.3 % (5 / 6)
check_concurrent_repack_requirements GNC 35 100.0 % (16 / 16) 75.0 % (15 / 20)
copy_index_constraints GNC 4 100.0 % (29 / 29) 100.0 % (4 / 4)
find_target_tuple GNC 23 100.0 % (12 / 12) 75.0 % (3 / 4)
get_initial_snapshot GNC 3 100.0 % (20 / 20) 100.0 % (2 / 2)
get_tables_to_repack_partitioned GNC 20 100.0 % (22 / 22) 92.9 % (13 / 14)
process_concurrent_changes GNC 6 100.0 % (22 / 22) 100.0 % (2 / 2)
rebuild_relation GNC 392 100.0 % (37 / 37) 81.8 % (18 / 22)
release_change_context GNC 3 100.0 % (6 / 6)
repack_is_permitted_for_relation GNC 3240 100.0 % (6 / 6) 75.0 % (6 / 8)

Generated by: LCOV version 2.5.0-beta