LCOV - code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 418 514 81.3 %
Date: 2025-08-31 13:18:20 Functions: 48 51 94.1 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
GetUserIdAndContext 0
SetUserIdAndContext 0
TouchSocketLockFiles 0
GetSystemUser 44
system_user 44
RecheckDataDirLockFile 58
InitializeSystemUser 250
InNoForceRLSOperation 264
InitStandaloneProcess 492
EstimateClientConnectionInfoSpace 910
SerializeClientConnectionInfo 910
GetCurrentRoleId 982
GetOuterUserId 1566
CreateSocketLockFile 1702
process_shmem_requests 1848
process_shared_preload_libraries 1858
UnlinkLockFiles 2158
ChangeToDataDir 2162
CreateDataDirLockFile 2162
checkDataDir 2162
SetDataDir 2174
RestoreClientConnectionInfo 2736
has_rolreplication 3440
GetSessionUserIsSuperuser 3646
pg_bindtextdomain 3662
CreateLockFile 3864
InitializeSessionUserIdStandalone 5456
AddToDataDirLockFile 10764
GetUserNameFromId 21594
process_session_preload_libraries 23416
SetAuthenticatedUserId 29354
InitializeSessionUserId 29360
GetAuthenticatedUserId 32720
SetDatabasePath 33028
ValidatePgVersion 35090
SetSessionAuthorization 41060
SetSessionUserId 41060
SwitchBackToLocalLatch 44078
SwitchToSharedLatch 44078
InitPostmasterChild 44552
SetCurrentRoleId 45020
InitProcessLocalLatch 46778
load_libraries 48690
InLocalUserIdChange 67168
GetSessionUserId 70028
InSecurityRestrictedOperation 79362
SetOuterUserId 83786
SetUserIdAndSecContext 1528082
GetBackendTypeDesc 1662434
GetUserIdAndSecContext 1886480
GetUserId 13307248

Generated by: LCOV version 1.16