节点文献

面向方面程序调用图分析工具的设计与实现

Design and Implementation of Call Graph Analysis Tool for Aspect-Oriented Program

【作者】 李楠

【导师】 步丰林; 赵建军;

【作者基本信息】 上海交通大学 , 计算机应用技术, 2007, 硕士

【摘要】 多年以来,面向对象编程(Object-Oriented Programming,OOP)作为软件开发领域的主要编程范式,大大提高了软件代码的模块性、可重用性,降低了软件的复杂度以及软件的维护成本。然而随着面向对象编程的不断发展,它所带来的代码分散(code scattering)和代码纠缠(code tangling)问题也日益严重。面向方面编程(Aspect-Oriented Programming,AOP)是在面向对象编程基础上提出的一种较新的编程范式。它可以很好地解决代码分散和代码纠缠问题,使系统易于设计和扩展,提高了代码开发的质量和效率以及代码产品的模块性和可重用性。作为一种新的编程范式,面向方面程序的程序分析、程序理解、软件测试、软件维护等方面还有许多待研究的课题。调用图(call graph)分析作为程序分析、程序理解、软件测试和软件维护的重要基础,也是其中的一个重要的研究课题。本文以面向对象程序的调用图生成算法为基础,以面向方面编程语言AspectJ语言作为研究对象,提出了三种不同精度的针对AspectJ程序的调用图生成算法CHA-AJ算法、RTA-AJ算法和VTA-AJ算法,同时也提出了针对面向方面程序调用图的图示表示法AJPresentation,大大提高了调用图的

【Abstract】 As the main programming paradigm of software development for many years, Object-Oriented Programming (OOP) has greatly improved the modularity, reusability of software codes and reduced the complexity of software and its maintenance cost. However the problems of code scattering and code tangling have become more and more important with the development of object-oriented programming. Aspect-Oriented Programming (AOP), a newer programming paradigm which is based on object-oriented programming, can solve the problems of code scattering and code tangling very well. It also can make the software system easy to design and extend, improve the quality of codes and the efficiency of development, and also improve the modularity and reusability of software product.As a newer programming paradigm, little research of program analysis, program understanding, software testing and software maintenance has been done for aspect-oriented programming. Call graph analysis, as an important foundation of program analysis, program understanding,

  • 【分类号】TP311.11
  • 【被引频次】1
  • 【下载频次】125
节点文献中: