LCOV - differential code coverage report
Current view: top level - src/backend/commands - explain.c (source / functions) Coverage Total Hit UNC LBC UBC GIC GNC CBC ECB DUB DCB
Current: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 78.5 % 2437 1914 75 8 440 130 1784 3 11 22
Current Date: 2026-05-05 10:23:31 +0900 Functions: 95.9 % 73 70 1 1 1 18 52
Baseline: lcov-20260505-025707-baseline Branches: 68.5 % 1583 1084 49 6 444 1 57 1026 8 8
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: 47.5 % 101 48 53 48
(30,360] days: 80.5 % 113 91 22 82 9
(360..) days: 79.8 % 2223 1775 8 440 1775 3
Function coverage date bins:
(7,30] days: 100.0 % 2 2 2
(30,360] days: 100.0 % 2 2 2
(360..) days: 95.7 % 69 66 1 1 1 14 52
Branch coverage date bins:
(7,30] days: 29.5 % 44 13 31 13
(30,360] days: 73.5 % 68 50 18 44 6
(360..) days: 69.4 % 1471 1021 6 444 1 1020

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
show_buffer_usage CBC 3408 57.8 % (74 / 128) 40.4 % (42 / 104)
ExplainNode GNC 58867 89.7 % (642 / 716) 86.1 % (327 / 380)
report_triggers GNC 78 8.3 % (3 / 36) 3.6 % (1 / 28)
show_hashagg_info CBC 7099 34.6 % (18 / 52) 42.9 % (18 / 42)
ExplainPrintJIT LBC 0 0.0 % (0 / 55) 0.0 % (0 / 22)
show_scan_io_usage GNC 22136 29.2 % (14 / 48) 21.4 % (6 / 28)
show_wal_usage UNC 0 0.0 % (0 / 34) 0.0 % (0 / 22)
show_incremental_sort_info CBC 260 42.4 % (14 / 33) 33.3 % (10 / 30)
show_tidbitmap_info GNC 2746 42.4 % (14 / 33) 33.3 % (10 / 30)
peek_buffer_usage CBC 16387 100.0 % (23 / 23) 60.4 % (29 / 48)
ExplainTargetRel CBC 28497 89.9 % (71 / 79) 68.4 % (39 / 57)
show_memoize_info GNC 218 50.8 % (31 / 61) 50.0 % (18 / 36)
show_modifytable_info GNC 714 83.3 % (100 / 120) 80.0 % (68 / 85)
ExplainOneUtility CBC 427 78.0 % (32 / 41) 61.8 % (21 / 34)
ExplainPrintTriggers CBC 2290 77.8 % (14 / 18) 58.3 % (14 / 24)
plan_is_disabled CBC 58867 82.1 % (23 / 28) 70.6 % (24 / 34)
ExplainCustomChildren UBC 0 0.0 % (0 / 6) 0.0 % (0 / 8)
show_grouping_set_keys CBC 534 97.0 % (32 / 33) 78.1 % (25 / 32)
show_sortorder_options CBC 5411 87.0 % (20 / 23) 70.8 % (17 / 24)
ExplainCloseWorker CBC 96 91.7 % (11 / 12) 57.1 % (8 / 14)
print_io_usage GNC 8 61.5 % (16 / 26) 40.0 % (4 / 10)
show_incremental_sort_group_info CBC 36 78.4 % (40 / 51) 76.9 % (20 / 26)
show_tablesample GNC 80 83.3 % (25 / 30) 72.7 % (16 / 22)
ExplainPrintJITSummary CBC 6641 44.4 % (4 / 9) 16.7 % (1 / 6)
ExplainQuery CBC 16477 92.6 % (25 / 27) 75.0 % (15 / 20)
explain_get_index_name CBC 7380 77.8 % (7 / 9) 37.5 % (3 / 8)
ExplainOpenWorker CBC 96 100.0 % (20 / 20) 71.4 % (10 / 14)
ExplainPrintSerialize CBC 20 89.3 % (25 / 28) 75.0 % (12 / 16)
show_result_replacement_info GNC 2081 91.1 % (41 / 45) 85.7 % (24 / 28)
show_sort_group_keys CBC 5744 93.1 % (27 / 29) 77.8 % (14 / 18)
show_sort_info CBC 3204 97.0 % (32 / 33) 80.0 % (16 / 20)
ExplainOnePlan GNC 16407 98.7 % (78 / 79) 95.2 % (59 / 62)
ExplainPrintPlan CBC 16390 92.3 % (24 / 26) 85.0 % (17 / 20)
ExplainPrintSettings CBC 16390 87.0 % (20 / 23) 78.6 % (11 / 14)
ExplainQueryParameters CBC 11 100.0 % (6 / 6) 70.0 % (7 / 10)
show_ctescan_info CBC 167 66.7 % (4 / 6) 25.0 % (1 / 4)
show_recursive_union_info CBC 36 33.3 % (3 / 9) 25.0 % (1 / 4)
show_table_func_scan_info CBC 52 66.7 % (4 / 6) 25.0 % (1 / 4)
show_window_keys CBC 381 93.3 % (14 / 15) 75.0 % (9 / 12)
ExplainIndexScanDetails CBC 4505 68.4 % (13 / 19) 71.4 % (5 / 7)
show_foreignscan_info CBC 431 100.0 % (8 / 8) 66.7 % (4 / 6)
show_hash_info CBC 2890 93.8 % (30 / 32) 85.7 % (12 / 14)
show_instrumentation_count CBC 17788 90.9 % (10 / 11) 83.3 % (10 / 12)
ExplainOneQuery CBC 16586 85.7 % (6 / 7) 75.0 % (3 / 4)
ExplainPreScanNode GNC 58987 90.0 % (36 / 40) 91.7 % (11 / 12)
ExplainQueryText CBC 11 100.0 % (4 / 4) 50.0 % (1 / 2)
ExplainSubPlans GNC 1184 100.0 % (16 / 16) 91.7 % (11 / 12)
show_indexsearches_info GNC 7380 93.1 % (27 / 29) 90.0 % (9 / 10)
show_material_info CBC 770 100.0 % (6 / 6) 75.0 % (3 / 4)
show_plan_tlist CBC 7852 100.0 % (21 / 21) 94.4 % (17 / 18)
show_storage_info CBC 20 75.0 % (6 / 8) 50.0 % (1 / 2)
show_windowagg_info CBC 312 100.0 % (6 / 6) 75.0 % (3 / 4)
ExplainFlushWorkersState CBC 684 100.0 % (15 / 15) 100.0 % (4 / 4)
ExplainMemberNodes CBC 2728 100.0 % (4 / 4) 100.0 % (2 / 2)
ExplainMissingMembers CBC 2603 100.0 % (5 / 5) 100.0 % (4 / 4)
ExplainResultDesc GNC 38311 100.0 % (15 / 15) 100.0 % (12 / 12)
show_agg_keys CBC 7099 100.0 % (9 / 9) 100.0 % (6 / 6)
show_grouping_sets GNC 223 100.0 % (11 / 11) 100.0 % (10 / 10)
show_memory_counters CBC 20 100.0 % (10 / 10) 100.0 % (2 / 2)
show_qual CBC 70360 100.0 % (5 / 5) 100.0 % (2 / 2)
show_scan_qual CBC 42936 100.0 % (4 / 4) 100.0 % (4 / 4)
show_upper_qual CBC 27424 100.0 % (4 / 4) 100.0 % (4 / 4)
show_window_def CBC 312 100.0 % (29 / 29) 100.0 % (14 / 14)
standard_ExplainOneQuery GNC 16159 100.0 % (22 / 22) 100.0 % (12 / 12)
ExplainCreateWorkersState GNC 684 100.0 % (8 / 8)
ExplainModifyTarget CBC 714 100.0 % (3 / 3)
ExplainScanTarget CBC 27434 100.0 % (3 / 3)
elapsed_time CBC 18669 100.0 % (4 / 4)
show_expression GNC 25110 100.0 % (5 / 5)
show_group_keys CBC 64 100.0 % (6 / 6)
show_incremental_sort_keys CBC 260 100.0 % (4 / 4)
show_merge_append_keys CBC 230 100.0 % (4 / 4)
show_sort_keys CBC 3204 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta