LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_database.c (source / functions) Coverage Total Hit UBC CBC
Current: c38de3ae6098ccf1904109f2e550eb4777f66024 vs e352ac8c5c90ed6ce792f044c22145578542a330 Lines: 94.4 % 179 169 10 169
Current Date: 2026-11-05 14:14:01 +0100 Functions: 100.0 % 18 18 18
Baseline: lcov-20261105-baseline Branches: 68.3 % 60 41 19 41
Baseline Date: 2026-11-05 14:14:01 +0100 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_deadlock CBC 6 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_report_recovery_conflict CBC 12 86.2 % (25 / 29) 69.2 % (9 / 13)
pgstat_database_reset_timestamp_cb CBC 15 100.0 % (3 / 3)
pgstat_reset_database_timestamp CBC 28 100.0 % (6 / 6)
pgstat_report_checksum_failures_in_db CBC 30 76.9 % (10 / 13) 37.5 % (3 / 8)
pgstat_drop_database CBC 58 100.0 % (3 / 3)
pgstat_report_autovac CBC 164 100.0 % (7 / 7) 50.0 % (1 / 2)
pgstat_update_parallel_workers_stats CBC 492 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_fetch_stat_dbentry CBC 2909 100.0 % (3 / 3)
pgstat_report_tempfile CBC 4181 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_report_connect CBC 15550 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_report_disconnect CBC 17968 100.0 % (16 / 16) 85.7 % (6 / 7)
pgstat_update_dbstats CBC 44750 100.0 % (20 / 20) 100.0 % (4 / 4)
pgstat_database_flush_cb CBC 71612 100.0 % (40 / 40) 62.5 % (5 / 8)
pgstat_should_report_connstat CBC 73320 100.0 % (2 / 2)
AtEOXact_PgStat_Database CBC 430167 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_prep_database_pending CBC 1150401 100.0 % (4 / 4) 75.0 % (3 / 4)
pgstat_prepare_report_checksum_failure CBC 1379520 100.0 % (4 / 4) 50.0 % (1 / 2)

Generated by: LCOV version 2.0-1