LCOV - differential code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit LBC UIC UBC GBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 80.3 % 488 392 96 392 3 52
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.1 % 51 48 3 2 46
Baseline: lcov-20260630-baseline Branches: 49.6 % 399 198 1 2 198 4 4 190
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 1 1 1
(360..) days: 80.3 % 487 391 96 391
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 94.0 % 50 47 3 2 45
Branch coverage date bins:
(360..) days: 49.6 % 399 198 1 2 198 4 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
AddToDataDirLockFile CBC 6062 71.7 % (33 / 46) 43.8 % (14 / 32)
ChangeToDataDir CBC 1222 80.0 % (4 / 5) 33.3 % (2 / 6)
CreateDataDirLockFile CBC 1222 100.0 % (3 / 3)
CreateLockFile CBC 2183 68.0 % (51 / 75) 43.3 % (39 / 90)
CreateSocketLockFile CBC 961 100.0 % (4 / 4)
EstimateClientConnectionInfoSpace CBC 679 100.0 % (6 / 6) 100.0 % (2 / 2)
GetAuthenticatedUserId CBC 19761 100.0 % (3 / 3) 50.0 % (1 / 2)
GetBackendTypeDesc GNC 378053 100.0 % (4 / 4) 90.5 % (19 / 21)
GetCurrentRoleId CBC 727 100.0 % (4 / 4) 100.0 % (2 / 2)
GetOuterUserId CBC 1120 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSessionUserId CBC 39281 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSessionUserIsSuperuser CBC 2688 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSystemUser CBC 22 100.0 % (2 / 2)
GetUserId CBC 9168125 100.0 % (3 / 3) 50.0 % (1 / 2)
GetUserIdAndContext UBC 0 0.0 % (0 / 4)
GetUserIdAndSecContext CBC 1351869 100.0 % (4 / 4)
GetUserNameFromId CBC 12555 88.9 % (8 / 9) 50.0 % (3 / 6)
InLocalUserIdChange CBC 40624 100.0 % (2 / 2)
InNoForceRLSOperation CBC 179 100.0 % (2 / 2)
InSecurityRestrictedOperation CBC 47071 100.0 % (2 / 2)
InitPostmasterChild CBC 22909 87.5 % (14 / 16) 25.0 % (2 / 8)
InitProcessLocalLatch CBC 24162 100.0 % (4 / 4)
InitStandaloneProcess CBC 270 93.3 % (14 / 15) 40.0 % (4 / 10)
InitializeSessionUserId CBC 17074 82.1 % (23 / 28) 50.0 % (17 / 34)
InitializeSessionUserIdStandalone CBC 830 100.0 % (7 / 7) 85.7 % (12 / 14)
InitializeSystemUser CBC 122 100.0 % (7 / 7) 50.0 % (2 / 4)
RecheckDataDirLockFile CBC 43 50.0 % (12 / 24) 18.8 % (3 / 16)
RestoreClientConnectionInfo CBC 2012 100.0 % (8 / 8) 100.0 % (2 / 2)
SerializeClientConnectionInfo CBC 679 100.0 % (16 / 16) 75.0 % (6 / 8)
SetAuthenticatedUserId CBC 17072 100.0 % (6 / 6) 50.0 % (2 / 4)
SetCurrentRoleId CBC 25126 100.0 % (9 / 9) 100.0 % (4 / 4)
SetDataDir CBC 1225 100.0 % (6 / 6) 50.0 % (1 / 2)
SetDatabasePath CBC 16876 100.0 % (4 / 4) 50.0 % (1 / 2)
SetOuterUserId CBC 46466 100.0 % (7 / 7) 66.7 % (4 / 6)
SetSessionAuthorization CBC 22638 100.0 % (5 / 5) 100.0 % (2 / 2)
SetSessionUserId CBC 22638 100.0 % (6 / 6) 50.0 % (2 / 4)
SetUserIdAndContext UBC 0 0.0 % (0 / 8) 0.0 % (0 / 6)
SetUserIdAndSecContext CBC 656522 100.0 % (4 / 4)
SwitchBackToLocalLatch CBC 22675 100.0 % (8 / 8) 62.5 % (5 / 8)
SwitchToSharedLatch CBC 22675 100.0 % (8 / 8) 66.7 % (4 / 6)
TouchSocketLockFiles UBC 0 0.0 % (0 / 7) 0.0 % (0 / 8)
UnlinkLockFiles GNC 1220 100.0 % (6 / 6) 90.0 % (9 / 10)
ValidatePgVersion CBC 18042 72.2 % (13 / 18) 22.2 % (4 / 18)
checkDataDir CBC 1222 64.7 % (11 / 17) 22.7 % (5 / 22)
has_rolreplication CBC 1926 100.0 % (9 / 9) 75.0 % (3 / 4)
load_libraries CBC 27510 66.7 % (14 / 21) 59.1 % (13 / 22)
pg_bindtextdomain CBC 2374 100.0 % (6 / 6) 50.0 % (1 / 2)
process_session_preload_libraries CBC 13229 100.0 % (4 / 4)
process_shared_preload_libraries CBC 1052 100.0 % (6 / 6)
process_shmem_requests CBC 1039 100.0 % (6 / 6) 100.0 % (2 / 2)
system_user CBC 22 100.0 % (5 / 5) 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1