LCOV - differential code coverage report
Current view: top level - src/backend/executor - spi.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC ECB DUB DCB
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 71.4 % 1257 898 4 2 353 6 892 2 3 5
Current Date: 2026-07-25 17:13:00 -0400 Functions: 81.0 % 84 68 2 1 13 6 62 1 3
Baseline: lcov-20260726-baseline Branches: 54.5 % 805 439 366 439
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 54.5 % 11 6 4 1 6
(30,360] days: 60.0 % 10 6 4 6
(360..) days: 71.7 % 1236 886 1 349 886 2
Function coverage date bins:
(7,30] days: 60.0 % 5 3 1 1 3
(30,360] days: 100.0 % 1 1 1
(360..) days: 82.1 % 78 64 1 13 3 61
Branch coverage date bins:
(360..) days: 54.5 % 805 439 366 439

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
AtEOSubXact_SPI CBC 12671 94.7 % (36 / 38) 83.3 % (30 / 36)
AtEOXact_SPI CBC 428070 94.1 % (16 / 17) 75.0 % (9 / 12)
SPI_commit CBC 2142 100.0 % (3 / 3)
SPI_commit_and_chain CBC 2 100.0 % (3 / 3)
SPI_connect CBC 9108 100.0 % (2 / 2)
SPI_connect_ext CBC 67800 94.7 % (36 / 38) 58.3 % (14 / 24)
SPI_copytuple CBC 1384 63.6 % (7 / 11) 50.0 % (2 / 4)
SPI_cursor_close CBC 8246 80.0 % (4 / 5) 25.0 % (1 / 4)
SPI_cursor_fetch CBC 29657 100.0 % (4 / 4)
SPI_cursor_find CBC 362 100.0 % (2 / 2)
SPI_cursor_move UBC 0 0.0 % (0 / 4)
SPI_cursor_open CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
SPI_cursor_open_internal CBC 8315 85.3 % (58 / 68) 56.7 % (34 / 60)
SPI_cursor_open_with_args UBC 0 0.0 % (0 / 21) 0.0 % (0 / 18)
SPI_cursor_open_with_paramlist CBC 1780 100.0 % (2 / 2)
SPI_cursor_parse_open CBC 6402 88.9 % (16 / 18) 41.7 % (5 / 12)
SPI_datumTransfer CBC 3706 85.7 % (6 / 7) 25.0 % (1 / 4)
SPI_exec CBC 325 100.0 % (2 / 2)
SPI_execp LBC 0 0.0 % (0 / 2)
SPI_execute CBC 854 88.2 % (15 / 17) 50.0 % (3 / 6)
SPI_execute_extended CBC 11320 88.2 % (15 / 17) 62.5 % (5 / 8)
SPI_execute_plan CBC 2627 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_execute_plan_extended CBC 1714 77.8 % (7 / 9) 50.0 % (4 / 8)
SPI_execute_plan_with_paramlist CBC 48704 84.6 % (11 / 13) 50.0 % (4 / 8)
SPI_execute_snapshot CBC 3301 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_execute_with_args UBC 0 0.0 % (0 / 25) 0.0 % (0 / 14)
SPI_finish CBC 66233 94.1 % (16 / 17) 75.0 % (3 / 4)
SPI_fname CBC 644 66.7 % (6 / 9) 50.0 % (4 / 8)
SPI_fnumber CBC 13009 90.0 % (9 / 10) 75.0 % (6 / 8)
SPI_freeplan CBC 4440 87.5 % (7 / 8) 70.0 % (7 / 10)
SPI_freetuple UBC 0 0.0 % (0 / 3)
SPI_freetuptable CBC 121000 84.2 % (16 / 19) 60.0 % (12 / 20)
SPI_getargcount UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
SPI_getargtypeid UBC 0 0.0 % (0 / 6) 0.0 % (0 / 8)
SPI_getbinval CBC 33763 57.1 % (4 / 7) 50.0 % (3 / 6)
SPI_getnspname CBC 141 100.0 % (2 / 2)
SPI_getrelname CBC 183 100.0 % (2 / 2)
SPI_gettype UBC 0 0.0 % (0 / 15) 0.0 % (0 / 10)
SPI_gettypeid CBC 782 62.5 % (5 / 8) 50.0 % (4 / 8)
SPI_getvalue CBC 5577 76.9 % (10 / 13) 60.0 % (6 / 10)
SPI_inside_nonatomic_context CBC 422052 75.0 % (6 / 8) 66.7 % (4 / 6)
SPI_is_cursor_plan CBC 8315 58.3 % (7 / 12) 50.0 % (4 / 8)
SPI_keepplan CBC 19303 90.0 % (9 / 10) 64.3 % (9 / 14)
SPI_palloc CBC 24 75.0 % (3 / 4) 25.0 % (1 / 4)
SPI_pfree UBC 0 0.0 % (0 / 3)
SPI_plan_get_cached_plan CBC 19326 89.5 % (17 / 19) 60.0 % (6 / 10)
SPI_plan_get_plan_sources CBC 38812 100.0 % (3 / 3) 50.0 % (1 / 2)
SPI_plan_is_valid CBC 1455 100.0 % (7 / 7) 80.0 % (8 / 10)
SPI_prepare GNC 2412 100.0 % (2 / 2)
SPI_prepare_extended CBC 17980 84.2 % (16 / 19) 50.0 % (3 / 6)
SPI_prepare_params UBC 0 0.0 % (0 / 19) 0.0 % (0 / 4)
SPI_register_relation CBC 550 80.0 % (12 / 15) 60.0 % (6 / 10)
SPI_register_trigger_data CBC 10507 88.5 % (23 / 26) 70.0 % (7 / 10)
SPI_repalloc UBC 0 0.0 % (0 / 2)
SPI_result_code_string CBC 60 15.2 % (10 / 66) 12.5 % (4 / 32)
SPI_returntuple CBC 3270 64.3 % (9 / 14) 60.0 % (6 / 10)
SPI_rollback CBC 94 100.0 % (3 / 3)
SPI_rollback_and_chain CBC 2 100.0 % (3 / 3)
SPI_saveplan UBC 0 0.0 % (0 / 10) 0.0 % (0 / 6)
SPI_scroll_cursor_fetch CBC 201 100.0 % (3 / 3)
SPI_scroll_cursor_move CBC 28 100.0 % (3 / 3)
SPI_start_transaction UBC 0 0.0 % (0 / 2)
SPI_unregister_relation UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
_SPI_begin_call CBC 200298 85.7 % (6 / 7) 75.0 % (3 / 4)
_SPI_checktuples CBC 56336 77.8 % (7 / 9) 50.0 % (2 / 4)
_SPI_commit CBC 2144 96.8 % (30 / 31) 77.8 % (14 / 18)
_SPI_cursor_operation CBC 29886 83.3 % (15 / 18) 35.7 % (5 / 14)
_SPI_end_call CBC 130753 100.0 % (6 / 6) 100.0 % (2 / 2)
_SPI_error_callback CBC 3783 95.0 % (19 / 20) 85.7 % (6 / 7)
_SPI_execmem CBC 133515 100.0 % (2 / 2)
_SPI_execute_plan GNC 68514 91.5 % (130 / 142) 79.5 % (97 / 122)
_SPI_find_ENR_by_name CBC 550 100.0 % (5 / 5) 75.0 % (3 / 4)
_SPI_make_plan_non_temp GNC 20330 100.0 % (27 / 27) 71.4 % (10 / 14)
_SPI_pquery CBC 50890 88.4 % (38 / 43) 78.6 % (22 / 28)
_SPI_prepare_oneshot_plan CBC 12174 100.0 % (17 / 17) 83.3 % (5 / 6)
_SPI_prepare_plan GNC 26794 100.0 % (24 / 24) 80.0 % (8 / 10)
_SPI_procmem CBC 190770 100.0 % (2 / 2)
_SPI_rollback CBC 96 93.5 % (29 / 31) 66.7 % (12 / 18)
_SPI_save_plan UNC 0 0.0 % (0 / 28) 0.0 % (0 / 16)
spi_dest_startup CBC 60567 88.9 % (16 / 18) 25.0 % (2 / 8)
spi_printtup CBC 73720 66.7 % (10 / 15) 30.0 % (3 / 10)

Generated by: LCOV version 2.0-1