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

Generated by: LCOV version 2.0-1