LCOV - code coverage report
Current view:
top level
-
src/backend/storage/lmgr
- lock.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
87.9 %
1276
1122
Test Date:
2026-11-16 17:16:11
Functions:
96.8 %
62
60
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
65.1 %
912
594
Function Name
Hit count
AbortStrongLockAcquire
708615
AtPrepare_Locks
333
BeginStrongLockAcquire
250056
CheckAndSetLockHeld
50138426
CheckForSessionAndXactLocks
333
CleanUpLock
2995771
DoLockModesConflict
39041
FastPathGetRelationLockEntry
356
FastPathGrantRelationLock
21677339
FastPathTransferRelationLocks
250056
FastPathUnGrantRelationLock
21794969
FinishStrongLockAcquire
3042846
GetAnyGrantedHeavyweightLock
42
GetAwaitedLock
707901
GetBlockerStatusData
1794
GetLockConflicts
1817
GetLockStatusData
320
GetLockTagsMethodTable
1299
GetLockmodeName
11883
GetLocksMethodTable
121
GetRunningTransactionLocks
1615
GetSingleProcBlockerStatusData
1939
GrantAwaitedLock
3
GrantLock
3045192
GrantLockLocal
28718164
InitLockManagerAccess
26726
LockAcquire
1227122
LockAcquireExtended
28718939
LockCheckConflicts
3045175
LockHasWaiters
0
LockHeldByMe
1988206
LockManagerShmemInit
1345
LockManagerShmemRequest
1349
LockReassignCurrentOwner
466805
LockReassignOwner
815072
LockRefindAndRelease
2845
LockRelease
24313472
LockReleaseAll
1351563
LockReleaseCurrentOwner
6654
LockReleaseSession
122
LockTagHashCode
25581371
LockWaiterCount
96274
MarkLockClear
23718297
PostPrepare_Locks
331
ProcLockHashCode
5816103
ReleaseLockIfHeld
5634
RemoveFromWaitQueue
52
RemoveLocalLock
24720963
ResetAwaitedLock
48
SetupLockInTable
3045866
UnGrantLock
3045108
VirtualXactLock
399
VirtualXactLockTableCleanup
665335
VirtualXactLockTableInsert
664627
WaitOnLock
1556
XactLockForVirtualXact
357
lock_twophase_postabort
194
lock_twophase_postcommit
963
lock_twophase_recover
99
lock_twophase_standby_recover
0
proclock_hash
859
waitonlock_error_callback
232
Generated by:
LCOV version 2.0-1