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: 4b3c9325757dfd8f2312e9f1a8decf4431f344ae vs e87b024bfb8dd55e3049b1b6e6ab4e810cf1abc8 Lines: 96.8 % 404 391 10 1 2 151 240 128
Current Date: 2026-11-28 16:48:44 +0900 Functions: 100.0 % 31 31 23 8 4
Baseline: lcov-20261128-baseline Branches: 79.4 % 218 173 16 1 28 44 129
Baseline Date: 2026-11-28 16:48:48 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 3 3 3
(30,360] days: 94.0 % 168 158 10 151 7
(360..) days: 98.7 % 233 230 1 2 230
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:
(7,30] days: 75.0 % 4 3 1 3
(30,360] days: 74.2 % 62 46 16 44 2
(360..) days: 81.6 % 152 124 1 27 124

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_relstat_entry_kind GNC 33 94.7 % (18 / 19) 75.0 % (6 / 8)
pgstat_twophase_postabort GNC 85 100.0 % (13 / 13) 100.0 % (2 / 2)
AtPrepare_PgStat_Relations GNC 294 100.0 % (17 / 17) 62.5 % (5 / 8)
PostPrepare_PgStat_Relations GNC 294 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_copy_relation_stats GNC 334 57.1 % (12 / 21) 40.0 % (4 / 10)
pgstat_twophase_postcommit GNC 352 100.0 % (18 / 18) 100.0 % (2 / 2)
pgstat_count_truncate GNC 2330 100.0 % (10 / 10) 62.5 % (5 / 8)
save_truncdrop_counters CBC 3285 100.0 % (7 / 7) 100.0 % (4 / 4)
pgstat_fetch_stat_tabentry CBC 6114 100.0 % (2 / 2)
pgstat_relation_reset_timestamp_cb CBC 7630 100.0 % (3 / 3)
pgstat_report_analyze GNC 10814 97.1 % (33 / 34) 83.3 % (20 / 24)
AtEOSubXact_PgStat_Relations GNC 16355 100.0 % (31 / 31) 85.7 % (12 / 14)
pgstat_report_vacuum CBC 16535 96.0 % (24 / 25) 80.0 % (8 / 10)
restore_truncdrop_counters CBC 19390 100.0 % (6 / 6) 100.0 % (2 / 2)
pgstat_update_heap_dead_tuples GNC 22207 100.0 % (6 / 6) 37.5 % (3 / 8)
pgstat_fetch_stat_tabentry_ext CBC 38165 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_drop_relation GNC 51361 100.0 % (17 / 17) 92.9 % (13 / 14)
pgstat_create_relation GNC 91432 100.0 % (6 / 6) 100.0 % (2 / 2)
AtEOXact_PgStat_Relations GNC 162905 100.0 % (27 / 27) 78.6 % (11 / 14)
pgstat_relation_flush_cb GNC 462733 97.8 % (45 / 46) 92.9 % (13 / 14)
pgstat_relation_delete_pending_cb GNC 494056 100.0 % (5 / 5) 100.0 % (2 / 2)
pgstat_assoc_relation GNC 1224578 100.0 % (9 / 9) 50.0 % (3 / 6)
pgstat_get_relation_kind GNC 1367705 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_count_heap_delete GNC 1893036 100.0 % (7 / 7) 37.5 % (3 / 8)
pgstat_unlink_relation CBC 1894057 100.0 % (6 / 6) 75.0 % (3 / 4)
pgstat_count_heap_update GNC 2408767 100.0 % (12 / 12) 81.2 % (13 / 16)
pgstat_count_heap_insert GNC 12575214 100.0 % (7 / 7) 87.5 % (7 / 8)
pgstat_init_relation CBC 27346038 100.0 % (13 / 13) 100.0 % (16 / 16)

Generated by: LCOV version 2.0-1