LCOV - differential code coverage report
Current view: top level - src/backend/utils/hash - dynahash.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 86.4 % 491 424 67 1 3 420 8 9
Current Date: 2026-11-05 14:14:01 +0100 Functions: 94.1 % 34 32 2 5 27 1
Baseline: lcov-20261105-baseline Branches: 61.2 % 338 207 2 129 2 205
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 3 3 3
(30,360] days: 81.2 % 48 39 9 39
(360..) days: 86.8 % 440 382 58 1 381
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 93.9 % 33 31 2 5 26
Branch coverage date bins:
[..1] days: 50.0 % 4 2 2 2
(30,360] days: 36.1 % 36 13 23 13
(360..) days: 64.4 % 298 192 106 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 / 19) 0.0 % (0 / 18)
hash_corrupted UBC 0 0.0 % (0 / 4) 0.0 % (0 / 6)
hash_update_hash_key GNC 801 87.9 % (29 / 33) 55.6 % (10 / 18)
hash_estimate_size CBC 14198 100.0 % (12 / 12)
AtEOSubXact_HashTables CBC 23004 33.3 % (3 / 9) 12.5 % (1 / 8)
next_pow2_int64 CBC 28396 100.0 % (2 / 2)
hash_get_num_entries CBC 70376 100.0 % (6 / 6) 100.0 % (4 / 4)
hash_destroy CBC 78214 100.0 % (7 / 7) 50.0 % (3 / 6)
hash_stats CBC 78214 100.0 % (2 / 2)
hash_create GNC 415373 88.8 % (79 / 89) 68.6 % (59 / 86)
hdefault CBC 415373 100.0 % (7 / 7) 60.0 % (6 / 10)
init_htab CBC 415373 88.5 % (23 / 26) 78.6 % (11 / 14)
choose_nelem_alloc CBC 429571 100.0 % (7 / 7) 100.0 % (2 / 2)
expand_table CBC 429800 91.9 % (34 / 37) 66.7 % (12 / 18)
has_seq_scans CBC 429800 80.0 % (4 / 5) 75.0 % (3 / 4)
AtEOXact_HashTables CBC 430416 83.3 % (5 / 6) 50.0 % (3 / 6)
string_compare CBC 606885 100.0 % (2 / 2)
element_alloc CBC 767533 95.7 % (22 / 23) 90.0 % (9 / 10)
next_pow2_int CBC 837261 75.0 % (3 / 4) 50.0 % (1 / 2)
my_log2 CBC 865657 75.0 % (3 / 4) 50.0 % (1 / 2)
seg_alloc CBC 975821 85.7 % (6 / 7) 42.9 % (6 / 14)
hash_seq_init_with_hash_value CBC 1240323 100.0 % (7 / 7)
DynaHashAlloc CBC 1790819 100.0 % (4 / 4) 20.0 % (2 / 10)
deregister_seq_scan CBC 2822795 87.5 % (7 / 8) 33.3 % (2 / 6)
hash_seq_term GNC 2822795 100.0 % (3 / 3)
hash_seq_init GNC 2822806 100.0 % (7 / 7)
register_seq_scan CBC 2822806 85.7 % (6 / 7) 25.0 % (1 / 4)
get_hash_entry CBC 35579361 90.6 % (29 / 32) 87.5 % (14 / 16)
hash_seq_search CBC 36387223 100.0 % (38 / 38) 100.0 % (20 / 20)
get_hash_value CBC 107183607 100.0 % (2 / 2)
hash_search CBC 145130941 100.0 % (3 / 3)
hash_search_with_hash_value GNC 241810230 88.9 % (48 / 54) 68.0 % (34 / 50)
hash_initial_lookup CBC 243052155 90.0 % (9 / 10) 50.0 % (1 / 2)
calc_bucket CBC 243659071 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1