info:eu-repo/semantics/article
Toward automated refactoring of crosscutting concerns into aspects
Fecha
2013-04Registro en:
Vidal, Santiago Agustín; Marcos, Claudia Andrea; Toward automated refactoring of crosscutting concerns into aspects; Elsevier Science Inc; Journal Of Systems And Software; 86; 6; 4-2013; 1482-1497
0164-1212
Autor
Vidal, Santiago Agustín
Marcos, Claudia Andrea
Resumen
Aspect-oriented programing (AOP) improves the separation of concerns by encapsulating crosscutting concerns into aspects. Thus, aspect-oriented programing aims to better support the evolution of systems. Along this line, we have defined a process that assists the developer to refactor an object-oriented system into an aspect-oriented one. In this paper we propose the use of association rules and Markov models to improve the assistance in accomplishing some of the tasks of this process. Specifically, we use these techniques to help the developer in the task of encapsulating a fragment of aspectizable code into an aspect. This includes the choice of a fragment of aspectizable code to be encapsulated, the selection of a suitable aspect refactoring, and the analysis and application of additional restructurings when necessary. Our case study of the refactoring of a J2EE system shows that the use of the process reduces the intervention of the developer during the refactoring.