LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - typcache.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 89.1 % 1027 915 1 111 25 890 16
Current Date: 2026-03-14 14:10:32 -0400 Functions: 96.8 % 62 60 2 10 50 4
Baseline: lcov-20260315-024220-baseline Branches: 70.5 % 722 509 1 1 211 13 496
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 11 11 11
(7,30] days: 100.0 % 3 3 3
(30,360] days: 100.0 % 17 17 11 6
(360..) days: 88.8 % 996 884 1 111 884
Function coverage date bins:
(1,7] days: 100.0 % 1 1 1
(7,30] days: 100.0 % 3 3 3
(360..) days: 96.6 % 58 56 2 6 50
Branch coverage date bins:
(1,7] days: 92.9 % 14 13 1 13
(30,360] days: 100.0 % 2 2 2
(360..) days: 70.0 % 706 494 1 211 494

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
lookup_type_cache CBC 419466 94.8 % (239 / 252) 85.7 % (209 / 244)
compare_values_of_enum CBC 76213 51.9 % (14 / 27) 42.3 % (11 / 26)
find_or_make_matching_shared_tupledesc CBC 9341 71.4 % (30 / 42) 42.3 % (11 / 26)
lookup_rowtype_tupdesc_internal CBC 77153 91.7 % (22 / 24) 53.8 % (14 / 26)
UpdateDomainConstraintRef CBC 223859 26.3 % (5 / 19) 16.7 % (2 / 12)
assign_record_type_identifier CBC 2835 58.3 % (7 / 12) 37.5 % (6 / 16)
SharedRecordTypmodRegistryInit CBC 85 94.4 % (34 / 36) 50.0 % (9 / 18)
SharedRecordTypmodRegistryAttach CBC 1491 100.0 % (19 / 19) 50.0 % (8 / 16)
cache_record_field_properties CBC 282 73.0 % (27 / 37) 69.2 % (18 / 26)
load_domaintype_info GNC 1370 95.3 % (82 / 86) 80.6 % (29 / 36)
load_enum_cache_data GNC 5 91.4 % (53 / 58) 68.2 % (15 / 22)
delete_rel_type_cache_if_needed CBC 4726 100.0 % (20 / 20) 72.7 % (16 / 22)
insert_rel_type_cache_if_needed CBC 419466 81.8 % (9 / 11) 40.0 % (4 / 10)
load_rangetype_info CBC 429 91.7 % (22 / 24) 50.0 % (6 / 12)
lookup_rowtype_tupdesc_domain CBC 1646 91.7 % (11 / 12) 57.1 % (8 / 14)
TypeCacheRelCallback CBC 1240432 91.3 % (21 / 23) 77.3 % (17 / 22)
cache_multirange_element_properties CBC 9 83.3 % (10 / 12) 58.3 % (7 / 12)
load_typcache_tupdesc CBC 2143 90.9 % (10 / 11) 37.5 % (3 / 8)
InvalidateCompositeTypeCacheEntry CBC 5850 100.0 % (14 / 14) 75.0 % (12 / 16)
assign_record_type_typmod CBC 233571 96.4 % (27 / 28) 75.0 % (9 / 12)
load_multirangetype_info CBC 105 83.3 % (5 / 6) 25.0 % (1 / 4)
cache_range_element_properties CBC 60 100.0 % (12 / 12) 80.0 % (8 / 10)
enum_known_sorted CBC 151929 71.4 % (5 / 7) 50.0 % (2 / 4)
lookup_rowtype_tupdesc_noerror CBC 10 100.0 % (5 / 5) 50.0 % (2 / 4)
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)
shared_record_table_compare GNC 99 81.8 % (9 / 11) 50.0 % (2 / 4)
shared_record_typmod_registry_detach CBC 1576 100.0 % (9 / 9) 50.0 % (2 / 4)
DomainHasConstraints GNC 15451 100.0 % (12 / 12) 92.9 % (13 / 14)
TypeCacheTypCallback GNC 414431 100.0 % (11 / 11) 90.0 % (9 / 10)
array_element_has_extended_hashing CBC 264 75.0 % (3 / 4) 50.0 % (1 / 2)
array_element_has_hashing CBC 1250 75.0 % (3 / 4) 50.0 % (1 / 2)
decr_dcc_refcount CBC 6584 100.0 % (5 / 5) 75.0 % (3 / 4)
ensure_record_cache_typmod_slot_exists CBC 9356 70.0 % (7 / 10) 75.0 % (3 / 4)
finalize_in_progress_typentries CBC 351252 100.0 % (8 / 8) 75.0 % (3 / 4)
find_enumitem CBC 152426 80.0 % (4 / 5) 50.0 % (1 / 2)
multirange_element_has_hashing CBC 9 100.0 % (4 / 4) 50.0 % (1 / 2)
prep_domain_constraints CBC 1300 100.0 % (13 / 13) 83.3 % (5 / 6)
range_element_has_hashing CBC 60 100.0 % (4 / 4) 50.0 % (1 / 2)
record_fields_have_extended_hashing CBC 136 75.0 % (3 / 4) 50.0 % (1 / 2)
shared_record_table_hash GNC 224 85.7 % (6 / 7) 50.0 % (1 / 2)
type_cache_syshash CBC 463525 100.0 % (3 / 3) 50.0 % (1 / 2)
InitDomainConstraintRef CBC 6611 100.0 % (16 / 16) 100.0 % (4 / 4)
TypeCacheOpcCallback GNC 1400 100.0 % (8 / 8) 100.0 % (4 / 4)
array_element_has_compare CBC 2974 100.0 % (4 / 4) 100.0 % (2 / 2)
array_element_has_equality CBC 1698 100.0 % (4 / 4) 100.0 % (2 / 2)
cache_array_element_properties CBC 1722 100.0 % (14 / 14) 100.0 % (10 / 10)
dccref_deletion_callback CBC 6597 100.0 % (8 / 8) 100.0 % (2 / 2)
lookup_rowtype_tupdesc CBC 38862 100.0 % (4 / 4) 100.0 % (2 / 2)
record_fields_have_compare CBC 304 100.0 % (4 / 4) 100.0 % (2 / 2)
record_fields_have_equality CBC 263 100.0 % (4 / 4) 100.0 % (2 / 2)
record_fields_have_hashing CBC 252 100.0 % (4 / 4) 100.0 % (2 / 2)
AtEOSubXact_TypeCache CBC 11693 100.0 % (3 / 3)
AtEOXact_TypeCache CBC 339559 100.0 % (3 / 3)
SharedRecordTypmodRegistryEstimate CBC 85 100.0 % (2 / 2)
dcs_cmp CBC 9 100.0 % (4 / 4)
enum_oid_cmp CBC 307189 100.0 % (4 / 4)
lookup_rowtype_tupdesc_copy CBC 38272 100.0 % (3 / 3)
record_type_typmod_compare GNC 228555 100.0 % (4 / 4)
record_type_typmod_hash GNC 242912 100.0 % (3 / 3)
share_tupledesc CBC 166 100.0 % (6 / 6)

Generated by: LCOV version 2.4-beta