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: bed3ffbf9d952be6c7d739d068cdce44c046dfb7 vs 574581b50ac9c63dd9e4abebb731a3b67e5b50f6 Lines: 71.3 % 937 668 6 3 260 1 69 598 3 25
Current Date: 2026-05-05 10:23:31 +0900 Functions: 52.6 % 137 72 1 64 11 61
Baseline: lcov-20260505-025707-baseline Branches: 51.0 % 525 268 6 1 250 1 14 253 3 3
Baseline Date: 2026-05-05 10:27:06 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 80.9 % 89 72 6 11 69 3
(360..) days: 70.3 % 848 596 3 249 1 595
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 51.5 % 134 69 1 64 8 61
Branch coverage date bins:
(30,360] days: 53.3 % 30 16 6 8 14 2
(360..) days: 50.9 % 495 252 1 242 1 251

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_analyze_count UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
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_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_client_addr UBC 0 0.0 % (0 / 20) 0.0 % (0 / 12)
pg_stat_get_backend_client_port UBC 0 0.0 % (0 / 21) 0.0 % (0 / 13)
pg_stat_get_backend_dbid UBC 0 0.0 % (0 / 5) 0.0 % (0 / 2)
pg_stat_get_backend_start UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
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_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_xact_start UBC 0 0.0 % (0 / 10) 0.0 % (0 / 8)
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_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_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_sync_time UBC 0 0.0 % (0 / 2)
pg_stat_get_checkpointer_write_time UBC 0 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_numbackends UBC 0 0.0 % (0 / 9) 0.0 % (0 / 4)
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_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_ins_since_vacuum UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_last_autoanalyze_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 4)
pg_stat_get_last_autovacuum_time UBC 0 0.0 % (0 / 1) 0.0 % (0 / 4)
pg_stat_get_mod_since_analyze UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
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 UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_blocks_hit UBC 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_numscans UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_deleted UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_fetched UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_hot_updated UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_newpage_updated UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_returned UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
pg_stat_get_xact_tuples_updated UBC 0 0.0 % (0 / 1) 0.0 % (0 / 2)
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_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_function_stat_reset_time GNC 2 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_stat_reset_single_function_counters CBC 2 100.0 % (4 / 4)
pg_stat_get_checkpointer_num_timed CBC 4 100.0 % (2 / 2)
pg_stat_reset_backend_stats CBC 4 73.3 % (11 / 15) 50.0 % (4 / 8)
pg_stat_get_db_conflict_logicalslot CBC 6 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_reset_replication_slot CBC 6 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_stat_get_backend_wal CBC 8 85.7 % (6 / 7) 50.0 % (1 / 2)
pg_stat_get_bgwriter_stat_reset_time CBC 8 100.0 % (2 / 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_reset_slru CBC 8 100.0 % (7 / 7) 100.0 % (2 / 2)
pg_stat_clear_snapshot CBC 10 100.0 % (3 / 3)
pg_stat_get_tuples_hot_updated CBC 10 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_checkpointer_num_requested CBC 12 100.0 % (2 / 2)
pg_stat_get_checkpointer_stat_reset_time CBC 12 100.0 % (2 / 2)
pg_stat_get_lock GNC 12 100.0 % (18 / 18) 75.0 % (3 / 4)
pg_stat_reset_subscription_stats CBC 12 87.5 % (7 / 8) 50.0 % (3 / 6)
pg_stat_get_progress_info GNC 14 76.3 % (29 / 38) 53.6 % (15 / 28)
pg_stat_reset CBC 15 100.0 % (3 / 3)
pg_stat_get_xact_function_calls CBC 16 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_get_archiver GNC 22 96.9 % (31 / 32) 90.0 % (9 / 10)
pg_stat_get_db_checksum_failures GNC 24 83.3 % (5 / 6) 50.0 % (1 / 2)
pg_stat_get_db_checksum_last_failure GNC 24 87.5 % (7 / 8) 75.0 % (3 / 4)
pg_stat_get_db_stat_reset_time CBC 24 75.0 % (6 / 8) 50.0 % (2 / 4)
pg_stat_get_stat_reset_time GNC 24 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_reset_single_table_counters CBC 24 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_get_tuples_returned CBC 27 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_tuples_fetched CBC 32 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_xact_tuples_inserted CBC 32 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_backend_io CBC 36 100.0 % (11 / 11) 75.0 % (3 / 4)
pg_stat_get_tuples_deleted CBC 39 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_snapshot_timestamp CBC 40 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_get_subscription_stats GNC 40 94.4 % (34 / 36) 75.0 % (6 / 8)
pg_stat_get_wal CBC 40 100.0 % (3 / 3)
pg_stat_reset_shared GNC 44 71.0 % (22 / 31) 90.0 % (18 / 20)
pg_stat_get_tuples_updated CBC 47 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_last_vacuum_time CBC 48 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_wal_build_tuple GNC 48 100.0 % (23 / 23) 100.0 % (2 / 2)
pg_stat_get_replication_slot GNC 52 100.0 % (43 / 43) 100.0 % (6 / 6)
pg_stat_get_lastscan CBC 60 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_last_analyze_time CBC 64 100.0 % (1 / 1) 75.0 % (3 / 4)
pg_stat_get_backend_pid CBC 69 80.0 % (4 / 5) 50.0 % (1 / 2)
pg_stat_get_slru CBC 71 100.0 % (23 / 23) 100.0 % (2 / 2)
pg_stat_get_backend_idset CBC 73 100.0 % (13 / 13) 100.0 % (4 / 4)
pg_stat_get_blocks_fetched CBC 76 100.0 % (1 / 1) 50.0 % (1 / 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_dead_tuples CBC 91 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_io CBC 94 100.0 % (11 / 11) 83.3 % (5 / 6)
pg_stat_have_stats CBC 98 100.0 % (6 / 6)
pg_stat_get_numscans CBC 102 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_tuples_inserted CBC 115 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_live_tuples CBC 139 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_get_blocks_hit CBC 152 100.0 % (1 / 1) 50.0 % (1 / 2)
pg_stat_get_function_calls CBC 157 100.0 % (5 / 5) 100.0 % (2 / 2)
pg_stat_force_next_flush CBC 339 100.0 % (3 / 3)
pg_stat_get_activity CBC 1048 89.4 % (169 / 189) 83.5 % (76 / 91)
pg_stat_io_build_tuples CBC 1532 100.0 % (39 / 39) 100.0 % (22 / 22)
pg_backend_pid CBC 1698 100.0 % (2 / 2)
pg_stat_get_vacuum_count CBC 5766 100.0 % (1 / 1) 100.0 % (2 / 2)
pg_stat_us_to_ms CBC 31362 100.0 % (2 / 2)
pgstat_get_io_byte_index CBC 73232 90.9 % (10 / 11) 57.1 % (4 / 7)
pgstat_get_io_op_index CBC 73232 94.7 % (18 / 19) 72.7 % (8 / 11)
pgstat_get_io_time_index CBC 73232 93.3 % (14 / 15) 66.7 % (6 / 9)

Generated by: LCOV version 2.5.0-beta