期刊文献+

动静态信息相结合的UML2.0序列图逆向生成方法

Reverse Engineering of UML2.0 Sequence Diagrams Using Static and Dynamic Information
下载PDF
导出
摘要 符合UML2.0标准的序列图在UML1.x序列图的基础上添加了控制流信息。为此,本文提出一种基于动静态信息相结合的UML2.0序列图逆向生成方法。该方法首先利用目标程序运行时的动态信息产生基本的方法调用序列,然后依据静态的程序依赖图对其进行补充和调整,在其上添加方法间的逻辑关系,使产生的序列图带有控制流信息。这种方法生成的序列图符合UML2.0标准,可以很好地辅助用户理解目标程序。 Compared with UML1. x, UML2. 0 introduces the flow of controls to sequence diagrams. A method to reverse engineer UML sequence diagrams using dynamic information combined with static information is presented in this paper. In the proposed method, basic sequence of method calls is first generated from dynamic information obtained dur- ing the runtime of the target program, and then added with the flow of controls (i. e. the relationship of method calls) based on the static dependency graph. The sequence diagram reverse engineered by this method is self-contained and compatible with the UML2.0 standard, and can efficiently help users to understand the target program.
出处 《计算机科学》 CSCD 北大核心 2008年第8期269-272,共4页 Computer Science
基金 国家教育部博士点基金(项目编号:20030701009):面向对象逆向工程工具研究 国家自然科学基金(项目编号:60473063) 研究生创新基金(编号05009)
关键词 逆向工程 程序理解 序列图 UML2.0 Reverse engineering, Program understanding, Sequence diagrams, UML2. 0
  • 相关文献

参考文献12

  • 1Rountev S R. A Interactive Exploration of UML Sequence Diagrams. Visualizing Software for Understanding and Analysis, 2005.
  • 2Albir S S. UML in a NutShell. O'Reilly, 1998.
  • 3Rountev A,Connell B H. Object naming analysis for reverse-engineered sequence diagrams//International Conference on Software Engineering. 2005:254-263.
  • 4Ghezzi C, Jazayeri M, Mandrioli D. Fundamentals of Software Engineering. Prentice Hall International Ed. 1991.
  • 5Walker R J, Murphy G C, Freeman-Benson B, et al. Visualizing Dynamic Software System Information through High-level Models//Proceedings of the Conference on Object-oriented Program ming, Systems, Languages, and Applications. 1998:271-283.
  • 6DePauw W,Jensen E, Mitchell N, et al. Visualizing the execution of Java programs. Software Visualization//LNCS 2269. 2002:151-162.
  • 7Oechsle R, Schmitt T. JAVAVIS.. Automatic program visualization with object and sequence diagrams using JDI. Software Visualization//LNCS 2269. 2002:176-190.
  • 8Tonella P,Potrich A, Reverse engineering of the interaction diagrams from C+ + code//International Conference on Software Maintenance. 2003: 159-168.
  • 9Rountev A, Volgin O, Reddoch M. Static control-flow analysis for reverse engineering of UML sequence diagrams//The 6th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering. 2005:96-102.
  • 10Systa T, Koskimies K, Muller H. Shimba an environment for reverse engineering Java software systems. Software Practice & Experience, 2001,31 (4) : 371-394.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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