This paper describes a Refactoring Learning Environment, which is
intended to analyze and assess programming code, based on refactoring rules. The
Refactoring Learning Environment architecture includes an intelligent assistant –
Refactoring Agent, which is responsible for 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 student, as much as
possible, the weak places of his programming code and the possible ways to makes
it better.