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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 92.4 % 2220 2051 2 167 22 2029 13
Current Date: 2026-11-28 16:48:44 +0900 Functions: 98.8 % 86 85 1 8 77
Baseline: lcov-20261128-baseline Branches: 71.1 % 1559 1109 6 1 443 1 8 1100
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 10 10 10
(30,360] days: 95.4 % 65 62 2 1 22 40
(360..) days: 92.3 % 2145 1979 166 1979
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 98.8 % 85 84 1 7 77
Branch coverage date bins:
(7,30] days: 75.0 % 8 6 2 6
(30,360] days: 65.0 % 20 13 6 1 8 5
(360..) days: 71.2 % 1531 1090 1 440 1 1089

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
AllocateRelationDesc CBC 917039 100.0 % (11 / 11)
AssertCouldGetRelation CBC 146316192 100.0 % (4 / 4) 50.0 % (1 / 2)
AssertPendingSyncConsistency CBC 288079 100.0 % (10 / 10) 80.8 % (21 / 26)
AssertPendingSyncs_RelationCache GNC 2067 96.2 % (25 / 26) 92.9 % (13 / 14)
AtEOSubXact_RelationCache CBC 23141 76.9 % (10 / 13) 50.0 % (6 / 12)
AtEOSubXact_cleanup CBC 6506 92.3 % (24 / 26) 80.8 % (21 / 26)
AtEOXact_RelationCache CBC 443965 100.0 % (23 / 23) 88.9 % (16 / 18)
AtEOXact_cleanup CBC 106959 94.1 % (16 / 17) 66.7 % (8 / 12)
AttrDefaultCmp CBC 9682 100.0 % (4 / 4)
AttrDefaultFetch CBC 24058 85.7 % (24 / 28) 43.8 % (7 / 16)
BuildHardcodedDescriptor CBC 37408 100.0 % (11 / 11) 100.0 % (2 / 2)
CheckConstraintCmp CBC 6032 100.0 % (4 / 4)
CheckNNConstraintFetch CBC 111129 90.7 % (39 / 43) 61.5 % (16 / 26)
CopyIndexAttOptions CBC 972573 100.0 % (7 / 7) 100.0 % (4 / 4)
GetPgClassDescriptor CBC 999279 100.0 % (4 / 4) 100.0 % (2 / 2)
GetPgIndexDescriptor CBC 1124647 100.0 % (4 / 4) 100.0 % (2 / 2)
IndexSupportInitialize CBC 362671 90.9 % (10 / 11) 50.0 % (4 / 8)
InitIndexAmRoutine CBC 1814395 100.0 % (5 / 5)
InitTableAmRoutine CBC 1384652 100.0 % (3 / 3)
LookupOpclassInfo CBC 614202 92.0 % (46 / 50) 63.9 % (23 / 36)
RelationAssumeNewRelfilelocator CBC 10490 100.0 % (6 / 6) 100.0 % (4 / 4)
RelationBuildDesc GNC 917231 91.8 % (90 / 98) 68.9 % (42 / 61)
RelationBuildLocalRelation CBC 91467 95.7 % (88 / 92) 74.6 % (47 / 63)
RelationBuildPublicationDesc CBC 93189 96.7 % (89 / 92) 78.6 % (66 / 84)
RelationBuildRuleLock GNC 25818 100.0 % (54 / 54) 86.4 % (19 / 22)
RelationBuildTupleDesc GNC 917039 97.8 % (89 / 91) 85.7 % (60 / 70)
RelationCacheInitFilePostInvalidate CBC 25078 100.0 % (3 / 3)
RelationCacheInitFilePreInvalidate CBC 25078 100.0 % (9 / 9) 50.0 % (2 / 4)
RelationCacheInitFileRemove CBC 1145 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitFileRemoveInDir CBC 1208 100.0 % (9 / 9) 100.0 % (4 / 4)
RelationCacheInitialize CBC 20409 100.0 % (12 / 12) 50.0 % (1 / 2)
RelationCacheInitializePhase2 CBC 20409 100.0 % (13 / 13) 100.0 % (4 / 4)
RelationCacheInitializePhase3 CBC 18707 78.8 % (63 / 80) 51.6 % (32 / 62)
RelationCacheInvalidate CBC 3621 100.0 % (40 / 40) 90.7 % (49 / 54)
RelationCacheInvalidateEntry CBC 2096111 100.0 % (9 / 9) 100.0 % (8 / 8)
RelationClearRelation CBC 540608 100.0 % (10 / 10) 42.9 % (6 / 14)
RelationClose CBC 27828151 100.0 % (4 / 4)
RelationCloseCleanup CBC 27862268 88.9 % (8 / 9) 90.0 % (9 / 10)
RelationDecrementReferenceCount CBC 40925663 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationDestroyRelation CBC 809329 97.8 % (45 / 46) 88.2 % (30 / 34)
RelationFlushRelation CBC 545583 100.0 % (16 / 16) 100.0 % (16 / 16)
RelationForgetRelation CBC 51385 83.3 % (10 / 12) 57.1 % (8 / 14)
RelationGetDummyIndexExpressions CBC 154 100.0 % (15 / 15) 75.0 % (9 / 12)
RelationGetExclusionInfo CBC 1520 90.7 % (49 / 54) 56.8 % (25 / 44)
RelationGetFKeyList CBC 204270 100.0 % (30 / 30) 100.0 % (6 / 6)
RelationGetIdentityKeyBitmap CBC 387 96.0 % (24 / 25) 72.2 % (13 / 18)
RelationGetIndexAttOptions CBC 1720329 95.7 % (22 / 23) 88.9 % (16 / 18)
RelationGetIndexAttrBitmap CBC 9699938 94.3 % (99 / 105) 83.9 % (52 / 62)
RelationGetIndexExpressions CBC 3021296 100.0 % (17 / 17) 75.0 % (6 / 8)
RelationGetIndexList CBC 1578336 100.0 % (47 / 47) 96.9 % (31 / 32)
RelationGetIndexPredicate CBC 3020813 100.0 % (19 / 19) 75.0 % (6 / 8)
RelationGetPrimaryKeyIndex CBC 247 100.0 % (10 / 10) 87.5 % (7 / 8)
RelationGetReplicaIndex CBC 94373 100.0 % (6 / 6) 75.0 % (3 / 4)
RelationGetStatExtList CBC 383169 100.0 % (20 / 20) 100.0 % (4 / 4)
RelationGetToastChunkIdType GNC 43415 84.6 % (11 / 13) 57.1 % (8 / 14)
RelationIdGetRelation CBC 27765315 100.0 % (16 / 16) 83.3 % (15 / 18)
RelationIdIsInInitFile CBC 1605820 100.0 % (7 / 7) 90.0 % (9 / 10)
RelationIncrementReferenceCount CBC 40959780 100.0 % (6 / 6) 100.0 % (2 / 2)
RelationInitIndexAccessInfo CBC 362674 91.8 % (56 / 61) 36.4 % (8 / 22)
RelationInitPhysicalAddr CBC 3585576 93.8 % (30 / 32) 69.6 % (39 / 56)
RelationInitTableAccessMethod CBC 1384652 94.1 % (16 / 17) 57.1 % (8 / 14)
RelationInvalidateRelation CBC 1080912 100.0 % (7 / 7) 100.0 % (2 / 2)
RelationParseRelOptions CBC 1011324 100.0 % (16 / 16) 100.0 % (5 / 5)
RelationRebuildRelation GNC 441151 92.3 % (60 / 65) 68.4 % (26 / 38)
RelationReloadIndexInfo CBC 77830 86.5 % (32 / 37) 58.3 % (14 / 24)
RelationReloadNailed CBC 94617 100.0 % (14 / 14) 62.5 % (5 / 8)
RelationSetNewRelfilenumber CBC 8297 91.8 % (56 / 61) 54.8 % (34 / 62)
RememberToFreeTupleDescAtEOX GNC 56039 100.0 % (14 / 14) 83.3 % (5 / 6)
ResOwnerPrintRelCache UBC 0 0.0 % (0 / 3)
ResOwnerReleaseRelation CBC 34117 100.0 % (6 / 6) 50.0 % (1 / 2)
ResourceOwnerForgetRelationRef CBC 40576497 100.0 % (3 / 3)
ResourceOwnerRememberRelationRef CBC 40610614 100.0 % (3 / 3)
ScanPgRelation CBC 1016612 94.7 % (18 / 19) 78.6 % (11 / 14)
equalPolicy CBC 264 57.7 % (15 / 26) 50.0 % (14 / 28)
equalRSDesc CBC 268700 92.9 % (13 / 14) 90.0 % (27 / 30)
equalRuleLocks CBC 268700 83.3 % (20 / 24) 81.8 % (18 / 22)
errtable CBC 2620 100.0 % (5 / 5)
errtablecol CBC 422 83.3 % (5 / 6) 50.0 % (2 / 4)
errtablecolname CBC 422 100.0 % (4 / 4)
errtableconstraint CBC 1857 100.0 % (4 / 4)
formrdesc CBC 23806 100.0 % (56 / 56) 83.3 % (10 / 12)
load_critical_index CBC 25175 91.7 % (11 / 12) 25.0 % (1 / 4)
load_relcache_init_file GNC 38996 80.2 % (162 / 202) 55.1 % (75 / 136)
unlink_initfile CBC 54942 80.0 % (4 / 5) 50.0 % (3 / 6)
write_item CBC 3468731 66.7 % (4 / 6) 40.0 % (4 / 10)
write_relcache_init_file CBC 4006 86.0 % (49 / 57) 59.5 % (25 / 42)

Generated by: LCOV version 2.0-1