摘要
程序切片是一种重要的程序分析技术,广泛应用于程序的调试、测试与维护等领域。面向方面程序设计作为一种新的软件开发范型,能够实现横切关注点的模块化,其特有的语言元素和功能为切片增加了难度。从静态切片和动态切片两种类型,讨论了面向方面程序切片技术。在此基础上,提出了一种基于简化动态依赖图的面向方面程序切片方法,可以减少动态依赖图中节点和边的数量,生成准确的面向方面程序的动态切片,从而有助于人们更好地对面向方面程序进行分析和理解。
Program slicing is an important technique for program analysis,which has many applications in various fields such as program debugging,testing,maintenance,etc.Aspect-oriented program is a new software development paradigm that enables modular implementation of cross-cutting concerns,and poses difficulties for slicing of aspect-oriented programs.From the two types:static slicing and dynamic slicing,a systematic analysis of the researches on slicing of aspect-oriented programs is conducted,and a dynamic slicing method of aspect-oriented programs based on reduced dynamic dependence graph is proposed,which can reduce the number of nodes and edges of dynamic dependence graph.The generated dynamic slice is accurate that helps people to better understand aspect-oriented programs.
出处
《计算机科学与探索》
CSCD
2011年第3期229-237,共9页
Journal of Frontiers of Computer Science and Technology
基金
国家自然科学基金
中国科学院计算机科学国家重点实验室开放课题
江苏省高校自然科学研究项目~~
关键词
面向方面程序
静态切片
动态切片
简化动态依赖图
aspect-oriented program static slicing dynamic slicing reduced dynamic dependence graph