LCOV - code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 93.0 % 786 731
Test Date: 2026-11-25 15:17:13 Functions: 97.6 % 42 41
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 63.7 % 350 223

Function Name Sort by function name Hit count Sort by function hit count
stream_truncate_cb_wrapper 0
LogicalReplicationSlotCheckPendingWal 4
stream_message_cb_wrapper 4
rollback_prepared_cb_wrapper 9
message_cb_wrapper 17
stream_prepare_cb_wrapper 17
LogicalSlotAdvanceAndCheckSnapState 23
truncate_cb_wrapper 24
prepare_cb_wrapper 26
begin_prepare_cb_wrapper 27
stream_abort_cb_wrapper 31
commit_prepared_cb_wrapper 34
stream_commit_cb_wrapper 51
filter_prepare_cb_wrapper 170
DecodingContextFindStartpoint 550
CreateInitDecodingContext 564
LogicalIncreaseRestartDecodingForSlot 590
DecodingContextReady 630
LogicalIncreaseXminForSlot 655
stream_start_cb_wrapper 685
stream_stop_cb_wrapper 685
CreateDecodingContext 809
output_plugin_error_callback 1000
shutdown_cb_wrapper 1003
FreeDecodingContext 1030
startup_cb_wrapper 1334
LoadOutputPlugin 1335
StartupDecodingContext 1366
check_output_plugin_libraries 1416
CheckLogicalDecodingRequirements 1930
commit_cb_wrapper 2522
begin_cb_wrapper 2531
update_progress_txn_cb_wrapper 3393
OutputPluginUpdateProgress 5529
UpdateDecodingStats 7268
LogicalConfirmReceivedLocation 19541
ResetLogicalStreamingState 43039
stream_change_cb_wrapper 175636
change_cb_wrapper 184860
OutputPluginWrite 362317
OutputPluginPrepareWrite 362319
filter_by_origin_cb_wrapper 1346289

Generated by: LCOV version 2.0-1