LCOV - differential code coverage report
Current view: top level - src/backend/utils/hash - dynahash.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 85.1 % 502 427 75 427
Current Date: 2026-07-25 17:13:00 -0400 Functions: 91.4 % 35 32 3 32
Baseline: lcov-20260726-baseline Branches: 59.0 % 354 209 145 209
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 85.5 % 62 53 9 53
(360..) days: 85.0 % 440 374 66 374
Function coverage date bins:
(30,360] days: 100.0 % 8 8 8
(360..) days: 88.9 % 27 24 3 24
Branch coverage date bins:
(30,360] days: 44.7 % 38 17 21 17
(360..) days: 60.8 % 316 192 124 192

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
dir_realloc UBC 0 0.0 % (0 / 18) 0.0 % (0 / 16)
hash_corrupted UBC 0 0.0 % (0 / 4) 0.0 % (0 / 6)
hash_freeze UBC 0 0.0 % (0 / 7) 0.0 % (0 / 10)
hash_update_hash_key CBC 801 85.7 % (30 / 35) 50.0 % (11 / 22)
AtEOSubXact_HashTables CBC 12680 33.3 % (3 / 9) 12.5 % (1 / 8)
hash_estimate_size CBC 13320 100.0 % (12 / 12)
next_pow2_int64 CBC 26640 100.0 % (2 / 2)
hash_get_num_entries CBC 70244 100.0 % (6 / 6) 100.0 % (4 / 4)
hash_destroy CBC 80945 100.0 % (7 / 7) 50.0 % (3 / 6)
hash_stats CBC 80945 100.0 % (2 / 2)
hash_create CBC 413579 88.9 % (80 / 90) 68.6 % (59 / 86)
hdefault CBC 413579 100.0 % (7 / 7) 60.0 % (6 / 10)
init_htab CBC 413579 88.5 % (23 / 26) 78.6 % (11 / 14)
choose_nelem_alloc CBC 426899 100.0 % (7 / 7) 100.0 % (2 / 2)
AtEOXact_HashTables CBC 429934 83.3 % (5 / 6) 50.0 % (3 / 6)
expand_table CBC 438813 91.7 % (33 / 36) 68.8 % (11 / 16)
has_seq_scans CBC 438813 80.0 % (4 / 5) 75.0 % (3 / 4)
string_compare CBC 611671 100.0 % (2 / 2)
element_alloc CBC 753912 95.7 % (22 / 23) 90.0 % (9 / 10)
next_pow2_int CBC 833273 75.0 % (3 / 4) 50.0 % (1 / 2)
my_log2 CBC 859913 75.0 % (3 / 4) 50.0 % (1 / 2)
seg_alloc CBC 944349 83.3 % (5 / 6) 41.7 % (5 / 12)
hash_seq_init_with_hash_value CBC 1331527 100.0 % (7 / 7)
DynaHashAlloc CBC 1781751 100.0 % (4 / 4) 20.0 % (2 / 10)
deregister_seq_scan CBC 2901439 87.5 % (7 / 8) 33.3 % (2 / 6)
hash_seq_term CBC 2901439 100.0 % (4 / 4) 50.0 % (1 / 2)
hash_seq_init CBC 2901747 100.0 % (8 / 8) 50.0 % (1 / 2)
register_seq_scan CBC 2901747 85.7 % (6 / 7) 25.0 % (1 / 4)
get_hash_entry CBC 36301721 90.6 % (29 / 32) 87.5 % (14 / 16)
hash_seq_search CBC 37264263 100.0 % (38 / 38) 100.0 % (20 / 20)
get_hash_value CBC 107493691 100.0 % (2 / 2)
hash_search CBC 146903049 100.0 % (3 / 3)
hash_search_with_hash_value CBC 243471480 87.5 % (49 / 56) 64.8 % (35 / 54)
hash_initial_lookup CBC 244804609 90.0 % (9 / 10) 50.0 % (1 / 2)
calc_bucket CBC 245424550 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1