LCOV - differential code coverage report
Current view: top level - src/backend/postmaster - autovacuum.c (source / functions) Coverage Total Hit UNC UBC GBC GIC GNC CBC DUB DCB
Current: d36b728949bf4e37ada1cd23e0f2aaa94f609a70 vs 52e118fe2f7e3381bdaa479816a7f72eda2ae517 Lines: 79.2 % 1070 847 47 176 15 1 117 714 3 90
Current Date: 2026-06-29 16:15:13 +0200 Functions: 94.1 % 34 32 1 1 13 19 3
Baseline: lcov-20260630-baseline Branches: 62.7 % 670 420 49 201 17 71 332
Baseline Date: 2026-06-29 13:01:57 +0200 Line coverage date bins:
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
(7,30] days: 100.0 % 1 1 1
(30,360] days: 71.9 % 167 120 47 116 4
(360..) days: 80.5 % 902 726 176 15 1 710
Function coverage date bins:
(30,360] days: 75.0 % 4 3 1 3
(360..) days: 96.7 % 30 29 1 10 19
Branch coverage date bins:
(7,30] days: 50.0 % 2 1 1 1
(30,360] days: 59.2 % 120 71 48 1 70 1
(360..) days: 63.5 % 548 348 200 17 331

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
do_autovacuum GNC 157 71.0 % (169 / 238) 52.7 % (77 / 146)
relation_needs_vacanalyze GNC 31453 87.2 % (95 / 109) 66.7 % (88 / 132)
AutoVacLauncherMain GNC 452 58.3 % (67 / 115) 50.0 % (22 / 44)
do_start_worker CBC 139 78.4 % (58 / 74) 60.0 % (30 / 50)
perform_work_item CBC 6 68.3 % (28 / 41) 41.7 % (10 / 24)
table_recheck_autovac GNC 878 95.6 % (65 / 68) 78.1 % (50 / 64)
pg_stat_get_autovacuum_scores UNC 0 0.0 % (0 / 35) 0.0 % (0 / 12)
AutoVacWorkerMain GNC 158 87.1 % (54 / 62) 54.5 % (12 / 22)
VacuumUpdateCosts GNC 10506 87.5 % (21 / 24) 61.5 % (16 / 26)
AutoVacuumUpdateCostLimit CBC 5491 80.0 % (12 / 15) 57.1 % (8 / 14)
rebuild_database_list GNC 513 96.4 % (54 / 56) 81.2 % (26 / 32)
autovac_recalculate_workers_for_balance CBC 1008 92.9 % (13 / 14) 66.7 % (8 / 12)
autovac_init CBC 961 83.3 % (5 / 6) 50.0 % (3 / 6)
check_av_worker_gucs CBC 830 75.0 % (3 / 4) 25.0 % (1 / 4)
ProcessAutoVacLauncherInterrupts CBC 2251 88.9 % (16 / 18) 83.3 % (10 / 12)
autovac_report_workitem CBC 6 92.3 % (12 / 13) 50.0 % (2 / 4)
AutoVacuumRequestWork CBC 6 100.0 % (17 / 17) 75.0 % (3 / 4)
AutoVacuumingActive CBC 77965 100.0 % (4 / 4) 75.0 % (3 / 4)
FreeWorkerInfo GNC 158 100.0 % (16 / 16) 50.0 % (1 / 2)
autovac_report_activity CBC 878 100.0 % (11 / 11) 83.3 % (5 / 6)
check_autovacuum_work_mem CBC 1255 100.0 % (6 / 6) 75.0 % (3 / 4)
extract_autovac_opts GNC 31453 100.0 % (9 / 9) 87.5 % (7 / 8)
get_database_list GNC 652 100.0 % (25 / 25) 83.3 % (5 / 6)
launch_worker CBC 139 100.0 % (15 / 15) 90.0 % (9 / 10)
launcher_determine_sleep CBC 2257 100.0 % (22 / 22) 93.8 % (15 / 16)
AutoVacLauncherShutdown CBC 449 100.0 % (4 / 4) 100.0 % (2 / 2)
AutoVacuumShmemInit GNC 1209 100.0 % (13 / 13) 100.0 % (2 / 2)
TableToProcessComparator GNC 3569 100.0 % (4 / 4) 100.0 % (2 / 2)
AutoVacWorkerFailed UBC 0 0.0 % (0 / 3)
AutoVacuumShmemRequest GNC 1212 100.0 % (6 / 6)
autovacuum_do_vac_analyze CBC 878 100.0 % (11 / 11)
av_worker_available CBC 4197 100.0 % (5 / 5)
avl_sigusr2_handler CBC 262 100.0 % (4 / 4)
db_comparator CBC 453 100.0 % (3 / 3)

Generated by: LCOV version 2.0-1