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-08-24 14:15:55 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 25
InitializeSystemUser 139
InNoForceRLSOperation 180
InitStandaloneProcess 270
EstimateClientConnectionInfoSpace 681
SerializeClientConnectionInfo 681
GetCurrentRoleId 729
CreateSocketLockFile 1015
process_shmem_requests 1094
process_shared_preload_libraries 1107
GetOuterUserId 1146
UnlinkLockFiles 1275
ChangeToDataDir 1277
CreateDataDirLockFile 1277
checkDataDir 1277
SetDataDir 1279
has_rolreplication 2004
RestoreClientConnectionInfo 2013
CreateLockFile 2292
InitializeSessionUserIdStandalone 2311
pg_bindtextdomain 2417
GetSessionUserIsSuperuser 2689
AddToDataDirLockFile 6389
GetUserNameFromId 12589
process_session_preload_libraries 13960
SetAuthenticatedUserId 17924
InitializeSessionUserId 17927
SetDatabasePath 19134
ValidatePgVersion 20355
GetAuthenticatedUserId 20632
SetSessionAuthorization 24979
SetSessionUserId 24979
SwitchBackToLocalLatch 25287
SwitchToSharedLatch 25287
InitPostmasterChild 25467
InitProcessLocalLatch 26774
SetCurrentRoleId 27598
load_libraries 29027
InLocalUserIdChange 42419
GetSessionUserId 42504
InSecurityRestrictedOperation 49903
SetOuterUserId 51225
SetUserIdAndSecContext 889320
GetBackendTypeDesc 1281679
GetUserIdAndSecContext 1723241
GetUserId 9693990

Generated by: LCOV version 2.0-1