LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - pgstat_relation.c (source / functions) Coverage Total Hit UNC UBC GNC CBC DCB
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 97.0 % 402 390 10 2 151 239 128
Current Date: 2026-09-20 14:13:17 +0900 Functions: 100.0 % 31 31 23 8 4
Baseline: lcov-20260920-baseline Branches: 79.9 % 214 171 16 27 44 127
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 51 51 51
(30,360] days: 91.7 % 120 110 10 100 10
(360..) days: 99.1 % 231 229 2 229
Function coverage date bins:
(30,360] days: 100.0 % 8 8 5 3
(360..) days: 100.0 % 23 23 18 5
Branch coverage date bins:
(7,30] days: 100.0 % 8 8 8
(30,360] days: 70.4 % 54 38 16 36 2
(360..) days: 82.2 % 152 125 27 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 334 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 15790 95.7 % (22 / 23) 83.3 % (5 / 6)
AtEOSubXact_PgStat_Relations GNC 16202 100.0 % (31 / 31) 85.7 % (12 / 14)
AtEOXact_PgStat_Relations GNC 155781 100.0 % (27 / 27) 78.6 % (11 / 14)
AtPrepare_PgStat_Relations GNC 292 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations GNC 292 100.0 % (5 / 5) 100.0 % (2 / 2)
add_tabstat_xact_level GNC 459869 100.0 % (10 / 10)
pgstat_assoc_relation GNC 1163021 100.0 % (9 / 9) 50.0 % (3 / 6)
pgstat_count_heap_delete GNC 1848376 100.0 % (7 / 7) 37.5 % (3 / 8)
pgstat_count_heap_insert GNC 12360135 100.0 % (7 / 7) 87.5 % (7 / 8)
pgstat_count_heap_update GNC 2395257 100.0 % (12 / 12) 81.2 % (13 / 16)
pgstat_count_truncate GNC 2313 100.0 % (10 / 10) 62.5 % (5 / 8)
pgstat_create_relation GNC 86613 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_drop_relation GNC 47954 100.0 % (17 / 17) 92.9 % (13 / 14)
pgstat_fetch_stat_tabentry CBC 6088 100.0 % (2 / 2)
pgstat_fetch_stat_tabentry_ext CBC 34873 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_get_relation_kind GNC 1297922 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_init_relation CBC 24968341 100.0 % (13 / 13) 100.0 % (16 / 16)
pgstat_prep_relation_pending GNC 1163457 100.0 % (8 / 8) 100.0 % (4 / 4)
pgstat_relation_delete_pending_cb GNC 472801 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_relation_flush_cb GNC 443604 100.0 % (46 / 46) 100.0 % (14 / 14)
pgstat_relation_reset_timestamp_cb CBC 7583 100.0 % (3 / 3)
pgstat_twophase_postabort GNC 86 100.0 % (13 / 13) 100.0 % (2 / 2)
pgstat_twophase_postcommit GNC 350 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_unlink_relation CBC 1803723 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_update_heap_dead_tuples GNC 20558 100.0 % (6 / 6) 37.5 % (3 / 8)
restore_truncdrop_counters CBC 17379 100.0 % (6 / 6) 100.0 % (2 / 2)
save_truncdrop_counters CBC 3233 100.0 % (7 / 7) 100.0 % (4 / 4)

Generated by: LCOV version 2.0-1