LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - procarray.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 86.1 % 1433 1234 6 11 182 20 97 1117 9 77
Current Date: 2024-04-14 14:21:10 Functions: 88.6 % 79 70 2 7 1 33 36 1
Baseline: 16@8cea358b128 Branches: 61.4 % 986 605 27 4 350 16 39 550
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 96.0 % 50 48 2 48
(60,120] days: 100.0 % 4 4 4
(120,180] days: 91.2 % 34 31 3 31
(180,240] days: 93.3 % 15 14 1 14
(240..) days: 85.5 % 1330 1137 11 182 20 1117
Function coverage date bins:
[..60] days: 100.0 % 2 2 2
(240..) days: 88.3 % 77 68 2 7 1 31 36
Branch coverage date bins:
[..60] days: 68.4 % 38 26 12 26
(60,120] days: 50.0 % 4 2 2 2
(120,180] days: 40.0 % 20 8 12 8
(180,240] days: 75.0 % 4 3 1 3
(240..) days: 61.5 % 920 566 4 350 16 550

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
BackendPidGetProc CBC 6101 85.7 % (6 / 7) 50.0 % (1 / 2)
BackendPidGetProcWithLock CBC 8014 90.9 % (10 / 11) 83.3 % (5 / 6)
BackendXidGetPid GNC 30 93.3 % (14 / 15) 83.3 % (5 / 6)
CancelDBBackends GNC 10 100.0 % (14 / 14) 75.0 % (6 / 8)
CancelVirtualTransaction GBC 3 100.0 % (2 / 2)
ComputeXidHorizons GNC 157391 100.0 % (76 / 76) 70.8 % (34 / 48)
CountDBBackends CBC 31 92.9 % (13 / 14) 75.0 % (6 / 8)
CountDBConnections UBC 0 0.0 % (0 / 16) 0.0 % (0 / 10)
CountOtherDBBackends CBC 335 65.5 % (19 / 29) 40.0 % (8 / 20)
CountUserBackends UBC 0 0.0 % (0 / 15) 0.0 % (0 / 8)
CreateSharedProcArray GNC 898 100.0 % (24 / 24) 75.0 % (3 / 4)
ExpireAllKnownAssignedTransactionIds CBC 94 100.0 % (6 / 6)
ExpireOldKnownAssignedTransactionIds CBC 400 100.0 % (7 / 7) 100.0 % (2 / 2)
ExpireTreeKnownAssignedTransactionIds GNC 20222 100.0 % (8 / 8) 50.0 % (1 / 2)
FullXidRelativeTo CBC 11477629 100.0 % (7 / 7) 50.0 % (2 / 4)
GetConflictingVirtualXIDs GNC 14140 92.3 % (24 / 26) 77.3 % (17 / 22)
GetCurrentVirtualXIDs CBC 343 100.0 % (25 / 25) 80.0 % (16 / 20)
GetMaxSnapshotSubxidCount CBC 33544 100.0 % (2 / 2)
GetMaxSnapshotXidCount CBC 33704 100.0 % (2 / 2)
GetOldestActiveTransactionId GNC 490 100.0 % (16 / 16) 87.5 % (7 / 8)
GetOldestNonRemovableTransactionId CBC 111289 91.7 % (11 / 12) 80.0 % (4 / 5)
GetOldestSafeDecodingTransactionId GNC 569 100.0 % (23 / 23) 95.0 % (19 / 20)
GetOldestTransactionIdConsideredRunning CBC 1039 100.0 % (3 / 3)
GetReplicationHorizons CBC 34 100.0 % (5 / 5)
GetRunningTransactionData GNC 953 96.4 % (53 / 55) 75.0 % (24 / 32)
GetSnapshotData GNC 1874856 98.2 % (107 / 109) 71.4 % (50 / 70)
GetSnapshotDataReuse GNC 1874856 100.0 % (18 / 18) 80.0 % (8 / 10)
GetVirtualXIDsDelayingChkpt CBC 2205 100.0 % (16 / 16) 75.0 % (6 / 8)
GlobalVisCheckRemovableFullXid CBC 757 100.0 % (3 / 3)
GlobalVisCheckRemovableXid CBC 6 100.0 % (3 / 3)
GlobalVisHorizonKindForRel CBC 13751892 100.0 % (10 / 10) 72.5 % (29 / 40)
GlobalVisTestFor CBC 13640603 100.0 % (18 / 18) 63.6 % (7 / 11)
GlobalVisTestIsRemovableFullXid CBC 9508599 100.0 % (10 / 10) 87.5 % (7 / 8)
GlobalVisTestIsRemovableXid CBC 9507842 100.0 % (3 / 3)
GlobalVisTestNonRemovableFullHorizon LBC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
GlobalVisTestNonRemovableHorizon LBC 0 0.0 % (0 / 3)
GlobalVisTestShouldUpdate CBC 303326 83.3 % (5 / 6) 75.0 % (3 / 4)
GlobalVisUpdate CBC 45029 100.0 % (3 / 3)
GlobalVisUpdateApply CBC 157391 100.0 % (11 / 11)
HaveVirtualXIDsDelayingChkpt CBC 1 84.2 % (16 / 19) 62.5 % (10 / 16)
IsBackendPid CBC 2 100.0 % (2 / 2)
KnownAssignedTransactionIdsIdleMaintenance CBC 13169 100.0 % (3 / 3)
KnownAssignedXidExists UBC 0 0.0 % (0 / 3) 0.0 % (0 / 2)
KnownAssignedXidsAdd GNC 22389 67.6 % (23 / 34) 44.1 % (15 / 34)
KnownAssignedXidsCompress CBC 33827 100.0 % (32 / 32) 92.3 % (24 / 26)
KnownAssignedXidsDisplay CBC 143 100.0 % (13 / 13) 66.7 % (4 / 6)
KnownAssignedXidsGet UBC 0 0.0 % (0 / 3)
KnownAssignedXidsGetAndSetXmin GNC 1023 100.0 % (16 / 16) 83.3 % (10 / 12)
KnownAssignedXidsGetOldestXmin GNC 192 100.0 % (8 / 8) 75.0 % (3 / 4)
KnownAssignedXidsRemove GNC 25053 100.0 % (5 / 5) 50.0 % (2 / 4)
KnownAssignedXidsRemovePreceding GNC 494 89.7 % (26 / 29) 63.6 % (14 / 22)
KnownAssignedXidsRemoveTree CBC 20258 100.0 % (7 / 7) 100.0 % (4 / 4)
KnownAssignedXidsReset UBC 0 0.0 % (0 / 8)
KnownAssignedXidsSearch GNC 25053 97.1 % (34 / 35) 87.5 % (21 / 24)
MaintainLatestCompletedXid GNC 115294 100.0 % (10 / 10) 66.7 % (8 / 12)
MaintainLatestCompletedXidRecovery GNC 20360 100.0 % (12 / 12) 57.1 % (8 / 14)
MinimumActiveBackends UBC 0 0.0 % (0 / 22) 0.0 % (0 / 16)
ProcArrayAdd GNC 16764 97.3 % (36 / 37) 59.1 % (13 / 22)
ProcArrayApplyRecoveryInfo GNC 400 70.5 % (43 / 61) 43.9 % (29 / 66)
ProcArrayApplyXidAssignment CBC 36 92.3 % (12 / 13) 62.5 % (5 / 8)
ProcArrayClearTransaction GNC 391 100.0 % (19 / 19) 58.3 % (7 / 12)
ProcArrayEndTransaction GNC 432521 100.0 % (22 / 22) 66.7 % (12 / 18)
ProcArrayEndTransactionInternal GNC 114251 100.0 % (23 / 23) 62.5 % (10 / 16)
ProcArrayGetReplicationSlotXmin CBC 22 87.5 % (7 / 8) 50.0 % (2 / 4)
ProcArrayGroupClearXid GNC 432 94.7 % (36 / 38) 77.8 % (14 / 18)
ProcArrayInitRecovery CBC 138 100.0 % (6 / 6) 50.0 % (3 / 6)
ProcArrayInstallImportedXmin GNC 18 78.6 % (22 / 28) 50.0 % (9 / 18)
ProcArrayInstallRestoredXmin CBC 1491 100.0 % (16 / 16) 50.0 % (5 / 10)
ProcArrayRemove GNC 16181 100.0 % (38 / 38) 57.7 % (15 / 26)
ProcArraySetReplicationSlotXmin CBC 2028 100.0 % (10 / 10) 90.0 % (9 / 10)
ProcArrayShmemSize CBC 1679 100.0 % (9 / 9) 100.0 % (2 / 2)
ProcNumberGetProc GNC 544 100.0 % (7 / 7) 83.3 % (5 / 6)
ProcNumberGetTransactionIds GNC 7285 93.3 % (14 / 15) 50.0 % (3 / 6)
RecordKnownAssignedTransactionIds GNC 2703420 89.5 % (17 / 19) 60.0 % (12 / 20)
SignalVirtualTransaction GNC 5 100.0 % (17 / 17) 50.0 % (4 / 8)
TerminateOtherDBBackends CBC 1 41.2 % (14 / 34) 11.9 % (5 / 42)
TransactionIdIsActive UBC 0 0.0 % (0 / 20) 0.0 % (0 / 10)
TransactionIdIsInProgress GNC 8999296 83.6 % (56 / 67) 70.0 % (35 / 50)
XidCacheRemoveRunningXids GNC 648 92.9 % (26 / 28) 54.2 % (13 / 24)

Generated by: LCOV version 2.1-beta2-3-g6141622