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: 380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 vs db5ed03217b9c238703df8b4b286115d6e940488 Lines: 99.2 % 369 366 1 2 13 353 9
Current Date: 2026-05-29 21:51:00 -0400 Functions: 100.0 % 30 30 8 22 4
Baseline: lcov-20260530-034037-baseline Branches: 82.6 % 184 152 1 31 2 150 2
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: 100.0 % 13 13 13
(360..) days: 99.2 % 356 353 1 2 353
Function coverage date bins:
(30,360] days: 100.0 % 5 5 5
(360..) days: 100.0 % 25 25 3 22
Branch coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 82.4 % 182 150 1 31 150

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
AtEOSubXact_PgStat_Relations CBC 6079 100.0 % (31 / 31) 85.7 % (12 / 14)
AtEOXact_PgStat_Relations CBC 158208 100.0 % (27 / 27) 78.6 % (11 / 14)
AtPrepare_PgStat_Relations CBC 323 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations CBC 323 100.0 % (5 / 5) 100.0 % (2 / 2)
add_tabstat_xact_level CBC 461719 100.0 % (10 / 10)
ensure_tabstat_xact_level CBC 16430224 100.0 % (6 / 6) 100.0 % (4 / 4)
find_tabstat_entry GNC 32 100.0 % (17 / 17) 83.3 % (5 / 6)
pgstat_assoc_relation CBC 1094651 100.0 % (8 / 8) 50.0 % (3 / 6)
pgstat_copy_relation_stats GNC 331 100.0 % (10 / 10) 75.0 % (3 / 4)
pgstat_count_heap_delete CBC 1851216 100.0 % (6 / 6) 33.3 % (2 / 6)
pgstat_count_heap_insert CBC 12407692 100.0 % (6 / 6) 100.0 % (6 / 6)
pgstat_count_heap_update CBC 2383737 100.0 % (11 / 11) 85.7 % (12 / 14)
pgstat_count_truncate CBC 2302 100.0 % (9 / 9) 66.7 % (4 / 6)
pgstat_create_relation CBC 89931 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_drop_relation CBC 49787 100.0 % (14 / 14) 91.7 % (11 / 12)
pgstat_fetch_stat_tabentry GNC 6824 100.0 % (2 / 2)
pgstat_fetch_stat_tabentry_ext GNC 20240 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_init_relation CBC 26674446 100.0 % (13 / 13) 100.0 % (16 / 16)
pgstat_prep_relation_pending CBC 1095118 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_relation_delete_pending_cb CBC 1035859 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_relation_flush_cb CBC 990503 97.7 % (42 / 43) 90.0 % (9 / 10)
pgstat_relation_reset_timestamp_cb GNC 12310 100.0 % (3 / 3)
pgstat_report_analyze CBC 10313 97.0 % (32 / 33) 86.4 % (19 / 22)
pgstat_report_vacuum GNC 16432 95.7 % (22 / 23) 83.3 % (5 / 6)
pgstat_twophase_postcommit GNC 382 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_unlink_relation CBC 1786213 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_update_heap_dead_tuples CBC 21481 100.0 % (5 / 5) 33.3 % (2 / 6)
restore_truncdrop_counters CBC 17289 100.0 % (6 / 6) 100.0 % (2 / 2)
save_truncdrop_counters CBC 3203 100.0 % (7 / 7) 100.0 % (4 / 4)

Generated by: LCOV version 2.5.0-beta