LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_relation.c (source / functions) Coverage Total Hit UBC CBC
Current: 603a3335f2b60b2c798da5c627b3bb288b92a7bd vs e395fbd32a07557de4ac98088928c1749d4845d8 Lines: 99.5 % 369 367 2 367
Current Date: 2026-07-25 17:13:00 -0400 Functions: 100.0 % 30 30 30
Baseline: lcov-20260726-baseline Branches: 83.2 % 184 153 31 153
Baseline Date: 2026-07-25 19:16:42 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 100.0 % 11 11 11
(360..) days: 99.4 % 358 356 2 356
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 27 27 27
Branch coverage date bins:
(30,360] days: 100.0 % 2 2 2
(360..) days: 83.0 % 182 151 31 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
pgstat_report_analyze CBC 10679 97.0 % (32 / 33) 86.4 % (19 / 22)
pgstat_report_vacuum CBC 16480 95.7 % (22 / 23) 83.3 % (5 / 6)
AtEOSubXact_PgStat_Relations CBC 6056 100.0 % (31 / 31) 85.7 % (12 / 14)
AtEOXact_PgStat_Relations CBC 159236 100.0 % (27 / 27) 78.6 % (11 / 14)
AtPrepare_PgStat_Relations CBC 309 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations CBC 309 100.0 % (5 / 5) 100.0 % (2 / 2)
add_tabstat_xact_level CBC 465658 100.0 % (10 / 10)
ensure_tabstat_xact_level CBC 16277537 100.0 % (6 / 6) 100.0 % (4 / 4)
find_tabstat_entry CBC 32 100.0 % (17 / 17) 83.3 % (5 / 6)
pgstat_assoc_relation CBC 1158380 100.0 % (8 / 8) 50.0 % (3 / 6)
pgstat_copy_relation_stats CBC 320 100.0 % (10 / 10) 75.0 % (3 / 4)
pgstat_count_heap_delete CBC 1865889 100.0 % (6 / 6) 33.3 % (2 / 6)
pgstat_count_heap_insert CBC 12231483 100.0 % (6 / 6) 100.0 % (6 / 6)
pgstat_count_heap_update CBC 2389054 100.0 % (11 / 11) 85.7 % (12 / 14)
pgstat_count_truncate CBC 2347 100.0 % (9 / 9) 66.7 % (4 / 6)
pgstat_create_relation CBC 90504 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_drop_relation CBC 50664 100.0 % (14 / 14) 91.7 % (11 / 12)
pgstat_fetch_stat_tabentry CBC 6752 100.0 % (2 / 2)
pgstat_fetch_stat_tabentry_ext CBC 36857 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_init_relation CBC 26251970 100.0 % (13 / 13) 100.0 % (16 / 16)
pgstat_prep_relation_pending CBC 1158834 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_relation_delete_pending_cb CBC 1103068 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_relation_flush_cb CBC 1056855 100.0 % (43 / 43) 100.0 % (10 / 10)
pgstat_relation_reset_timestamp_cb CBC 12253 100.0 % (3 / 3)
pgstat_twophase_postabort CBC 85 100.0 % (13 / 13) 100.0 % (2 / 2)
pgstat_twophase_postcommit CBC 369 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_unlink_relation CBC 1851695 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_update_heap_dead_tuples CBC 21757 100.0 % (5 / 5) 33.3 % (2 / 6)
restore_truncdrop_counters CBC 17488 100.0 % (6 / 6) 100.0 % (2 / 2)
save_truncdrop_counters CBC 3240 100.0 % (7 / 7) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1