Test-based Pointcuts for Aspect-Oriented Programming

DOI

Bibliographic Information

Other Title
  • アスペクト指向プログラミングにおけるテストに基づいたポイントカットの提案

Abstract

This paper proposes test-based pointcuts, a new pointcut mechanism for aspect-oriented programming (AOP). In AOP languages, the programmer must specify points to which an aspect is applied. In existing AOP languages, pointcuts have frequently to be updated even when minor modification is made to a program because the pointcuts rely on method and type names in the program. With test-based pointcuts, the programmer can indirectly specify points of aspect application through test programs. Thus it does not need to change pointcut descriptions as long as the test programs are updated in response to the program modification. Also, test-based pointcuts can specify points of aspect application by matching on execution history against execution histories of tests. Thus it gives more straightforward descriptions than those specify points of aspect application based on low-level control-flow such as conditional branches. Our case study with test-based pointcuts confirmed that, in most cases, more robust than existing pointcuts in AspectJ.

Journal

  • Computer Software

    Computer Software 24 (3), 141-152, 2007

    Japan Society for Software Science and Technology

Related Projects

See more

Details 詳細情報について

  • CRID
    1390001204736405120
  • NII Article ID
    130004892095
  • DOI
    10.11309/jssst.24.3_141
  • ISSN
    02896540
  • Data Source
    • JaLC
    • CiNii Articles
    • KAKEN
  • Abstract License Flag
    Disallowed

Report a problem

Back to top