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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 71.4 % 1260 900 4 2 354 7 893 2 3 7
Current Date: 2026-11-28 16:48:44 +0900 Functions: 81.0 % 84 68 2 1 13 7 61 1 3
Baseline: lcov-20261128-baseline Branches: 54.6 % 811 443 368 443
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 40.0 % 5 2 3 2
(30,360] days: 60.0 % 20 12 4 1 3 7 5
(360..) days: 71.7 % 1235 886 1 348 886 2
Function coverage date bins:
(30,360] days: 60.0 % 5 3 1 1 3
(360..) days: 82.3 % 79 65 1 13 4 61
Branch coverage date bins:
(7,30] days: 33.3 % 6 2 4 2
(360..) days: 54.8 % 805 441 364 441

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_result_code_string CBC 60 15.2 % (10 / 66) 12.5 % (4 / 32)
SPI_modifytuple UNC 0 0.0 % (0 / 30) 0.0 % (0 / 28)
_SPI_save_plan UNC 0 0.0 % (0 / 28) 0.0 % (0 / 16)
SPI_execute_with_args UBC 0 0.0 % (0 / 25) 0.0 % (0 / 14)
SPI_cursor_open_with_args UBC 0 0.0 % (0 / 21) 0.0 % (0 / 18)
SPI_prepare_params UBC 0 0.0 % (0 / 19) 0.0 % (0 / 4)
SPI_gettype UBC 0 0.0 % (0 / 15) 0.0 % (0 / 10)
SPI_unregister_relation UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
_SPI_execute_plan GNC 85908 91.5 % (130 / 142) 79.5 % (97 / 122)
SPI_saveplan UBC 0 0.0 % (0 / 10) 0.0 % (0 / 6)
SPI_cursor_open_internal CBC 8341 86.8 % (59 / 68) 60.0 % (36 / 60)
SPI_getargtypeid UBC 0 0.0 % (0 / 6) 0.0 % (0 / 8)
SPI_getargcount UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
SPI_is_cursor_plan CBC 8341 58.3 % (7 / 12) 50.0 % (4 / 8)
SPI_returntuple CBC 11278 64.3 % (9 / 14) 60.0 % (6 / 10)
_SPI_pquery CBC 65638 88.4 % (38 / 43) 78.6 % (22 / 28)
spi_printtup CBC 76275 66.7 % (10 / 15) 30.0 % (3 / 10)
SPI_copytuple CBC 1413 63.6 % (7 / 11) 50.0 % (2 / 4)
SPI_cursor_move UBC 0 0.0 % (0 / 4)
SPI_execute_plan CBC 2645 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_execute_snapshot CBC 3565 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_fname CBC 644 66.7 % (6 / 9) 50.0 % (4 / 8)
SPI_freetuple UBC 0 0.0 % (0 / 3)
SPI_freetuptable CBC 142545 84.2 % (16 / 19) 60.0 % (12 / 20)
SPI_getbinval CBC 36059 57.1 % (4 / 7) 50.0 % (3 / 6)
SPI_gettypeid CBC 782 62.5 % (5 / 8) 50.0 % (4 / 8)
SPI_getvalue CBC 5609 76.9 % (10 / 13) 60.0 % (6 / 10)
SPI_pfree UBC 0 0.0 % (0 / 3)
SPI_prepare_cursor GNC 2605 84.2 % (16 / 19) 60.0 % (6 / 10)
SPI_prepare_extended CBC 18572 84.2 % (16 / 19) 50.0 % (3 / 6)
SPI_register_relation CBC 518 80.0 % (12 / 15) 60.0 % (6 / 10)
SPI_register_trigger_data CBC 10430 88.5 % (23 / 26) 70.0 % (7 / 10)
_SPI_cursor_operation CBC 29874 83.3 % (15 / 18) 35.7 % (5 / 14)
AtEOSubXact_SPI CBC 23131 94.7 % (36 / 38) 83.3 % (30 / 36)
SPI_connect_ext GNC 76226 94.6 % (35 / 37) 58.3 % (14 / 24)
SPI_cursor_parse_open CBC 6370 88.9 % (16 / 18) 41.7 % (5 / 12)
SPI_execp LBC 0 0.0 % (0 / 2)
SPI_execute CBC 857 88.2 % (15 / 17) 50.0 % (3 / 6)
SPI_execute_extended CBC 13471 88.2 % (15 / 17) 62.5 % (5 / 8)
SPI_execute_plan_extended CBC 1748 77.8 % (7 / 9) 50.0 % (4 / 8)
SPI_execute_plan_with_paramlist CBC 63628 84.6 % (11 / 13) 50.0 % (4 / 8)
SPI_inside_nonatomic_context CBC 436131 75.0 % (6 / 8) 66.7 % (4 / 6)
SPI_plan_get_cached_plan CBC 19304 89.5 % (17 / 19) 60.0 % (6 / 10)
SPI_repalloc UBC 0 0.0 % (0 / 2)
SPI_start_transaction UBC 0 0.0 % (0 / 2)
_SPI_checktuples CBC 58791 77.8 % (7 / 9) 50.0 % (2 / 4)
_SPI_rollback CBC 138 93.5 % (29 / 31) 66.7 % (12 / 18)
spi_dest_startup CBC 63067 88.9 % (16 / 18) 25.0 % (2 / 8)
AtEOXact_SPI CBC 442279 94.1 % (16 / 17) 75.0 % (9 / 12)
SPI_cursor_close CBC 8224 80.0 % (4 / 5) 25.0 % (1 / 4)
SPI_datumTransfer CBC 3718 85.7 % (6 / 7) 25.0 % (1 / 4)
SPI_finish CBC 74104 94.7 % (18 / 19) 83.3 % (5 / 6)
SPI_fnumber CBC 13110 90.0 % (9 / 10) 75.0 % (6 / 8)
SPI_freeplan CBC 5571 87.5 % (7 / 8) 70.0 % (7 / 10)
SPI_keepplan CBC 20122 90.0 % (9 / 10) 64.3 % (9 / 14)
SPI_palloc CBC 28 75.0 % (3 / 4) 25.0 % (1 / 4)
_SPI_begin_call CBC 226298 85.7 % (6 / 7) 75.0 % (3 / 4)
_SPI_commit CBC 2223 96.8 % (30 / 31) 77.8 % (14 / 18)
_SPI_error_callback CBC 4165 95.0 % (19 / 20) 85.7 % (6 / 7)
SPI_commit CBC 2149 100.0 % (3 / 3)
SPI_commit_and_chain CBC 74 100.0 % (3 / 3)
SPI_connect CBC 9608 100.0 % (2 / 2)
SPI_cursor_fetch CBC 29625 100.0 % (4 / 4)
SPI_cursor_find CBC 414 100.0 % (2 / 2)
SPI_cursor_open CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
SPI_cursor_open_with_paramlist CBC 1838 100.0 % (2 / 2)
SPI_exec CBC 325 100.0 % (2 / 2)
SPI_getnspname CBC 143 100.0 % (2 / 2)
SPI_getrelname CBC 187 100.0 % (2 / 2)
SPI_plan_get_plan_sources CBC 39838 100.0 % (3 / 3) 50.0 % (1 / 2)
SPI_plan_is_valid CBC 1675 100.0 % (7 / 7) 80.0 % (8 / 10)
SPI_rollback CBC 100 100.0 % (3 / 3)
SPI_rollback_and_chain CBC 38 100.0 % (3 / 3)
SPI_scroll_cursor_fetch CBC 221 100.0 % (3 / 3)
SPI_scroll_cursor_move CBC 28 100.0 % (3 / 3)
_SPI_end_call CBC 148548 100.0 % (6 / 6) 100.0 % (2 / 2)
_SPI_execmem CBC 151676 100.0 % (2 / 2)
_SPI_find_ENR_by_name CBC 518 100.0 % (5 / 5) 75.0 % (3 / 4)
_SPI_make_plan_non_temp GNC 21115 100.0 % (27 / 27) 71.4 % (10 / 14)
_SPI_prepare_oneshot_plan CBC 14328 100.0 % (17 / 17) 83.3 % (5 / 6)
_SPI_prepare_plan GNC 27547 100.0 % (24 / 24) 80.0 % (8 / 10)
_SPI_procmem CBC 211097 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1