Article (Scientific journals)
Usage and testability of AOP: An empirical study of AspectJ
Munoz, F.; Baudry, B.; Delamare, R. et al.
2013In Information and Software Technology, 55 (2), p. 252-266
Peer reviewed
 

Files


Full Text
Usage and Testability of AOP.pdf
Publisher postprint (917.14 kB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Aspect-oriented programming; Empirical analysis; Metrics; Aspect-J; Aspect-oriented; Current status; Degree of coupling; Description languages; Empirical studies; Global coupling; Key technologies; Open source projects; Partial failure; Pointcut; Software maintainability; Testability; Information systems; Software engineering; Aspect oriented programming
Abstract :
[en] Context: Back in 2001, the MIT announced aspect-oriented programming as a key technology in the next 10 years. Nowadays, 10 years later, AOP is still not widely adopted. Objective: The objective of this work is to understand the current status of AOP practice through the analysis of open-source project which use AspectJ. Method: First we analyze different dimensions of AOP usage in 38 AspectJ projects. We investigate the degree of coupling between aspects and base programs, and the usage of the pointcut description language. A second part of our study focuses on testability as an indicator of maintainability. We also compare testability metrics on Java and AspectJ implementations of the HealthWatcher aspect-oriented benchmark. Results: The first part of the analysis reveals that the number of aspects does not increase with the size of the base program, that most aspects are woven in every places in the base program and that only a small portion of the pointcut language is used. The second part about testability reveals that AspectJ reduces the size of modules, increases their cohesion but also increases global coupling, thus introducing a negative impact on testability. Conclusion: These observations and measures reveal a major trend: AOP is currently used in a very cautious way. This cautious usage could come from a partial failure of AspectJ to deliver all promises of AOP, in particular an increased software maintainability. © 2012 Elsevier B.V. All rights reserved.
Disciplines :
Computer science
Identifiers :
eid=2-s2.0-84869874800
Author, co-author :
Munoz, F.;  INRIA/IRISA, Campus de Beaulieu, 35042 Rennes, Cedex, France
Baudry, B.;  INRIA/IRISA, Campus de Beaulieu, 35042 Rennes, Cedex, France
Delamare, R.;  University of Alabama, Department of Computer Science, Tuscaloosa, AL, United States
Le Traon, Yves ;  University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC)
External co-authors :
yes
Language :
English
Title :
Usage and testability of AOP: An empirical study of AspectJ
Publication date :
2013
Journal title :
Information and Software Technology
ISSN :
0950-5849
Volume :
55
Issue :
2
Pages :
252-266
Peer reviewed :
Peer reviewed
Available on ORBilu :
since 03 March 2016

Statistics


Number of views
73 (2 by Unilu)
Number of downloads
125 (0 by Unilu)

Scopus citations®
 
7
Scopus citations®
without self-citations
7
OpenCitations
 
4
WoS citations
 
6

Bibliography


Similar publications



Contact ORBilu