LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 87.3 % 819 715 104 6 709 6
Current Date: 2026-11-05 14:14:01 +0100 Functions: 98.2 % 55 54 1 1 53
Baseline: lcov-20261105-baseline Branches: 68.2 % 714 487 227 487
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 93.4 % 152 142 10 6 136
(360..) days: 85.9 % 667 573 94 573
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:
(30,360] days: 73.4 % 124 91 33 91
(360..) days: 67.1 % 590 396 194 396

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

Generated by: LCOV version 2.0-1