LCOV - differential code coverage report
Current view: top level - contrib/postgres_fdw - postgres_fdw.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 1a1248818fb8b8b0353c292c632d6a6af77e8209 vs 8e82d6610e7280d7870c0c36ff1c797e3cfb3e09 Lines: 93.7 % 2786 2611 9 166 2 212 2397 2 56
Current Date: 2026-10-12 11:56:10 +0200 Functions: 100.0 % 109 109 27 82 1
Baseline: lcov-20261012-baseline Branches: 75.2 % 2045 1537 56 452 4 146 1387
Baseline Date: 2026-10-12 10:36:06 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 50.0 % 2 1 1 1
(7,30] days: 72.7 % 11 8 3 8
(30,360] days: 94.2 % 535 504 9 22 212 292
(360..) days: 93.7 % 2238 2098 140 2 2096
Function coverage date bins:
(30,360] days: 100.0 % 21 21 8 13
(360..) days: 100.0 % 88 88 19 69
Branch coverage date bins:
(1,7] days: 16.7 % 6 1 5 1
(7,30] days: 41.7 % 12 5 7 5
(30,360] days: 69.9 % 392 274 56 62 146 128
(360..) days: 76.9 % 1635 1257 378 4 1253

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 CBC 55 73.8 % (76 / 103) 55.4 % (51 / 92)
foreign_join_ok GNC 442 90.8 % (118 / 130) 77.9 % (95 / 122)
analyze_row_processor CBC 23781 55.6 % (10 / 18) 16.7 % (2 / 12)
apply_returning_filter CBC 17 70.4 % (19 / 27) 62.5 % (5 / 8)
fetch_attstats CBC 9 77.8 % (21 / 27) 43.8 % (7 / 16)
add_foreign_final_paths GNC 574 92.2 % (59 / 64) 56.5 % (35 / 62)
postgresImportForeignSchema CBC 10 95.7 % (110 / 115) 84.0 % (79 / 94)
conversion_error_callback CBC 5 91.3 % (42 / 46) 68.8 % (22 / 32)
fetch_remote_statistics CBC 12 92.6 % (50 / 54) 63.6 % (28 / 44)
function_rte_pushdown_ok GNC 37 85.7 % (24 / 28) 67.6 % (23 / 34)
import_fetched_statistics GNC 8 92.6 % (50 / 54) 50.0 % (10 / 20)
init_returning_filter GNC 2 81.8 % (18 / 22) 66.7 % (12 / 18)
match_attrmap CBC 9 85.7 % (24 / 28) 57.1 % (16 / 28)
postgresBeginForeignInsert CBC 64 90.7 % (39 / 43) 68.4 % (26 / 38)
postgresExplainForeignScan GNC 436 94.0 % (63 / 67) 74.1 % (40 / 54)
postgresPlanForeignModify GNC 173 92.3 % (48 / 52) 73.7 % (28 / 38)
find_em_for_rel_target GNC 261 89.3 % (25 / 28) 67.6 % (23 / 34)
get_remote_estimate CBC 1333 76.9 % (10 / 13) 30.0 % (3 / 10)
postgresGetAnalyzeInfoForForeignTable CBC 48 85.0 % (17 / 20) 28.6 % (4 / 14)
postgresGetForeignPaths GNC 1285 94.1 % (48 / 51) 83.3 % (35 / 42)
postgresPlanDirectModify GNC 201 95.2 % (59 / 62) 76.5 % (39 / 51)
process_pending_request CBC 10 72.7 % (8 / 11) 50.0 % (3 / 6)
add_foreign_ordered_paths CBC 171 94.4 % (34 / 36) 73.1 % (19 / 26)
apply_table_options CBC 1287 80.0 % (8 / 10) 75.0 % (9 / 12)
execute_foreign_modify CBC 1055 95.2 % (40 / 42) 84.2 % (32 / 38)
fetch_relstats CBC 12 77.8 % (7 / 9) 37.5 % (3 / 8)
get_tupdesc_for_join_scan_tuples GNC 177 94.6 % (35 / 37) 67.5 % (27 / 40)
postgresAnalyzeForeignTable CBC 55 87.5 % (14 / 16) 37.5 % (3 / 8)
postgresExecForeignBatchInsert CBC 42 75.0 % (6 / 8) 50.0 % (2 / 4)
postgresExecForeignInsert CBC 893 77.8 % (7 / 9) 66.7 % (4 / 6)
postgresGetForeignJoinPaths CBC 1454 94.4 % (34 / 36) 85.0 % (17 / 20)
postgresGetForeignUpperPaths CBC 1064 92.0 % (23 / 25) 77.8 % (14 / 18)
postgresImportForeignStatistics CBC 48 95.0 % (38 / 40) 83.3 % (25 / 30)
postgresIsForeignRelUpdatable CBC 346 84.6 % (11 / 13) 72.2 % (13 / 18)
postgresReScanForeignScan CBC 445 91.7 % (22 / 24) 68.8 % (11 / 16)
prepare_foreign_modify CBC 190 83.3 % (10 / 12) 50.0 % (2 / 4)
produce_tuple_asynchronously CBC 6243 91.7 % (22 / 24) 72.7 % (16 / 22)
set_int32_arg CBC 13 75.0 % (6 / 8) 50.0 % (1 / 2)
add_foreign_grouping_paths CBC 164 96.2 % (25 / 26) 64.3 % (9 / 14)
apply_server_options CBC 1287 94.1 % (16 / 17) 88.9 % (16 / 18)
build_remattrmap CBC 9 97.1 % (34 / 35) 83.3 % (15 / 18)
create_foreign_modify CBC 185 97.9 % (47 / 48) 81.2 % (26 / 32)
deallocate_query CBC 174 90.0 % (9 / 10) 75.0 % (3 / 4)
ec_member_matches_foreign CBC 314 88.9 % (8 / 9) 75.0 % (3 / 4)
execute_dml_stmt CBC 74 95.2 % (20 / 21) 91.7 % (11 / 12)
fetch_more_data GNC 1573 96.7 % (29 / 30) 78.6 % (11 / 14)
fetch_more_data_begin CBC 167 90.9 % (10 / 11) 66.7 % (4 / 6)
get_useful_pathkeys_for_relation CBC 1658 97.1 % (33 / 34) 92.9 % (26 / 28)
make_tuple_from_result_row GNC 95642 98.0 % (48 / 49) 73.3 % (22 / 30)
postgresBeginForeignScan GNC 985 97.8 % (45 / 46) 70.8 % (17 / 24)
postgresEndForeignInsert CBC 50 85.7 % (6 / 7) 50.0 % (2 / 4)
postgresForeignAsyncConfigureWait CBC 227 96.3 % (26 / 27) 75.0 % (18 / 24)
postgresForeignAsyncNotify CBC 156 92.3 % (12 / 13) 60.0 % (6 / 10)
postgresIterateDirectModify CBC 423 93.8 % (15 / 16) 70.0 % (7 / 10)
process_query_params CBC 390 91.7 % (11 / 12) 75.0 % (6 / 8)
semijoin_target_ok CBC 65 92.3 % (12 / 13) 71.4 % (10 / 14)
Pg_magic_func CBC 38 100.0 % (1 / 1)
add_paths_with_pathkeys_for_rel CBC 1658 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 CBC 25 100.0 % (8 / 8) 90.0 % (9 / 10)
build_remote_returning CBC 5 100.0 % (36 / 36) 88.9 % (32 / 36)
close_cursor CBC 544 100.0 % (7 / 7) 100.0 % (2 / 2)
complete_pending_request CBC 4 100.0 % (9 / 9) 62.5 % (5 / 8)
convert_prep_stmt_params GNC 1055 100.0 % (29 / 29) 80.8 % (21 / 26)
create_cursor CBC 907 100.0 % (28 / 28) 100.0 % (8 / 8)
estimate_path_cost_size GNC 2904 100.0 % (168 / 168) 82.7 % (91 / 110)
find_em_for_rel GNC 1892 100.0 % (10 / 10) 100.0 % (10 / 10)
find_modifytable_subplan CBC 136 100.0 % (17 / 17) 75.0 % (12 / 16)
finish_foreign_modify CBC 163 100.0 % (6 / 6) 50.0 % (1 / 2)
foreign_grouping_ok GNC 164 100.0 % (61 / 61) 89.1 % (57 / 64)
free_remattrmap CBC 12 100.0 % (9 / 9) 75.0 % (6 / 8)
get_base_relids GNC 2404 100.0 % (5 / 5) 100.0 % (2 / 2)
get_batch_size_option CBC 147 100.0 % (14 / 14) 87.5 % (7 / 8)
get_functions_data GNC 1202 100.0 % (21 / 21) 80.0 % (16 / 20)
get_min_base_rti GNC 1202 100.0 % (3 / 3)
get_opt_value CBC 169 100.0 % (4 / 4) 100.0 % (2 / 2)
get_returning_data CBC 368 100.0 % (21 / 21) 90.0 % (9 / 10)
get_useful_ecs_for_relation CBC 542 100.0 % (25 / 25) 84.4 % (27 / 32)
init_func_stub_fpinfo GNC 31 100.0 % (18 / 18)
merge_fdw_options CBC 855 100.0 % (16 / 16) 81.2 % (13 / 16)
pg_finfo_postgres_fdw_handler CBC 19 100.0 % (1 / 1)
postgresAddForeignUpdateTargets CBC 194 100.0 % (4 / 4)
postgresBeginDirectModify GNC 108 100.0 % (40 / 40) 85.0 % (17 / 20)
postgresBeginForeignModify CBC 174 100.0 % (12 / 12) 100.0 % (2 / 2)
postgresEndDirectModify CBC 100 100.0 % (7 / 7) 100.0 % (2 / 2)
postgresEndForeignModify CBC 160 100.0 % (5 / 5) 100.0 % (2 / 2)
postgresEndForeignScan CBC 945 100.0 % (8 / 8) 100.0 % (4 / 4)
postgresExecForeignDelete CBC 23 100.0 % (4 / 4) 50.0 % (1 / 2)
postgresExecForeignTruncate CBC 15 100.0 % (34 / 34) 81.2 % (26 / 32)
postgresExecForeignUpdate CBC 97 100.0 % (4 / 4) 100.0 % (2 / 2)
postgresExplainDirectModify CBC 33 100.0 % (6 / 6) 50.0 % (1 / 2)
postgresExplainForeignModify CBC 47 100.0 % (7 / 7) 75.0 % (3 / 4)
postgresForeignAsyncRequest CBC 6083 100.0 % (3 / 3)
postgresGetForeignModifyBatchSize CBC 147 100.0 % (18 / 18) 84.6 % (22 / 26)
postgresGetForeignPlan GNC 1095 100.0 % (56 / 56) 88.0 % (44 / 50)
postgresGetForeignRelSize GNC 1287 100.0 % (47 / 47) 100.0 % (14 / 14)
postgresIsForeignPathAsyncCapable CBC 251 100.0 % (4 / 4)
postgresIterateForeignScan CBC 70961 100.0 % (14 / 14) 100.0 % (10 / 10)
postgresRecheckForeignScan CBC 5 100.0 % (11 / 11) 75.0 % (6 / 8)
postgres_fdw_handler CBC 748 100.0 % (40 / 40)
prepare_query_params GNC 32 100.0 % (12 / 12) 75.0 % (6 / 8)
rebuild_fdw_scan_tlist CBC 3 100.0 % (12 / 12) 87.5 % (7 / 8)
remattrmap_cmp CBC 13 100.0 % (4 / 4)
reset_transmission_modes CBC 4384 100.0 % (3 / 3)
set_float_arg CBC 52 100.0 % (8 / 8) 100.0 % (2 / 2)
set_floatarr_arg GNC 39 100.0 % (9 / 9) 100.0 % (2 / 2)
set_text_arg CBC 65 100.0 % (7 / 7) 100.0 % (2 / 2)
set_transmission_modes CBC 4384 100.0 % (10 / 10) 100.0 % (6 / 6)
store_returning_result CBC 109 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1