LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - pgstatfuncs.c (source / functions) Coverage Total Hit UNC LBC UBC GBC GNC CBC DUB DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 71.4 % 967 690 17 1 259 2 36 652 12 13
Current Date: 2026-09-20 14:13:17 +0900 Functions: 56.6 % 152 86 14 52 2 17 67 9 3
Baseline: lcov-20260920-baseline Branches: 51.2 % 559 286 38 1 234 4 18 264
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(1,7] days: 0.0 % 1 0 1
(7,30] days: 20.0 % 10 2 8 2
(30,360] days: 80.5 % 118 95 8 15 34 61
(360..) days: 70.8 % 838 593 1 244 2 591
Function coverage date bins:
(7,30] days: 20.0 % 10 2 8 2
(30,360] days: 73.7 % 19 14 5 12 2
(360..) days: 56.9 % 123 70 1 52 2 3 65
Branch coverage date bins:
(7,30] days: 15.0 % 20 3 17 3
(30,360] days: 46.8 % 62 29 21 12 15 14
(360..) days: 53.2 % 477 254 1 222 4 250

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
pg_stat_get_activity CBC 925 86.8 % (164 / 189) 81.3 % (74 / 91)
pg_stat_get_progress_info GNC 13 73.7 % (28 / 38) 50.0 % (14 / 28)
pg_stat_get_backend_client_port UBC 0 0.0 % (0 / 21) 0.0 % (0 / 13)
pg_stat_get_backend_client_addr UBC 0 0.0 % (0 / 20) 0.0 % (0 / 12)
pg_stat_get_backend_wait_event UBC 0 0.0 % (0 / 15) 0.0 % (0 / 12)
pg_stat_get_backend_wait_event_type UBC 0 0.0 % (0 / 15) 0.0 % (0 / 12)
pg_stat_get_backend_activity UBC 0 0.0 % (0 / 13) 0.0 % (0 / 8)
pg_stat_get_backend_activity_start UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
pg_stat_get_backend_start UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
pg_stat_get_backend_xact_start UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
pg_stat_get_db_numbackends UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
pg_stat_get_last_autoanalyze_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 4)
pg_stat_reset_backend_stats CBC 4 73.3 % (11 / 15) 50.0 % (4 / 8)
pg_stat_reset_subscription_stats CBC 12 87.5 % (7 / 8) 50.0 % (3 / 6)
pgstat_get_io_byte_index CBC 67968 90.9 % (10 / 11) 57.1 % (4 / 7)
pgstat_get_io_op_index CBC 67968 94.7 % (18 / 19) 72.7 % (8 / 11)
pgstat_get_io_time_index CBC 67968 93.3 % (14 / 15) 66.7 % (6 / 9)
pg_stat_get_autoanalyze_count UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_autovacuum_count UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_backend_dbid UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
pg_stat_get_backend_subxact UNC 0 0.0 % (0 / 15) 0.0 % (0 / 2)
pg_stat_get_backend_userid UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
pg_stat_get_db_active_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_blk_read_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_blk_write_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_blocks_fetched UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_blocks_hit UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_idle_in_transaction_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_session_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_sessions_abandoned UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_sessions_fatal UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_sessions_killed UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_stat_reset_time CBC 24 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_stat_get_db_temp_bytes UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_temp_files UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_tuples_deleted UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_tuples_fetched UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_tuples_inserted UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_tuples_returned UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_tuples_updated UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_xact_commit UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_db_xact_rollback UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_mod_since_analyze UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_subscription_stats CBC 41 94.4 % (34 / 36) 75.0 % (6 / 8)
pg_stat_get_total_analyze_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_total_autoanalyze_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_total_autovacuum_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_total_vacuum_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_tuples_newpage_updated UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_blocks_fetched UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_blocks_hit UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_function_self_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_function_total_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_idx_blocks_fetched UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_idx_blocks_hit UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_idx_numscans UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_idx_tuples_fetched UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_idx_tuples_returned UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_numscans UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_returned UNC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_reset_shared CBC 44 71.0 % (22 / 31) 90.0 % (18 / 20)
pg_stat_get_analyze_count CBC 2 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_archiver CBC 27 96.9 % (31 / 32) 90.0 % (9 / 10)
pg_stat_get_backend_io CBC 36 100.0 % (11 / 11) 75.0 % (3 / 4)
pg_stat_get_backend_lock GNC 8 88.9 % (8 / 9) 50.0 % (1 / 2)
pg_stat_get_backend_pid CBC 63 80.0 % (4 / 5) 50.0 % (1 / 2)
pg_stat_get_backend_wal CBC 8 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_stat_get_blocks_fetched CBC 52 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_blocks_hit CBC 104 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_checksum_failures GNC 18 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_stat_get_db_checksum_last_failure GNC 16 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_stat_get_db_conflict_all CBC 1 90.9 % (10 / 11) 50.0 % (1 / 2)
pg_stat_get_db_conflict_bufferpin CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_conflict_lock CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_conflict_logicalslot CBC 6 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_conflict_snapshot CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_conflict_startup_deadlock CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_conflict_tablespace CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_deadlocks CBC 1 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_parallel_workers_launched CBC 8 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_parallel_workers_to_launch CBC 8 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_db_sessions CBC 8 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_function_stat_reset_time CBC 2 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_stat_get_idx_blocks_fetched GNC 24 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_idx_blocks_hit GNC 48 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_idx_lastscan GNC 32 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_idx_numscans GNC 63 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_idx_stat_reset_time GNC 8 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_idx_tuples_fetched GNC 28 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_idx_tuples_returned GNC 4 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_ins_since_vacuum GBC 4 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_io CBC 94 100.0 % (11 / 11) 83.3 % (5 / 6)
pg_stat_get_last_analyze_time CBC 64 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_last_autovacuum_time GBC 7 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_last_vacuum_time CBC 48 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_lastscan CBC 28 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_stat_reset_time CBC 16 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_tuples_fetched CBC 8 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_tuples_hot_updated CBC 9 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_lock_build_tuples GNC 20 100.0 % (16 / 16) 83.3 % (5 / 6)
pg_stat_reset_single_index_counters GNC 4 100.0 % (5 / 5) 50.0 % (1 / 2)
pg_stat_get_backend_idset CBC 67 100.0 % (13 / 13) 100.0 % (4 / 4)
pg_stat_get_dead_tuples CBC 97 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_function_calls CBC 157 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_get_function_self_time CBC 77 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_function_total_time CBC 77 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_live_tuples CBC 145 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_numscans CBC 43 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_replication_slot CBC 52 100.0 % (43 / 43) 100.0 % (6 / 6)
pg_stat_get_slru CBC 71 100.0 % (23 / 23) 100.0 % (2 / 2)
pg_stat_get_snapshot_timestamp CBC 40 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_get_tuples_deleted CBC 43 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_tuples_inserted CBC 119 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_tuples_returned CBC 27 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_tuples_updated CBC 51 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_vacuum_count CBC 5221 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_xact_function_calls CBC 16 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_io_build_tuples CBC 1532 100.0 % (39 / 39) 100.0 % (22 / 22)
pg_stat_reset_replication_slot CBC 6 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_stat_reset_single_table_counters CBC 22 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_reset_slru CBC 8 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_stat_wal_build_tuple CBC 48 100.0 % (23 / 23) 100.0 % (2 / 2)
pg_backend_pid CBC 1278 100.0 % (2 / 2)
pg_stat_clear_snapshot CBC 9 100.0 % (3 / 3)
pg_stat_force_next_flush CBC 350 100.0 % (3 / 3)
pg_stat_get_bgwriter_buf_written_clean UBC 0 0.0 % (0 / 2)
pg_stat_get_bgwriter_maxwritten_clean UBC 0 0.0 % (0 / 2)
pg_stat_get_bgwriter_stat_reset_time CBC 8 100.0 % (2 / 2)
pg_stat_get_buf_alloc UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_buffers_written UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_num_performed UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_num_requested CBC 12 100.0 % (2 / 2)
pg_stat_get_checkpointer_num_timed CBC 4 100.0 % (2 / 2)
pg_stat_get_checkpointer_restartpoints_performed UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_restartpoints_requested UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_restartpoints_timed UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_slru_written UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_stat_reset_time CBC 12 100.0 % (2 / 2)
pg_stat_get_checkpointer_sync_time UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_write_time UBC 0 0.0 % (0 / 2)
pg_stat_get_wal CBC 40 100.0 % (3 / 3)
pg_stat_have_stats CBC 98 100.0 % (6 / 6)
pg_stat_reset CBC 15 100.0 % (3 / 3)
pg_stat_reset_single_function_counters CBC 2 100.0 % (4 / 4)
pg_stat_us_to_ms GNC 28970 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1