LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC ECB DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 84.1 % 767 645 31 91 1 1 117 526 1 25 90
Current Date: 2026-03-14 14:10:32 -0400 Functions: 96.4 % 55 53 1 1 13 40 3
Baseline: lcov-20260315-024220-baseline Branches: 64.2 % 642 412 26 204 52 360 25 49
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 92.0 % 87 80 7 80
(30,360] days: 69.9 % 93 65 24 4 1 1 37 26
(360..) days: 85.2 % 587 500 87 500 1
Function coverage date bins:
(7,30] days: 100.0 % 6 6 6
(30,360] days: 75.0 % 4 3 1 2 1
(360..) days: 97.8 % 45 44 1 5 39
Branch coverage date bins:
(7,30] days: 67.5 % 40 27 13 27
(30,360] days: 64.6 % 82 53 13 16 25 28
(360..) days: 63.8 % 520 332 188 332

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
pgfdw_report UNC 0 0.0 % (0 / 4) 0.0 % (0 / 2)
postgres_fdw_get_connections UBC 0 0.0 % (0 / 3)
pgfdw_finish_pre_subcommit_cleanup CBC 1 100.0 % (10 / 10) 70.0 % (7 / 10)
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 2 84.6 % (11 / 13) 40.0 % (4 / 10)
pgfdw_conn_checkable CBC 2 100.0 % (2 / 2)
UseScramPassthrough CBC 4 50.0 % (5 / 10) 31.2 % (5 / 16)
pgfdw_finish_abort_cleanup CBC 4 60.7 % (34 / 56) 50.0 % (30 / 60)
postgres_fdw_disconnect CBC 4 100.0 % (4 / 4)
pg_finfo_postgres_fdw_get_connections CBC 5 100.0 % (1 / 1)
postgres_fdw_disconnect_all CBC 5 100.0 % (2 / 2)
pg_finfo_postgres_fdw_disconnect CBC 6 100.0 % (1 / 1)
pg_finfo_postgres_fdw_disconnect_all CBC 6 100.0 % (1 / 1)
pg_finfo_postgres_fdw_get_connections_1_2 CBC 6 100.0 % (1 / 1)
postgres_fdw_connection GNC 6 94.7 % (18 / 19) 83.3 % (5 / 6)
disconnect_cached_connections CBC 8 85.0 % (17 / 20) 63.6 % (14 / 22)
pgfdw_abort_cleanup_begin CBC 8 58.8 % (10 / 17) 50.0 % (6 / 12)
pgfdw_has_required_scram_options CBC 8 85.0 % (17 / 20) 62.5 % (20 / 32)
pg_finfo_postgres_fdw_connection GNC 10 100.0 % (1 / 1)
pgfdw_finish_pre_commit_cleanup CBC 13 96.2 % (25 / 26) 78.6 % (22 / 28)
postgres_fdw_get_connections_1_2 CBC 13 100.0 % (3 / 3)
postgres_fdw_get_connections_internal CBC 13 82.2 % (37 / 45) 53.3 % (24 / 45)
pgfdw_report_error GNC 16 66.7 % (2 / 3)
pgfdw_report_internal GNC 16 85.7 % (12 / 14) 72.2 % (13 / 18)
UserMappingPasswordRequired CBC 18 100.0 % (6 / 6) 100.0 % (8 / 8)
pgfdw_subxact_callback CBC 38 94.3 % (33 / 35) 76.5 % (26 / 34)
pgfdw_abort_cleanup CBC 51 81.8 % (18 / 22) 77.3 % (17 / 22)
disconnect_pg_server CBC 66 100.0 % (5 / 5) 50.0 % (1 / 2)
appendEscapedValue GNC 70 87.5 % (7 / 8) 66.7 % (4 / 6)
pgfdw_exec_cleanup_query CBC 75 80.0 % (4 / 5) 50.0 % (1 / 2)
configure_remote_session CBC 80 90.9 % (10 / 11) 50.0 % (2 / 4)
pgfdw_security_check CBC 83 92.9 % (13 / 14) 70.8 % (17 / 24)
pgfdw_exec_cleanup_query_begin GNC 87 66.7 % (4 / 6) 50.0 % (2 / 4)
pgfdw_exec_cleanup_query_end GNC 87 46.7 % (7 / 15) 42.9 % (6 / 14)
connect_pg_server GNC 89 100.0 % (21 / 21) 78.6 % (11 / 14)
make_new_connection CBC 89 100.0 % (28 / 28) 81.2 % (13 / 16)
pgfdw_get_cleanup_result GNC 89 69.0 % (29 / 42) 65.0 % (13 / 20)
check_conn_params CBC 95 100.0 % (13 / 13) 80.0 % (16 / 20)
construct_connection_params GNC 95 91.1 % (51 / 56) 61.5 % (16 / 26)
GetPrepStmtNumber CBC 187 100.0 % (2 / 2)
pgfdw_inval_callback GNC 188 100.0 % (16 / 16) 86.4 % (19 / 22)
GetCursorNumber CBC 555 100.0 % (2 / 2)
pgfdw_reset_xact_state CBC 1310 100.0 % (12 / 12) 78.6 % (11 / 14)
do_sql_command CBC 1881 100.0 % (4 / 4)
do_sql_command_begin GNC 1899 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end GNC 1899 87.5 % (7 / 8) 83.3 % (5 / 6)
ReleaseConnection CBC 2178 100.0 % (2 / 2)
begin_remote_xact CBC 2245 94.4 % (17 / 18) 75.0 % (6 / 8)
GetConnection CBC 2253 94.3 % (50 / 53) 65.8 % (25 / 38)
pgfdw_reject_incomplete_xact_state_change CBC 2966 50.0 % (3 / 6) 50.0 % (3 / 6)
pgfdw_xact_callback CBC 4093 91.3 % (42 / 46) 69.8 % (30 / 43)
pgfdw_exec_query CBC 4142 83.3 % (5 / 6) 83.3 % (5 / 6)
pgfdw_get_result CBC 8344 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta