LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UBC GBC GNC CBC DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 87.3 % 819 715 104 1 6 708 6
Current Date: 2026-10-12 11:56:10 +0200 Functions: 98.2 % 55 54 1 1 53
Baseline: lcov-20261012-baseline Branches: 68.2 % 714 487 227 1 486
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 88.9 % 18 16 2 16
(30,360] days: 94.0 % 134 126 8 6 120
(360..) days: 85.9 % 667 573 94 1 572
Function coverage date bins:
(30,360] days: 100.0 % 6 6 1 5
(360..) days: 98.0 % 49 48 1 48
Branch coverage date bins:
(1,7] days: 65.6 % 32 21 11 21
(30,360] days: 76.1 % 92 70 22 70
(360..) days: 67.1 % 590 396 194 1 395

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
GetConnection CBC 2344 94.3 % (50 / 53) 65.8 % (25 / 38)
GetCursorNumber CBC 604 100.0 % (2 / 2)
GetPrepStmtNumber CBC 190 100.0 % (2 / 2)
ReleaseConnection CBC 2259 100.0 % (2 / 2)
UseScramPassthrough CBC 13 100.0 % (10 / 10) 93.8 % (15 / 16)
UserMappingPasswordRequired CBC 16 100.0 % (6 / 6) 100.0 % (8 / 8)
appendEscapedValue CBC 35 87.5 % (7 / 8) 66.7 % (4 / 6)
begin_remote_xact CBC 2336 100.0 % (48 / 48) 79.5 % (35 / 44)
check_conn_params CBC 95 92.3 % (12 / 13) 80.0 % (16 / 20)
configure_remote_session CBC 81 90.9 % (10 / 11) 50.0 % (2 / 4)
connect_pg_server CBC 88 100.0 % (23 / 23) 78.6 % (11 / 14)
construct_connection_params GNC 95 91.1 % (51 / 56) 65.4 % (17 / 26)
disconnect_cached_connections CBC 9 85.0 % (17 / 20) 63.6 % (14 / 22)
disconnect_pg_server CBC 72 100.0 % (5 / 5) 50.0 % (1 / 2)
do_sql_command CBC 1987 100.0 % (4 / 4)
do_sql_command_begin CBC 2005 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end CBC 2005 87.5 % (7 / 8) 83.3 % (5 / 6)
make_new_connection CBC 88 100.0 % (29 / 29) 81.2 % (13 / 16)
pg_finfo_postgres_fdw_connection CBC 14 100.0 % (1 / 1)
pg_finfo_postgres_fdw_disconnect CBC 7 100.0 % (1 / 1)
pg_finfo_postgres_fdw_disconnect_all CBC 7 100.0 % (1 / 1)
pg_finfo_postgres_fdw_get_connections CBC 6 100.0 % (1 / 1)
pg_finfo_postgres_fdw_get_connections_1_2 CBC 7 100.0 % (1 / 1)
pgfdw_abort_cleanup CBC 67 86.4 % (19 / 22) 81.8 % (18 / 22)
pgfdw_abort_cleanup_begin CBC 8 58.8 % (10 / 17) 50.0 % (6 / 12)
pgfdw_cancel_query CBC 2 85.7 % (6 / 7) 50.0 % (1 / 2)
pgfdw_cancel_query_begin CBC 2 80.0 % (4 / 5) 25.0 % (1 / 4)
pgfdw_cancel_query_end CBC 2 45.5 % (5 / 11) 14.3 % (2 / 14)
pgfdw_conn_check CBC 3 84.6 % (11 / 13) 40.0 % (4 / 10)
pgfdw_conn_checkable CBC 3 100.0 % (2 / 2)
pgfdw_exec_cleanup_query CBC 88 80.0 % (4 / 5) 50.0 % (1 / 2)
pgfdw_exec_cleanup_query_begin CBC 100 66.7 % (4 / 6) 50.0 % (2 / 4)
pgfdw_exec_cleanup_query_end CBC 100 66.7 % (10 / 15) 57.1 % (8 / 14)
pgfdw_exec_query CBC 4328 100.0 % (6 / 6) 100.0 % (6 / 6)
pgfdw_finish_abort_cleanup CBC 4 60.7 % (34 / 56) 50.0 % (30 / 60)
pgfdw_finish_pre_commit_cleanup CBC 13 93.1 % (27 / 29) 66.7 % (24 / 36)
pgfdw_finish_pre_subcommit_cleanup CBC 1 100.0 % (10 / 10) 70.0 % (7 / 10)
pgfdw_get_cleanup_result CBC 102 76.2 % (32 / 42) 75.0 % (15 / 20)
pgfdw_get_result CBC 8722 100.0 % (2 / 2)
pgfdw_has_required_scram_options CBC 9 85.0 % (17 / 20) 68.8 % (22 / 32)
pgfdw_inval_callback CBC 188 100.0 % (16 / 16) 86.4 % (19 / 22)
pgfdw_reject_incomplete_xact_state_change CBC 3098 100.0 % (5 / 5) 83.3 % (5 / 6)
pgfdw_report CBC 3 100.0 % (4 / 4) 50.0 % (1 / 2)
pgfdw_report_error CBC 27 66.7 % (2 / 3)
pgfdw_report_internal CBC 30 100.0 % (14 / 14) 77.8 % (14 / 18)
pgfdw_reset_xact_state CBC 1412 100.0 % (15 / 15) 87.5 % (14 / 16)
pgfdw_security_check CBC 83 85.7 % (12 / 14) 62.5 % (15 / 24)
pgfdw_subxact_callback CBC 72 94.6 % (35 / 37) 77.8 % (28 / 36)
pgfdw_xact_callback CBC 4514 91.1 % (51 / 56) 73.0 % (46 / 63)
postgres_fdw_connection CBC 8 90.5 % (19 / 21) 70.0 % (7 / 10)
postgres_fdw_disconnect CBC 4 100.0 % (4 / 4)
postgres_fdw_disconnect_all CBC 6 100.0 % (2 / 2)
postgres_fdw_get_connections UBC 0 0.0 % (0 / 3)
postgres_fdw_get_connections_1_2 CBC 14 100.0 % (3 / 3)
postgres_fdw_get_connections_internal CBC 14 82.2 % (37 / 45) 53.3 % (24 / 45)

Generated by: LCOV version 2.0-1