LCOV - differential code coverage report
Current view: top level - src/backend/utils/init - miscinit.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC DCB
Current: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 80.4 % 489 393 1 95 1 3 389 3
Current Date: 2026-08-27 14:31:44 +0300 Functions: 94.1 % 51 48 3 2 46
Baseline: lcov-20260827-baseline Branches: 49.6 % 399 198 1 2 198 1 197
Baseline Date: 2026-08-27 14:31:58 +0300 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 1 95 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 2 198 197

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 GNC 6234 71.7 % (33 / 46) 43.8 % (14 / 32)
ChangeToDataDir CBC 1249 80.0 % (4 / 5) 33.3 % (2 / 6)
CreateDataDirLockFile CBC 1249 100.0 % (3 / 3)
CreateLockFile GNC 2240 68.4 % (52 / 76) 43.3 % (39 / 90)
CreateSocketLockFile CBC 991 100.0 % (4 / 4)
EstimateClientConnectionInfoSpace CBC 679 100.0 % (6 / 6) 100.0 % (2 / 2)
GetAuthenticatedUserId CBC 20288 100.0 % (3 / 3) 50.0 % (1 / 2)
GetBackendTypeDesc CBC 381831 100.0 % (4 / 4) 90.5 % (19 / 21)
GetCurrentRoleId CBC 727 100.0 % (4 / 4) 100.0 % (2 / 2)
GetOuterUserId CBC 1127 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSessionUserId CBC 40495 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSessionUserIsSuperuser CBC 2683 100.0 % (3 / 3) 50.0 % (1 / 2)
GetSystemUser CBC 22 100.0 % (2 / 2)
GetUserId CBC 9241407 100.0 % (3 / 3) 50.0 % (1 / 2)
GetUserIdAndContext UBC 0 0.0 % (0 / 4)
GetUserIdAndSecContext CBC 1364877 100.0 % (4 / 4)
GetUserNameFromId CBC 12558 88.9 % (8 / 9) 50.0 % (3 / 6)
InLocalUserIdChange CBC 41741 100.0 % (2 / 2)
InNoForceRLSOperation CBC 179 100.0 % (2 / 2)
InSecurityRestrictedOperation CBC 48273 100.0 % (2 / 2)
InitPostmasterChild CBC 23606 87.5 % (14 / 16) 25.0 % (2 / 8)
InitProcessLocalLatch CBC 24885 100.0 % (4 / 4)
InitStandaloneProcess CBC 267 93.3 % (14 / 15) 40.0 % (4 / 10)
InitializeSessionUserId CBC 17667 82.1 % (23 / 28) 50.0 % (17 / 34)
InitializeSessionUserIdStandalone CBC 861 100.0 % (7 / 7) 85.7 % (12 / 14)
InitializeSystemUser CBC 124 100.0 % (7 / 7) 50.0 % (2 / 4)
RecheckDataDirLockFile CBC 42 50.0 % (12 / 24) 18.8 % (3 / 16)
RestoreClientConnectionInfo CBC 2007 100.0 % (8 / 8) 100.0 % (2 / 2)
SerializeClientConnectionInfo CBC 679 100.0 % (16 / 16) 75.0 % (6 / 8)
SetAuthenticatedUserId CBC 17664 100.0 % (6 / 6) 50.0 % (2 / 4)
SetCurrentRoleId CBC 25774 100.0 % (9 / 9) 100.0 % (4 / 4)
SetDataDir CBC 1251 100.0 % (6 / 6) 50.0 % (1 / 2)
SetDatabasePath CBC 17452 100.0 % (4 / 4) 50.0 % (1 / 2)
SetOuterUserId CBC 47635 100.0 % (7 / 7) 66.7 % (4 / 6)
SetSessionAuthorization CBC 23185 100.0 % (5 / 5) 100.0 % (2 / 2)
SetSessionUserId CBC 23185 100.0 % (6 / 6) 50.0 % (2 / 4)
SetUserIdAndContext UBC 0 0.0 % (0 / 8) 0.0 % (0 / 6)
SetUserIdAndSecContext CBC 652875 100.0 % (4 / 4)
SwitchBackToLocalLatch CBC 23409 100.0 % (8 / 8) 62.5 % (5 / 8)
SwitchToSharedLatch CBC 23409 100.0 % (8 / 8) 66.7 % (4 / 6)
TouchSocketLockFiles UBC 0 0.0 % (0 / 7) 0.0 % (0 / 8)
UnlinkLockFiles CBC 1247 100.0 % (6 / 6) 90.0 % (9 / 10)
ValidatePgVersion CBC 18646 72.2 % (13 / 18) 22.2 % (4 / 18)
checkDataDir CBC 1249 64.7 % (11 / 17) 22.7 % (5 / 22)
has_rolreplication CBC 1993 100.0 % (9 / 9) 75.0 % (3 / 4)
load_libraries CBC 28588 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 13753 100.0 % (4 / 4)
process_shared_preload_libraries CBC 1082 100.0 % (6 / 6)
process_shmem_requests CBC 1069 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