LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GIC GNC CBC ECB DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 87.5 % 805 704 23 1 77 1 1 170 532 1 23 98
Current Date: 2026-05-29 21:51:00 -0400 Functions: 98.2 % 55 54 1 19 35 3
Baseline: lcov-20260530-034037-baseline Branches: 68.2 % 680 464 29 1 186 1 87 376 22 52
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 100.0 % 6 6 4 2
(30,360] days: 88.1 % 194 171 23 1 1 166 3
(360..) days: 87.1 % 605 527 1 77 527 1
Function coverage date bins:
(30,360] days: 100.0 % 9 9 9
(360..) days: 97.8 % 46 45 1 10 35
Branch coverage date bins:
(1,7] days: 66.7 % 12 8 4 8
(30,360] days: 74.3 % 136 101 29 6 87 14
(360..) days: 66.7 % 532 355 1 176 1 354

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 13 82.2 % (37 / 45) 53.3 % (24 / 45)
GetConnection CBC 2297 94.3 % (50 / 53) 65.8 % (25 / 38)
pgfdw_xact_callback GNC 4233 91.5 % (43 / 47) 69.8 % (30 / 43)
pgfdw_cancel_query_end CBC 1 45.5 % (5 / 11) 14.3 % (2 / 14)
pgfdw_has_required_scram_options CBC 10 85.0 % (17 / 20) 68.8 % (22 / 32)
construct_connection_params GNC 101 91.1 % (51 / 56) 65.4 % (17 / 26)
begin_remote_xact GNC 2286 100.0 % (48 / 48) 81.0 % (34 / 42)
disconnect_cached_connections CBC 8 85.0 % (17 / 20) 63.6 % (14 / 22)
pgfdw_subxact_callback GNC 72 94.6 % (35 / 37) 77.8 % (28 / 36)
pgfdw_security_check CBC 84 92.9 % (13 / 14) 70.8 % (17 / 24)
pgfdw_abort_cleanup_begin CBC 8 58.8 % (10 / 17) 50.0 % (6 / 12)
pgfdw_conn_check CBC 2 84.6 % (11 / 13) 40.0 % (4 / 10)
pgfdw_exec_cleanup_query_end GNC 99 66.7 % (10 / 15) 57.1 % (8 / 14)
pgfdw_finish_pre_commit_cleanup CBC 13 96.2 % (25 / 26) 78.6 % (22 / 28)
pgfdw_abort_cleanup CBC 65 81.8 % (18 / 22) 77.3 % (17 / 22)
pgfdw_get_cleanup_result GNC 100 76.2 % (32 / 42) 75.0 % (15 / 20)
UseScramPassthrough CBC 6 90.0 % (9 / 10) 75.0 % (12 / 16)
pgfdw_report_internal GNC 29 100.0 % (14 / 14) 77.8 % (14 / 18)
check_conn_params CBC 101 100.0 % (13 / 13) 85.0 % (17 / 20)
connect_pg_server GNC 92 100.0 % (23 / 23) 78.6 % (11 / 14)
make_new_connection GNC 92 100.0 % (29 / 29) 81.2 % (13 / 16)
pgfdw_cancel_query_begin CBC 1 80.0 % (4 / 5) 25.0 % (1 / 4)
pgfdw_finish_pre_subcommit_cleanup CBC 1 100.0 % (10 / 10) 70.0 % (7 / 10)
pgfdw_reset_xact_state GNC 1347 100.0 % (15 / 15) 81.2 % (13 / 16)
appendEscapedValue GNC 85 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 GNC 99 66.7 % (4 / 6) 50.0 % (2 / 4)
disconnect_pg_server CBC 70 100.0 % (5 / 5) 50.0 % (1 / 2)
do_sql_command_begin GNC 1953 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end GNC 1953 87.5 % (7 / 8) 83.3 % (5 / 6)
pgfdw_cancel_query CBC 1 85.7 % (6 / 7) 50.0 % (1 / 2)
pgfdw_exec_cleanup_query CBC 87 80.0 % (4 / 5) 50.0 % (1 / 2)
pgfdw_reject_incomplete_xact_state_change CBC 3025 100.0 % (5 / 5) 83.3 % (5 / 6)
pgfdw_report GNC 2 100.0 % (4 / 4) 50.0 % (1 / 2)
postgres_fdw_connection GNC 9 94.7 % (18 / 19) 83.3 % (5 / 6)
UserMappingPasswordRequired CBC 20 100.0 % (6 / 6) 100.0 % (8 / 8)
pgfdw_exec_query CBC 4189 100.0 % (6 / 6) 100.0 % (6 / 6)
GetCursorNumber CBC 579 100.0 % (2 / 2)
GetPrepStmtNumber CBC 187 100.0 % (2 / 2)
ReleaseConnection CBC 2208 100.0 % (2 / 2)
do_sql_command CBC 1935 100.0 % (4 / 4)
pg_finfo_postgres_fdw_connection GNC 13 100.0 % (1 / 1)
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 CBC 5 100.0 % (1 / 1)
pg_finfo_postgres_fdw_get_connections_1_2 CBC 6 100.0 % (1 / 1)
pgfdw_conn_checkable CBC 2 100.0 % (2 / 2)
pgfdw_get_result CBC 8464 100.0 % (2 / 2)
pgfdw_report_error GNC 27 66.7 % (2 / 3)
postgres_fdw_disconnect CBC 4 100.0 % (4 / 4)
postgres_fdw_disconnect_all CBC 5 100.0 % (2 / 2)
postgres_fdw_get_connections UBC 0 0.0 % (0 / 3)
postgres_fdw_get_connections_1_2 CBC 13 100.0 % (3 / 3)

Generated by: LCOV version 2.5.0-beta