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-09-07 05:15:51
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
45
pgstat_fetch_pending_entry
57
pgstat_have_entry
95
pgstat_get_kind_from_str
99
pgstat_discard_stats
199
pgstat_reset_after_failure
258
pgstat_snapshot_fixed
280
pgstat_build_snapshot
335
pgstat_force_next_flush
350
pgstat_write_statsfile
785
pgstat_before_server_shutdown
790
pgstat_read_statsfile
911
pgstat_restore_stats
911
assign_stats_fetch_consistency
3622
pgstat_build_snapshot_fixed
5974
match_db_entries
16514
pgstat_init_snapshot_fixed
25508
pgstat_initialize
25508
pgstat_shutdown_hook
25508
pgstat_flush_pending_entries
42683
pgstat_fetch_entry
319489
pgstat_prep_snapshot
319519
pgstat_report_stat
397794
write_chunk
505586
pgstat_is_kind_valid
508853
read_chunk
524702
pgstat_clear_snapshot
671275
pgstat_delete_pending_entry
1261721
pgstat_prep_pending_entry
2470328
pgstat_prep_pending_from_entry_ref
2470328
pgstat_get_kind_info
9049029
Generated by:
LCOV version 2.0-1