LCOV - code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.3 % 460 365
Test Date: 2026-07-03 19:57:34 Functions: 94.1 % 51 48
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 48.6 % 331 161

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 28
InitializeSystemUser 137
InNoForceRLSOperation 180
InitStandaloneProcess 274
EstimateClientConnectionInfoSpace 681
SerializeClientConnectionInfo 681
GetCurrentRoleId 729
CreateSocketLockFile 993
process_shmem_requests 1073
process_shared_preload_libraries 1086
GetOuterUserId 1123
UnlinkLockFiles 1257
ChangeToDataDir 1260
CreateDataDirLockFile 1260
checkDataDir 1260
SetDataDir 1263
has_rolreplication 1927
RestoreClientConnectionInfo 2007
CreateLockFile 2253
InitializeSessionUserIdStandalone 2267
pg_bindtextdomain 2411
GetSessionUserIsSuperuser 2683
AddToDataDirLockFile 6257
GetUserNameFromId 12556
process_session_preload_libraries 13798
SetAuthenticatedUserId 17658
InitializeSessionUserId 17661
SetDatabasePath 18873
ValidatePgVersion 20076
GetAuthenticatedUserId 20362
SetSessionAuthorization 24658
SetSessionUserId 24658
SwitchBackToLocalLatch 24899
SwitchToSharedLatch 24899
InitPostmasterChild 25213
InitProcessLocalLatch 26504
SetCurrentRoleId 27192
load_libraries 28682
InLocalUserIdChange 41808
GetSessionUserId 41902
InSecurityRestrictedOperation 49160
SetOuterUserId 50514
SetUserIdAndSecContext 877687
GetBackendTypeDesc 1253642
GetUserIdAndSecContext 1687195
GetUserId 9397866

Generated by: LCOV version 2.0-1