LCOV - code coverage report
Current view:
top level
-
src/backend/utils/activity
- pgstat.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
85.0 %
555
472
Test Date:
2026-08-17 21:15:38
Functions:
100.0 %
35
35
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
66.2 %
420
278
Function Name
Hit count
pgstat_register_kind
6
pgstat_reset_counters
15
pgstat_get_stat_snapshot_timestamp
40
pgstat_reset
45
pgstat_reset_of_kind
46
pgstat_fetch_pending_entry
56
pgstat_have_entry
96
pgstat_get_kind_from_str
100
pgstat_discard_stats
198
pgstat_reset_after_failure
258
pgstat_snapshot_fixed
284
pgstat_build_snapshot
311
pgstat_force_next_flush
341
pgstat_write_statsfile
774
pgstat_before_server_shutdown
779
pgstat_read_statsfile
899
pgstat_restore_stats
899
assign_stats_fetch_consistency
3521
pgstat_build_snapshot_fixed
5901
match_db_entries
16215
pgstat_init_snapshot_fixed
25124
pgstat_initialize
25124
pgstat_shutdown_hook
25124
pgstat_flush_pending_entries
42053
pgstat_fetch_entry
304650
pgstat_prep_snapshot
304680
pgstat_report_stat
400318
write_chunk
497680
pgstat_is_kind_valid
500530
read_chunk
515776
pgstat_clear_snapshot
661975
pgstat_delete_pending_entry
1243495
pgstat_prep_pending_entry
2435778
pgstat_prep_pending_from_entry_ref
2435778
pgstat_get_kind_info
8898567
Generated by:
LCOV version 2.0-1