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: a2387c32f2f8a1643c7d71b951587e6bcb2d4744 vs 371a302eecdc82274b0ae2967d18fd726a0aa6a1 Lines: 83.5 % 733 612 24 97 1 1 37 573 1 20 42
Current Date: 2025-10-26 12:31:50 -0700 Functions: 96.1 % 51 49 1 1 8 41 1
Baseline: lcov-20251027-010456-baseline Branches: 63.7 % 630 401 13 216 25 376
Baseline Date: 2025-10-26 11:01:32 +1300 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 71.9 % 139 100 24 15 1 1 37 61
(360..) days: 86.2 % 594 512 82 512 1
Function coverage date bins:
(30,360] days: 85.7 % 7 6 1 3 3
(360..) days: 97.7 % 44 43 1 5 38
Branch coverage date bins:
(30,360] days: 55.9 % 118 66 13 39 25 41
(360..) days: 65.4 % 512 335 177 335

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_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_finish_pre_subcommit_cleanup CBC 1 100.0 % (10 / 10) 70.0 % (7 / 10)
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)
pg_finfo_postgres_fdw_get_connections CBC 4 100.0 % (1 / 1)
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_disconnect CBC 5 100.0 % (1 / 1)
pg_finfo_postgres_fdw_disconnect_all CBC 5 100.0 % (1 / 1)
pg_finfo_postgres_fdw_get_connections_1_2 CBC 5 100.0 % (1 / 1)
postgres_fdw_disconnect_all CBC 5 100.0 % (2 / 2)
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)
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_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 77.3 % (17 / 22) 72.7 % (16 / 22)
disconnect_pg_server CBC 63 100.0 % (5 / 5) 50.0 % (1 / 2)
configure_remote_session CBC 75 90.9 % (10 / 11) 50.0 % (2 / 4)
pgfdw_exec_cleanup_query CBC 75 80.0 % (4 / 5) 50.0 % (1 / 2)
pgfdw_security_check CBC 78 92.9 % (13 / 14) 70.8 % (17 / 24)
check_conn_params CBC 84 100.0 % (13 / 13) 80.0 % (16 / 20)
connect_pg_server GNC 84 93.0 % (66 / 71) 65.0 % (26 / 40)
make_new_connection CBC 84 100.0 % (28 / 28) 81.2 % (13 / 16)
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)
pgfdw_get_cleanup_result GNC 88 69.0 % (29 / 42) 65.0 % (13 / 20)
pgfdw_inval_callback CBC 176 100.0 % (16 / 16) 86.4 % (19 / 22)
GetPrepStmtNumber CBC 187 100.0 % (2 / 2)
GetCursorNumber CBC 543 100.0 % (2 / 2)
pgfdw_reset_xact_state CBC 1304 100.0 % (12 / 12) 78.6 % (11 / 14)
do_sql_command CBC 1846 100.0 % (4 / 4)
do_sql_command_begin GNC 1864 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end GNC 1864 87.5 % (7 / 8) 83.3 % (5 / 6)
ReleaseConnection CBC 2132 100.0 % (2 / 2)
begin_remote_xact CBC 2199 94.4 % (17 / 18) 75.0 % (6 / 8)
GetConnection CBC 2207 94.3 % (50 / 53) 65.8 % (25 / 38)
pgfdw_reject_incomplete_xact_state_change CBC 2915 50.0 % (3 / 6) 50.0 % (3 / 6)
pgfdw_xact_callback CBC 4037 91.3 % (42 / 46) 69.8 % (30 / 43)
pgfdw_exec_query CBC 4078 83.3 % (5 / 6) 83.3 % (5 / 6)
pgfdw_get_result CBC 8242 100.0 % (2 / 2)

Generated by: LCOV version 2.4-beta