LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - connection.c (source / functions) Coverage Total Hit UBC GNC CBC DCB
Current: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 87.2 % 822 717 105 6 711 6
Current Date: 2026-11-28 16:48:44 +0900 Functions: 98.2 % 55 54 1 1 53
Baseline: lcov-20261128-baseline Branches: 68.1 % 720 490 230 490
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 66.7 % 3 2 1 2
(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:
(7,30] days: 50.0 % 6 3 3 3
(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 4629 91.1 % (51 / 56) 73.0 % (46 / 63)
GetConnection CBC 2389 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 9 85.0 % (17 / 20) 68.8 % (22 / 32)
begin_remote_xact CBC 2381 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)
connect_pg_server CBC 88 96.2 % (25 / 26) 70.0 % (14 / 20)
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 102 66.7 % (10 / 15) 57.1 % (8 / 14)
pgfdw_get_cleanup_result CBC 104 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 69 86.4 % (19 / 22) 81.8 % (18 / 22)
pgfdw_report_internal CBC 31 100.0 % (14 / 14) 77.8 % (14 / 18)
make_new_connection CBC 88 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 9 90.5 % (19 / 21) 70.0 % (7 / 10)
appendEscapedValue CBC 40 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 102 66.7 % (4 / 6) 50.0 % (2 / 4)
pgfdw_reset_xact_state CBC 1453 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 2063 75.0 % (3 / 4) 50.0 % (1 / 2)
do_sql_command_end CBC 2063 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 90 80.0 % (4 / 5) 50.0 % (1 / 2)
pgfdw_reject_incomplete_xact_state_change CBC 3171 100.0 % (5 / 5) 83.3 % (5 / 6)
pgfdw_report CBC 3 100.0 % (4 / 4) 50.0 % (1 / 2)
UserMappingPasswordRequired CBC 16 100.0 % (6 / 6) 100.0 % (8 / 8)
pgfdw_exec_query CBC 4394 100.0 % (6 / 6) 100.0 % (6 / 6)
GetCursorNumber CBC 636 100.0 % (2 / 2)
GetPrepStmtNumber CBC 195 100.0 % (2 / 2)
ReleaseConnection CBC 2301 100.0 % (2 / 2)
do_sql_command CBC 2045 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 10048 100.0 % (2 / 2)
pgfdw_report_error CBC 28 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