LCOV - code coverage report
Current view: top level - src/backend/utils/activity - backend_status.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 85.6 % 485 415
Test Date: 2026-01-26 10:56:24 Functions: 96.2 % 26 25
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 53.9 % 297 160

Function Name Sort by function name Hit count Sort by function hit count
BackendStatusShmemInit 6
BackendStatusShmemSize 9
cmp_lbestatus 91
pgstat_beinit 806
pgstat_beshutdown_hook 806
pgstat_bestart_final 805
pgstat_bestart_initial 805
pgstat_bestart_security 315
pgstat_clear_backend_activity_snapshot 57921
pgstat_clip_activity 81
pgstat_fetch_stat_numbackends 24
pgstat_get_backend_current_activity 0
pgstat_get_backend_type_by_proc_number 3
pgstat_get_beentry_by_proc_number 26
pgstat_get_crashed_backend_activity 4
pgstat_get_local_beentry_by_index 129
pgstat_get_local_beentry_by_proc_number 26
pgstat_get_my_plan_id 121
pgstat_get_my_query_id 155
pgstat_read_current_status 179
pgstat_report_activity 119031
pgstat_report_appname 1603
pgstat_report_plan_id 102296
pgstat_report_query_id 580929
pgstat_report_xact_timestamp 115828
pgstat_setup_backend_status_context 20

Generated by: LCOV version 2.3.2-1