• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2010, Vol. 32 ›› Issue (9): 98-101.doi: 10.3969/j.issn.1007130X.2010.

• 论文 • 上一篇    下一篇

一种基于通知波动效应的面向方面系统依赖图构造方法

黄静1,章晓芳1,张广泉1,2   

  1. (1.苏州大学计算机科学与技术学院,江苏 苏州 215006;2.中国科学院计算机科学国家重点实验室,北京100080)
  • 收稿日期:2010-03-13 修回日期:2010-06-15 出版日期:2010-09-02 发布日期:2010-09-02
  • 作者简介:黄静(1988),女,江苏盐城人,硕士,研究方向为软件测试技术、面向方面软件开发;章晓芳,博士,讲师,研究方向为程序分析与软件测试;张广泉,博士,教授,博士生导师,CCF会员(E200006631S),研究方向为软件工程与网络分布计算。
  • 基金资助:

    中国科学院计算机科学国家重点实验室开放课题(SYSKF0908);江苏省高校自然科学研究项目(08KJB520010)

A Method of System Dependence Graph Construction for AspectOriented Programs Based on Advice Fluctuation

HUANG Jing1,ZHANG Xiaofang1,ZHANG Guangquan1,2   

  1. (1.School of Computer Science and Technology,Soochow University,Suzhou 215006;
    2.The State Key Laboratory of Computer Science,Chinese Academy of Sciences,Beijing 100080,China)
  • Received:2010-03-13 Revised:2010-06-15 Online:2010-09-02 Published:2010-09-02

摘要:

为更好地分析面向方面程序中的控制依赖关系和数据依赖关系,需要对面向方面程序构造系统依赖图。本文针对面向方面程序的结构和机制,考虑通知优先级对程序依赖关系的影响,提出通知波动效应图(AFG)及其生成算法,从而构造基于通知波动效应的面向方面系统依赖图(AOSDG)。此方法构造的系统依赖图能够更准确地表示面向方面程序中的依赖关系,且构造成本相对较小,可应用于面向方面程序切片。

关键词: 系统依赖图, 面向方面程序, 通知波动效应

Abstract:

In order to better analyze the control dependences and data dependences in aspectoriented programs,a  system dependence graph for aspectoriented programs need to be constructed. As for the structures and mechanisms of aspectoriented programs, and taking the impact on dependences by advice priority into account, an Advice Fluctuation Graph(AFG) is proposed, as well as its generation algorithm. Then a new system dependence graph for aspectoriented programs based on advice fluctuation(AOSDG) is constructed.The system dependence graph constructed using this method can express the dependences in the program more accurately with relatively low cost, and can be applied to slicing aspectoriented programs.

Key words: system dependence graph;aspectoriented program;advice fluctuation