Pointcut Rejuvenation: Recovering Pointcut Expressions in Evolving Aspect-Oriented Software

active 4 years ago
Pointcut Rejuvenation: Recovering Pointcut Expressions in Evolving Aspect-Oriented Software
This Project is OPEN.
School / Office
Technology & Design
Department
Computer Systems Technology
Project Description

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 project, we use an automated approach which 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 3 of these programs. The results show that our parameterized heuristic algorithm was able to automatically infer new join points in subsequent versions with an average recall of 0.93. Moreover, these join points appeared, on average, in the top 4th percentile of the suggestions, indicating that the results were precise.

Recent Posts

Benchmarks

Raffi Khatchadourian edited an item in Benchmarks See MoreBenchmarks

Conference Paper

Raffi Khatchadourian edited Conference Paper See MoreConference Paper

Conference Paper

Raffi Khatchadourian edited Conference Paper See MoreConference Paper

Recent Comments

No Comments Found

Recent Discussions

Sorry, there were no discussion topics found.

Recent Docs

No Recent Docs