LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - origin.c (source / functions) Coverage Total Hit UNC UIC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 89.2 % 492 439 3 50 7 68 364 4 53
Current Date: 2026-03-14 14:10:32 -0400 Functions: 93.9 % 33 31 1 1 21 10 6
Baseline: lcov-20260315-024220-baseline Branches: 57.1 % 361 206 28 4 123 1 60 145 18 44
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: 96.7 % 91 88 3 68 20
(360..) days: 87.5 % 401 351 50 7 344
Function coverage date bins:
(30,360] days: 100.0 % 9 9 8 1
(360..) days: 91.7 % 24 22 1 1 13 9
Branch coverage date bins:
(30,360] days: 72.7 % 128 93 28 7 60 33
(360..) days: 48.5 % 233 113 4 116 1 112

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
CheckPointReplicationOrigin GNC 1802 73.9 % (34 / 46) 34.2 % (13 / 38)
StartupReplicationOrigin GNC 1000 77.3 % (34 / 44) 38.0 % (19 / 50)
pg_replication_origin_oid UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
pg_replication_origin_xact_reset UNC 0 0.0 % (0 / 4)
replorigin_session_setup GNC 508 90.7 % (39 / 43) 63.8 % (37 / 58)
pg_replication_origin_session_progress GNC 2 80.0 % (8 / 10) 33.3 % (2 / 6)
replorigin_check_prerequisites CBC 68 66.7 % (4 / 6) 50.0 % (6 / 12)
replorigin_redo GNC 4 90.9 % (20 / 22) 55.6 % (5 / 9)
pg_replication_origin_progress GNC 3 90.9 % (10 / 11) 50.0 % (2 / 4)
pg_replication_origin_xact_setup GNC 1 87.5 % (7 / 8) 25.0 % (1 / 4)
replorigin_create CBC 388 96.4 % (27 / 28) 55.6 % (10 / 18)
replorigin_drop_by_name CBC 524 94.1 % (16 / 17) 50.0 % (4 / 8)
IsReservedOriginName CBC 13 100.0 % (3 / 3) 100.0 % (4 / 4)
ReplicationOriginExitCleanup GNC 502 100.0 % (4 / 4) 100.0 % (2 / 2)
ReplicationOriginShmemInit CBC 1150 100.0 % (13 / 13) 68.8 % (11 / 16)
ReplicationOriginShmemSize CBC 4445 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_replication_origin_advance CBC 3 100.0 % (9 / 9)
pg_replication_origin_create CBC 14 100.0 % (8 / 8) 83.3 % (5 / 6)
pg_replication_origin_drop CBC 9 100.0 % (6 / 6)
pg_replication_origin_session_is_setup GNC 4 100.0 % (3 / 3)
pg_replication_origin_session_reset GNC 10 100.0 % (5 / 5)
pg_replication_origin_session_setup GNC 11 100.0 % (9 / 9)
pg_show_replication_origin_status GNC 11 100.0 % (25 / 25) 83.3 % (5 / 6)
replorigin_by_name CBC 1046 100.0 % (11 / 11) 83.3 % (5 / 6)
replorigin_get_progress GNC 8 100.0 % (16 / 16) 87.5 % (7 / 8)
replorigin_session_advance GNC 1125 100.0 % (10 / 10) 62.5 % (5 / 8)
replorigin_session_get_progress GNC 281 100.0 % (9 / 9) 66.7 % (4 / 6)
replorigin_session_reset GNC 203 100.0 % (9 / 9) 75.0 % (9 / 12)
replorigin_session_reset_internal GNC 506 100.0 % (12 / 12) 66.7 % (4 / 6)
replorigin_xact_clear GNC 795 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta