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: f256a7bba7286058bbf9d5ce160e3237dfe83b79 vs 8ec97e78a7713a1ebf4976b55c19f6c9bc2716d9 Lines: 92.9 % 791 735 56 6 729 6
Current Date: 2025-09-08 17:13:31 -0400 Functions: 97.6 % 41 40 1 5 35
Baseline: lcov-20250909-005752-baseline Branches: 57.3 % 422 242 1 179 1 9 232
Baseline Date: 2025-09-08 15:52:48 +0900 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
CheckLogicalDecodingRequirements CBC 1483 80.0 % (8 / 10) 50.0 % (7 / 14)
CreateDecodingContext GNC 626 97.1 % (33 / 34) 73.9 % (34 / 46)
CreateInitDecodingContext CBC 436 90.9 % (40 / 44) 50.0 % (17 / 34)
DecodingContextFindStartpoint GNC 426 90.5 % (19 / 21) 55.6 % (10 / 18)
DecodingContextReady CBC 903 100.0 % (2 / 2)
FreeDecodingContext CBC 841 100.0 % (8 / 8) 100.0 % (2 / 2)
LoadOutputPlugin CBC 1033 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalConfirmReceivedLocation CBC 10421 100.0 % (42 / 42) 81.6 % (31 / 38)
LogicalIncreaseRestartDecodingForSlot GNC 386 100.0 % (27 / 27) 80.0 % (16 / 20)
LogicalIncreaseXminForSlot GNC 439 100.0 % (21 / 21) 87.5 % (14 / 16)
LogicalReplicationSlotHasPendingWal CBC 5 83.3 % (20 / 24) 55.6 % (10 / 18)
LogicalSlotAdvanceAndCheckSnapState CBC 18 87.9 % (29 / 33) 58.3 % (14 / 24)
OutputPluginPrepareWrite CBC 336173 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginUpdateProgress CBC 4222 100.0 % (4 / 4) 100.0 % (2 / 2)
OutputPluginWrite CBC 336173 83.3 % (5 / 6) 25.0 % (1 / 4)
ResetLogicalStreamingState CBC 29689 100.0 % (4 / 4)
StartupDecodingContext CBC 1056 98.3 % (59 / 60) 58.8 % (20 / 34)
UpdateDecodingStats CBC 5642 100.0 % (22 / 22) 100.0 % (8 / 8)
begin_cb_wrapper CBC 1392 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_prepare_cb_wrapper CBC 29 95.0 % (19 / 20) 37.5 % (3 / 8)
change_cb_wrapper CBC 166054 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 1391 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_prepared_cb_wrapper CBC 32 95.0 % (19 / 20) 37.5 % (3 / 8)
filter_by_origin_cb_wrapper CBC 1298190 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 148 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 GNC 193 100.0 % (11 / 11) 100.0 % (2 / 2)
prepare_cb_wrapper CBC 29 95.0 % (19 / 20) 37.5 % (3 / 8)
rollback_prepared_cb_wrapper CBC 10 95.0 % (19 / 20) 37.5 % (3 / 8)
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)
stream_abort_cb_wrapper CBC 30 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_change_cb_wrapper CBC 171006 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 15 95.2 % (20 / 21) 40.0 % (4 / 10)
stream_start_cb_wrapper CBC 676 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 676 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 22 94.4 % (17 / 18) 50.0 % (2 / 4)
update_progress_txn_cb_wrapper CBC 3138 100.0 % (17 / 17) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta