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: c70b6db34ffeab48beef1fb4ce61bcad3772b8dd vs 06473f5a344df8c9594ead90a609b86f6724cff8 Lines: 92.9 % 791 735 56 6 729 6
Current Date: 2025-09-06 07:49:51 +0900 Functions: 97.6 % 41 40 1 5 35
Baseline: lcov-20250907-010129-baseline Branches: 57.3 % 422 242 1 179 1 9 232
Baseline Date: 2025-09-05 08:21:35 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 97.4 % 39 38 1 6 32
(360..) days: 92.7 % 752 697 55 697
Function coverage date bins:
(360..) days: 97.6 % 41 40 1 5 35
Branch coverage date bins:
(30,360] days: 86.4 % 22 19 1 2 9 10
(360..) days: 55.8 % 400 223 177 1 222

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)
stream_message_cb_wrapper CBC 3 94.7 % (18 / 19) 50.0 % (4 / 8)
LogicalReplicationSlotHasPendingWal CBC 5 83.3 % (20 / 24) 55.6 % (10 / 18)
rollback_prepared_cb_wrapper CBC 11 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_prepare_cb_wrapper CBC 15 95.2 % (20 / 21) 40.0 % (4 / 10)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
LogicalSlotAdvanceAndCheckSnapState CBC 18 87.9 % (29 / 33) 58.3 % (14 / 24)
truncate_cb_wrapper CBC 22 94.4 % (17 / 18) 50.0 % (2 / 4)
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)
commit_prepared_cb_wrapper CBC 32 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_commit_cb_wrapper CBC 51 95.0 % (19 / 20) 37.5 % (3 / 8)
output_plugin_error_callback GNC 136 100.0 % (11 / 11) 100.0 % (2 / 2)
filter_prepare_cb_wrapper CBC 148 100.0 % (14 / 14) 50.0 % (1 / 2)
LogicalIncreaseRestartDecodingForSlot GNC 369 100.0 % (27 / 27) 80.0 % (16 / 20)
LogicalIncreaseXminForSlot GNC 420 100.0 % (21 / 21) 87.5 % (14 / 16)
DecodingContextFindStartpoint GNC 422 90.5 % (19 / 21) 55.6 % (10 / 18)
CreateInitDecodingContext CBC 432 90.9 % (40 / 44) 50.0 % (17 / 34)
DecodingContextReady CBC 464 100.0 % (2 / 2)
CreateDecodingContext GNC 624 97.1 % (33 / 34) 73.9 % (34 / 46)
stream_start_cb_wrapper CBC 678 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 678 95.0 % (19 / 20) 37.5 % (3 / 8)
shutdown_cb_wrapper CBC 815 100.0 % (14 / 14) 50.0 % (1 / 2)
FreeDecodingContext CBC 838 100.0 % (8 / 8) 100.0 % (2 / 2)
startup_cb_wrapper CBC 1026 100.0 % (14 / 14) 50.0 % (1 / 2)
LoadOutputPlugin CBC 1027 69.2 % (9 / 13) 25.0 % (4 / 16)
StartupDecodingContext CBC 1050 98.3 % (59 / 60) 58.8 % (20 / 34)
commit_cb_wrapper CBC 1329 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_cb_wrapper CBC 1334 100.0 % (17 / 17) 50.0 % (1 / 2)
CheckLogicalDecodingRequirements CBC 1473 80.0 % (8 / 10) 50.0 % (7 / 14)
update_progress_txn_cb_wrapper CBC 3107 100.0 % (17 / 17) 50.0 % (1 / 2)
OutputPluginUpdateProgress CBC 4132 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats CBC 5455 100.0 % (22 / 22) 100.0 % (8 / 8)
LogicalConfirmReceivedLocation CBC 10921 100.0 % (42 / 42) 81.6 % (31 / 38)
ResetLogicalStreamingState CBC 29628 100.0 % (4 / 4)
change_cb_wrapper CBC 158050 100.0 % (17 / 17) 50.0 % (1 / 2)
stream_change_cb_wrapper CBC 176006 95.0 % (19 / 20) 37.5 % (3 / 8)
OutputPluginPrepareWrite CBC 336196 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 336196 83.3 % (5 / 6) 25.0 % (1 / 4)
filter_by_origin_cb_wrapper CBC 1244744 100.0 % (14 / 14) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta