LCOV - differential code coverage report
Current view: top level - src/backend/utils/activity - backend_status.c (source / functions) Coverage Total Hit UBC GBC GNC CBC ECB DCB
Current: 0e5ff9b9b45a657aea12440478dc002e9b01f138 vs 0123ce131fca454009439dfa3b2266d1d40737d7 Lines: 96.9 % 382 370 12 2 368 1 3
Current Date: 2026-03-14 14:10:32 -0400 Functions: 100.0 % 25 25 1 24 1
Baseline: lcov-20260315-024220-baseline Branches: 64.2 % 282 181 101 2 179
Baseline Date: 2026-03-14 15:27:56 +0100 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(30,360] days: 90.5 % 21 19 2 19
(360..) days: 97.2 % 361 351 10 2 349 1
Function coverage date bins:
(30,360] days: 100.0 % 3 3 3
(360..) days: 100.0 % 22 22 1 21
Branch coverage date bins:
(30,360] days: 61.1 % 18 11 7 11
(360..) days: 64.4 % 264 170 94 2 168

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_get_backend_current_activity CBC 19 78.9 % (15 / 19) 44.4 % (8 / 18)
pgstat_get_crashed_backend_activity CBC 1275 83.3 % (15 / 18) 64.3 % (9 / 14)
pgstat_get_beentry_by_proc_number CBC 88 80.0 % (4 / 5) 50.0 % (1 / 2)
pgstat_get_local_beentry_by_index CBC 12421 80.0 % (4 / 5) 50.0 % (2 / 4)
pgstat_get_my_plan_id CBC 384 75.0 % (3 / 4) 50.0 % (1 / 2)
pgstat_report_activity CBC 763864 97.7 % (43 / 44) 86.1 % (31 / 36)
pgstat_report_plan_id CBC 612613 88.9 % (8 / 9) 50.0 % (6 / 12)
BackendStatusShmemInit CBC 1150 100.0 % (53 / 53) 51.2 % (42 / 82)
BackendStatusShmemSize CBC 2147 100.0 % (13 / 13)
cmp_lbestatus CBC 306 100.0 % (4 / 4)
pgstat_beinit CBC 21558 100.0 % (6 / 6) 50.0 % (3 / 6)
pgstat_beshutdown_hook CBC 21558 100.0 % (7 / 7) 50.0 % (2 / 4)
pgstat_bestart_final CBC 21295 100.0 % (18 / 18) 75.0 % (12 / 16)
pgstat_bestart_initial GNC 21507 100.0 % (37 / 37) 68.2 % (15 / 22)
pgstat_bestart_security CBC 13656 100.0 % (33 / 33) 71.4 % (10 / 14)
pgstat_clear_backend_activity_snapshot CBC 338993 100.0 % (7 / 7) 100.0 % (2 / 2)
pgstat_clip_activity CBC 10352 100.0 % (6 / 6)
pgstat_fetch_stat_numbackends CBC 1239 100.0 % (3 / 3)
pgstat_get_local_beentry_by_proc_number CBC 88 100.0 % (4 / 4)
pgstat_get_my_query_id CBC 529 100.0 % (4 / 4) 100.0 % (2 / 2)
pgstat_read_current_status CBC 13748 100.0 % (54 / 54) 88.9 % (16 / 18)
pgstat_report_appname CBC 38135 100.0 % (9 / 9) 66.7 % (4 / 6)
pgstat_report_query_id CBC 1510236 100.0 % (9 / 9) 75.0 % (9 / 12)
pgstat_report_xact_timestamp CBC 677290 100.0 % (7 / 7) 62.5 % (5 / 8)
pgstat_setup_backend_status_context CBC 1109 100.0 % (4 / 4) 50.0 % (1 / 2)

Generated by: LCOV version 2.4-beta