LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UBC CBC
Current: 77aeca80249c9e640c811e80633a2e334a9320de vs 38afc3dcb25c45b744d4025029ce0a6c90b7059f Lines: 87.2 % 805 702 103 702
Current Date: 2026-07-25 19:08:27 +0900 Functions: 98.2 % 55 54 1 54
Baseline: lcov-20260725-baseline Branches: 67.8 % 680 461 219 461
Baseline Date: 2026-07-25 19:09:19 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.9 % 138 131 7 131
(360..) days: 85.6 % 667 571 96 571
Function coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 98.0 % 49 48 1 48
Branch coverage date bins:
(30,360] days: 73.6 % 110 81 29 81
(360..) days: 66.7 % 570 380 190 380

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 2297 94.3 % (50 / 53) 65.8 % (25 / 38)
GetCursorNumber CBC 581 100.0 % (2 / 2)
GetPrepStmtNumber CBC 188 100.0 % (2 / 2)
ReleaseConnection CBC 2212 100.0 % (2 / 2)
UseScramPassthrough CBC 5 90.0 % (9 / 10) 75.0 % (12 / 16)
UserMappingPasswordRequired CBC 16 100.0 % (6 / 6) 100.0 % (8 / 8)
appendEscapedValue CBC 74 87.5 % (7 / 8) 66.7 % (4 / 6)
begin_remote_xact CBC 2289 100.0 % (48 / 48) 81.0 % (34 / 42)
check_conn_params CBC 97 92.3 % (12 / 13) 80.0 % (16 / 20)
configure_remote_session CBC 80 90.9 % (10 / 11) 50.0 % (2 / 4)
connect_pg_server CBC 87 100.0 % (23 / 23) 78.6 % (11 / 14)
construct_connection_params CBC 97 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 71 100.0 % (5 / 5) 50.0 % (1 / 2)
do_sql_command CBC 1934 100.0 % (4 / 4)
do_sql_command_begin CBC 1952 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end CBC 1952 87.5 % (7 / 8) 83.3 % (5 / 6)
make_new_connection CBC 87 100.0 % (29 / 29) 81.2 % (13 / 16)
pg_finfo_postgres_fdw_connection CBC 16 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 66 81.8 % (18 / 22) 77.3 % (17 / 22)
pgfdw_abort_cleanup_begin CBC 8 58.8 % (10 / 17) 50.0 % (6 / 12)
pgfdw_cancel_query CBC 1 85.7 % (6 / 7) 50.0 % (1 / 2)
pgfdw_cancel_query_begin CBC 1 80.0 % (4 / 5) 25.0 % (1 / 4)
pgfdw_cancel_query_end CBC 1 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 4194 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 96.2 % (25 / 26) 78.6 % (22 / 28)
pgfdw_finish_pre_subcommit_cleanup CBC 1 100.0 % (10 / 10) 70.0 % (7 / 10)
pgfdw_get_cleanup_result CBC 101 76.2 % (32 / 42) 75.0 % (15 / 20)
pgfdw_get_result CBC 8473 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 3027 100.0 % (5 / 5) 83.3 % (5 / 6)
pgfdw_report CBC 3 100.0 % (4 / 4) 50.0 % (1 / 2)
pgfdw_report_error CBC 26 66.7 % (2 / 3)
pgfdw_report_internal CBC 29 100.0 % (14 / 14) 77.8 % (14 / 18)
pgfdw_reset_xact_state CBC 1352 100.0 % (15 / 15) 81.2 % (13 / 16)
pgfdw_security_check CBC 82 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 4342 91.5 % (43 / 47) 69.8 % (30 / 43)
postgres_fdw_connection CBC 10 94.7 % (18 / 19) 83.3 % (5 / 6)
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