LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_database.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 94.4 % 179 169 10 169
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 18 18 18
Baseline: lcov-20260726-baseline Branches: 68.3 % 60 41 19 41
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.5 % 16 14 2 14
(360..) days: 95.1 % 163 155 8 155
Function coverage date bins:
(360..) days: 100.0 % 18 18 18
Branch coverage date bins:
(30,360] days: 63.6 % 11 7 4 7
(360..) days: 69.4 % 49 34 15 34

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_report_checksum_failures_in_db CBC 28 76.9 % (10 / 13) 37.5 % (3 / 8)
pgstat_report_recovery_conflict CBC 12 86.2 % (25 / 29) 69.2 % (9 / 13)
pgstat_database_flush_cb CBC 68626 100.0 % (40 / 40) 62.5 % (5 / 8)
pgstat_prep_database_pending CBC 1122347 100.0 % (4 / 4) 75.0 % (3 / 4)
pgstat_prepare_report_checksum_failure CBC 1451513 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_report_autovac CBC 152 100.0 % (7 / 7) 50.0 % (1 / 2)
pgstat_report_deadlock CBC 6 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_report_disconnect CBC 16956 100.0 % (16 / 16) 85.7 % (6 / 7)
pgstat_report_tempfile CBC 4175 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_update_parallel_workers_stats CBC 499 83.3 % (5 / 6) 50.0 % (1 / 2)
AtEOXact_PgStat_Database CBC 429267 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_report_connect CBC 14606 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_update_dbstats CBC 42711 100.0 % (20 / 20) 100.0 % (4 / 4)
pgstat_database_reset_timestamp_cb CBC 15 100.0 % (3 / 3)
pgstat_drop_database CBC 51 100.0 % (3 / 3)
pgstat_fetch_stat_dbentry CBC 2681 100.0 % (3 / 3)
pgstat_reset_database_timestamp CBC 28 100.0 % (6 / 6)
pgstat_should_report_connstat CBC 69687 100.0 % (2 / 2)

Generated by: LCOV version 2.0-1