LCOV - differential code coverage report
Current view: top level - src/backend/replication/logical - applyparallelworker.c (source / functions) Coverage Total Hit UNC UBC GNC CBC EUB ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 89.4 % 424 379 1 44 9 370 1 10
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 36 36 8 28 1
Baseline: lcov-20260315-024220-baseline Branches: 61.5 % 231 142 2 87 4 138 6 6 2 4
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 90.9 % 11 10 1 9 1
(360..) days: 89.3 % 413 369 44 369
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 35 35 7 28
Branch coverage date bins:
(30,360] days: 66.7 % 6 4 2 4
(360..) days: 58.2 % 237 138 87 138 6 6

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

Generated by: LCOV version 2.4-beta