LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - origin.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 87.4 % 493 431 9 5 48 2 81 348 6 69
Current Date: 2026-05-29 21:51:00 -0400 Functions: 91.2 % 34 31 2 1 23 8 8
Baseline: lcov-20260530-034037-baseline Branches: 55.6 % 347 193 37 1 8 108 65 128 32 62
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 90.0 % 90 81 9 81
(360..) days: 86.8 % 403 350 5 48 2 348
Function coverage date bins:
(30,360] days: 90.9 % 11 10 1 10
(360..) days: 91.3 % 23 21 1 1 13 8
Branch coverage date bins:
(30,360] days: 63.7 % 102 65 37 65
(360..) days: 52.2 % 245 128 1 8 108 128

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 1950 73.9 % (34 / 46) 34.2 % (13 / 38)
StartupReplicationOrigin GNC 1083 77.3 % (34 / 44) 38.0 % (19 / 50)
pg_replication_origin_oid UBC 0 0.0 % (0 / 8) 0.0 % (0 / 2)
replorigin_state_clear GNC 350 75.0 % (18 / 24) 41.7 % (5 / 12)
ReplicationOriginShmemAttach UNC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
pg_replication_origin_xact_reset UNC 0 0.0 % (0 / 4)
replorigin_session_setup GNC 521 90.9 % (40 / 44) 61.1 % (33 / 54)
replorigin_advance GNC 254 92.9 % (39 / 42) 68.2 % (30 / 44)
pg_replication_origin_session_progress GNC 2 80.0 % (8 / 10) 33.3 % (2 / 6)
replorigin_check_prerequisites CBC 69 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 409 96.4 % (27 / 28) 55.6 % (10 / 18)
replorigin_drop_by_name CBC 547 94.1 % (16 / 17) 50.0 % (4 / 8)
IsReservedOriginName CBC 14 100.0 % (3 / 3) 100.0 % (4 / 4)
ReplicationOriginExitCleanup GNC 515 100.0 % (4 / 4) 100.0 % (2 / 2)
ReplicationOriginShmemRequest GNC 1251 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_replication_origin_advance CBC 3 100.0 % (9 / 9)
pg_replication_origin_create CBC 15 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 1083 100.0 % (11 / 11) 83.3 % (5 / 6)
replorigin_session_advance GNC 1158 100.0 % (10 / 10) 62.5 % (5 / 8)
replorigin_session_get_progress GNC 290 100.0 % (9 / 9) 66.7 % (4 / 6)
replorigin_session_reset GNC 208 100.0 % (9 / 9) 75.0 % (9 / 12)
replorigin_session_reset_internal GNC 519 100.0 % (12 / 12) 66.7 % (4 / 6)
replorigin_xact_clear GNC 820 100.0 % (6 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.5.0-beta