LCOV - code coverage report
Current view:
top level
-
src/backend/utils/activity
- pgstat.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
84.2 %
570
480
Test Date:
2026-11-11 06:16:28
Functions:
100.0 %
35
35
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
64.9 %
442
287
Function Name
Hit count
pgstat_reset_counters
15
pgstat_register_kind
18
pgstat_get_stat_snapshot_timestamp
40
pgstat_reset
45
pgstat_reset_of_kind
48
pgstat_fetch_pending_entry
57
pgstat_have_entry
96
pgstat_get_kind_from_str
100
pgstat_discard_stats
211
pgstat_reset_after_failure
274
pgstat_snapshot_fixed
283
pgstat_build_snapshot
335
pgstat_force_next_flush
353
pgstat_write_statsfile
833
pgstat_before_server_shutdown
838
pgstat_read_statsfile
954
pgstat_restore_stats
954
assign_stats_fetch_consistency
3609
pgstat_build_snapshot_fixed
6317
match_db_entries
15114
pgstat_init_snapshot_fixed
26618
pgstat_initialize
26618
pgstat_shutdown_hook
26618
pgstat_flush_pending_entries
44726
pgstat_fetch_entry
287775
pgstat_prep_snapshot
287805
pgstat_report_stat
405279
pgstat_is_kind_valid
490556
write_chunk
491211
read_chunk
503238
pgstat_clear_snapshot
659814
pgstat_delete_pending_entry
1288495
pgstat_prep_pending_entry
2521645
pgstat_prep_pending_from_entry_ref
2521645
pgstat_get_kind_info
10447998
Generated by:
LCOV version 2.0-1