LCOV - differential code coverage report
Current view: top level - src/backend/utils/hash - dynahash.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 86.1 % 502 432 9 61 20 56 356 17 76
Current Date: 2026-05-29 21:51:00 -0400 Functions: 91.4 % 35 32 1 2 17 15 10
Baseline: lcov-20260530-034037-baseline Branches: 59.9 % 354 212 21 1 120 8 19 185 36 32
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 86.2 % 65 56 9 56
(360..) days: 86.0 % 437 376 61 20 356
Function coverage date bins:
(30,360] days: 100.0 % 8 8 8
(360..) days: 88.9 % 27 24 1 2 9 15
Branch coverage date bins:
(30,360] days: 47.5 % 40 19 21 19
(360..) days: 61.5 % 314 193 1 120 8 185

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 UNC 0 0.0 % (0 / 18) 0.0 % (0 / 16)
hash_create GNC 418980 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 GNC 246542445 87.5 % (49 / 56) 64.8 % (35 / 54)
hash_update_hash_key CBC 832 85.7 % (30 / 35) 50.0 % (11 / 22)
hash_corrupted UBC 0 0.0 % (0 / 4) 0.0 % (0 / 6)
expand_table GNC 453022 91.7 % (33 / 36) 68.8 % (11 / 16)
get_hash_entry CBC 36645776 90.6 % (29 / 32) 87.5 % (14 / 16)
AtEOSubXact_HashTables CBC 12678 88.9 % (8 / 9) 50.0 % (4 / 8)
AtEOXact_HashTables CBC 426427 83.3 % (5 / 6) 50.0 % (3 / 6)
deregister_seq_scan CBC 2841322 87.5 % (7 / 8) 33.3 % (2 / 6)
element_alloc GNC 764712 95.7 % (22 / 23) 90.0 % (9 / 10)
has_seq_scans CBC 453022 80.0 % (4 / 5) 75.0 % (3 / 4)
hash_initial_lookup GNC 247833090 90.0 % (9 / 10) 50.0 % (1 / 2)
my_log2 GNC 871384 75.0 % (3 / 4) 50.0 % (1 / 2)
register_seq_scan CBC 2841625 85.7 % (6 / 7) 25.0 % (1 / 4)
seg_alloc GNC 963910 83.3 % (5 / 6) 41.7 % (5 / 12)
DynaHashAlloc GNC 1803680 100.0 % (4 / 4) 20.0 % (2 / 10)
calc_bucket CBC 248472409 100.0 % (5 / 5) 100.0 % (2 / 2)
choose_nelem_alloc CBC 432572 100.0 % (7 / 7) 100.0 % (2 / 2)
get_hash_value CBC 108898095 100.0 % (2 / 2)
hash_destroy GNC 79510 100.0 % (7 / 7) 50.0 % (3 / 6)
hash_estimate_size GNC 13592 100.0 % (12 / 12)
hash_get_num_entries GNC 69042 100.0 % (6 / 6) 100.0 % (4 / 4)
hash_search CBC 148567470 100.0 % (3 / 3)
hash_seq_init CBC 2841625 100.0 % (8 / 8) 50.0 % (1 / 2)
hash_seq_init_with_hash_value CBC 1288981 100.0 % (7 / 7)
hash_seq_search GNC 37175043 100.0 % (38 / 38) 100.0 % (20 / 20)
hash_seq_term CBC 2841322 100.0 % (4 / 4) 50.0 % (1 / 2)
hash_stats GNC 79510 100.0 % (2 / 2)
hdefault GNC 418980 100.0 % (7 / 7) 60.0 % (6 / 10)
next_pow2_int64 GNC 27184 100.0 % (2 / 2)
string_compare CBC 607905 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta