Composition Analysis of Multiple Aspects in Aspect-oriented Programs

被引:1
|
作者
Qamar, Nafees [1 ]
机构
[1] INRIA Rhone Alpes LIG, Grenoble, France
关键词
Programming languages; Aspect-oriented programming; aspects interactions and interferences; formal methods;
D O I
10.1109/APSEC.2009.36
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a classification of widely studied approaches that focus interaction analysis and composition of multiple aspect(s) in aspect-oriented programs (AOP). It is evident that AOP has an ability to distort semantics of base-programs and aspects themselves due to advice-method or advice-advice interactions in terms of control now and data sharing features. Thus, it entails a comprehensive analysis in order to pinpoint ambiguities at semantic level; especially in case of multiple aspects that remains focus of this paper. One possible interaction (method-advice) may inviolate a predicate of another advice from another aspect, residing in the base-program. We narrow our analysis to understand such intricacies and present a bunch of rules to understand weaving semantics (in particular, advice-advice interaction from two different aspects) and also propose precedence laws for aspects to be woven. In this paper discrete computation of aspects using operational semantics enables better interaction analysis of aspects and specifying their behavior by excluding the dependencies of any specific AOP language implementation. The contributions are threefold: (1) a survey based on an informal classification of proposed approaches targeted towards interfering aspects (2) our proposed formal definitions for composing aspects through evaluation rules using operational semantics (3) addressing precedence issues in aspects to some degree and offering a preliminary solution based on proactive execution order of aspects.
引用
收藏
页码:223 / 230
页数:8
相关论文
共 50 条
  • [21] Testing aspect-oriented programs with finite state machines
    Xu, Dianxiang
    El-Ariss, Omar
    Xu, Weifeng
    Wang, Linzhang
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2012, 22 (04): : 267 - 293
  • [22] Comprehending aspect-oriented programs: Challenges and open issues
    Di Lucca, Giuseppe A.
    Smit, Michael
    Fraser, Bruce
    Stroulia, Eleni
    Hoover, H. James
    ICPC 2007: 15TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, PROCEEDINGS, 2007, : 286 - +
  • [23] Automated Test Data Generation for Aspect-Oriented Programs
    Harman, Mark
    Islam, Fayezin
    Xie, Tao
    Wappler, Stefan
    AOSD'09: 8TH INTERNATIONAL CONFERENCE ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT, 2009, : 185 - 196
  • [24] Interaction analysis in aspect-oriented models
    Mehner, Katharina
    Monga, Mattia
    Taentzer, Gabriele
    RE'06: 14TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, PROCEEDINGS, 2006, : 69 - +
  • [25] Early aspects:: a model for aspect-oriented requirements engineering
    Rashid, A
    Sawyer, P
    Moreira, A
    Araújo, J
    IEEE JOINT INTERNATIONAL CONFERENCE ON REQUIREMENTS ENGINEERING, PROCEEDINGS, 2002, : 199 - 202
  • [26] Epi-aspects: Aspect-oriented conscientious software
    Fleissner, Sebastian
    Baniassad, Elisa
    ACM SIGPLAN NOTICES, 2007, 42 (10) : 659 - 673
  • [27] Epi-aspects: Aspect-oriented conscientious software
    Fleissner, Sebastian
    Baniassad, Elisa
    ACM SIGPLAN Notices, 2007, 42 (10): : 659 - 673
  • [28] Epi-Aspects: Aspect-Oriented Conscientious Software
    Fleissner, Sebastian
    Baniassad, Elisa
    OOPSLA: 22ND INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED PROGRAMMING, SYSTEMS, LANGUAGES, AND APPLICATIONS, PROCEEDINGS, 2007, : 659 - 673
  • [29] CIF: A Framework for Managing Integrity in Aspect-Oriented Composition
    Camilleri, Andrew
    Coulson, Geoffrey
    Blair, Lynne
    OBJECTS, COMPONENTS, MODELS AND PATTERNS, PROCEEDINGS, 2009, 33 : 18 - 36
  • [30] Aspect-oriented programming using composition-filters
    Aksit, M
    Tekinerdogan, B
    OBJECT-ORIENTED TECHNOLOGY: ECOOP'98 WORKSHOP READER, 1998, 1543 : 435 - 435