期刊文献+

AOP程序控制流图的生成方法 被引量:1

THE CONSTRUCTION OF CONTROL FLOW GRAPH FOR AOP PROGRAMS
下载PDF
导出
摘要 面向方面编程AOP(Aspect Oriented Programming)为开发者提供了一种机制来描述横切关注点。它能够自动地将横切关注点织入到面向对象的软件系统中,从而实现了横切关注点的模块化。然而AOP这种对横切关注点封装、织入的独特性为分析程序结构带来了困难,对传统的程序分析技术提出了新课题。通过分析AOP程序的特殊性,提出了基于AspectJ构造AOP程序控制流图的方法。该方案可以为AOP程序的理解、验证、测试以及重构提供控制流分析平台。 AOP (Aspect Oriented Programming)provides programmers a mechanism to encapsulate crosscutting concerns, which can be woven into Object-Oriented system automatically. This brand new programming methodology improves modularity of OO programs a lot, but the unique separation of aspect codes also introduces difficulties in analyzing AO programs, for technologies now available can not be applied to AOP programs directly. In this paper a new way to construct CFG (Control Flow Graph) for AO programs based on AspectJ is introduced. By extending the traditional CFG with AO elements, new CFG can create a clear picture for both OOP and AOP programs. It can also provide a uniform analysis platform in the realms of program understanding, code validation, testing and refactoring.
出处 《计算机应用与软件》 CSCD 北大核心 2008年第5期137-139,共3页 Computer Applications and Software
关键词 面向方面编程 AspectJ控制流图 方法调用图 类层次结构图 AOP AspectJ CFG Call Graph Class hierarchy graph
  • 相关文献

参考文献11

  • 1AspectJ. http ://www. aspectj.org.
  • 2Alfred V Aho, Ravi Sethi, Jerey D Ullman. Compilers,Principles,Techniques, and Tools. Addison-Wesley, 1986. ISBN 0 - 201 - 10088 - 6.
  • 3Appel A W. Modem Compiler Implementation in Java. Cambridge University Press, 1997.
  • 4Smeli R M. Specification and Construction of Control Flow Semantics, 26th January 2006.
  • 5Losch Felix. Instrumentation of Java Program Code for Control Flow Analysis. 2004 ( 9 ).
  • 6Keith D Cooper, Timothy J. Harvey Building a Control-flow Graph from Scheduled Assembly Code.
  • 7Gosling J,Joy B,Steele G, et al. The Java Language Specification,3rd edition, Addison-Wesley, Boston, 2005.
  • 8Saurabh Sinha, Mary Jean Harrold. Analysis and Testing of Programs with Exception Handling Constructs. 2000( 1 ).
  • 9Davide Balzarotti, Antonio Castaldo, Mattia Monga. Slicing AspectJ Woven Code,2005.
  • 10Raja ValleeRai, Phong Co, Etienne Gagnon, et al. Soot a java byte code optimization framework. In CASCON '99:Proceedings of the 1999 conference of the Centre for Advanced Studies on Collaborative research, page 13. IBM Press,1999.

同被引文献16

  • 1Flanagan D,Qadeer S.Predicate abstraction for software verification[C]//Proc of the 29th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages.2002:191-202.
  • 2Dwyer M B,Clarke L A.Data flow analysis for verifying properties of concurrent programs[J].Software Engineering Notes,1994,19(5):62-75.
  • 3Dwyer M B,Clarke L A,Cobleigh J M.Flow analysis for verifying properties of concurrent software systems[J].ACM Trans on Software Engineering and Methodology,2004,13(4):359-430.
  • 4Gargantini A.Using model checking to generate fault detecting tests:TAP[C]//LNCS,vol4454,2007:189-206.
  • 5Dwyer M,Hatcliff J,Robby P C.Formal software analysis emerging trends in software model checking[C]//Proc of Future of Software Engineering.Minneapolis:IEEE Press,2007:120-136.
  • 6Pressman R S.Software engineering:a practitioner’s approach[M].6th ed.New York:McGraw/Hill Higher Education,2004.
  • 7Storey M A.Theories,tools and research methods in program comprehension:past,present and future[J].Software Quality Journal,2006,14(3):187-208.
  • 8Chinnici R,Moreau J J,Ryman A,et al.Web services description language(WSDL)version2.0[EB/OL].(2007-06-26)[2012-08-19].http:/ /www.w3.org/TR/wsdl20/.
  • 9Graphviz,graph visualization software[EB/OL].[2014-08-05].http://www.graphviz.org/.
  • 10维基百科.八皇后算法[EB/OL].(2014-06-21)[2014-08-05].http://zh.wikipedia.org/wiki/八皇后问题.

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部