LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DCB
Current: b45a8d7d8b306b43f31a002f1b3f1dddc8defeaf vs 8767b449a3a1e75626dfb08f24da54933171d4c5 Lines: 92.9 % 794 738 56 13 725 10
Current Date: 2025-10-28 08:26:42 +0900 Functions: 97.6 % 41 40 1 7 33
Baseline: lcov-20251028-005825-baseline Branches: 57.5 % 426 245 2 179 1 20 224
Baseline Date: 2025-10-27 06:37:35 +0000 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 5 5 5
(30,360] days: 97.5 % 40 39 1 8 31
(360..) days: 92.7 % 749 694 55 694
Function coverage date bins:
(360..) days: 97.6 % 41 40 1 7 33
Branch coverage date bins:
(7,30] days: 100.0 % 10 10 10
(30,360] days: 81.8 % 22 18 2 2 10 8
(360..) days: 55.1 % 394 217 177 1 216

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
CreateInitDecodingContext CBC 434 90.9 % (40 / 44) 50.0 % (17 / 34)
StartupDecodingContext CBC 1056 98.3 % (59 / 60) 58.8 % (20 / 34)
CreateDecodingContext GNC 628 97.1 % (33 / 34) 73.9 % (34 / 46)
LoadOutputPlugin CBC 1033 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalSlotAdvanceAndCheckSnapState GNC 18 87.9 % (29 / 33) 57.7 % (15 / 26)
DecodingContextFindStartpoint GNC 424 90.5 % (19 / 21) 55.6 % (10 / 18)
LogicalReplicationSlotHasPendingWal CBC 5 83.3 % (20 / 24) 55.6 % (10 / 18)
CheckLogicalDecodingRequirements CBC 1481 80.0 % (8 / 10) 50.0 % (7 / 14)
LogicalConfirmReceivedLocation CBC 15165 100.0 % (42 / 42) 81.6 % (31 / 38)
stream_prepare_cb_wrapper CBC 15 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 32 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 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 176006 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 687 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 687 95.0 % (19 / 20) 37.5 % (3 / 8)
LogicalIncreaseRestartDecodingForSlot GNC 378 100.0 % (27 / 27) 80.0 % (16 / 20)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
OutputPluginPrepareWrite CBC 336268 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 336268 83.3 % (5 / 6) 25.0 % (1 / 4)
LogicalIncreaseXminForSlot GNC 429 100.0 % (21 / 21) 87.5 % (14 / 16)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
truncate_cb_wrapper CBC 22 94.4 % (17 / 18) 50.0 % (2 / 4)
begin_cb_wrapper CBC 1427 100.0 % (17 / 17) 50.0 % (1 / 2)
change_cb_wrapper CBC 158078 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 1424 100.0 % (17 / 17) 50.0 % (1 / 2)
filter_by_origin_cb_wrapper CBC 1346173 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 148 100.0 % (14 / 14) 50.0 % (1 / 2)
shutdown_cb_wrapper CBC 818 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 1032 100.0 % (14 / 14) 50.0 % (1 / 2)
update_progress_txn_cb_wrapper CBC 3098 100.0 % (17 / 17) 50.0 % (1 / 2)
FreeDecodingContext CBC 841 100.0 % (8 / 8) 100.0 % (2 / 2)
OutputPluginUpdateProgress CBC 4218 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats GNC 5839 100.0 % (25 / 25) 100.0 % (10 / 10)
output_plugin_error_callback GNC 212 100.0 % (11 / 11) 100.0 % (2 / 2)
DecodingContextReady CBC 466 100.0 % (2 / 2)
ResetLogicalStreamingState CBC 29959 100.0 % (4 / 4)

Generated by: LCOV version 2.4-beta