LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DUB DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 86.2 % 608 524 6 78 19 505 1 10
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 36 36 4 32
Baseline: lcov-20260920-baseline Branches: 63.6 % 528 336 18 174 12 324
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 81.0 % 84 68 5 11 18 50
(360..) days: 87.2 % 522 455 67 455
Function coverage date bins:
(30,360] days: 100.0 % 4 4 1 3
(360..) days: 100.0 % 32 32 3 29
Branch coverage date bins:
(30,360] days: 57.8 % 90 52 18 20 12 40
(360..) days: 64.8 % 438 284 154 284

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
pgstat_register_kind GNC 6 66.7 % (24 / 36) 36.7 % (22 / 60)
pgstat_reset_counters CBC 15 100.0 % (4 / 4)
pgstat_get_stat_snapshot_timestamp CBC 40 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_reset CBC 45 100.0 % (8 / 8) 75.0 % (3 / 4)
pgstat_reset_of_kind CBC 45 100.0 % (7 / 7) 100.0 % (2 / 2)
pgstat_fetch_pending_entry CBC 57 100.0 % (5 / 5) 100.0 % (4 / 4)
pgstat_have_entry CBC 94 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_get_kind_from_str CBC 98 54.5 % (6 / 11) 42.9 % (6 / 14)
pgstat_discard_stats CBC 204 92.3 % (12 / 13) 75.0 % (12 / 16)
pgstat_reset_after_failure CBC 265 100.0 % (9 / 9) 100.0 % (6 / 6)
pgstat_snapshot_fixed CBC 284 92.3 % (12 / 13) 62.5 % (10 / 16)
pgstat_build_snapshot CBC 335 100.0 % (37 / 37) 80.0 % (24 / 30)
pgstat_force_next_flush CBC 350 100.0 % (3 / 3)
pgstat_write_statsfile CBC 777 74.4 % (58 / 78) 63.6 % (42 / 66)
pgstat_before_server_shutdown CBC 782 100.0 % (9 / 9) 60.0 % (6 / 10)
pgstat_read_statsfile GNC 895 64.8 % (79 / 122) 44.4 % (55 / 124)
pgstat_restore_stats CBC 895 100.0 % (3 / 3)
assign_stats_fetch_consistency CBC 2120 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_build_snapshot_fixed CBC 5922 100.0 % (18 / 18) 68.8 % (11 / 16)
match_db_entries CBC 14858 100.0 % (2 / 2)
pgstat_init_snapshot_fixed CBC 23710 100.0 % (8 / 8) 100.0 % (6 / 6)
pgstat_initialize CBC 23710 100.0 % (12 / 12) 87.5 % (7 / 8)
pgstat_shutdown_hook CBC 23710 92.3 % (12 / 13) 66.7 % (8 / 12)
pgstat_fetch_entry CBC 38596 100.0 % (45 / 45) 83.3 % (25 / 30)
pgstat_prep_snapshot CBC 38626 100.0 % (10 / 10) 87.5 % (7 / 8)
pgstat_flush_pending_entries CBC 43871 100.0 % (23 / 23) 77.8 % (14 / 18)
pgstat_report_stat CBC 388114 97.6 % (41 / 42) 88.9 % (32 / 36)
pgstat_clear_snapshot CBC 426702 100.0 % (12 / 12) 100.0 % (2 / 2)
write_chunk CBC 466607 100.0 % (3 / 3)
pgstat_is_kind_valid CBC 467350 100.0 % (2 / 2) 75.0 % (3 / 4)
read_chunk CBC 479960 100.0 % (2 / 2)
pgstat_delete_pending_entry CBC 1178628 100.0 % (12 / 12) 66.7 % (4 / 6)
pgstat_prep_pending_entry GNC 2296004 100.0 % (4 / 4)
pgstat_prep_pending_from_entry_ref GNC 2296004 100.0 % (13 / 13) 70.0 % (7 / 10)
pgstat_assert_is_up CBC 6098985 100.0 % (3 / 3) 50.0 % (2 / 4)
pgstat_get_kind_info CBC 11505536 100.0 % (10 / 10) 100.0 % (8 / 8)

Generated by: LCOV version 2.0-1