LCOV - differential code coverage report
Current view: top level - src/backend/utils/cache - relcache.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 92.3 % 2210 2040 2 168 22 2018 9
Current Date: 2026-09-20 14:13:17 +0900 Functions: 98.8 % 86 85 1 7 78
Baseline: lcov-20260920-baseline Branches: 71.1 % 1551 1102 6 443 8 1094
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 86.7 % 15 13 2 13
(7,30] days: 100.0 % 2 2 2
(30,360] days: 98.1 % 52 51 1 9 42
(360..) days: 92.2 % 2141 1974 167 1974
Function coverage date bins:
(1,7] days: 100.0 % 1 1 1
(360..) days: 98.8 % 85 84 1 6 78
Branch coverage date bins:
(1,7] days: 57.1 % 14 8 6 8
(7,30] days: 100.0 % 2 2 2
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 71.2 % 1533 1091 442 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 36803 80.1 % (161 / 201) 55.3 % (73 / 132)
RelationCacheInitializePhase3 CBC 17641 78.8 % (63 / 80) 51.6 % (32 / 62)
RelationSetNewRelfilenumber CBC 8177 91.8 % (56 / 61) 54.8 % (34 / 62)
RelationBuildDesc GNC 873557 91.8 % (90 / 98) 68.9 % (42 / 61)
RelationGetExclusionInfo CBC 1509 90.7 % (49 / 54) 56.8 % (25 / 44)
RelationBuildPublicationDesc CBC 92456 96.7 % (89 / 92) 78.6 % (66 / 84)
RelationInitPhysicalAddr CBC 3390038 93.8 % (30 / 32) 69.6 % (39 / 56)
write_relcache_init_file CBC 3842 86.0 % (49 / 57) 59.5 % (25 / 42)
RelationBuildLocalRelation CBC 86624 95.7 % (88 / 92) 74.6 % (47 / 63)
RelationInitIndexAccessInfo CBC 345881 91.8 % (56 / 61) 36.4 % (8 / 22)
equalPolicy CBC 256 57.7 % (15 / 26) 50.0 % (14 / 28)
LookupOpclassInfo CBC 586336 92.0 % (46 / 50) 63.9 % (23 / 36)
RelationRebuildRelation GNC 418710 92.3 % (60 / 65) 68.4 % (26 / 38)
CheckNNConstraintFetch CBC 108818 90.7 % (39 / 43) 61.5 % (16 / 26)
RelationBuildTupleDesc CBC 873359 97.6 % (80 / 82) 84.8 % (56 / 66)
RelationReloadIndexInfo CBC 74549 86.5 % (32 / 37) 58.3 % (14 / 24)
AttrDefaultFetch CBC 23720 85.7 % (24 / 28) 43.8 % (7 / 16)
RelationGetIndexAttrBitmap CBC 9645393 94.3 % (99 / 105) 85.5 % (53 / 62)
RelationClearRelation CBC 520323 100.0 % (10 / 10) 42.9 % (6 / 14)
AtEOSubXact_RelationCache CBC 22835 76.9 % (10 / 13) 50.0 % (6 / 12)
RelationCacheInvalidate CBC 3515 100.0 % (40 / 40) 88.9 % (48 / 54)
RelationForgetRelation CBC 47958 83.3 % (10 / 12) 57.1 % (8 / 14)
RelationGetToastChunkIdType GNC 41837 84.6 % (11 / 13) 57.1 % (8 / 14)
RelationInitTableAccessMethod CBC 1308354 94.1 % (16 / 17) 57.1 % (8 / 14)
write_item CBC 3309250 66.7 % (4 / 6) 40.0 % (4 / 10)
AssertPendingSyncConsistency CBC 265171 100.0 % (10 / 10) 80.8 % (21 / 26)
AtEOSubXact_cleanup CBC 5653 92.3 % (24 / 26) 80.8 % (21 / 26)
RelationGetIdentityKeyBitmap CBC 356 96.0 % (24 / 25) 72.2 % (13 / 18)
AtEOXact_cleanup CBC 101729 94.1 % (16 / 17) 66.7 % (8 / 12)
IndexSupportInitialize CBC 345880 90.9 % (10 / 11) 50.0 % (4 / 8)
RelationDestroyRelation CBC 773902 97.8 % (45 / 46) 88.2 % (30 / 34)
equalRuleLocks CBC 253567 83.3 % (20 / 24) 81.8 % (18 / 22)
RelationBuildRuleLock GNC 24587 100.0 % (54 / 54) 86.4 % (19 / 22)
RelationGetDummyIndexExpressions CBC 153 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationIdGetRelation CBC 25365143 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationReloadNailed CBC 90590 100.0 % (14 / 14) 62.5 % (5 / 8)
ScanPgRelation CBC 968839 94.7 % (18 / 19) 78.6 % (11 / 14)
equalRSDesc CBC 253567 92.9 % (13 / 14) 90.0 % (27 / 30)
load_critical_index CBC 24250 91.7 % (11 / 12) 25.0 % (1 / 4)
unlink_initfile CBC 52689 80.0 % (4 / 5) 50.0 % (3 / 6)
AtEOXact_RelationCache CBC 426520 100.0 % (23 / 23) 88.9 % (16 / 18)
RelationCacheInitFilePreInvalidate CBC 24045 100.0 % (9 / 9) 50.0 % (2 / 4)
RelationGetIndexAttOptions CBC 1644044 95.7 % (22 / 23) 88.9 % (16 / 18)
RelationGetIndexExpressions CBC 2847926 100.0 % (17 / 17) 75.0 % (6 / 8)
RelationGetIndexPredicate CBC 2847801 100.0 % (19 / 19) 75.0 % (6 / 8)
RelationGetPrimaryKeyIndex CBC 283 90.0 % (9 / 10) 75.0 % (6 / 8)
errtablecol CBC 406 83.3 % (5 / 6) 50.0 % (2 / 4)
formrdesc CBC 22928 100.0 % (56 / 56) 83.3 % (10 / 12)
AssertCouldGetRelation CBC 138733147 100.0 % (4 / 4) 50.0 % (1 / 2)
AssertPendingSyncs_RelationCache GNC 1929 96.2 % (25 / 26) 92.9 % (13 / 14)
RelationCacheInitialize CBC 19276 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCloseCleanup CBC 25456650 88.9 % (8 / 9) 90.0 % (9 / 10)
RelationDecrementReferenceCount CBC 37362751 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationGetIndexList CBC 1516600 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetReplicaIndex CBC 237796 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationIdIsInInitFile CBC 1516193 100.0 % (7 / 7) 90.0 % (9 / 10)
RememberToFreeTupleDescAtEOX GNC 14708 100.0 % (14 / 14) 83.3 % (5 / 6)
ResOwnerReleaseRelation CBC 31905 100.0 % (6 / 6) 50.0 % (1 / 2)
BuildHardcodedDescriptor CBC 35280 100.0 % (11 / 11) 100.0 % (2 / 2)
CopyIndexAttOptions CBC 932724 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 953147 100.0 % (4 / 4) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1072141 100.0 % (4 / 4) 100.0 % (2 / 2)
RelationAssumeNewRelfilelocator CBC 10100 100.0 % (6 / 6) 100.0 % (4 / 4)
RelationCacheInitFileRemove CBC 1101 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1162 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationCacheInitializePhase2 CBC 19276 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInvalidateEntry CBC 1968889 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationFlushRelation CBC 518024 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationGetFKeyList CBC 199144 100.0 % (30 / 30) 100.0 % (6 / 6)
RelationGetStatExtList CBC 372498 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationIncrementReferenceCount CBC 37394656 100.0 % (6 / 6) 100.0 % (2 / 2)
RelationInvalidateRelation CBC 1035083 100.0 % (7 / 7) 100.0 % (2 / 2)
RelationParseRelOptions CBC 963767 100.0 % (16 / 16) 100.0 % (5 / 5)
AllocateRelationDesc CBC 873359 100.0 % (11 / 11)
AttrDefaultCmp CBC 9762 100.0 % (4 / 4)
CheckConstraintCmp CBC 6038 100.0 % (4 / 4)
InitIndexAmRoutine CBC 1711704 100.0 % (5 / 5)
InitTableAmRoutine CBC 1308354 100.0 % (3 / 3)
RelationCacheInitFilePostInvalidate CBC 24045 100.0 % (3 / 3)
RelationClose CBC 25424745 100.0 % (4 / 4)
ResOwnerPrintRelCache UBC 0 0.0 % (0 / 3)
ResourceOwnerForgetRelationRef CBC 37026899 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 37058804 100.0 % (3 / 3)
errtable CBC 2614 100.0 % (5 / 5)
errtablecolname CBC 406 100.0 % (4 / 4)
errtableconstraint CBC 1869 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1