Composition Analysis of Multiple Aspects in Aspect-oriented Programs

被引:1
|
作者
Qamar, Nafees [1 ]
机构
[1] INRIA Rhone Alpes LIG, Grenoble, France
来源
APSEC 09: SIXTEENTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS | 2009年
关键词
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] A Structural Testing Approach for Aspect-Oriented Programs Based on Data and Control Flow
    Xiong, Liping
    Li, Junyi
    PROCEEDINGS OF 2013 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2012, : 85 - 88
  • [22] Dynamic slicing of distributed Aspect-Oriented Programs: A context-sensitive approach
    Singh, Jagannath
    Khilar, P. M.
    Mohapatra, D. P.
    COMPUTER STANDARDS & INTERFACES, 2017, 52 : 71 - 84
  • [23] Reasoning about Faults in Aspect-Oriented Programs: A Metrics-based Evaluation
    Burrows, Rachel
    Taieani, Francois
    Garcia, Alessandro
    Ferrari, Fabiano Cutigi
    2011 IEEE 19TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2011, : 131 - 140
  • [24] Integration testing of Object-Oriented and Aspect-Oriented programs: A structural pairwise approach for Java']Java
    Lazzarini Lemos, Otavio Augusto
    Franchin, Ivan Gustavo
    Masiero, Paulo Cesar
    SCIENCE OF COMPUTER PROGRAMMING, 2009, 74 (10) : 861 - 878
  • [25] InterAspect: aspect-oriented instrumentation with GCC
    Justin Seyster
    Ketan Dixit
    Xiaowan Huang
    Radu Grosu
    Klaus Havelund
    Scott A. Smolka
    Scott D. Stoller
    Erez Zadok
    Formal Methods in System Design, 2012, 41 : 295 - 320
  • [26] MAINTAINABILITY METRICS FOR ASPECT-ORIENTED SOFTWARE
    Thongmak, Mathupayas
    Muenchaisri, Pornsiri
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (03) : 389 - 420
  • [27] ASPECT-ORIENTED APPROACH TO METAMODEL ABSTRACTION
    Kollar, Jan
    Vagac, Michal
    COMPUTING AND INFORMATICS, 2012, 31 (05) : 983 - 1002
  • [28] Modular Aspect-Oriented Design with XPIs
    Sullivan, Kevin
    Griswold, William G.
    Rajan, Hridesh
    Song, Yuanyuan
    Cai, Yuanfang
    Shonle, Macneil
    Tewari, Nishit
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2010, 20 (02)
  • [29] A study on aspect-oriented information systems analysis and design method
    Yan, Z. J.
    Chen, L.
    Du, P. R.
    FRONTIERS IN ENTERPRISE INTEGRATION, 2008, : 405 - 411
  • [30] Conditioned Slicing of Aspect-Oriented Program
    Ray, Abhishek
    Niraj, Chandrakant Kumar
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, CIDM 2016, 2017, 556 : 513 - 522