LCOV - code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.2 % 461 365
Test Date: 2026-07-26 08:15:28 Functions: 94.1 % 51 48
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 48.0 % 331 159

Function Name Sort by function name Hit count Sort by function hit count
GetUserIdAndContext 0
SetUserIdAndContext 0
TouchSocketLockFiles 0
GetSystemUser 22
system_user 22
RecheckDataDirLockFile 24
InitializeSystemUser 139
InNoForceRLSOperation 179
InitStandaloneProcess 274
EstimateClientConnectionInfoSpace 679
SerializeClientConnectionInfo 679
GetCurrentRoleId 727
CreateSocketLockFile 1004
process_shmem_requests 1084
process_shared_preload_libraries 1097
GetOuterUserId 1127
UnlinkLockFiles 1268
ChangeToDataDir 1270
CreateDataDirLockFile 1270
checkDataDir 1270
SetDataDir 1272
has_rolreplication 1967
RestoreClientConnectionInfo 2006
CreateLockFile 2274
InitializeSessionUserIdStandalone 2288
pg_bindtextdomain 2410
GetSessionUserIsSuperuser 2682
AddToDataDirLockFile 6326
GetUserNameFromId 12551
process_session_preload_libraries 13676
SetAuthenticatedUserId 17604
InitializeSessionUserId 17606
SetDatabasePath 18816
ValidatePgVersion 20029
GetAuthenticatedUserId 20309
SetSessionAuthorization 24627
SetSessionUserId 24627
SwitchBackToLocalLatch 24906
SwitchToSharedLatch 24906
InitPostmasterChild 25085
InitProcessLocalLatch 26385
SetCurrentRoleId 27202
load_libraries 28449
InLocalUserIdChange 41738
GetSessionUserId 41826
InSecurityRestrictedOperation 49111
SetOuterUserId 50484
SetUserIdAndSecContext 881899
GetBackendTypeDesc 1258373
GetUserIdAndSecContext 1694472
GetUserId 9553249

Generated by: LCOV version 2.0-1