At the moment, the approaches to refactoring code are described in most fundamental literary sources, there are many approaches and automated software tools for its implementation. The process of code refactoring in theory does not differ from practical application.