Code required only when comparing available updates to existing data. File core/modules/update/update.compare
update_calculate_project_update_status(&$project_data, $available) Calculates the current update status
update_calculate_project_data($available) Calculates the current update status of all projects on the site
update_process_project_info(&$projects) Determines version and type information for currently installed