LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_database.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DUB DCB
Current: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 93.9 % 179 168 3 1 7 9 159 9
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 18 18 2 16
Baseline: lcov-20260530-034037-baseline Branches: 66.7 % 60 40 2 1 17 7 33 1 7
Baseline Date: 2026-05-29 14:39:03 -0700 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 87.5 % 16 14 1 1 9 5
(360..) days: 94.5 % 163 154 2 1 6 154
Function coverage date bins:
(360..) days: 100.0 % 18 18 2 16
Branch coverage date bins:
(30,360] days: 63.6 % 11 7 2 2 7
(360..) days: 67.3 % 49 33 1 15 33

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 425769 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_database_flush_cb CBC 65231 97.5 % (39 / 40) 50.0 % (4 / 8)
pgstat_database_reset_timestamp_cb CBC 15 100.0 % (3 / 3)
pgstat_drop_database CBC 50 100.0 % (3 / 3)
pgstat_fetch_stat_dbentry GNC 2444 100.0 % (3 / 3)
pgstat_prep_database_pending CBC 1054059 100.0 % (4 / 4) 75.0 % (3 / 4)
pgstat_prepare_report_checksum_failure CBC 1488233 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_report_autovac CBC 63 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 14722 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 16971 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 4131 83.3 % (5 / 6) 50.0 % (1 / 2)
pgstat_reset_database_timestamp CBC 26 100.0 % (6 / 6)
pgstat_should_report_connstat CBC 67427 100.0 % (2 / 2)
pgstat_update_dbstats CBC 40480 100.0 % (20 / 20) 100.0 % (4 / 4)
pgstat_update_parallel_workers_stats CBC 500 83.3 % (5 / 6) 50.0 % (1 / 2)

Generated by: LCOV version 2.5.0-beta