Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network

  Advanced Search  

Vol. 9, No. 1, JanuaryFebruary 2010 How AspectJ is Used: An Analysis of Eleven

Summary: Vol. 9, No. 1, January­February 2010
How AspectJ is Used: An Analysis of Eleven
AspectJ Programs
Sven Apel, Department of Informatics and Mathematics, University of Passau,
While it is well-known that crosscutting concerns occur in many software projects, little
is known on how aspect-oriented programming, and in particular AspectJ, have been
used. In this paper, we analyze eleven AspectJ programs by different authors to answer
the questions: which mechanisms are used, to what extent, and for what purpose. We
found the code of these programs to be on average 86 % object-oriented, 12 % basic
crosscutting mechanisms (introductions and method extensions), and 2 % advanced
crosscutting mechanisms (homogeneous advice or advanced dynamic advice). Based
on these results we initiate a discussion on the trade-off between expressiveness and
simplicity of languages that support the modularization of crosscutting concerns.
While many studies have explored the capabilities of aspect-oriented programming
(AOP) [36] to improve the modularity, customization, and evolution of software [19,
63,18,40,27,26,29], little is known on how AOP has been used. As AspectJ1
is the
most widely used AOP language, we want to know which AspectJ mechanisms are


Source: Apel, Sven - Fakultät für Informatik und Mathematik, Universität Passau


Collections: Computer Technologies and Information Sciences