Applied automatic code transformation