LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - logical.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: Differential Code Coverage 16@8cea358b128 vs 17@8cea358b128 Lines: 92.9 % 790 734 8 48 52 682 1
Current Date: 2024-04-14 14:21:10 Functions: 97.6 % 41 40 1 3 37
Baseline: 16@8cea358b128 Branches: 57.0 % 426 243 20 163 34 209
Baseline Date: 2024-04-14 14:21:09 Line coverage date bins:
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed [..60] days: 88.9 % 36 32 4 32
(120,180] days: 83.3 % 24 20 4 20
(240..) days: 93.4 % 730 682 48 682
Function coverage date bins:
[..60] days: 100.0 % 1 1 1
(120,180] days: 100.0 % 1 1 1
(240..) days: 97.4 % 39 38 1 1 37
Branch coverage date bins:
[..60] days: 66.7 % 36 24 12 24
(120,180] days: 55.6 % 18 10 8 10
(240..) days: 56.2 % 372 209 163 209

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 1353 90.0 % (9 / 10) 64.3 % (9 / 14)
CreateDecodingContext GNC 566 94.7 % (36 / 38) 70.4 % (38 / 54)
CreateInitDecodingContext CBC 398 90.9 % (40 / 44) 50.0 % (17 / 34)
DecodingContextFindStartpoint CBC 389 90.5 % (19 / 21) 55.6 % (10 / 18)
DecodingContextReady CBC 434 100.0 % (2 / 2)
FreeDecodingContext CBC 764 100.0 % (8 / 8) 100.0 % (2 / 2)
LoadOutputPlugin CBC 934 69.2 % (9 / 13) 25.0 % (4 / 16)
LogicalConfirmReceivedLocation CBC 46969 100.0 % (39 / 39) 76.5 % (26 / 34)
LogicalIncreaseRestartDecodingForSlot CBC 368 100.0 % (25 / 25) 80.0 % (16 / 20)
LogicalIncreaseXminForSlot CBC 409 100.0 % (21 / 21) 87.5 % (14 / 16)
LogicalReplicationSlotHasPendingWal GNC 5 83.3 % (20 / 24) 55.6 % (10 / 18)
LogicalSlotAdvanceAndCheckSnapState GNC 13 87.9 % (29 / 33) 58.3 % (14 / 24)
OutputPluginPrepareWrite CBC 339229 83.3 % (5 / 6) 25.0 % (1 / 4)
OutputPluginUpdateProgress CBC 4048 100.0 % (4 / 4) 100.0 % (2 / 2)
OutputPluginWrite CBC 339229 83.3 % (5 / 6) 25.0 % (1 / 4)
ResetLogicalStreamingState CBC 27381 100.0 % (4 / 4)
StartupDecodingContext CBC 952 98.3 % (59 / 60) 58.8 % (20 / 34)
UpdateDecodingStats CBC 5385 100.0 % (22 / 22) 100.0 % (8 / 8)
begin_cb_wrapper CBC 1192 100.0 % (17 / 17) 50.0 % (1 / 2)
begin_prepare_cb_wrapper CBC 22 95.0 % (19 / 20) 37.5 % (3 / 8)
change_cb_wrapper CBC 167066 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_cb_wrapper CBC 1189 100.0 % (17 / 17) 50.0 % (1 / 2)
commit_prepared_cb_wrapper CBC 29 95.0 % (19 / 20) 37.5 % (3 / 8)
filter_by_origin_cb_wrapper CBC 1507610 100.0 % (14 / 14) 50.0 % (1 / 2)
filter_prepare_cb_wrapper CBC 115 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 CBC 13 100.0 % (11 / 11) 100.0 % (2 / 2)
prepare_cb_wrapper CBC 22 95.0 % (19 / 20) 37.5 % (3 / 8)
rollback_prepared_cb_wrapper CBC 9 95.0 % (19 / 20) 37.5 % (3 / 8)
shutdown_cb_wrapper CBC 746 100.0 % (14 / 14) 50.0 % (1 / 2)
startup_cb_wrapper CBC 933 100.0 % (14 / 14) 50.0 % (1 / 2)
stream_abort_cb_wrapper CBC 29 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_change_cb_wrapper CBC 176010 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 16 95.2 % (20 / 21) 40.0 % (4 / 10)
stream_start_cb_wrapper CBC 663 95.0 % (19 / 20) 37.5 % (3 / 8)
stream_stop_cb_wrapper CBC 663 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 42 94.4 % (17 / 18) 50.0 % (2 / 4)
update_progress_txn_cb_wrapper CBC 3187 100.0 % (17 / 17) 50.0 % (1 / 2)

Generated by: LCOV version 2.1-beta2-3-g6141622