LCOV - code coverage report
Current view: top level - src/backend/utils/activity - backend_status.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 339 351 96.6 %
Date: 2025-04-04 10:15:52 Functions: 26 26 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
pgstat_get_backend_current_activity 38
pgstat_get_backend_type_by_proc_number 98
pgstat_get_beentry_by_proc_number 162
pgstat_get_local_beentry_by_proc_number 162
cmp_lbestatus 554
pgstat_get_my_plan_id 718
pgstat_get_my_query_id 990
pgstat_setup_backend_status_context 1658
pgstat_fetch_stat_numbackends 1728
pgstat_get_crashed_backend_activity 1760
BackendStatusShmemInit 2064
BackendStatusShmemSize 3840
pgstat_clip_activity 16304
pgstat_get_local_beentry_by_index 17350
pgstat_read_current_status 19240
pgstat_bestart_security 26892
pgstat_bestart_final 42402
pgstat_bestart_initial 42590
pgstat_beinit 42686
pgstat_beshutdown_hook 42686
pgstat_report_appname 75100
pgstat_clear_backend_activity_snapshot 842612
pgstat_report_plan_id 1181218
pgstat_report_activity 1596478
pgstat_report_xact_timestamp 1683992
pgstat_report_query_id 2257536

Generated by: LCOV version 1.14