LCOV - differential code coverage report
Current view: top level - src/backend/utils/hash - dynahash.c (source / functions) Coverage Total Hit UBC CBC
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 85.0 % 505 429 76 429
Current Date: 2026-10-12 11:56:10 +0200 Functions: 91.4 % 35 32 3 32
Baseline: lcov-20261012-baseline Branches: 58.6 % 362 212 150 212
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 81.6 % 49 40 9 40
(360..) days: 85.3 % 456 389 67 389
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 91.2 % 34 31 3 31
Branch coverage date bins:
(30,360] days: 38.1 % 42 16 26 16
(360..) days: 61.2 % 320 196 124 196

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 / 19) 0.0 % (0 / 18)
hash_create CBC 411657 88.9 % (80 / 90) 68.6 % (59 / 86)
hash_freeze UBC 0 0.0 % (0 / 7) 0.0 % (0 / 10)
hash_search_with_hash_value CBC 240104910 87.5 % (49 / 56) 64.3 % (36 / 56)
AtEOSubXact_HashTables CBC 22858 33.3 % (3 / 9) 12.5 % (1 / 8)
hash_update_hash_key CBC 830 85.7 % (30 / 35) 50.0 % (11 / 22)
hash_corrupted UBC 0 0.0 % (0 / 4) 0.0 % (0 / 6)
expand_table CBC 428745 91.9 % (34 / 37) 66.7 % (12 / 18)
get_hash_entry CBC 35269775 90.6 % (29 / 32) 87.5 % (14 / 16)
init_htab CBC 411657 88.5 % (23 / 26) 78.6 % (11 / 14)
AtEOXact_HashTables CBC 427459 83.3 % (5 / 6) 50.0 % (3 / 6)
deregister_seq_scan CBC 2789090 87.5 % (7 / 8) 33.3 % (2 / 6)
element_alloc CBC 758721 95.7 % (22 / 23) 90.0 % (9 / 10)
has_seq_scans CBC 428745 80.0 % (4 / 5) 75.0 % (3 / 4)
hash_initial_lookup CBC 241325038 90.0 % (9 / 10) 50.0 % (1 / 2)
my_log2 CBC 857691 75.0 % (3 / 4) 50.0 % (1 / 2)
next_pow2_int CBC 829729 75.0 % (3 / 4) 50.0 % (1 / 2)
register_seq_scan CBC 2789101 85.7 % (6 / 7) 25.0 % (1 / 4)
seg_alloc CBC 963292 85.7 % (6 / 7) 42.9 % (6 / 14)
DynaHashAlloc CBC 1774922 100.0 % (4 / 4) 20.0 % (2 / 10)
calc_bucket CBC 241930550 100.0 % (5 / 5) 100.0 % (2 / 2)
choose_nelem_alloc CBC 425638 100.0 % (7 / 7) 100.0 % (2 / 2)
get_hash_value CBC 106597885 100.0 % (2 / 2)
hash_destroy CBC 77650 100.0 % (7 / 7) 50.0 % (3 / 6)
hash_estimate_size CBC 13981 100.0 % (12 / 12)
hash_get_num_entries CBC 69644 100.0 % (6 / 6) 100.0 % (4 / 4)
hash_search CBC 143933941 100.0 % (3 / 3)
hash_seq_init CBC 2789101 100.0 % (8 / 8) 50.0 % (1 / 2)
hash_seq_init_with_hash_value CBC 1218468 100.0 % (7 / 7)
hash_seq_search CBC 36168675 100.0 % (38 / 38) 100.0 % (20 / 20)
hash_seq_term CBC 2789090 100.0 % (4 / 4) 50.0 % (1 / 2)
hash_stats CBC 77650 100.0 % (2 / 2)
hdefault CBC 411657 100.0 % (7 / 7) 60.0 % (6 / 10)
next_pow2_int64 CBC 27962 100.0 % (2 / 2)
string_compare CBC 603423 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1