首页> 外文会议>Automated Software Engineering, 2009. ASE '09 >Pointcut Rejuvenation: Recovering Pointcut Expressions in Evolving Aspect-Oriented Software
【24h】

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

机译:切入点复兴:在不断发展的面向方面的软件中恢复切入点表达

获取原文

摘要

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. 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. We demonstrate the usefulness of our technique by rejuvenating pointcuts in multiple versions of several open-source AspectJ 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.
机译:切入点易碎性在面向方面的编程中是一个有据可查的问题。对基本代码的更改可能导致连接点错误地落入切入点的范围内或超出切入点的范围。我们提供了一种自动化方法,可通过在切入点维护中提供机械协助来限制易碎性问题。该方法基于利用与切入点选择的连接点相对应的程序元素之间任意深的结构共性。然后将提取的模式应用于更高版本,以提供可能需要包含的新连接点的建议。我们通过使几个开源AspectJ程序的多个版本中的切入点恢复活力来证明我们技术的有用性。结果表明,我们的参数化启发式算法能够自动推断出后续版本中的新连接点,平均召回率为0.93。而且,这些连接点平均出现在建议的前4个百分位数中,表明结果是准确的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号