LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - relcache.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 92.4 % 2210 2041 2 167 22 2019 9
Current Date: 2026-10-12 11:56:10 +0200 Functions: 98.8 % 86 85 1 7 78
Baseline: lcov-20261012-baseline Branches: 71.1 % 1551 1103 6 1 441 1 8 1094
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 86.7 % 15 13 2 13
(30,360] days: 98.1 % 54 53 1 9 44
(360..) days: 92.2 % 2141 1975 166 1975
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(360..) days: 98.8 % 85 84 1 6 78
Branch coverage date bins:
(7,30] days: 57.1 % 14 8 6 8
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 71.2 % 1533 1092 1 440 1 1091

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
load_relcache_init_file GNC 37168 80.1 % (161 / 201) 55.3 % (73 / 132)
RelationCacheInitializePhase3 CBC 17817 78.8 % (63 / 80) 51.6 % (32 / 62)
RelationSetNewRelfilenumber CBC 8339 91.8 % (56 / 61) 54.8 % (34 / 62)
RelationBuildDesc GNC 873931 91.8 % (90 / 98) 68.9 % (42 / 61)
RelationGetExclusionInfo CBC 1509 90.7 % (49 / 54) 56.8 % (25 / 44)
RelationBuildPublicationDesc CBC 92518 96.7 % (89 / 92) 78.6 % (66 / 84)
RelationInitPhysicalAddr CBC 3416998 93.8 % (30 / 32) 69.6 % (39 / 56)
write_relcache_init_file CBC 3824 86.0 % (49 / 57) 59.5 % (25 / 42)
RelationBuildLocalRelation CBC 86881 95.7 % (88 / 92) 74.6 % (47 / 63)
RelationInitIndexAccessInfo CBC 345568 91.8 % (56 / 61) 36.4 % (8 / 22)
equalPolicy CBC 264 57.7 % (15 / 26) 50.0 % (14 / 28)
LookupOpclassInfo CBC 586142 92.0 % (46 / 50) 63.9 % (23 / 36)
RelationRebuildRelation GNC 420486 92.3 % (60 / 65) 68.4 % (26 / 38)
CheckNNConstraintFetch CBC 109466 90.7 % (39 / 43) 61.5 % (16 / 26)
RelationBuildTupleDesc CBC 873735 97.6 % (80 / 82) 84.8 % (56 / 66)
RelationGetIndexAttrBitmap CBC 9650052 94.3 % (99 / 105) 83.9 % (52 / 62)
RelationReloadIndexInfo CBC 75132 86.5 % (32 / 37) 58.3 % (14 / 24)
AttrDefaultFetch CBC 23854 85.7 % (24 / 28) 43.8 % (7 / 16)
RelationClearRelation CBC 520177 100.0 % (10 / 10) 42.9 % (6 / 14)
AtEOSubXact_RelationCache CBC 22858 76.9 % (10 / 13) 50.0 % (6 / 12)
RelationForgetRelation CBC 48140 83.3 % (10 / 12) 57.1 % (8 / 14)
RelationGetToastChunkIdType GNC 42002 84.6 % (11 / 13) 57.1 % (8 / 14)
RelationInitTableAccessMethod CBC 1318455 94.1 % (16 / 17) 57.1 % (8 / 14)
write_item CBC 3281250 66.7 % (4 / 6) 40.0 % (4 / 10)
AssertPendingSyncConsistency CBC 269481 100.0 % (10 / 10) 80.8 % (21 / 26)
AtEOSubXact_cleanup CBC 6065 92.3 % (24 / 26) 80.8 % (21 / 26)
RelationCacheInvalidate CBC 3501 100.0 % (40 / 40) 90.7 % (49 / 54)
RelationGetIdentityKeyBitmap CBC 364 96.0 % (24 / 25) 72.2 % (13 / 18)
AtEOXact_cleanup CBC 102160 94.1 % (16 / 17) 66.7 % (8 / 12)
IndexSupportInitialize CBC 345565 90.9 % (10 / 11) 50.0 % (4 / 8)
RelationDestroyRelation CBC 774774 97.8 % (45 / 46) 88.2 % (30 / 34)
equalRuleLocks CBC 254583 83.3 % (20 / 24) 81.8 % (18 / 22)
RelationBuildRuleLock GNC 24634 100.0 % (54 / 54) 86.4 % (19 / 22)
RelationGetDummyIndexExpressions CBC 152 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationIdGetRelation CBC 26633616 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationReloadNailed CBC 90767 100.0 % (14 / 14) 62.5 % (5 / 8)
ScanPgRelation CBC 969861 94.7 % (18 / 19) 78.6 % (11 / 14)
equalRSDesc CBC 254583 92.9 % (13 / 14) 90.0 % (27 / 30)
load_critical_index CBC 24122 91.7 % (11 / 12) 25.0 % (1 / 4)
unlink_initfile CBC 52795 80.0 % (4 / 5) 50.0 % (3 / 6)
AtEOXact_RelationCache CBC 427429 100.0 % (23 / 23) 88.9 % (16 / 18)
RelationCacheInitFilePreInvalidate CBC 24073 100.0 % (9 / 9) 50.0 % (2 / 4)
RelationGetIndexAttOptions CBC 1650741 95.7 % (22 / 23) 88.9 % (16 / 18)
RelationGetIndexExpressions CBC 2855933 100.0 % (17 / 17) 75.0 % (6 / 8)
RelationGetIndexPredicate CBC 2855484 100.0 % (19 / 19) 75.0 % (6 / 8)
errtablecol CBC 406 83.3 % (5 / 6) 50.0 % (2 / 4)
formrdesc CBC 22914 100.0 % (56 / 56) 83.3 % (10 / 12)
AssertCouldGetRelation CBC 141009587 100.0 % (4 / 4) 50.0 % (1 / 2)
AssertPendingSyncs_RelationCache GNC 1984 96.2 % (25 / 26) 92.9 % (13 / 14)
RelationCacheInitialize CBC 19467 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCloseCleanup CBC 26725390 88.9 % (8 / 9) 90.0 % (9 / 10)
RelationDecrementReferenceCount CBC 39270024 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationGetIndexList CBC 1520488 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetPrimaryKeyIndex CBC 244 100.0 % (10 / 10) 87.5 % (7 / 8)
RelationGetReplicaIndex CBC 93679 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationIdIsInInitFile CBC 1518937 100.0 % (7 / 7) 90.0 % (9 / 10)
RememberToFreeTupleDescAtEOX GNC 14815 100.0 % (14 / 14) 83.3 % (5 / 6)
ResOwnerReleaseRelation CBC 31577 100.0 % (6 / 6) 50.0 % (1 / 2)
BuildHardcodedDescriptor CBC 35629 100.0 % (11 / 11) 100.0 % (2 / 2)
CopyIndexAttOptions CBC 933761 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 954017 100.0 % (4 / 4) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1071479 100.0 % (4 / 4) 100.0 % (2 / 2)
RelationAssumeNewRelfilelocator CBC 10284 100.0 % (6 / 6) 100.0 % (4 / 4)
RelationCacheInitFileRemove CBC 1109 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1170 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationCacheInitializePhase2 CBC 19467 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInvalidateEntry CBC 1987687 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationFlushRelation CBC 520270 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationGetFKeyList CBC 200143 100.0 % (30 / 30) 100.0 % (6 / 6)
RelationGetStatExtList CBC 374196 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationIncrementReferenceCount CBC 39301601 100.0 % (6 / 6) 100.0 % (2 / 2)
RelationInvalidateRelation CBC 1036709 100.0 % (7 / 7) 100.0 % (2 / 2)
RelationParseRelOptions CBC 964642 100.0 % (16 / 16) 100.0 % (5 / 5)
AllocateRelationDesc CBC 873735 100.0 % (11 / 11)
AttrDefaultCmp CBC 9760 100.0 % (4 / 4)
CheckConstraintCmp CBC 6030 100.0 % (4 / 4)
InitIndexAmRoutine CBC 1727645 100.0 % (5 / 5)
InitTableAmRoutine CBC 1318455 100.0 % (3 / 3)
RelationCacheInitFilePostInvalidate CBC 24073 100.0 % (3 / 3)
RelationClose CBC 26693813 100.0 % (4 / 4)
ResOwnerPrintRelCache UBC 0 0.0 % (0 / 3)
ResourceOwnerForgetRelationRef CBC 38934170 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 38965747 100.0 % (3 / 3)
errtable CBC 2590 100.0 % (5 / 5)
errtablecolname CBC 406 100.0 % (4 / 4)
errtableconstraint CBC 1845 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1