LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - backend_status.c (source / functions) Coverage Total Hit UBC CBC
Current: f76c13edadc2b319036e0d238703ed56bb23f934 vs 9e17d25e79d4756be08b4a5521b4b58450217137 Lines: 92.3 % 352 325 27 325
Current Date: 2026-09-20 14:13:17 +0900 Functions: 96.2 % 26 25 1 25
Baseline: lcov-20260920-baseline Branches: 68.1 % 210 143 67 143
Baseline Date: 2026-09-20 14:13:13 +0900 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 84.6 % 26 22 4 22
(360..) days: 92.9 % 326 303 23 303
Function coverage date bins:
(30,360] days: 66.7 % 3 2 1 2
(360..) days: 100.0 % 23 23 23
Branch coverage date bins:
(30,360] days: 100.0 % 6 6 6
(360..) days: 67.2 % 204 137 67 137

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
BackendStatusShmemAttach UBC 0 0.0 % (0 / 4)
pgstat_get_backend_current_activity CBC 19 78.9 % (15 / 19) 44.4 % (8 / 18)
pgstat_get_beentry_by_proc_number CBC 115 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_get_local_beentry_by_proc_number CBC 115 100.0 % (4 / 4)
cmp_lbestatus CBC 389 100.0 % (4 / 4)
pgstat_get_my_plan_id CBC 512 75.0 % (3 / 4) 50.0 % (1 / 2)
pgstat_get_my_query_id CBC 692 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_setup_backend_status_context CBC 990 100.0 % (4 / 4) 50.0 % (1 / 2)
pgstat_fetch_stat_numbackends CBC 1001 100.0 % (3 / 3)
pgstat_get_crashed_backend_activity CBC 1243 83.3 % (15 / 18) 64.3 % (9 / 14)
BackendStatusShmemInit CBC 1274 100.0 % (22 / 22) 100.0 % (10 / 10)
BackendStatusShmemRequest CBC 1277 100.0 % (10 / 10)
pgstat_clip_activity CBC 8903 100.0 % (6 / 6)
pgstat_get_local_beentry_by_index CBC 9142 80.0 % (4 / 5) 50.0 % (2 / 4)
pgstat_read_current_status CBC 10258 92.6 % (50 / 54) 72.2 % (13 / 18)
pgstat_bestart_security CBC 15162 78.8 % (26 / 33) 50.0 % (7 / 14)
pgstat_bestart_final CBC 23549 100.0 % (18 / 18) 75.0 % (12 / 16)
pgstat_bestart_initial CBC 23643 100.0 % (37 / 37) 68.2 % (15 / 22)
pgstat_beinit CBC 23701 100.0 % (6 / 6) 50.0 % (3 / 6)
pgstat_beshutdown_hook CBC 23701 100.0 % (7 / 7) 50.0 % (2 / 4)
pgstat_report_appname CBC 42596 100.0 % (9 / 9) 66.7 % (4 / 6)
pgstat_clear_backend_activity_snapshot CBC 426702 100.0 % (7 / 7) 100.0 % (2 / 2)
pgstat_report_plan_id CBC 769406 88.9 % (8 / 9) 50.0 % (6 / 12)
pgstat_report_xact_timestamp CBC 852710 100.0 % (7 / 7) 62.5 % (5 / 8)
pgstat_report_activity CBC 934382 97.7 % (43 / 44) 86.1 % (31 / 36)
pgstat_report_query_id CBC 1323865 100.0 % (9 / 9) 75.0 % (9 / 12)

Generated by: LCOV version 2.0-1