LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UBC CBC
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 93.0 % 824 766 58 766
Current Date: 2026-09-20 14:13:17 +0900 Functions: 97.6 % 41 40 1 40
Baseline: lcov-20260920-baseline Branches: 60.2 % 440 265 175 265
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.0 % 67 63 4 63
(360..) days: 92.9 % 757 703 54 703
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: 78.3 % 92 72 20 72
(360..) days: 55.5 % 348 193 155 193

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
CheckLogicalDecodingRequirements CBC 1785 100.0 % (8 / 8) 75.0 % (9 / 12)
CreateDecodingContext CBC 727 97.1 % (33 / 34) 80.4 % (37 / 46)
CreateInitDecodingContext CBC 532 91.3 % (42 / 46) 50.0 % (14 / 28)
DecodingContextFindStartpoint CBC 518 90.5 % (19 / 21) 56.2 % (9 / 16)
DecodingContextReady CBC 1819 100.0 % (2 / 2)
FreeDecodingContext CBC 981 100.0 % (8 / 8) 100.0 % (2 / 2)
LoadOutputPlugin CBC 1222 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalConfirmReceivedLocation CBC 24476 100.0 % (47 / 47) 88.9 % (32 / 36)
LogicalIncreaseRestartDecodingForSlot CBC 498 100.0 % (27 / 27) 83.3 % (15 / 18)
LogicalIncreaseXminForSlot CBC 550 100.0 % (21 / 21) 92.9 % (13 / 14)
LogicalReplicationSlotCheckPendingWal CBC 4 82.8 % (24 / 29) 54.5 % (12 / 22)
LogicalSlotAdvanceAndCheckSnapState CBC 22 87.1 % (27 / 31) 58.3 % (14 / 24)
OutputPluginPrepareWrite CBC 357250 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginUpdateProgress CBC 4846 100.0 % (4 / 4) 100.0 % (2 / 2)
OutputPluginWrite CBC 357250 83.3 % (5 / 6) 25.0 % (1 / 4)
ResetLogicalStreamingState CBC 40855 100.0 % (4 / 4)
StartupDecodingContext CBC 1252 95.1 % (78 / 82) 62.9 % (39 / 62)
UpdateDecodingStats CBC 6683 100.0 % (25 / 25) 100.0 % (10 / 10)
begin_cb_wrapper CBC 1864 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
change_cb_wrapper CBC 187561 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 1859 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_prepared_cb_wrapper CBC 35 95.0 % (19 / 20) 37.5 % (3 / 8)
filter_by_origin_cb_wrapper CBC 1458548 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 170 100.0 % (14 / 14) 50.0 % (1 / 2)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
output_plugin_error_callback CBC 475 100.0 % (11 / 11) 100.0 % (2 / 2)
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)
shutdown_cb_wrapper CBC 955 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 1221 100.0 % (14 / 14) 50.0 % (1 / 2)
stream_abort_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_change_cb_wrapper CBC 171008 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_commit_cb_wrapper CBC 50 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 655 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 655 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_truncate_cb_wrapper UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
truncate_cb_wrapper CBC 36 94.4 % (17 / 18) 50.0 % (2 / 4)
update_progress_txn_cb_wrapper CBC 3349 100.0 % (17 / 17) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1