LCOV - differential code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 80.4 % 489 393 96 1 3 389 3
Current Date: 2026-11-05 14:14:01 +0100 Functions: 94.1 % 51 48 3 2 46
Baseline: lcov-20261105-baseline Branches: 49.6 % 399 198 1 1 2 197 3 4 1 190
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 3 3 3
(360..) days: 80.2 % 486 390 96 1 389
Function coverage date bins:
(360..) days: 94.1 % 51 48 3 2 46
Branch coverage date bins:
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 49.6 % 397 197 1 2 197 3 4 190

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
GetUserIdAndContext UBC 0 0.0 % (0 / 4)
SetUserIdAndContext UBC 0 0.0 % (0 / 8) 0.0 % (0 / 6)
TouchSocketLockFiles UBC 0 0.0 % (0 / 7) 0.0 % (0 / 8)
GetSystemUser CBC 22 100.0 % (2 / 2)
system_user CBC 22 100.0 % (5 / 5) 100.0 % (2 / 2)
RecheckDataDirLockFile CBC 41 50.0 % (12 / 24) 18.8 % (3 / 16)
InitializeSystemUser CBC 126 100.0 % (7 / 7) 50.0 % (2 / 4)
InNoForceRLSOperation CBC 172 100.0 % (2 / 2)
InitStandaloneProcess CBC 285 93.3 % (14 / 15) 40.0 % (4 / 10)
EstimateClientConnectionInfoSpace CBC 674 100.0 % (6 / 6) 100.0 % (2 / 2)
SerializeClientConnectionInfo CBC 674 100.0 % (16 / 16) 75.0 % (6 / 8)
GetCurrentRoleId CBC 722 100.0 % (4 / 4) 100.0 % (2 / 2)
InitializeSessionUserIdStandalone CBC 918 100.0 % (7 / 7) 85.7 % (12 / 14)
CreateSocketLockFile CBC 1040 100.0 % (4 / 4)
GetOuterUserId CBC 1112 100.0 % (3 / 3) 50.0 % (1 / 2)
process_shmem_requests CBC 1124 100.0 % (6 / 6) 100.0 % (2 / 2)
process_shared_preload_libraries CBC 1137 100.0 % (6 / 6)
UnlinkLockFiles CBC 1314 100.0 % (6 / 6) 90.0 % (9 / 10)
ChangeToDataDir CBC 1318 80.0 % (4 / 5) 33.3 % (2 / 6)
CreateDataDirLockFile CBC 1318 100.0 % (3 / 3)
checkDataDir CBC 1318 64.7 % (11 / 17) 22.7 % (5 / 22)
SetDataDir CBC 1320 100.0 % (6 / 6) 50.0 % (1 / 2)
RestoreClientConnectionInfo CBC 2043 100.0 % (8 / 8) 100.0 % (2 / 2)
has_rolreplication CBC 2097 100.0 % (9 / 9) 75.0 % (3 / 4)
CreateLockFile GNC 2358 68.4 % (52 / 76) 43.3 % (39 / 90)
pg_bindtextdomain CBC 2390 100.0 % (6 / 6) 50.0 % (1 / 2)
GetSessionUserIsSuperuser CBC 2712 100.0 % (3 / 3) 50.0 % (1 / 2)
AddToDataDirLockFile GNC 6553 71.7 % (33 / 46) 43.8 % (14 / 32)
GetUserNameFromId CBC 12400 88.9 % (8 / 9) 50.0 % (3 / 6)
process_session_preload_libraries CBC 14222 100.0 % (4 / 4)
SetDatabasePath CBC 18044 100.0 % (4 / 4) 50.0 % (1 / 2)
SetAuthenticatedUserId CBC 18266 100.0 % (6 / 6) 50.0 % (2 / 4)
InitializeSessionUserId CBC 18268 82.1 % (23 / 28) 50.0 % (17 / 34)
ValidatePgVersion CBC 19303 72.2 % (13 / 18) 22.2 % (4 / 18)
GetAuthenticatedUserId CBC 20521 100.0 % (3 / 3) 50.0 % (1 / 2)
SetSessionAuthorization CBC 23694 100.0 % (5 / 5) 100.0 % (2 / 2)
SetSessionUserId CBC 23694 100.0 % (6 / 6) 50.0 % (2 / 4)
SwitchBackToLocalLatch CBC 24340 100.0 % (8 / 8) 62.5 % (5 / 8)
SwitchToSharedLatch CBC 24340 100.0 % (8 / 8) 66.7 % (4 / 6)
InitPostmasterChild CBC 24538 87.5 % (14 / 16) 25.0 % (2 / 8)
InitProcessLocalLatch CBC 25886 100.0 % (4 / 4)
SetCurrentRoleId CBC 26319 100.0 % (9 / 9) 100.0 % (4 / 4)
load_libraries CBC 29581 66.7 % (14 / 21) 59.1 % (13 / 22)
GetSessionUserId CBC 41718 100.0 % (3 / 3) 50.0 % (1 / 2)
InLocalUserIdChange CBC 42532 100.0 % (2 / 2)
SetOuterUserId CBC 48620 100.0 % (7 / 7) 66.7 % (4 / 6)
InSecurityRestrictedOperation CBC 49070 100.0 % (2 / 2)
GetBackendTypeDesc CBC 383881 100.0 % (4 / 4) 90.5 % (19 / 21)
SetUserIdAndSecContext CBC 1836373 100.0 % (4 / 4)
GetUserIdAndSecContext CBC 1953768 100.0 % (4 / 4)
GetUserId CBC 10736131 100.0 % (3 / 3) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1