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 EUB ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 93.2 % 804 749 1 54 48 701 1 41
Current Date: 2026-05-05 10:23:31 +0900 Functions: 97.6 % 41 40 1 13 27 3
Baseline: lcov-20260505-025707-baseline Branches: 59.5 % 412 245 13 154 1 61 183 10 10 13 53
Baseline Date: 2026-05-05 10:27:06 +0900 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: 98.2 % 55 54 1 43 11
(360..) days: 92.7 % 744 690 54 690
Function coverage date bins:
(7,30] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 2 2 2
(360..) days: 97.4 % 38 37 1 10 27
Branch coverage date bins:
(7,30] days: 100.0 % 4 4 4
(30,360] days: 82.9 % 76 63 13 57 6
(360..) days: 50.6 % 352 178 154 1 177 10 10

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
stream_truncate_cb_wrapper UBC 0 0.0 % (0 / 19) 0.0 % (0 / 6)
LogicalReplicationSlotCheckPendingWal GNC 3 82.8 % (24 / 29) 54.5 % (12 / 22)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
rollback_prepared_cb_wrapper CBC 11 95.0 % (19 / 20) 37.5 % (3 / 8)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
stream_prepare_cb_wrapper CBC 17 95.2 % (20 / 21) 40.0 % (4 / 10)
LogicalSlotAdvanceAndCheckSnapState GNC 21 87.9 % (29 / 33) 57.7 % (15 / 26)
begin_prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
prepare_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_abort_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
truncate_cb_wrapper CBC 32 94.4 % (17 / 18) 50.0 % (2 / 4)
commit_prepared_cb_wrapper CBC 35 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_commit_cb_wrapper CBC 51 95.0 % (19 / 20) 37.5 % (3 / 8)
filter_prepare_cb_wrapper CBC 148 100.0 % (14 / 14) 50.0 % (1 / 2)
output_plugin_error_callback GNC 314 100.0 % (11 / 11) 100.0 % (2 / 2)
LogicalIncreaseRestartDecodingForSlot GNC 452 100.0 % (27 / 27) 83.3 % (15 / 18)
DecodingContextFindStartpoint GNC 491 90.5 % (19 / 21) 56.2 % (9 / 16)
CreateInitDecodingContext GNC 501 91.3 % (42 / 46) 50.0 % (14 / 28)
LogicalIncreaseXminForSlot GNC 507 100.0 % (21 / 21) 92.9 % (13 / 14)
stream_start_cb_wrapper CBC 679 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 679 95.0 % (19 / 20) 37.5 % (3 / 8)
CreateDecodingContext GNC 693 97.1 % (33 / 34) 80.4 % (37 / 46)
shutdown_cb_wrapper CBC 914 100.0 % (14 / 14) 50.0 % (1 / 2)
FreeDecodingContext CBC 938 100.0 % (8 / 8) 100.0 % (2 / 2)
startup_cb_wrapper CBC 1162 100.0 % (14 / 14) 50.0 % (1 / 2)
LoadOutputPlugin CBC 1163 69.2 % (9 / 13) 25.0 % (4 / 16)
StartupDecodingContext GNC 1187 98.4 % (60 / 61) 58.8 % (20 / 34)
commit_cb_wrapper CBC 1629 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_cb_wrapper CBC 1631 100.0 % (17 / 17) 50.0 % (1 / 2)
CheckLogicalDecodingRequirements GNC 1688 100.0 % (8 / 8) 75.0 % (9 / 12)
DecodingContextReady CBC 2778 100.0 % (2 / 2)
update_progress_txn_cb_wrapper CBC 3314 100.0 % (17 / 17) 50.0 % (1 / 2)
OutputPluginUpdateProgress CBC 4605 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats GNC 6397 100.0 % (25 / 25) 100.0 % (10 / 10)
LogicalConfirmReceivedLocation GNC 11426 100.0 % (46 / 46) 88.2 % (30 / 34)
ResetLogicalStreamingState CBC 40733 100.0 % (4 / 4)
stream_change_cb_wrapper CBC 176008 95.0 % (19 / 20) 37.5 % (3 / 8)
change_cb_wrapper CBC 179130 100.0 % (17 / 17) 50.0 % (1 / 2)
OutputPluginPrepareWrite CBC 356931 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 356931 83.3 % (5 / 6) 25.0 % (1 / 4)
filter_by_origin_cb_wrapper GNC 1436791 100.0 % (14 / 14) 50.0 % (1 / 2)

Generated by: LCOV version 2.5.0-beta