LCOV - differential code coverage report
Current view: top level - src/backend/utils/adt - pgstatfuncs.c (source / functions) Coverage Total Hit UNC LBC UIC UBC GBC GIC GNC CBC EUB ECB DUB DCB
Current: Differential Code Coverage HEAD vs 15 Lines: 66.0 % 802 529 62 39 126 46 57 282 120 70 110 148 60 272
Current Date: 2023-04-08 17:13:01 Functions: 47.5 % 118 56 39 23 29 27 38 29 24 27
Baseline: 15 Line coverage date bins:
Baseline Date: 2023-04-08 15:09:40 [..60] days: 76.5 % 98 75 21 1 1 1 2 72
View type: Flat (60,120] days: 38.3 % 60 23 37 23
Legend: Lines: hit not hit (120,180] days: 88.9 % 9 8 1 1 5 2 2
(180,240] days: 66.7 % 9 6 3 6
(240..) days: 66.6 % 626 417 39 125 45 56 279 14 68 110 146
Function coverage date bins:
[..60] days: 31.8 % 22 7 15 7
(60,120] days: 45.5 % 44 20 24 20
(120,180] days: 0.0 % 2 0 2
(240..) days: 24.8 % 117 29 23 29 38 27

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function
pg_stat_get_activity GIC 575 88.0 % (162 / 184)
pg_stat_get_backend_wait_event_type UIC 0 0.0 % (0 / 12)
pg_stat_get_backend_activity_start UIC 0 0.0 % (0 / 10)
pg_stat_get_backend_xact_start UIC 0 0.0 % (0 / 10)
pg_stat_get_db_checksum_last_failure UIC 0 0.0 % (0 / 10)
pg_stat_get_xact_tuples_updated UIC 0 0.0 % (0 / 8)
pg_stat_get_bgwriter_buf_written_checkpoints UIC 0 0.0 % (0 / 2)
pg_stat_get_checkpoint_sync_time UIC 0 0.0 % (0 / 2)
pg_stat_get_db_stat_reset_time GIC 6 75.0 % (6 / 8)
pg_stat_get_subscription_stats GIC 29 90.5 % (19 / 21)
pg_stat_reset_shared GIC 14 86.7 % (13 / 15)
pg_stat_get_analyze_count UNC 0 0.0 % (0 / 1)
pg_stat_get_archiver GIC 22 96.8 % (30 / 31)
pg_stat_get_autoanalyze_count UNC 0 0.0 % (0 / 1)
pg_stat_get_db_blk_read_time UNC 0 0.0 % (0 / 1)
pg_stat_get_db_blk_write_time UNC 0 0.0 % (0 / 1)
pg_stat_get_db_blocks_fetched UNC 0 0.0 % (0 / 1)
pg_stat_get_db_idle_in_transaction_time UNC 0 0.0 % (0 / 1)
pg_stat_get_db_sessions_killed UNC 0 0.0 % (0 / 1)
pg_stat_get_db_temp_bytes UNC 0 0.0 % (0 / 1)
pg_stat_get_db_tuples_deleted UNC 0 0.0 % (0 / 1)
pg_stat_get_db_tuples_fetched UNC 0 0.0 % (0 / 1)
pg_stat_get_db_tuples_inserted UNC 0 0.0 % (0 / 1)
pg_stat_get_db_xact_commit UNC 0 0.0 % (0 / 1)
pg_stat_get_ins_since_vacuum UNC 0 0.0 % (0 / 1)
pg_stat_get_last_autoanalyze_time UNC 0 0.0 % (0 / 1)
pg_stat_get_last_autovacuum_time UNC 0 0.0 % (0 / 1)
pg_stat_get_tuples_newpage_updated UNC 0 0.0 % (0 / 1)
pg_stat_get_xact_blocks_fetched UNC 0 0.0 % (0 / 1)
pg_stat_get_xact_blocks_hit UNC 0 0.0 % (0 / 1)
pg_stat_get_xact_function_self_time UNC 0 0.0 % (0 / 1)
pg_stat_get_xact_function_total_time UNC 0 0.0 % (0 / 1)
pg_stat_get_xact_numscans UNC 0 0.0 % (0 / 1)
pg_stat_reset_subscription_stats GIC 10 87.5 % (7 / 8)
pgstat_get_io_op_index GNC 18480 94.1 % (16 / 17)
pgstat_get_io_time_index GNC 11760 85.7 % (6 / 7)
pg_backend_pid GIC 570 100.0 % (2 / 2)
pg_stat_clear_snapshot GIC 7 100.0 % (3 / 3)
pg_stat_get_bgwriter_stat_reset_time GIC 16 100.0 % (2 / 2)
pg_stat_get_bgwriter_timed_checkpoints GIC 4 100.0 % (2 / 2)
pg_stat_get_blocks_fetched GNC 24 100.0 % (1 / 1)
pg_stat_get_db_conflict_startup_deadlock GNC 1 100.0 % (1 / 1)
pg_stat_get_db_sessions GNC 6 100.0 % (1 / 1)
pg_stat_get_function_calls GIC 130 100.0 % (5 / 5)
pg_stat_get_function_self_time GNC 77 100.0 % (1 / 1)
pg_stat_get_function_total_time GNC 77 100.0 % (1 / 1)
pg_stat_get_lastscan GNC 42 100.0 % (1 / 1)
pg_stat_get_numscans GNC 82 100.0 % (1 / 1)
pg_stat_get_snapshot_timestamp GIC 15 100.0 % (5 / 5)
pg_stat_get_tuples_fetched GNC 24 100.0 % (1 / 1)
pg_stat_get_tuples_hot_updated GNC 6 100.0 % (1 / 1)
pg_stat_get_tuples_inserted GNC 46 100.0 % (1 / 1)
pg_stat_get_tuples_returned GNC 25 100.0 % (1 / 1)
pg_stat_get_tuples_updated GNC 34 100.0 % (1 / 1)
pg_stat_get_vacuum_count GNC 3779 100.0 % (1 / 1)
pg_stat_get_wal GIC 41 100.0 % (26 / 26)
pg_stat_get_xact_function_calls GIC 12 100.0 % (5 / 5)
pg_stat_reset GIC 13 100.0 % (3 / 3)
pg_stat_reset_replication_slot GIC 6 100.0 % (7 / 7)
pg_stat_reset_single_table_counters GIC 3 100.0 % (4 / 4)
pg_stat_reset_slru GIC 6 100.0 % (7 / 7)
pg_stat_force_next_flush ECB 201
pg_stat_get_backend_activity EUB 0
pg_stat_get_backend_client_addr EUB 0
pg_stat_get_backend_client_port EUB 0
pg_stat_get_backend_dbid EUB 0
pg_stat_get_backend_pid ECB 35
pg_stat_get_backend_start EUB 0
pg_stat_get_backend_subxact EUB 0
pg_stat_get_backend_userid EUB 0
pg_stat_get_backend_wait_event EUB 0
pg_stat_get_bgwriter_buf_written_clean EUB 0
pg_stat_get_bgwriter_requested_checkpoints ECB 10
pg_stat_get_blocks_hit ECB 48
pg_stat_get_db_active_time EUB 0
pg_stat_get_db_blocks_hit EUB 0
pg_stat_get_db_checksum_failures EUB 0
pg_stat_get_db_conflict_all ECB 1
pg_stat_get_db_conflict_bufferpin ECB 1
pg_stat_get_db_conflict_lock ECB 1
pg_stat_get_db_conflict_logicalslot ECB 6
pg_stat_get_db_conflict_snapshot ECB 1
pg_stat_get_db_conflict_tablespace ECB 1
pg_stat_get_db_deadlocks ECB 1
pg_stat_get_db_numbackends EUB 0
pg_stat_get_db_session_time EUB 0
pg_stat_get_db_sessions_abandoned EUB 0
pg_stat_get_db_sessions_fatal EUB 0
pg_stat_get_db_temp_files EUB 0
pg_stat_get_db_tuples_returned EUB 0
pg_stat_get_db_tuples_updated EUB 0
pg_stat_get_db_xact_rollback EUB 0
pg_stat_get_slru ECB 56
pg_stat_have_stats ECB 82
pg_stat_reset_single_function_counters ECB 2

Generated by: LCOV version v1.16-55-g56c0a2a