Towards a catalogue of refactorings and code smells for aspectj

  • Authors:
  • Miguel P. Monteiro;João M. Fernandes

  • Affiliations:
  • Instituto Politécnico de Castelo Branco, Avenida do Empresário, Escola Superior de Tecnologia, Castelo Branco, Portugal;Departamento de Informática, Universidade do Minho, Braga, Portugal

  • Venue:
  • Transactions on Aspect-Oriented Software Development I
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we contribute to the characterisation of a programming style specific to aspect-oriented programming. For this purpose, we present a collection of refactorings for aspect-oriented source code, comprising refactorings to enable extraction to aspects of crosscutting concerns from object-oriented legacy code, the subsequent tidying up of the extracted aspects and factoring out of common code from similar aspects to superaspects. The second group of refactorings is documented in detail. In addition, we propose some new aspect-oriented code smells, including one smell that is specific to aspect modules. We also propose a reinterpretation of some of the traditional object-oriented code smells in the light of aspect-orientation, to detect the presence of crosscutting concerns.