LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UBC CBC
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 93.0 % 824 766 58 766
Current Date: 2026-10-12 11:56:10 +0200 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20261012-baseline Branches: 60.2 % 440 265 175 265
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 93.5 % 62 58 4 58
(360..) days: 92.9 % 762 708 54 708
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.4 % 38 37 1 37
Branch coverage date bins:
(30,360] days: 75.6 % 82 62 20 62
(360..) days: 56.7 % 358 203 155 203

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
StartupDecodingContext CBC 1268 95.1 % (78 / 82) 62.9 % (39 / 62)
CreateInitDecodingContext CBC 542 91.3 % (42 / 46) 50.0 % (14 / 28)
LoadOutputPlugin CBC 1238 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalReplicationSlotCheckPendingWal CBC 4 82.8 % (24 / 29) 54.5 % (12 / 22)
LogicalSlotAdvanceAndCheckSnapState CBC 22 87.1 % (27 / 31) 58.3 % (14 / 24)
CreateDecodingContext CBC 733 97.1 % (33 / 34) 80.4 % (37 / 46)
DecodingContextFindStartpoint CBC 528 90.5 % (19 / 21) 56.2 % (9 / 16)
stream_prepare_cb_wrapper CBC 17 95.2 % (20 / 21) 40.0 % (4 / 10)
stream_truncate_cb_wrapper UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
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)
prepare_cb_wrapper CBC 29 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_start_cb_wrapper CBC 666 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 666 95.0 % (19 / 20) 37.5 % (3 / 8)
LogicalConfirmReceivedLocation CBC 22615 100.0 % (47 / 47) 88.9 % (32 / 36)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
CheckLogicalDecodingRequirements CBC 1811 100.0 % (8 / 8) 75.0 % (9 / 12)
LogicalIncreaseRestartDecodingForSlot CBC 510 100.0 % (27 / 27) 83.3 % (15 / 18)
OutputPluginPrepareWrite CBC 357040 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 357040 83.3 % (5 / 6) 25.0 % (1 / 4)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
truncate_cb_wrapper CBC 33 94.4 % (17 / 18) 50.0 % (2 / 4)
LogicalIncreaseXminForSlot CBC 569 100.0 % (21 / 21) 92.9 % (13 / 14)
begin_cb_wrapper CBC 2037 100.0 % (17 / 17) 50.0 % (1 / 2)
change_cb_wrapper CBC 182360 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 2032 100.0 % (17 / 17) 50.0 % (1 / 2)
filter_by_origin_cb_wrapper CBC 1510067 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 170 100.0 % (14 / 14) 50.0 % (1 / 2)
shutdown_cb_wrapper CBC 966 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 1237 100.0 % (14 / 14) 50.0 % (1 / 2)
update_progress_txn_cb_wrapper CBC 3336 100.0 % (17 / 17) 50.0 % (1 / 2)
FreeDecodingContext CBC 992 100.0 % (8 / 8) 100.0 % (2 / 2)
OutputPluginUpdateProgress CBC 5001 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats CBC 6992 100.0 % (25 / 25) 100.0 % (10 / 10)
output_plugin_error_callback CBC 631 100.0 % (11 / 11) 100.0 % (2 / 2)
DecodingContextReady CBC 2683 100.0 % (2 / 2)
ResetLogicalStreamingState CBC 41075 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1