LCOV - differential code coverage report
Current view: top level - src/backend/storage/ipc - latch.c (source / functions) Coverage Total Hit UBC CBC
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 96.6 % 87 84 3 84
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 9 9 9
Baseline: lcov-20260315-024220-baseline Branches: 61.8 % 68 42 26 42
Baseline Date: 2026-03-14 15:27:56 +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: 96.4 % 84 81 3 81
Function coverage date bins:
(360..) days: 100.0 % 9 9 9
Branch coverage date bins:
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 62.1 % 66 41 25 41

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
DisownLatch CBC 21613 100.0 % (5 / 5) 50.0 % (2 / 4)
OwnLatch CBC 21675 85.7 % (6 / 7) 33.3 % (2 / 6)
InitializeLatchWaitSet CBC 22041 100.0 % (9 / 9) 62.5 % (5 / 8)
InitLatch CBC 22975 100.0 % (6 / 6)
WaitLatchOrSocket CBC 86722 95.5 % (21 / 22) 54.2 % (13 / 24)
InitSharedLatch CBC 150534 100.0 % (6 / 6)
WaitLatch CBC 1030063 100.0 % (12 / 12) 78.6 % (11 / 14)
SetLatch CBC 1386579 92.9 % (13 / 14) 87.5 % (7 / 8)
ResetLatch CBC 1903486 100.0 % (6 / 6) 50.0 % (2 / 4)

Generated by: LCOV version 2.4-beta