• DocumentCode
    1447206
  • Title

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

  • Author

    Khatchadourian, Raffi ; Greenwood, Phil ; Rashid, Awais ; Xu, Guoqing

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Ohio State Univ., Columbus, OH, USA
  • Volume
    38
  • Issue
    3
  • fYear
    2012
  • Firstpage
    642
  • Lastpage
    657
  • 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.
  • Keywords
    aspect-oriented programming; AspectJ programs; aspect-oriented programming; aspect-oriented software; deep structural commonalities harnessing; join points; parameterized heuristic algorithm; pattern analysis; pointcut expression recovery; pointcut fragility; pointcut maintenance; pointcut rejuvenation; program elements; Fuels; Observers; Programming; Proposals; Robustness; Software; Software engineering; Software development environments; software maintenance; software tools.;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2011.21
  • Filename
    5710951