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-10-21 07:15:53
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
95
pgstat_get_kind_from_str
99
pgstat_discard_stats
209
pgstat_reset_after_failure
271
pgstat_snapshot_fixed
284
pgstat_build_snapshot
335
pgstat_force_next_flush
352
pgstat_write_statsfile
818
pgstat_before_server_shutdown
823
pgstat_read_statsfile
941
pgstat_restore_stats
941
assign_stats_fetch_consistency
3614
pgstat_build_snapshot_fixed
6213
match_db_entries
15251
pgstat_init_snapshot_fixed
26118
pgstat_initialize
26118
pgstat_shutdown_hook
26118
pgstat_flush_pending_entries
43830
pgstat_fetch_entry
290367
pgstat_prep_snapshot
290397
pgstat_report_stat
395449
pgstat_is_kind_valid
491796
write_chunk
491909
read_chunk
504781
pgstat_clear_snapshot
646721
pgstat_delete_pending_entry
1256220
pgstat_prep_pending_entry
2459208
pgstat_prep_pending_from_entry_ref
2459208
pgstat_get_kind_info
10281522
Generated by:
LCOV version 2.0-1