LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_relation.c (source / functions) Coverage Total Hit LBC UBC GNC CBC DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 99.5 % 369 367 2 10 357 6
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 30 30 5 25 3
Baseline: lcov-20260315-024220-baseline Branches: 83.2 % 184 153 3 28 2 151 2
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 10 10 10
(360..) days: 99.4 % 359 357 2 357
Function coverage date bins:
(30,360] days: 100.0 % 4 4 4
(360..) days: 100.0 % 26 26 1 25
Branch coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 83.0 % 182 151 3 28 151

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
find_tabstat_entry GNC 24 100.0 % (17 / 17) 83.3 % (5 / 6)
pgstat_twophase_postabort GNC 85 100.0 % (13 / 13) 100.0 % (2 / 2)
pgstat_copy_relation_stats CBC 278 100.0 % (10 / 10) 75.0 % (3 / 4)
AtPrepare_PgStat_Relations CBC 304 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations CBC 304 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_twophase_postcommit GNC 363 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_count_truncate CBC 1804 100.0 % (9 / 9) 66.7 % (4 / 6)
save_truncdrop_counters CBC 2497 100.0 % (7 / 7) 100.0 % (4 / 4)
pgstat_fetch_stat_tabentry CBC 4701 100.0 % (2 / 2)
AtEOSubXact_PgStat_Relations CBC 5842 100.0 % (31 / 31) 85.7 % (12 / 14)
pgstat_report_analyze CBC 8413 97.0 % (32 / 33) 86.4 % (19 / 22)
pgstat_relation_reset_timestamp_cb GNC 8905 100.0 % (3 / 3)
restore_truncdrop_counters CBC 12700 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_fetch_stat_tabentry_ext CBC 13174 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_update_heap_dead_tuples CBC 16667 100.0 % (5 / 5) 33.3 % (2 / 6)
pgstat_drop_relation CBC 38796 100.0 % (14 / 14) 91.7 % (11 / 12)
pgstat_create_relation CBC 71480 100.0 % (5 / 5) 100.0 % (2 / 2)
AtEOXact_PgStat_Relations CBC 125938 100.0 % (27 / 27) 78.6 % (11 / 14)
pgstat_count_heap_update CBC 307724 100.0 % (11 / 11) 85.7 % (12 / 14)
add_tabstat_xact_level CBC 361211 100.0 % (10 / 10)
pgstat_relation_flush_cb CBC 873475 100.0 % (43 / 43) 100.0 % (10 / 10)
pgstat_relation_delete_pending_cb CBC 908508 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_assoc_relation CBC 953950 100.0 % (8 / 8) 50.0 % (3 / 6)
pgstat_prep_relation_pending CBC 954398 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_unlink_relation CBC 1467018 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_count_heap_delete CBC 1494749 100.0 % (6 / 6) 33.3 % (2 / 6)
pgstat_count_heap_insert CBC 9568378 100.0 % (6 / 6) 100.0 % (6 / 6)
ensure_tabstat_xact_level CBC 11179718 100.0 % (6 / 6) 100.0 % (4 / 4)
pgstat_init_relation CBC 22107487 100.0 % (13 / 13) 100.0 % (16 / 16)

Generated by: LCOV version 2.4-beta