LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 93.2 % 803 748 1 54 43 705 1 37
Current Date: 2026-03-14 14:10:32 -0400 Functions: 97.6 % 41 40 1 13 27 2
Baseline: lcov-20260315-024220-baseline Branches: 59.0 % 410 242 13 155 1 57 184 10 10 12 52
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: 98.2 % 55 54 1 43 11
(360..) days: 92.8 % 748 694 54 694
Function coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 97.4 % 39 38 1 11 27
Branch coverage date bins:
(30,360] days: 82.9 % 76 63 13 57 6
(360..) days: 50.6 % 354 179 155 1 178 10 10

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
stream_truncate_cb_wrapper UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
LogicalReplicationSlotCheckPendingWal GNC 3 82.8 % (24 / 29) 54.5 % (12 / 22)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
rollback_prepared_cb_wrapper CBC 10 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_prepare_cb_wrapper CBC 14 95.2 % (20 / 21) 40.0 % (4 / 10)
message_cb_wrapper CBC 17 94.4 % (17 / 18) 66.7 % (4 / 6)
LogicalSlotAdvanceAndCheckSnapState GNC 22 87.9 % (29 / 33) 57.7 % (15 / 26)
begin_prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_abort_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
truncate_cb_wrapper CBC 30 94.4 % (17 / 18) 50.0 % (2 / 4)
commit_prepared_cb_wrapper CBC 34 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_commit_cb_wrapper CBC 50 95.0 % (19 / 20) 37.5 % (3 / 8)
filter_prepare_cb_wrapper CBC 148 100.0 % (14 / 14) 50.0 % (1 / 2)
output_plugin_error_callback GNC 297 100.0 % (11 / 11) 100.0 % (2 / 2)
LogicalIncreaseRestartDecodingForSlot GNC 431 100.0 % (27 / 27) 83.3 % (15 / 18)
DecodingContextFindStartpoint GNC 482 90.5 % (19 / 21) 56.2 % (9 / 16)
LogicalIncreaseXminForSlot GNC 489 100.0 % (21 / 21) 92.9 % (13 / 14)
CreateInitDecodingContext GNC 492 91.3 % (42 / 46) 50.0 % (14 / 28)
stream_start_cb_wrapper CBC 660 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 660 95.0 % (19 / 20) 37.5 % (3 / 8)
CreateDecodingContext GNC 679 97.1 % (33 / 34) 77.3 % (34 / 44)
shutdown_cb_wrapper CBC 897 100.0 % (14 / 14) 50.0 % (1 / 2)
FreeDecodingContext CBC 922 100.0 % (8 / 8) 100.0 % (2 / 2)
startup_cb_wrapper CBC 1138 100.0 % (14 / 14) 50.0 % (1 / 2)
LoadOutputPlugin CBC 1139 69.2 % (9 / 13) 25.0 % (4 / 16)
StartupDecodingContext GNC 1164 98.3 % (59 / 60) 58.8 % (20 / 34)
DecodingContextReady CBC 1455 100.0 % (2 / 2)
commit_cb_wrapper CBC 1559 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_cb_wrapper CBC 1561 100.0 % (17 / 17) 50.0 % (1 / 2)
CheckLogicalDecodingRequirements GNC 1655 100.0 % (8 / 8) 75.0 % (9 / 12)
update_progress_txn_cb_wrapper CBC 3137 100.0 % (17 / 17) 50.0 % (1 / 2)
OutputPluginUpdateProgress CBC 4368 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats GNC 6655 100.0 % (25 / 25) 100.0 % (10 / 10)
LogicalConfirmReceivedLocation GNC 14316 100.0 % (46 / 46) 88.2 % (30 / 34)
ResetLogicalStreamingState CBC 31461 100.0 % (4 / 4)
change_cb_wrapper CBC 161334 100.0 % (17 / 17) 50.0 % (1 / 2)
stream_change_cb_wrapper CBC 175988 95.0 % (19 / 20) 37.5 % (3 / 8)
OutputPluginPrepareWrite CBC 336435 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 336435 83.3 % (5 / 6) 25.0 % (1 / 4)
filter_by_origin_cb_wrapper GNC 1567207 100.0 % (14 / 14) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta