LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - typcache.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC ECB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 90.4 % 1026 927 99 12 25 890 1 16
Current Date: 2026-05-29 21:51:00 -0400 Functions: 96.8 % 62 60 2 11 49 4
Baseline: lcov-20260530-034037-baseline Branches: 71.9 % 722 519 1 202 9 13 497
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: 100.0 % 25 25 25
(360..) days: 90.1 % 1001 902 99 12 890 1
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 96.6 % 58 56 2 7 49
Branch coverage date bins:
(30,360] days: 92.9 % 14 13 1 13
(360..) days: 71.5 % 708 506 202 9 497

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
multirange_element_has_extended_hashing UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
range_element_has_extended_hashing UBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
load_enum_cache_data GNC 6 91.4 % (53 / 58) 68.2 % (15 / 22)
dcs_cmp CBC 11 100.0 % (4 / 4)
lookup_rowtype_tupdesc_noerror CBC 12 100.0 % (5 / 5) 50.0 % (2 / 4)
cache_multirange_element_properties CBC 26 91.7 % (11 / 12) 83.3 % (10 / 12)
multirange_element_has_hashing CBC 26 100.0 % (4 / 4) 50.0 % (1 / 2)
SharedRecordTypmodRegistryEstimate CBC 118 100.0 % (2 / 2)
SharedRecordTypmodRegistryInit GNC 118 94.3 % (33 / 35) 50.0 % (9 / 18)
cache_range_element_properties CBC 119 100.0 % (12 / 12) 100.0 % (10 / 10)
range_element_has_hashing CBC 119 100.0 % (4 / 4) 50.0 % (1 / 2)
shared_record_table_compare GNC 132 81.8 % (9 / 11) 50.0 % (2 / 4)
load_multirangetype_info CBC 145 83.3 % (5 / 6) 25.0 % (1 / 4)
record_fields_have_extended_hashing CBC 151 75.0 % (3 / 4) 50.0 % (1 / 2)
share_tupledesc CBC 236 100.0 % (6 / 6)
array_element_has_extended_hashing CBC 292 75.0 % (3 / 4) 50.0 % (1 / 2)
record_fields_have_hashing CBC 299 100.0 % (4 / 4) 100.0 % (2 / 2)
record_fields_have_equality CBC 313 100.0 % (4 / 4) 100.0 % (2 / 2)
shared_record_table_hash GNC 317 85.7 % (6 / 7) 50.0 % (1 / 2)
cache_record_field_properties CBC 338 73.0 % (27 / 37) 69.2 % (18 / 26)
record_fields_have_compare CBC 366 100.0 % (4 / 4) 100.0 % (2 / 2)
load_rangetype_info CBC 588 91.7 % (22 / 24) 50.0 % (6 / 12)
array_element_has_hashing CBC 1314 75.0 % (3 / 4) 50.0 % (1 / 2)
TypeCacheOpcCallback GNC 1699 100.0 % (8 / 8) 100.0 % (4 / 4)
prep_domain_constraints CBC 1808 100.0 % (13 / 13) 83.3 % (5 / 6)
array_element_has_equality CBC 1861 100.0 % (4 / 4) 100.0 % (2 / 2)
cache_array_element_properties CBC 1889 100.0 % (14 / 14) 100.0 % (10 / 10)
SharedRecordTypmodRegistryAttach CBC 2000 100.0 % (19 / 19) 50.0 % (8 / 16)
load_domaintype_info GNC 2011 95.3 % (82 / 86) 80.6 % (29 / 36)
shared_record_typmod_registry_detach CBC 2118 100.0 % (9 / 9) 50.0 % (2 / 4)
lookup_rowtype_tupdesc_domain CBC 2224 91.7 % (11 / 12) 57.1 % (8 / 14)
load_typcache_tupdesc CBC 2741 90.9 % (10 / 11) 37.5 % (3 / 8)
array_element_has_compare CBC 3278 100.0 % (4 / 4) 100.0 % (2 / 2)
assign_record_type_identifier CBC 3703 58.3 % (7 / 12) 37.5 % (6 / 16)
delete_rel_type_cache_if_needed CBC 6405 100.0 % (20 / 20) 72.7 % (16 / 22)
InvalidateCompositeTypeCacheEntry CBC 7695 100.0 % (14 / 14) 75.0 % (12 / 16)
dccref_deletion_callback CBC 8242 100.0 % (8 / 8) 100.0 % (2 / 2)
InitDomainConstraintRef CBC 8256 100.0 % (16 / 16) 100.0 % (4 / 4)
decr_dcc_refcount CBC 8374 100.0 % (5 / 5) 75.0 % (3 / 4)
find_or_make_matching_shared_tupledesc CBC 10197 71.4 % (30 / 42) 42.3 % (11 / 26)
ensure_record_cache_typmod_slot_exists CBC 10217 70.0 % (7 / 10) 75.0 % (3 / 4)
AtEOSubXact_TypeCache CBC 12678 100.0 % (3 / 3)
DomainHasConstraints GNC 20385 100.0 % (12 / 12) 92.9 % (13 / 14)
lookup_rowtype_tupdesc_copy CBC 42281 100.0 % (3 / 3)
lookup_rowtype_tupdesc CBC 46911 100.0 % (4 / 4) 100.0 % (2 / 2)
compare_values_of_enum CBC 76224 51.9 % (14 / 27) 42.3 % (11 / 26)
lookup_rowtype_tupdesc_internal CBC 89213 91.7 % (22 / 24) 53.8 % (14 / 26)
enum_known_sorted CBC 151946 71.4 % (5 / 7) 50.0 % (2 / 4)
find_enumitem CBC 152448 80.0 % (4 / 5) 50.0 % (1 / 2)
record_type_typmod_compare GNC 272047 100.0 % (4 / 4)
assign_record_type_typmod CBC 276573 96.4 % (27 / 28) 75.0 % (9 / 12)
UpdateDomainConstraintRef CBC 284770 84.2 % (16 / 19) 50.0 % (6 / 12)
record_type_typmod_hash GNC 286770 100.0 % (3 / 3)
enum_oid_cmp CBC 307268 100.0 % (4 / 4)
AtEOXact_TypeCache CBC 426389 100.0 % (3 / 3)
finalize_in_progress_typentries CBC 439067 100.0 % (8 / 8) 75.0 % (3 / 4)
insert_rel_type_cache_if_needed CBC 562141 81.8 % (9 / 11) 40.0 % (4 / 10)
lookup_type_cache CBC 562141 95.2 % (240 / 252) 86.1 % (210 / 244)
type_cache_syshash CBC 612212 100.0 % (3 / 3) 50.0 % (1 / 2)
TypeCacheRelCallback CBC 1669325 91.3 % (21 / 23) 77.3 % (17 / 22)

Generated by: LCOV version 2.5.0-beta