LCOV - differential code coverage report
Current view: top level - src/backend/executor - spi.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 74.5 % 1257 936 5 316 22 7 907 5 8
Current Date: 2026-05-05 10:23:31 +0900 Functions: 84.5 % 84 71 2 11 1 5 65 1
Baseline: lcov-20260505-025707-baseline Branches: 56.3 % 805 453 352 8 445
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 66.7 % 15 10 5 7 3
(360..) days: 74.6 % 1242 926 316 22 904
Function coverage date bins:
(30,360] days: 100.0 % 2 2 1 1
(360..) days: 84.1 % 82 69 2 11 1 4 64
Branch coverage date bins:
(30,360] days: 50.0 % 2 1 1 1
(360..) days: 56.3 % 803 452 351 8 444

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_cursor_open_internal CBC 8314 85.3 % (58 / 68) 56.7 % (34 / 60)
_SPI_execute_plan CBC 68332 91.6 % (131 / 143) 79.5 % (97 / 122)
SPI_modifytuple UNC 0 0.0 % (0 / 28) 0.0 % (0 / 24)
SPI_cursor_open_with_args UBC 0 0.0 % (0 / 21) 0.0 % (0 / 18)
_SPI_save_plan UNC 0 0.0 % (0 / 27) 0.0 % (0 / 16)
SPI_connect_ext CBC 67180 94.7 % (36 / 38) 58.3 % (14 / 24)
_SPI_cursor_operation CBC 29865 83.3 % (15 / 18) 35.7 % (5 / 14)
SPI_freetuptable CBC 120973 84.2 % (16 / 19) 60.0 % (12 / 20)
SPI_getargtypeid UBC 0 0.0 % (0 / 6) 0.0 % (0 / 8)
SPI_cursor_parse_open CBC 6401 88.9 % (16 / 18) 41.7 % (5 / 12)
SPI_execute_with_args GBC 6 88.0 % (22 / 25) 50.0 % (7 / 14)
AtEOSubXact_SPI CBC 12646 94.7 % (36 / 38) 83.3 % (30 / 36)
SPI_saveplan UBC 0 0.0 % (0 / 10) 0.0 % (0 / 6)
SPI_unregister_relation UBC 0 0.0 % (0 / 13) 0.0 % (0 / 6)
_SPI_pquery CBC 50659 88.4 % (38 / 43) 78.6 % (22 / 28)
_SPI_rollback CBC 94 93.5 % (29 / 31) 66.7 % (12 / 18)
spi_dest_startup GNC 60695 88.9 % (16 / 18) 25.0 % (2 / 8)
spi_printtup CBC 74139 86.7 % (13 / 15) 40.0 % (4 / 10)
SPI_execute_plan GNC 2644 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_execute_snapshot CBC 3297 80.0 % (12 / 15) 58.3 % (7 / 12)
SPI_gettype CBC 4 66.7 % (10 / 15) 50.0 % (5 / 10)
SPI_keepplan CBC 19931 90.0 % (9 / 10) 64.3 % (9 / 14)
SPI_execute_plan_extended CBC 1714 77.8 % (7 / 9) 50.0 % (4 / 8)
SPI_execute_plan_with_paramlist CBC 48513 84.6 % (11 / 13) 50.0 % (4 / 8)
SPI_fname CBC 644 66.7 % (6 / 9) 50.0 % (4 / 8)
SPI_getargcount UBC 0 0.0 % (0 / 5) 0.0 % (0 / 4)
SPI_gettypeid CBC 793 62.5 % (5 / 8) 50.0 % (4 / 8)
SPI_getvalue CBC 5531 76.9 % (10 / 13) 60.0 % (6 / 10)
SPI_is_cursor_plan CBC 8314 58.3 % (7 / 12) 50.0 % (4 / 8)
SPI_plan_get_cached_plan CBC 19727 89.5 % (17 / 19) 60.0 % (6 / 10)
SPI_prepare_cursor CBC 2416 84.2 % (16 / 19) 60.0 % (6 / 10)
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_returntuple CBC 3268 64.3 % (9 / 14) 60.0 % (6 / 10)
_SPI_commit CBC 2144 96.8 % (30 / 31) 77.8 % (14 / 18)
_SPI_make_plan_non_temp GNC 20964 100.0 % (26 / 26) 71.4 % (10 / 14)
AtEOXact_SPI CBC 422078 94.1 % (16 / 17) 75.0 % (9 / 12)
SPI_cursor_close CBC 8245 80.0 % (4 / 5) 25.0 % (1 / 4)
SPI_datumTransfer CBC 3812 85.7 % (6 / 7) 25.0 % (1 / 4)
SPI_execute CBC 852 88.2 % (15 / 17) 50.0 % (3 / 6)
SPI_execute_extended CBC 11312 88.2 % (15 / 17) 62.5 % (5 / 8)
SPI_freeplan CBC 4427 87.5 % (7 / 8) 70.0 % (7 / 10)
SPI_getbinval GNC 33849 57.1 % (4 / 7) 50.0 % (3 / 6)
SPI_palloc CBC 24 75.0 % (3 / 4) 25.0 % (1 / 4)
SPI_prepare_extended CBC 18610 84.2 % (16 / 19) 50.0 % (3 / 6)
SPI_register_trigger_data GNC 10413 88.5 % (23 / 26) 70.0 % (7 / 10)
SPI_copytuple CBC 1364 63.6 % (7 / 11) 50.0 % (2 / 4)
SPI_fnumber CBC 12913 90.0 % (9 / 10) 75.0 % (6 / 8)
SPI_inside_nonatomic_context CBC 416054 75.0 % (6 / 8) 66.7 % (4 / 6)
SPI_plan_is_valid CBC 1455 100.0 % (7 / 7) 80.0 % (8 / 10)
_SPI_checktuples CBC 56474 77.8 % (7 / 9) 50.0 % (2 / 4)
_SPI_prepare_plan CBC 27427 100.0 % (25 / 25) 80.0 % (8 / 10)
SPI_finish CBC 65613 94.1 % (16 / 17) 75.0 % (3 / 4)
SPI_plan_get_plan_sources CBC 39840 100.0 % (3 / 3) 50.0 % (1 / 2)
_SPI_begin_call CBC 200107 85.7 % (6 / 7) 75.0 % (3 / 4)
_SPI_error_callback CBC 3751 95.0 % (19 / 20) 85.7 % (6 / 7)
_SPI_find_ENR_by_name CBC 550 100.0 % (5 / 5) 75.0 % (3 / 4)
_SPI_prepare_oneshot_plan CBC 12170 100.0 % (17 / 17) 83.3 % (5 / 6)
SPI_cursor_open CBC 133 100.0 % (6 / 6) 100.0 % (2 / 2)
_SPI_convert_params CBC 6080 100.0 % (11 / 11) 100.0 % (8 / 8)
_SPI_end_call CBC 131209 100.0 % (6 / 6) 100.0 % (2 / 2)
SPI_commit CBC 2142 100.0 % (3 / 3)
SPI_commit_and_chain CBC 2 100.0 % (3 / 3)
SPI_connect CBC 9071 100.0 % (2 / 2)
SPI_cursor_fetch CBC 29636 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_with_paramlist CBC 1780 100.0 % (2 / 2)
SPI_exec CBC 325 100.0 % (2 / 2)
SPI_execp CBC 27 100.0 % (2 / 2)
SPI_freetuple UBC 0 0.0 % (0 / 3)
SPI_getnspname CBC 141 100.0 % (2 / 2)
SPI_getrelname CBC 183 100.0 % (2 / 2)
SPI_pfree UBC 0 0.0 % (0 / 3)
SPI_prepare CBC 2416 100.0 % (2 / 2)
SPI_repalloc UBC 0 0.0 % (0 / 2)
SPI_rollback CBC 92 100.0 % (3 / 3)
SPI_rollback_and_chain CBC 2 100.0 % (3 / 3)
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_execmem CBC 133944 100.0 % (2 / 2)
_SPI_procmem CBC 191354 100.0 % (2 / 2)

Generated by: LCOV version 2.5.0-beta