LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - postgres_fdw.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GNC CBC EUB ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 93.3 % 2590 2417 53 1 119 441 1976 1 2 35 230
Current Date: 2026-05-05 10:23:31 +0900 Functions: 100.0 % 100 100 42 58 1
Baseline: lcov-20260505-025707-baseline Branches: 74.9 % 1905 1427 118 2 358 246 1181 2 54 140
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 91.2 % 274 250 24 249 1
(30,360] days: 86.9 % 198 172 26 169 3 1
(360..) days: 94.2 % 2118 1995 3 1 119 23 1972 1 1
Function coverage date bins:
(7,30] days: 100.0 % 11 11 11
(360..) days: 100.0 % 89 89 31 58
Branch coverage date bins:
(7,30] days: 62.6 % 206 129 77 129
(30,360] days: 73.6 % 140 103 37 103
(360..) days: 76.6 % 1561 1195 4 2 358 14 1181 2

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
postgresAcquireSampleRowsFunc GNC 52 73.8 % (76 / 103) 55.4 % (51 / 92)
import_fetched_statistics GNC 6 85.7 % (54 / 63) 46.2 % (24 / 52)
add_foreign_final_paths GNC 538 92.2 % (59 / 64) 56.5 % (35 / 62)
foreign_join_ok CBC 396 89.8 % (106 / 118) 77.5 % (79 / 102)
estimate_path_cost_size GNC 2741 100.0 % (164 / 164) 81.8 % (90 / 110)
postgresImportForeignSchema GNC 10 95.7 % (110 / 115) 84.0 % (79 / 94)
match_attrmap GNC 7 85.7 % (24 / 28) 57.1 % (16 / 28)
postgresBeginForeignInsert CBC 64 90.7 % (39 / 43) 68.4 % (26 / 38)
postgresPlanDirectModify CBC 195 94.8 % (55 / 58) 76.5 % (39 / 51)
find_em_for_rel_target CBC 255 88.9 % (24 / 27) 67.6 % (23 / 34)
analyze_row_processor CBC 22744 55.6 % (10 / 18) 16.7 % (2 / 12)
conversion_error_callback CBC 5 91.3 % (42 / 46) 68.8 % (22 / 32)
postgresGetAnalyzeInfoForForeignTable GNC 46 84.2 % (16 / 19) 28.6 % (4 / 14)
postgresPlanForeignModify CBC 170 92.3 % (48 / 52) 73.7 % (28 / 38)
fetch_remote_statistics GNC 10 97.7 % (43 / 44) 70.0 % (21 / 30)
make_tuple_from_result_row CBC 94436 98.0 % (48 / 49) 73.3 % (22 / 30)
add_foreign_ordered_paths GNC 152 94.4 % (34 / 36) 73.1 % (19 / 26)
build_remote_returning CBC 4 100.0 % (36 / 36) 80.6 % (29 / 36)
fetch_attstats GNC 7 78.3 % (18 / 23) 41.7 % (5 / 12)
foreign_grouping_ok GNC 161 100.0 % (61 / 61) 89.1 % (57 / 64)
get_remote_estimate GNC 1319 76.9 % (10 / 13) 30.0 % (3 / 10)
postgresGetForeignPaths CBC 1212 94.1 % (48 / 51) 83.3 % (35 / 42)
create_foreign_modify GNC 182 97.9 % (47 / 48) 81.2 % (26 / 32)
execute_foreign_modify GNC 1052 95.2 % (40 / 42) 84.2 % (32 / 38)
init_returning_filter CBC 1 82.6 % (19 / 23) 66.7 % (12 / 18)
postgresExecForeignTruncate CBC 15 100.0 % (34 / 34) 81.2 % (26 / 32)
postgresForeignAsyncConfigureWait CBC 205 96.3 % (26 / 27) 75.0 % (18 / 24)
postgresGetForeignPlan CBC 1026 100.0 % (52 / 52) 88.0 % (44 / 50)
produce_tuple_asynchronously CBC 6328 91.7 % (22 / 24) 72.7 % (16 / 22)
add_foreign_grouping_paths CBC 161 96.2 % (25 / 26) 64.3 % (9 / 14)
convert_prep_stmt_params CBC 1052 100.0 % (29 / 29) 80.8 % (21 / 26)
fetch_relstats GNC 10 77.8 % (7 / 9) 37.5 % (3 / 8)
get_tupdesc_for_join_scan_tuples CBC 164 84.2 % (16 / 19) 64.3 % (9 / 14)
get_useful_ecs_for_relation CBC 538 100.0 % (25 / 25) 84.4 % (27 / 32)
import_spi_query_ok GNC 15 100.0 % (9 / 9) 50.0 % (5 / 10)
postgresAnalyzeForeignTable GNC 52 87.5 % (14 / 16) 37.5 % (3 / 8)
postgresForeignAsyncNotify GNC 148 76.9 % (10 / 13) 50.0 % (5 / 10)
postgresImportForeignStatistics GNC 43 94.7 % (36 / 38) 84.4 % (27 / 32)
postgresIsForeignRelUpdatable CBC 338 84.6 % (11 / 13) 72.2 % (13 / 18)
find_modifytable_subplan CBC 131 100.0 % (17 / 17) 75.0 % (12 / 16)
postgresGetForeignModifyBatchSize CBC 146 100.0 % (18 / 18) 84.6 % (22 / 26)
postgresGetForeignUpperPaths GNC 990 92.0 % (23 / 25) 77.8 % (14 / 18)
semijoin_target_ok CBC 64 92.3 % (12 / 13) 71.4 % (10 / 14)
apply_returning_filter CBC 16 70.4 % (19 / 27) 62.5 % (5 / 8)
apply_table_options CBC 1214 80.0 % (8 / 10) 75.0 % (9 / 12)
build_remattrmap GNC 7 97.1 % (34 / 35) 83.3 % (15 / 18)
complete_pending_request CBC 5 100.0 % (9 / 9) 62.5 % (5 / 8)
fetch_more_data GNC 1519 96.7 % (29 / 30) 78.6 % (11 / 14)
merge_fdw_options CBC 796 100.0 % (16 / 16) 81.2 % (13 / 16)
postgresExplainForeignScan GNC 396 97.4 % (38 / 39) 87.5 % (21 / 24)
postgresGetForeignJoinPaths GNC 1360 94.4 % (34 / 36) 85.0 % (17 / 20)
postgresIterateDirectModify GNC 418 93.8 % (15 / 16) 70.0 % (7 / 10)
process_pending_request CBC 9 72.7 % (8 / 11) 50.0 % (3 / 6)
apply_server_options CBC 1214 94.1 % (16 / 17) 88.9 % (16 / 18)
execute_dml_stmt GNC 71 90.5 % (19 / 21) 83.3 % (10 / 12)
fetch_more_data_begin GNC 160 90.9 % (10 / 11) 66.7 % (4 / 6)
get_useful_pathkeys_for_relation CBC 1549 97.1 % (33 / 34) 92.9 % (26 / 28)
postgresBeginDirectModify GNC 104 97.1 % (34 / 35) 87.5 % (14 / 16)
postgresEndForeignInsert CBC 50 85.7 % (6 / 7) 50.0 % (2 / 4)
postgresExecForeignBatchInsert CBC 42 75.0 % (6 / 8) 50.0 % (2 / 4)
postgresExecForeignInsert CBC 892 77.8 % (7 / 9) 66.7 % (4 / 6)
postgresReScanForeignScan GNC 407 92.6 % (25 / 27) 87.5 % (14 / 16)
postgresRecheckForeignScan CBC 5 100.0 % (11 / 11) 75.0 % (6 / 8)
prepare_foreign_modify GNC 187 83.3 % (10 / 12) 50.0 % (2 / 4)
prepare_query_params GNC 23 100.0 % (12 / 12) 75.0 % (6 / 8)
process_query_params CBC 350 91.7 % (11 / 12) 75.0 % (6 / 8)
add_paths_with_pathkeys_for_rel CBC 1549 100.0 % (28 / 28) 96.4 % (27 / 28)
adjust_foreign_grouping_path_cost CBC 30 100.0 % (12 / 12) 75.0 % (3 / 4)
attname_in_list GNC 21 100.0 % (8 / 8) 90.0 % (9 / 10)
close_cursor GNC 517 85.7 % (6 / 7) 50.0 % (1 / 2)
create_cursor GNC 851 96.4 % (27 / 28) 87.5 % (7 / 8)
deallocate_query GNC 171 90.0 % (9 / 10) 75.0 % (3 / 4)
ec_member_matches_foreign CBC 310 88.9 % (8 / 9) 75.0 % (3 / 4)
finish_foreign_modify CBC 160 100.0 % (6 / 6) 50.0 % (1 / 2)
get_batch_size_option CBC 146 100.0 % (14 / 14) 87.5 % (7 / 8)
get_returning_data CBC 364 100.0 % (21 / 21) 90.0 % (9 / 10)
postgresExecForeignDelete CBC 23 100.0 % (4 / 4) 50.0 % (1 / 2)
postgresExplainDirectModify CBC 32 100.0 % (6 / 6) 50.0 % (1 / 2)
postgresExplainForeignModify CBC 46 100.0 % (7 / 7) 75.0 % (3 / 4)
rebuild_fdw_scan_tlist CBC 2 100.0 % (12 / 12) 87.5 % (7 / 8)
find_em_for_rel CBC 1823 100.0 % (10 / 10) 100.0 % (10 / 10)
map_field_to_arg GNC 129 100.0 % (8 / 8) 100.0 % (2 / 2)
postgresBeginForeignModify CBC 170 100.0 % (12 / 12) 100.0 % (2 / 2)
postgresBeginForeignScan GNC 920 100.0 % (33 / 33) 100.0 % (10 / 10)
postgresEndDirectModify GNC 96 100.0 % (7 / 7) 100.0 % (2 / 2)
postgresEndForeignModify CBC 156 100.0 % (5 / 5) 100.0 % (2 / 2)
postgresEndForeignScan CBC 880 100.0 % (8 / 8) 100.0 % (4 / 4)
postgresExecForeignUpdate CBC 95 100.0 % (4 / 4) 100.0 % (2 / 2)
postgresGetForeignRelSize GNC 1214 100.0 % (47 / 47) 100.0 % (14 / 14)
postgresIterateForeignScan CBC 70928 100.0 % (14 / 14) 100.0 % (10 / 10)
set_transmission_modes CBC 4250 100.0 % (10 / 10) 100.0 % (6 / 6)
Pg_magic_func CBC 40 100.0 % (1 / 1)
pg_finfo_postgres_fdw_handler CBC 21 100.0 % (1 / 1)
postgresAddForeignUpdateTargets CBC 189 100.0 % (4 / 4)
postgresForeignAsyncRequest CBC 6175 100.0 % (3 / 3)
postgresIsForeignPathAsyncCapable CBC 237 100.0 % (4 / 4)
postgres_fdw_handler GNC 712 100.0 % (40 / 40)
remattrmap_cmp GNC 11 100.0 % (4 / 4)
reset_transmission_modes CBC 4250 100.0 % (3 / 3)
store_returning_result GNC 107 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta