LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 85.5 % 622 532 21 69 75 457 10 58
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 36 36 6 30
Baseline: lcov-20261105-baseline Branches: 62.5 % 550 344 48 1 157 50 294
Baseline Date: 2026-11-05 14:14:01 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 81.2 % 64 52 12 52
(30,360] days: 79.5 % 83 66 9 8 23 43
(360..) days: 87.2 % 475 414 61 414
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 100.0 % 32 32 5 27
Branch coverage date bins:
(7,30] days: 62.5 % 56 35 21 35
(30,360] days: 54.3 % 94 51 27 16 15 36
(360..) days: 64.5 % 400 258 1 141 258

Function Name Sort by function name TLA Hit count Sort by function hit count Lines Sort by unexercised lines in function Branches Sort by unexercised branches in function
assign_stats_fetch_consistency CBC 2172 100.0 % (4 / 4) 100.0 % (2 / 2)
match_db_entries CBC 14707 100.0 % (2 / 2)
pgstat_assert_is_up CBC 6163003 100.0 % (3 / 3) 50.0 % (2 / 4)
pgstat_before_server_shutdown CBC 803 100.0 % (9 / 9) 60.0 % (6 / 10)
pgstat_build_snapshot GNC 335 100.0 % (39 / 39) 81.2 % (26 / 32)
pgstat_build_snapshot_fixed CBC 6070 100.0 % (18 / 18) 68.8 % (11 / 16)
pgstat_clear_snapshot CBC 430508 100.0 % (12 / 12) 100.0 % (2 / 2)
pgstat_delete_pending_entry CBC 1197302 100.0 % (12 / 12) 66.7 % (4 / 6)
pgstat_discard_stats CBC 211 92.3 % (12 / 13) 75.0 % (12 / 16)
pgstat_fetch_entry CBC 39141 100.0 % (45 / 45) 83.3 % (25 / 30)
pgstat_fetch_pending_entry CBC 57 100.0 % (5 / 5) 100.0 % (4 / 4)
pgstat_flush_pending_entries CBC 44750 100.0 % (23 / 23) 77.8 % (14 / 18)
pgstat_force_next_flush CBC 353 100.0 % (3 / 3)
pgstat_get_kind_from_str CBC 98 54.5 % (6 / 11) 42.9 % (6 / 14)
pgstat_get_kind_info CBC 12943240 100.0 % (10 / 10) 100.0 % (8 / 8)
pgstat_get_stat_snapshot_timestamp CBC 40 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_have_entry CBC 94 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_init_snapshot_fixed CBC 24261 100.0 % (8 / 8) 100.0 % (6 / 6)
pgstat_initialize CBC 24261 100.0 % (12 / 12) 87.5 % (7 / 8)
pgstat_is_kind_valid CBC 476222 100.0 % (2 / 2) 75.0 % (3 / 4)
pgstat_prep_pending_entry GNC 2331466 100.0 % (4 / 4)
pgstat_prep_pending_from_entry_ref GNC 2331466 100.0 % (13 / 13) 70.0 % (7 / 10)
pgstat_prep_snapshot CBC 39171 100.0 % (10 / 10) 87.5 % (7 / 8)
pgstat_read_statsfile GNC 914 63.6 % (82 / 129) 43.2 % (57 / 132)
pgstat_register_kind GNC 18 65.0 % (26 / 40) 35.7 % (25 / 70)
pgstat_report_stat CBC 391724 97.6 % (41 / 42) 86.1 % (31 / 36)
pgstat_reset CBC 45 100.0 % (8 / 8) 75.0 % (3 / 4)
pgstat_reset_after_failure CBC 273 100.0 % (9 / 9) 100.0 % (6 / 6)
pgstat_reset_counters CBC 15 100.0 % (4 / 4)
pgstat_reset_of_kind CBC 47 100.0 % (7 / 7) 100.0 % (2 / 2)
pgstat_restore_stats CBC 914 100.0 % (3 / 3)
pgstat_shutdown_hook CBC 24261 92.3 % (12 / 13) 66.7 % (8 / 12)
pgstat_snapshot_fixed CBC 281 92.3 % (12 / 13) 62.5 % (10 / 16)
pgstat_write_statsfile GNC 798 74.7 % (59 / 79) 64.7 % (44 / 68)
read_chunk CBC 489000 100.0 % (2 / 2)
write_chunk CBC 475652 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1