LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 93.2 % 833 776 57 2 774 2
Current Date: 2026-11-28 16:48:44 +0900 Functions: 97.6 % 42 41 1 2 39
Baseline: lcov-20261128-baseline Branches: 60.4 % 444 268 176 268
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 2 2 2
(7,30] days: 83.3 % 12 10 2 10
(30,360] days: 97.7 % 43 42 1 42
(360..) days: 93.0 % 776 722 54 722
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 3 3 3
(360..) days: 97.4 % 38 37 1 2 35
Branch coverage date bins:
(7,30] days: 50.0 % 6 3 3 3
(30,360] days: 77.1 % 48 37 11 37
(360..) days: 58.5 % 390 228 162 228

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 1337 97.5 % (78 / 80) 62.9 % (39 / 62)
CreateInitDecodingContext CBC 560 91.3 % (42 / 46) 50.0 % (14 / 28)
LoadOutputPlugin CBC 1305 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalReplicationSlotCheckPendingWal CBC 4 82.8 % (24 / 29) 54.5 % (12 / 22)
LogicalSlotAdvanceAndCheckSnapState CBC 24 87.1 % (27 / 31) 58.3 % (14 / 24)
CreateDecodingContext CBC 784 97.1 % (33 / 34) 80.4 % (37 / 46)
DecodingContextFindStartpoint CBC 546 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 36 95.0 % (19 / 20) 37.5 % (3 / 8)
prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
rollback_prepared_cb_wrapper CBC 10 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_abort_cb_wrapper CBC 31 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_change_cb_wrapper CBC 175914 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 696 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 695 95.0 % (19 / 20) 37.5 % (3 / 8)
LogicalConfirmReceivedLocation CBC 23837 100.0 % (47 / 47) 88.9 % (32 / 36)
stream_message_cb_wrapper GNC 4 94.7 % (18 / 19) 50.0 % (4 / 8)
CheckLogicalDecodingRequirements CBC 1896 100.0 % (8 / 8) 75.0 % (9 / 12)
LogicalIncreaseRestartDecodingForSlot CBC 619 100.0 % (27 / 27) 83.3 % (15 / 18)
OutputPluginPrepareWrite CBC 357117 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 357115 83.3 % (5 / 6) 25.0 % (1 / 4)
message_cb_wrapper GNC 18 94.4 % (17 / 18) 66.7 % (4 / 6)
truncate_cb_wrapper CBC 26 94.4 % (17 / 18) 50.0 % (2 / 4)
LogicalIncreaseXminForSlot CBC 695 100.0 % (21 / 21) 92.9 % (13 / 14)
begin_cb_wrapper CBC 2536 100.0 % (17 / 17) 50.0 % (1 / 2)
change_cb_wrapper CBC 179486 100.0 % (17 / 17) 50.0 % (1 / 2)
check_output_plugin_libraries CBC 1382 90.9 % (10 / 11) 75.0 % (3 / 4)
commit_cb_wrapper CBC 2529 100.0 % (17 / 17) 50.0 % (1 / 2)
filter_by_origin_cb_wrapper CBC 1596993 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 999 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 1304 100.0 % (14 / 14) 50.0 % (1 / 2)
update_progress_txn_cb_wrapper CBC 3337 100.0 % (17 / 17) 50.0 % (1 / 2)
FreeDecodingContext CBC 1027 100.0 % (8 / 8) 100.0 % (2 / 2)
OutputPluginUpdateProgress CBC 5496 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats CBC 7844 100.0 % (25 / 25) 100.0 % (10 / 10)
output_plugin_error_callback CBC 1042 100.0 % (11 / 11) 100.0 % (2 / 2)
DecodingContextReady CBC 4924 100.0 % (2 / 2)
ResetLogicalStreamingState CBC 42959 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1