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 条
  • [1] Testing Aspect-Oriented Programs
    Moreira, Rodrigo M. L. M.
    Paiva, Ana C. R.
    Aguiar, Ademar
    SISTEMAS Y TECNOLOGIAS DE INFORMACION, 2010, : 271 - 276
  • [2] Modelling Dynamics in Aspect-Oriented Programs
    Cheers, Hayden
    Lin, Yuqing
    PROCEEDINGS OF 2021 IEEE 12TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2021, : 6 - 11
  • [3] Dynamic slicing of aspect-oriented programs
    Mohapatra, Durga Prasad
    Sahu, Madhusmita
    Kumar, Rajeev
    Mall, Rajib
    Informatica (Ljubljana), 2008, 32 (03) : 261 - 274
  • [4] An approach to test aspect-oriented programs
    Qamar, M. N.
    Nadeem, A.
    Aziz, R.
    WORLD CONGRESS ON ENGINEERING 2007, VOLS 1 AND 2, 2007, : 211 - +
  • [5] A calculus of untyped aspect-oriented programs
    Jagadeesan, R
    Jeffrey, A
    Riely, J
    ECOOP 2003 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2003, 2743 : 54 - 73
  • [6] Control-flow analysis and representation for aspect-oriented programs
    Zhao, Jianjun
    QSIC 2006: SIXTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2006, : 38 - 45
  • [7] AspectS - Aspect-oriented programming with squeak
    Hirschfeld, R
    OBJECTS, COMPONENTS, ARCHITECTURES, SERVICES, AND APPLICATIONS FOR A NETWORKED WORLD, 2003, 2591 : 216 - 232
  • [8] Celadon: A Change Impact Analysis Tool for Aspect-Oriented Programs
    Zhang, Sai
    Gu, Zhongxian
    Lin, Yu
    Zhao, Jianjun
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 913 - 914
  • [9] Automated Slicing of Aspect-Oriented Programs using Bytecode Analysis
    Munjal, Dishant
    Singh, Jagannath
    Panda, Subhrakanta
    Mohapatra, Durga Prasad
    39TH ANNUAL IEEE COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2015), VOL 2, 2015, : 191 - 199
  • [10] A compilation and optimization model for aspect-oriented programs
    Masuhara, H
    Kiczales, G
    Dutchyn, C
    COMPILER CONSTRUCTION, PROCEEDINGS, 2003, 2622 : 46 - 60