LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_relation.c (source / functions) Coverage Total Hit UNC LBC UBC GNC CBC DCB
Current: d68601258e652a3cb034f3f218a63779456ec5f7 vs 158b6d5109fad9d5f0c30693fa85041a1c621fe1 Lines: 97.0 % 402 390 10 2 151 239 128
Current Date: 2026-10-13 14:31:45 +0300 Functions: 100.0 % 31 31 23 8 4
Baseline: lcov-20261013-baseline Branches: 79.9 % 214 171 16 3 24 44 127
Baseline Date: 2026-10-12 20:45:00 -0400 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 94.0 % 168 158 10 151 7
(360..) days: 99.1 % 234 232 2 232
Function coverage date bins:
(30,360] days: 100.0 % 7 7 5 2
(360..) days: 100.0 % 24 24 18 6
Branch coverage date bins:
(30,360] days: 74.2 % 62 46 16 44 2
(360..) days: 82.2 % 152 125 3 24 125

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_copy_relation_stats GNC 326 57.1 % (12 / 21) 40.0 % (4 / 10)
find_relstat_entry_kind GNC 33 94.7 % (18 / 19) 75.0 % (6 / 8)
pgstat_report_analyze GNC 10394 97.1 % (33 / 34) 83.3 % (20 / 24)
pgstat_report_vacuum CBC 15778 95.7 % (22 / 23) 83.3 % (5 / 6)
AtEOSubXact_PgStat_Relations GNC 16211 100.0 % (31 / 31) 85.7 % (12 / 14)
AtEOXact_PgStat_Relations GNC 155806 100.0 % (27 / 27) 78.6 % (11 / 14)
AtPrepare_PgStat_Relations GNC 310 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations GNC 310 100.0 % (5 / 5) 100.0 % (2 / 2)
ensure_tabstat_xact_level GNC 16388148 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_assoc_relation GNC 1166386 100.0 % (9 / 9) 50.0 % (3 / 6)
pgstat_count_heap_delete GNC 1850263 100.0 % (7 / 7) 37.5 % (3 / 8)
pgstat_count_heap_insert GNC 12359682 100.0 % (7 / 7) 87.5 % (7 / 8)
pgstat_count_heap_update GNC 2395423 100.0 % (12 / 12) 81.2 % (13 / 16)
pgstat_count_truncate GNC 2314 100.0 % (10 / 10) 62.5 % (5 / 8)
pgstat_create_relation GNC 86873 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_drop_relation GNC 48121 100.0 % (17 / 17) 92.9 % (13 / 14)
pgstat_fetch_stat_tabentry CBC 6077 100.0 % (2 / 2)
pgstat_fetch_stat_tabentry_ext CBC 34777 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_get_relation_kind GNC 1301706 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_init_relation CBC 26190670 100.0 % (13 / 13) 100.0 % (16 / 16)
pgstat_prep_relation_pending GNC 1166840 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_relation_delete_pending_cb GNC 474584 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_relation_flush_cb GNC 445276 100.0 % (46 / 46) 100.0 % (14 / 14)
pgstat_relation_reset_timestamp_cb CBC 7554 100.0 % (3 / 3)
pgstat_twophase_postabort GNC 86 100.0 % (13 / 13) 100.0 % (2 / 2)
pgstat_twophase_postcommit GNC 368 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_unlink_relation CBC 1806231 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_update_heap_dead_tuples GNC 20768 100.0 % (6 / 6) 37.5 % (3 / 8)
restore_truncdrop_counters CBC 17561 100.0 % (6 / 6) 100.0 % (2 / 2)
save_truncdrop_counters CBC 3238 100.0 % (7 / 7) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1