摘要:The paper describes a Refactoring Learning Environment, which is intended to analyse and assess programming code, based on refactoring rules. The Refactoring Learning Environment architecture includes an intelligent assistant, Refactoring Agent, which is responsible for the analysis and assessment of the code, written by students in real time by using a set of refactoring methods. According to the situation and based on the refactoring method, which should be applied, the agent could react in different ways. Its goal is to show the students, as much as possible, the weak points of their programming code and the possible ways of improving it.