LCOV - code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 79.1 % 460 364
Test Date: 2026-04-17 15:16:26 Functions: 94.1 % 51 48
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
AddToDataDirLockFile 6198
ChangeToDataDir 1248
CreateDataDirLockFile 1248
CreateLockFile 2230
CreateSocketLockFile 982
EstimateClientConnectionInfoSpace 679
GetAuthenticatedUserId 19935
GetBackendTypeDesc 1221472
GetCurrentRoleId 727
GetOuterUserId 1160
GetSessionUserId 41033
GetSessionUserIsSuperuser 2687
GetSystemUser 22
GetUserId 9545307
GetUserIdAndContext 0
GetUserIdAndSecContext 1651182
GetUserNameFromId 12697
InLocalUserIdChange 41005
InNoForceRLSOperation 180
InSecurityRestrictedOperation 48357
InitPostmasterChild 24507
InitProcessLocalLatch 25786
InitStandaloneProcess 274
InitializeSessionUserId 17273
InitializeSessionUserIdStandalone 2116
InitializeSystemUser 131
RecheckDataDirLockFile 28
RestoreClientConnectionInfo 2011
SerializeClientConnectionInfo 679
SetAuthenticatedUserId 17271
SetCurrentRoleId 26637
SetDataDir 1251
SetDatabasePath 18341
SetOuterUserId 49417
SetSessionAuthorization 24104
SetSessionUserId 24104
SetUserIdAndContext 0
SetUserIdAndSecContext 855642
SwitchBackToLocalLatch 24345
SwitchToSharedLatch 24345
TouchSocketLockFiles 0
UnlinkLockFiles 1246
ValidatePgVersion 19532
checkDataDir 1248
has_rolreplication 1939
load_libraries 27763
pg_bindtextdomain 2403
process_session_preload_libraries 13344
process_shared_preload_libraries 1075
process_shmem_requests 1062
system_user 22

Generated by: LCOV version 2.0-1