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 EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 84.4 % 533 450 1 82 15 24 411 1 21
Current Date: 2026-03-14 14:10:32 -0400 Functions: 91.9 % 37 34 1 2 14 20 8
Baseline: lcov-20260315-024220-baseline Branches: 58.9 % 372 219 2 151 5 8 206 5 5 3 7
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 88.7 % 53 47 1 5 1 24 22
(360..) days: 84.0 % 480 403 77 14 389
Function coverage date bins:
(30,360] days: 100.0 % 10 10 9 1
(360..) days: 88.9 % 27 24 1 2 5 19
Branch coverage date bins:
(30,360] days: 61.5 % 26 16 2 8 1 8 7
(360..) days: 57.0 % 356 203 143 4 199 5 5

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
hash_create GNC 349028 87.0 % (87 / 100) 69.6 % (64 / 92)
hash_search_with_hash_value GNC 200302761 87.5 % (49 / 56) 64.8 % (35 / 54)
dir_realloc UNC 0 0.0 % (0 / 18) 0.0 % (0 / 16)
hash_update_hash_key CBC 764 85.7 % (30 / 35) 50.0 % (11 / 22)
hash_freeze UBC 0 0.0 % (0 / 7) 0.0 % (0 / 10)
DynaHashAlloc CBC 1507955 100.0 % (3 / 3) 20.0 % (2 / 10)
AtEOSubXact_HashTables CBC 11699 33.3 % (3 / 9) 12.5 % (1 / 8)
seg_alloc CBC 666424 85.7 % (6 / 7) 41.7 % (5 / 12)
hash_corrupted UBC 0 0.0 % (0 / 4) 0.0 % (0 / 6)
init_htab GNC 349028 78.6 % (22 / 28) 66.7 % (12 / 18)
expand_table GNC 383918 91.7 % (33 / 36) 68.8 % (11 / 16)
deregister_seq_scan CBC 2190111 87.5 % (7 / 8) 33.3 % (2 / 6)
hdefault GNC 349028 100.0 % (11 / 11) 60.0 % (6 / 10)
AtEOXact_HashTables CBC 339573 83.3 % (5 / 6) 50.0 % (3 / 6)
hash_destroy GNC 64025 100.0 % (7 / 7) 50.0 % (3 / 6)
register_seq_scan CBC 2190121 85.7 % (6 / 7) 25.0 % (1 / 4)
get_hash_entry CBC 30224279 90.6 % (29 / 32) 87.5 % (14 / 16)
hash_get_shared_size CBC 10357 100.0 % (4 / 4) 50.0 % (2 / 4)
element_alloc GNC 660684 95.8 % (23 / 24) 90.0 % (9 / 10)
has_seq_scans CBC 383918 80.0 % (4 / 5) 75.0 % (3 / 4)
hash_initial_lookup CBC 201249915 90.0 % (9 / 10) 50.0 % (1 / 2)
hash_seq_init CBC 2190121 100.0 % (8 / 8) 50.0 % (1 / 2)
hash_seq_term CBC 2190111 100.0 % (4 / 4) 50.0 % (1 / 2)
my_log2 GNC 763180 75.0 % (3 / 4) 50.0 % (1 / 2)
next_pow2_int GNC 703806 75.0 % (3 / 4) 50.0 % (1 / 2)
calc_bucket CBC 201787406 100.0 % (5 / 5) 100.0 % (2 / 2)
choose_nelem_alloc CBC 368358 100.0 % (7 / 7) 100.0 % (2 / 2)
hash_get_num_entries GNC 65880 100.0 % (6 / 6) 100.0 % (4 / 4)
hash_seq_search CBC 28709358 100.0 % (39 / 39) 100.0 % (20 / 20)
get_hash_value CBC 84880237 100.0 % (2 / 2)
hash_search CBC 123486178 100.0 % (3 / 3)
hash_seq_init_with_hash_value CBC 945626 100.0 % (7 / 7)
hash_stats GNC 64025 100.0 % (2 / 2)
next_pow2_int64 GNC 59374 100.0 % (2 / 2)
string_compare CBC 514589 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta