LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_database.c (source / functions) Coverage Total Hit UNC UBC GBC GNC CBC DUB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 94.4 % 179 169 3 7 1 8 160 8
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 18 18 1 17
Baseline: lcov-20260315-024220-baseline Branches: 68.3 % 60 41 2 17 1 7 33 1 7
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 0.0 % 1 0 1
(30,360] days: 90.0 % 20 18 1 1 8 10
(360..) days: 95.6 % 158 151 2 5 1 150
Function coverage date bins:
(30,360] days: 100.0 % 1 1 1
(360..) days: 100.0 % 17 17 1 16
Branch coverage date bins:
(7,30] days: 0.0 % 2 0 2
(30,360] days: 66.7 % 15 10 2 3 7 3
(360..) days: 72.1 % 43 31 12 1 30

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
AtEOXact_PgStat_Database CBC 338872 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_database_flush_cb CBC 59113 100.0 % (40 / 40) 62.5 % (5 / 8)
pgstat_database_reset_timestamp_cb CBC 13 100.0 % (3 / 3)
pgstat_drop_database CBC 47 100.0 % (3 / 3)
pgstat_fetch_stat_dbentry CBC 2013 100.0 % (3 / 3)
pgstat_prep_database_pending CBC 931689 100.0 % (4 / 4) 75.0 % (3 / 4)
pgstat_prepare_report_checksum_failure CBC 1340175 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_report_autovac CBC 38 100.0 % (7 / 7) 50.0 % (1 / 2)
pgstat_report_checksum_failures_in_db CBC 41 76.9 % (10 / 13) 37.5 % (3 / 8)
pgstat_report_connect CBC 13713 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_report_deadlock CBC 6 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_report_disconnect CBC 15402 100.0 % (16 / 16) 85.7 % (6 / 7)
pgstat_report_recovery_conflict GNC 12 86.2 % (25 / 29) 69.2 % (9 / 13)
pgstat_report_tempfile CBC 3172 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_reset_database_timestamp CBC 11 100.0 % (6 / 6)
pgstat_should_report_connstat CBC 61710 100.0 % (2 / 2)
pgstat_update_dbstats CBC 36951 100.0 % (20 / 20) 100.0 % (4 / 4)
pgstat_update_parallel_workers_stats CBC 366 83.3 % (5 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta