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: ba12a202ce1b5581dc0ed149cf3f637d7897ad5d vs 2866d8c7dbfc9d882a7d80fef93fbbe763709932 Lines: 71.4 % 1256 897 4 2 353 7 890 2 3 7
Current Date: 2026-08-27 14:31:44 +0300 Functions: 81.0 % 84 68 2 1 13 7 61 1 3
Baseline: lcov-20260827-baseline Branches: 54.5 % 805 439 366 439
Baseline Date: 2026-08-27 14:31:58 +0300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 60.0 % 20 12 4 1 3 6 6
(360..) days: 71.6 % 1235 884 1 350 884 2
Function coverage date bins:
(30,360] days: 66.7 % 6 4 1 1 3 1
(360..) days: 82.1 % 78 64 1 13 4 60
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
SPI_cursor_move UBC 0 0.0 % (0 / 4)
SPI_cursor_open_with_args UBC 0 0.0 % (0 / 21) 0.0 % (0 / 18)
SPI_execp LBC 0 0.0 % (0 / 2)
SPI_execute_with_args UBC 0 0.0 % (0 / 25) 0.0 % (0 / 14)
SPI_freetuple UBC 0 0.0 % (0 / 3)
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_gettype UBC 0 0.0 % (0 / 15) 0.0 % (0 / 10)
SPI_modifytuple UNC 0 0.0 % (0 / 28) 0.0 % (0 / 24)
SPI_pfree UBC 0 0.0 % (0 / 3)
SPI_prepare_params UBC 0 0.0 % (0 / 19) 0.0 % (0 / 4)
SPI_repalloc UBC 0 0.0 % (0 / 2)
SPI_saveplan UBC 0 0.0 % (0 / 10) 0.0 % (0 / 6)
SPI_start_transaction UBC 0 0.0 % (0 / 2)
SPI_unregister_relation UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
_SPI_save_plan UNC 0 0.0 % (0 / 28) 0.0 % (0 / 16)
SPI_commit_and_chain CBC 2 100.0 % (3 / 3)
SPI_rollback_and_chain CBC 2 100.0 % (3 / 3)
SPI_palloc CBC 24 75.0 % (3 / 4) 25.0 % (1 / 4)
SPI_scroll_cursor_move CBC 28 100.0 % (3 / 3)
SPI_result_code_string CBC 60 15.2 % (10 / 66) 12.5 % (4 / 32)
SPI_rollback CBC 96 100.0 % (3 / 3)
_SPI_rollback CBC 98 93.5 % (29 / 31) 66.7 % (12 / 18)
SPI_cursor_open CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
SPI_getnspname CBC 142 100.0 % (2 / 2)
SPI_getrelname CBC 185 100.0 % (2 / 2)
SPI_scroll_cursor_fetch CBC 201 100.0 % (3 / 3)
SPI_exec CBC 325 100.0 % (2 / 2)
SPI_cursor_find CBC 362 100.0 % (2 / 2)
SPI_register_relation CBC 550 80.0 % (12 / 15) 60.0 % (6 / 10)
_SPI_find_ENR_by_name CBC 550 100.0 % (5 / 5) 75.0 % (3 / 4)
SPI_fname CBC 644 66.7 % (6 / 9) 50.0 % (4 / 8)
SPI_gettypeid CBC 782 62.5 % (5 / 8) 50.0 % (4 / 8)
SPI_execute CBC 854 88.2 % (15 / 17) 50.0 % (3 / 6)
SPI_copytuple CBC 1384 63.6 % (7 / 11) 50.0 % (2 / 4)
SPI_plan_is_valid CBC 1423 100.0 % (7 / 7) 80.0 % (8 / 10)
SPI_execute_plan_extended CBC 1744 77.8 % (7 / 9) 50.0 % (4 / 8)
SPI_cursor_open_with_paramlist CBC 1803 100.0 % (2 / 2)
SPI_commit CBC 2142 100.0 % (3 / 3)
_SPI_commit CBC 2144 96.8 % (30 / 31) 77.8 % (14 / 18)
SPI_prepare GNC 2407 100.0 % (2 / 2)
SPI_prepare_cursor GNC 2407 84.2 % (16 / 19) 60.0 % (6 / 10)
SPI_execute_plan CBC 2656 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_execute_snapshot CBC 3267 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_returntuple CBC 3270 64.3 % (9 / 14) 60.0 % (6 / 10)
SPI_datumTransfer CBC 3718 85.7 % (6 / 7) 25.0 % (1 / 4)
_SPI_error_callback CBC 3799 95.0 % (19 / 20) 85.7 % (6 / 7)
SPI_freeplan CBC 4434 87.5 % (7 / 8) 70.0 % (7 / 10)
SPI_getvalue CBC 5635 76.9 % (10 / 13) 60.0 % (6 / 10)
_SPI_convert_params GNC 6056 100.0 % (11 / 11) 87.5 % (7 / 8)
SPI_cursor_parse_open CBC 6402 88.9 % (16 / 18) 41.7 % (5 / 12)
SPI_cursor_close CBC 8269 80.0 % (4 / 5) 25.0 % (1 / 4)
SPI_cursor_open_internal CBC 8338 85.3 % (58 / 68) 56.7 % (34 / 60)
SPI_is_cursor_plan CBC 8338 58.3 % (7 / 12) 50.0 % (4 / 8)
SPI_connect CBC 9124 100.0 % (2 / 2)
SPI_register_trigger_data CBC 10728 88.5 % (23 / 26) 70.0 % (7 / 10)
SPI_execute_extended CBC 11324 88.2 % (15 / 17) 62.5 % (5 / 8)
_SPI_prepare_oneshot_plan CBC 12178 100.0 % (17 / 17) 83.3 % (5 / 6)
SPI_fnumber CBC 13175 90.0 % (9 / 10) 75.0 % (6 / 8)
SPI_prepare_extended CBC 17891 84.2 % (16 / 19) 50.0 % (3 / 6)
SPI_keepplan CBC 19217 90.0 % (9 / 10) 64.3 % (9 / 14)
SPI_plan_get_cached_plan CBC 19300 89.5 % (17 / 19) 60.0 % (6 / 10)
_SPI_make_plan_non_temp GNC 20236 100.0 % (27 / 27) 71.4 % (10 / 14)
AtEOSubXact_SPI CBC 22866 94.7 % (36 / 38) 83.3 % (30 / 36)
_SPI_prepare_plan GNC 26700 100.0 % (24 / 24) 80.0 % (8 / 10)
SPI_cursor_fetch CBC 29703 100.0 % (4 / 4)
_SPI_cursor_operation CBC 29932 83.3 % (15 / 18) 35.7 % (5 / 14)
SPI_getbinval CBC 33865 57.1 % (4 / 7) 50.0 % (3 / 6)
SPI_plan_get_plan_sources CBC 38719 100.0 % (3 / 3) 50.0 % (1 / 2)
_SPI_checktuples CBC 56404 77.8 % (7 / 9) 50.0 % (2 / 4)
SPI_execute_plan_with_paramlist CBC 58842 84.6 % (11 / 13) 50.0 % (4 / 8)
spi_dest_startup CBC 60634 88.9 % (16 / 18) 25.0 % (2 / 8)
_SPI_pquery CBC 61093 88.4 % (38 / 43) 78.6 % (22 / 28)
SPI_finish CBC 66566 94.1 % (16 / 17) 75.0 % (3 / 4)
SPI_connect_ext GNC 68125 94.6 % (35 / 37) 58.3 % (14 / 24)
spi_printtup CBC 73931 66.7 % (10 / 15) 30.0 % (3 / 10)
_SPI_execute_plan GNC 78681 91.5 % (130 / 142) 79.5 % (97 / 122)
SPI_freetuptable CBC 131228 84.2 % (16 / 19) 60.0 % (12 / 20)
_SPI_end_call CBC 140879 100.0 % (6 / 6) 100.0 % (2 / 2)
_SPI_execmem CBC 143657 100.0 % (2 / 2)
_SPI_procmem CBC 200963 100.0 % (2 / 2)
_SPI_begin_call CBC 210773 85.7 % (6 / 7) 75.0 % (3 / 4)
SPI_inside_nonatomic_context CBC 423874 75.0 % (6 / 8) 66.7 % (4 / 6)
AtEOXact_SPI CBC 429895 94.1 % (16 / 17) 75.0 % (9 / 12)

Generated by: LCOV version 2.0-1