LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - applyparallelworker.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 89.4 % 425 380 1 44 9 371 1 11
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 36 36 9 27 1
Baseline: lcov-20260530-034037-baseline Branches: 61.7 % 235 145 2 1 87 4 141 8 10
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 92.3 % 13 12 1 9 3
(360..) days: 89.3 % 412 368 44 368
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 35 35 8 27
Branch coverage date bins:
(30,360] days: 70.0 % 10 7 2 1 4 3
(360..) days: 61.3 % 225 138 1 86 138

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
HandleParallelApplyMessageInterrupt GNC 14 100.0 % (4 / 4)
LogicalParallelApplyLoop GNC 12 86.7 % (26 / 30) 50.0 % (12 / 24)
ParallelApplyWorkerMain GNC 12 93.0 % (40 / 43) 25.0 % (2 / 8)
ProcessParallelApplyInterrupts CBC 63986 100.0 % (9 / 9) 87.5 % (7 / 8)
ProcessParallelApplyMessage GNC 3 60.0 % (9 / 15) 33.3 % (3 / 9)
ProcessParallelApplyMessages CBC 8 91.7 % (22 / 24) 72.2 % (13 / 18)
pa_allocate_worker CBC 86 91.3 % (21 / 23) 60.0 % (12 / 20)
pa_can_start GNC 86 81.8 % (9 / 11) 75.0 % (6 / 8)
pa_decr_and_wait_stream_block CBC 254 88.9 % (8 / 9) 60.0 % (6 / 10)
pa_detach_all_error_mq CBC 360 100.0 % (7 / 7) 87.5 % (7 / 8)
pa_find_worker CBC 277789 91.7 % (11 / 12) 80.0 % (8 / 10)
pa_free_worker CBC 25 92.9 % (13 / 14) 57.1 % (8 / 14)
pa_free_worker_info CBC 5 92.3 % (12 / 13) 60.0 % (6 / 10)
pa_get_fileset_state CBC 73 100.0 % (6 / 6) 50.0 % (1 / 2)
pa_get_xact_state CBC 327 100.0 % (5 / 5)
pa_launch_parallel_worker GNC 29 77.3 % (17 / 22) 83.3 % (10 / 12)
pa_lock_stream CBC 280 100.0 % (3 / 3)
pa_lock_transaction CBC 56 100.0 % (3 / 3)
pa_process_spooled_messages_if_required CBC 57 80.0 % (12 / 15) 75.0 % (6 / 8)
pa_reset_subtrans CBC 25 100.0 % (3 / 3)
pa_savepoint_name CBC 27 100.0 % (3 / 3)
pa_send_data CBC 68906 45.0 % (9 / 20) 22.7 % (5 / 22)
pa_set_fileset_state CBC 16 100.0 % (9 / 9) 66.7 % (4 / 6)
pa_set_stream_apply_worker CBC 510 100.0 % (3 / 3)
pa_set_xact_state CBC 54 100.0 % (5 / 5)
pa_setup_dsm CBC 12 96.8 % (30 / 31) 50.0 % (1 / 2)
pa_shutdown CBC 12 100.0 % (4 / 4)
pa_start_subtrans CBC 68436 93.8 % (15 / 16) 90.0 % (9 / 10)
pa_stream_abort GNC 12 100.0 % (24 / 24) 100.0 % (10 / 10)
pa_switch_to_partial_serialize CBC 4 100.0 % (8 / 8) 50.0 % (2 / 4)
pa_unlock_stream CBC 276 100.0 % (3 / 3)
pa_unlock_transaction CBC 50 100.0 % (3 / 3)
pa_wait_for_xact_finish CBC 27 85.7 % (6 / 7) 25.0 % (1 / 4)
pa_wait_for_xact_state CBC 27 100.0 % (7 / 7) 75.0 % (3 / 4)
pa_xact_finish GNC 27 100.0 % (8 / 8) 75.0 % (3 / 4)

Generated by: LCOV version 2.5.0-beta