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 % 462 366
Test Date: 2026-11-25 14:16:11 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 180
InitStandaloneProcess 293
EstimateClientConnectionInfoSpace 683
SerializeClientConnectionInfo 683
GetCurrentRoleId 731
CreateSocketLockFile 1087
GetOuterUserId 1125
process_shmem_requests 1174
process_shared_preload_libraries 1187
UnlinkLockFiles 1370
ChangeToDataDir 1374
CreateDataDirLockFile 1374
checkDataDir 1374
SetDataDir 1376
RestoreClientConnectionInfo 2047
has_rolreplication 2205
InitializeSessionUserIdStandalone 2313
CreateLockFile 2461
pg_bindtextdomain 2464
GetSessionUserIsSuperuser 2725
AddToDataDirLockFile 6851
GetUserNameFromId 12493
process_session_preload_libraries 14901
SetAuthenticatedUserId 19190
InitializeSessionUserId 19192
SetDatabasePath 20314
GetAuthenticatedUserId 21479
ValidatePgVersion 21627
SetSessionAuthorization 26041
SetSessionUserId 26041
SwitchBackToLocalLatch 26943
SwitchToSharedLatch 26943
InitPostmasterChild 27130
InitProcessLocalLatch 28534
SetCurrentRoleId 28760
load_libraries 30989
InLocalUserIdChange 44460
GetSessionUserId 44996
SetOuterUserId 53352
InSecurityRestrictedOperation 53994
GetBackendTypeDesc 1270093
SetUserIdAndSecContext 2057054
GetUserIdAndSecContext 2294340
GetUserId 11423203

Generated by: LCOV version 2.0-1