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: 806555e3000d0b0e0c536c1dc65548128d457d86 vs 1d325ad99cb2dec0e8b45ba36909ee0a497d2a57 Lines: 92.9 % 794 738 56 30 708 27
Current Date: 2025-12-17 08:58:58 +0900 Functions: 97.6 % 41 40 1 10 30
Baseline: lcov-20251217-005640-baseline Branches: 57.5 % 426 245 9 172 1 45 199
Baseline Date: 2025-12-16 12:57:12 -0800 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 1 1 1
(30,360] days: 100.0 % 35 35 29 6
(360..) days: 92.6 % 758 702 56 702
Function coverage date bins:
(360..) days: 97.6 % 41 40 1 10 30
Branch coverage date bins:
(30,360] days: 83.3 % 60 50 9 1 45 5
(360..) days: 53.3 % 366 195 171 1 194

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 9 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_prepare_cb_wrapper CBC 12 95.2 % (20 / 21) 40.0 % (4 / 10)
message_cb_wrapper CBC 16 94.4 % (17 / 18) 66.7 % (4 / 6)
LogicalSlotAdvanceAndCheckSnapState GNC 18 87.9 % (29 / 33) 57.7 % (15 / 26)
truncate_cb_wrapper CBC 23 94.4 % (17 / 18) 50.0 % (2 / 4)
begin_prepare_cb_wrapper CBC 29 95.0 % (19 / 20) 37.5 % (3 / 8)
prepare_cb_wrapper CBC 29 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 50 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 185 100.0 % (11 / 11) 100.0 % (2 / 2)
LogicalIncreaseRestartDecodingForSlot GNC 384 100.0 % (27 / 27) 80.0 % (16 / 20)
DecodingContextFindStartpoint GNC 428 90.5 % (19 / 21) 55.6 % (10 / 18)
LogicalIncreaseXminForSlot GNC 436 100.0 % (21 / 21) 87.5 % (14 / 16)
CreateInitDecodingContext GNC 438 90.9 % (40 / 44) 50.0 % (17 / 34)
DecodingContextReady CBC 464 100.0 % (2 / 2)
CreateDecodingContext GNC 628 97.1 % (33 / 34) 73.9 % (34 / 46)
stream_start_cb_wrapper CBC 657 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 657 95.0 % (19 / 20) 37.5 % (3 / 8)
shutdown_cb_wrapper CBC 823 100.0 % (14 / 14) 50.0 % (1 / 2)
FreeDecodingContext CBC 846 100.0 % (8 / 8) 100.0 % (2 / 2)
startup_cb_wrapper CBC 1036 100.0 % (14 / 14) 50.0 % (1 / 2)
LoadOutputPlugin CBC 1037 69.2 % (9 / 13) 25.0 % (4 / 16)
StartupDecodingContext GNC 1060 98.3 % (59 / 60) 58.8 % (20 / 34)
commit_cb_wrapper CBC 1384 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_cb_wrapper CBC 1386 100.0 % (17 / 17) 50.0 % (1 / 2)
CheckLogicalDecodingRequirements CBC 1489 80.0 % (8 / 10) 50.0 % (7 / 14)
update_progress_txn_cb_wrapper CBC 3108 100.0 % (17 / 17) 50.0 % (1 / 2)
OutputPluginUpdateProgress CBC 4181 100.0 % (4 / 4) 100.0 % (2 / 2)
UpdateDecodingStats GNC 5893 100.0 % (25 / 25) 100.0 % (10 / 10)
LogicalConfirmReceivedLocation GNC 14602 100.0 % (42 / 42) 81.6 % (31 / 38)
ResetLogicalStreamingState CBC 30763 100.0 % (4 / 4)
change_cb_wrapper CBC 158067 100.0 % (17 / 17) 50.0 % (1 / 2)
stream_change_cb_wrapper CBC 175986 95.0 % (19 / 20) 37.5 % (3 / 8)
OutputPluginPrepareWrite CBC 336137 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginWrite CBC 336137 83.3 % (5 / 6) 25.0 % (1 / 4)
filter_by_origin_cb_wrapper CBC 1392231 100.0 % (14 / 14) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta