LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 93.2 % 804 749 1 54 49 700 1 42
Current Date: 2026-05-29 21:51:00 -0400 Functions: 97.6 % 41 40 1 13 27 3
Baseline: lcov-20260530-034037-baseline Branches: 59.7 % 414 247 13 154 1 2 63 181 23 65
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
[..1] days: 100.0 % 2 2 2
(30,360] days: 98.2 % 55 54 1 47 7
(360..) days: 92.8 % 747 693 54 693
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.4 % 38 37 1 10 27
Branch coverage date bins:
[..1] days: 100.0 % 2 2 2
(30,360] days: 82.9 % 76 63 13 61 2
(360..) days: 54.2 % 336 182 154 1 2 179

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)
CreateInitDecodingContext GNC 504 91.3 % (42 / 46) 50.0 % (14 / 28)
LoadOutputPlugin CBC 1168 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalSlotAdvanceAndCheckSnapState GNC 22 87.9 % (29 / 33) 57.7 % (15 / 26)
DecodingContextFindStartpoint GNC 494 90.5 % (19 / 21) 56.2 % (9 / 16)
CreateDecodingContext GNC 696 97.1 % (33 / 34) 80.4 % (37 / 46)
OutputPluginPrepareWrite CBC 356978 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 356978 83.3 % (5 / 6) 25.0 % (1 / 4)
StartupDecodingContext GNC 1193 98.3 % (59 / 60) 58.8 % (20 / 34)
begin_prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
commit_prepared_cb_wrapper CBC 35 95.0 % (19 / 20) 37.5 % (3 / 8)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
rollback_prepared_cb_wrapper CBC 11 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_abort_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_change_cb_wrapper CBC 176008 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_commit_cb_wrapper CBC 51 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
stream_prepare_cb_wrapper CBC 17 95.2 % (20 / 21) 40.0 % (4 / 10)
stream_start_cb_wrapper CBC 680 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 680 95.0 % (19 / 20) 37.5 % (3 / 8)
truncate_cb_wrapper CBC 29 94.4 % (17 / 18) 50.0 % (2 / 4)
CheckLogicalDecodingRequirements GNC 1696 100.0 % (8 / 8) 75.0 % (9 / 12)
DecodingContextReady CBC 2241 100.0 % (2 / 2)
FreeDecodingContext CBC 944 100.0 % (8 / 8) 100.0 % (2 / 2)
LogicalConfirmReceivedLocation GNC 12296 100.0 % (47 / 47) 88.9 % (32 / 36)
LogicalIncreaseRestartDecodingForSlot GNC 454 100.0 % (27 / 27) 83.3 % (15 / 18)
LogicalIncreaseXminForSlot GNC 504 100.0 % (21 / 21) 92.9 % (13 / 14)
OutputPluginUpdateProgress CBC 4524 100.0 % (4 / 4) 100.0 % (2 / 2)
ResetLogicalStreamingState CBC 40780 100.0 % (4 / 4)
UpdateDecodingStats GNC 6187 100.0 % (25 / 25) 100.0 % (10 / 10)
begin_cb_wrapper CBC 1561 100.0 % (17 / 17) 50.0 % (1 / 2)
change_cb_wrapper CBC 179153 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 1557 100.0 % (17 / 17) 50.0 % (1 / 2)
filter_by_origin_cb_wrapper GNC 1388727 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 148 100.0 % (14 / 14) 50.0 % (1 / 2)
output_plugin_error_callback GNC 243 100.0 % (11 / 11) 100.0 % (2 / 2)
shutdown_cb_wrapper CBC 919 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 1167 100.0 % (14 / 14) 50.0 % (1 / 2)
update_progress_txn_cb_wrapper CBC 3313 100.0 % (17 / 17) 50.0 % (1 / 2)

Generated by: LCOV version 2.5.0-beta