Title
Pointcut Rejuvenation: Recovering Pointcut Expressions in Evolving Aspect-Oriented Software
Abstract
Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base code can lead to join points incorrectly falling in or out of the scope of pointcuts. In this paper, we present an automated approach that limits fragility problems by providing mechanical assistance in pointcut maintenance. The approach is based on harnessing arbitrarily deep structural commonalities between program elements corresponding to join points selected by a pointcut. The extracted patterns are then applied to later versions to offer suggestions of new join points that may require inclusion. To illustrate that the motivation behind our proposal is well founded, we first empirically establish that join points captured by a single pointcut typically portray a significant amount of unique structural commonality by analyzing patterns extracted from 23 AspectJ programs. Then, we demonstrate the usefulness of our technique by rejuvenating pointcuts in multiple versions of three of these programs. The results show that our parameterized heuristic algorithm was able to accurately and automatically infer the majority of new join points in subsequent software versions that were not captured by the original pointcuts.
Year
DOI
Venue
2012
10.1109/TSE.2011.21
IEEE Trans. Software Eng.
Keywords
Field
DocType
deep structural commonality,unique structural commonality,pointcut maintenance,automated approach,pointcut rejuvenation,fragility problem,pointcut expressions,single pointcut,rejuvenating pointcuts,aspect-oriented software,original pointcuts,pointcut fragility,aspect-oriented programming,aspect oriented programming,software development environment,programming,robustness,software maintenance,heuristic algorithm,software engineering,software development environments
Programming language,Expression (mathematics),Software engineering,Aspect-oriented programming,Heuristic (computer science),Computer science,Real-time computing,Software,AspectJ,Software maintenance,Pointcut,Software versioning
Journal
Volume
Issue
ISSN
38
3
1938-4300 E-ISBN : 978-0-7695-3891-4
ISBN
Citations 
PageRank 
978-0-7695-3891-4
9
0.55
References 
Authors
34
4
Name
Order
Citations
PageRank
Raffi Khatchadourian1698.61
Phil Greenwood234820.93
Awais Rashid32041149.78
Guoqing Xu444216.30