LCOV - code coverage report
Current view: top level - src/backend/utils/activity - pgstat_relation.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 96.8 % 379 367
Test Date: 2026-09-03 00:15:54 Functions: 100.0 % 31 31
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 86.7 % 166 144

Function Name Sort by function name Hit count Sort by function hit count
AtEOSubXact_PgStat_Relations 16222
AtEOXact_PgStat_Relations 159276
AtPrepare_PgStat_Relations 299
PostPrepare_PgStat_Relations 299
add_tabstat_xact_level 470390
ensure_tabstat_xact_level 16599890
find_relstat_entry_kind 32
pgstat_assoc_relation 1239671
pgstat_copy_relation_stats 323
pgstat_count_heap_delete 1930340
pgstat_count_heap_insert 12475009
pgstat_count_heap_update 2404125
pgstat_count_truncate 2380
pgstat_create_relation 88876
pgstat_drop_relation 48837
pgstat_fetch_stat_tabentry 6614
pgstat_fetch_stat_tabentry_ext 299517
pgstat_get_relation_kind 1377707
pgstat_init_relation 27749034
pgstat_prep_relation_pending 1240121
pgstat_relation_delete_pending_cb 477652
pgstat_relation_flush_cb 448051
pgstat_relation_reset_timestamp_cb 8455
pgstat_report_analyze 10479
pgstat_report_vacuum 127492
pgstat_twophase_postabort 85
pgstat_twophase_postcommit 365
pgstat_unlink_relation 1940395
pgstat_update_heap_dead_tuples 21259
restore_truncdrop_counters 17868
save_truncdrop_counters 3284

Generated by: LCOV version 2.0-1