Khatchadourian, Raffi and Greenwood, Philip and Rashid, Awais and Xu, Guoqing (2012) Pointcut rejuvenation: recovering pointcut expressions in evolving aspect-oriented software. IEEE Transactions on Software Engineering, 38 (3). pp. 642-657.Full text not available from this repository.
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 twenty-three 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.
|Journal or Publication Title:||IEEE Transactions on Software Engineering|
|Uncontrolled Keywords:||Interactive environments ; Maintainability ; Programmer workbench|
|Subjects:||Q Science > QA Mathematics > QA75 Electronic computers. Computer science|
|Departments:||Faculty of Science and Technology > School of Computing & Communications|
|Deposited On:||03 Nov 2011 14:18|
|Last Modified:||06 Dec 2016 03:11|
Actions (login required)