首页> 外文会议>International Conference on Quality Software >Improving the Quality of AspectJ Application: Translating Name-Based Pointcuts to Analysis-Based Pointcuts
【24h】

Improving the Quality of AspectJ Application: Translating Name-Based Pointcuts to Analysis-Based Pointcuts

机译:提高AspectJ应用程序的质量:将基于名称的切入点转换为基于分析的切入点

获取原文

摘要

This paper proposes an approach to improve the quality of AspectJ applications which supports translating name-based point cuts to analysis-based point cuts automatically. Traditional name-based point cuts rely on the names of fields, methods, and classes in the program, which are well known to be fragile against software evolution. Analysis-based point cuts rely on the properties of the program via user-defined static program analysis, which therefore are free from such fragility. However, writing such programs manually is difficult because user has to write her analysis suitable for corresponding properties. Our approach solves the problem by translating name-based point cuts into analysis-based ones, this can be achieved by simply calling the method from within the conditional point cuts. We demonstrate the usefulness of analysis-based point cuts in multiple versions of several open-source AspectJ programs. The results show that the analysis-based point cuts generated by our approach are more robust than their original name-based counterparts.
机译:本文提出了一种提高AspectJ应用程序质量的方法,该方法支持将基于名称的切入点自动转换为基于分析的切入点。传统的基于名称的切入点依赖于程序中的字段,方法和类的名称,众所周知,这些名称易受软件演化的影响。基于分析的切入点依赖于通过用户定义的静态程序分析进行的程序属性,因此不受此类脆弱性的影响。但是,手动编写此类程序很困难,因为用户必须编写适合于相应属性的分析。我们的方法通过将基于名称的切入点转换为基于分析的切入点来解决该问题,这可以通过简单地从条件切入点内调用该方法来实现。我们在几个开源AspectJ程序的多个版本中展示了基于分析的切入点的有用性。结果表明,通过我们的方法生成的基于分析的切入点比基于名称的原始切入点更加健壮。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号