作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (23): 68-70,7. doi: 10.3969/j.issn.1000-3428.2007.23.024

• 软件技术与数据库 • 上一篇    下一篇

逆向工程中动静态结合辅助用例模型的恢复

郑变红,陈 平,胡圣明,龚晓洁   

  1. (西安电子科技大学软件工程研究所,西安 710071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-05 发布日期:2007-12-05

Combined Static and Dynamic Information in Retrieving Use Case Model for Reverse Engineering

ZHENG Bian-hong, CHEN Ping, HU Sheng-ming, GONG Xiao-jie   

  1. (Software Engineering Institute,Xidian University, Xi’an 710071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-05 Published:2007-12-05

摘要: 由于根据目前方法调用之间的“线索”或方法调用的相互关系恢复出的用例模型存在一定的局限性,该文提出了一种基于动态信息并结合静态信息的用例模型恢复方法。该方法以动态运行时的方法调用序列提取基本用例,依据静态的类间关系和静态的程序依赖图对基本用例进行调整、找出用例与角色的交互点及各用例所属的功能模块,使产生的用例模型带有语义信息,更好地辅助用户理解。

关键词: 逆向工程, 程序理解, 用例模型, 程序依赖图

Abstract: Currently, the approach of generating use case models mainly depends on the threads or relationships formed by method calls, which is limited for understanding the target system. This paper presents an approach of recovering use case models from dynamic information combining with static information. The approach generates basic use cases from method calls sequence, regulates the basic use cases according to relationship among classes and the static dependency graph, finds out the interaction point between user and the module to which the extracted use cases belong, and generates use case model with semantic information, which is more useful for the user to understand the target system.

Key words: reverse engineering, program understanding, use case model, program dependency graph

中图分类号: