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

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 75-77. doi: 10.3969/j.issn.1000-3428.2006.20.028

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

基于UML时序图的系统运行时耦合度量方法

杜防汛,黄志球,杨 俊,张玉宏   

  1. (南京航空航天大学信息科学与技术学院,南京 210016)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

System’s Run-time Coupling Measure Based on UML Sequence Diagram

DU Fangxun, HUANG Zhiqiu, YANG Jun, ZHANG Yuhong   

  1. (Information Science and Technology Institute, Nanjing University of Aeronautics and Astronautics, Nanjing 210016)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 面向对象耦合性是软件质量重要的内部属性,该文分析了现有基于静态分析的耦合度量,以及其因继承和多态的使用而产生对运行时耦合度量的不足。提出了以用于系统动态建模的UML时序图为基础,定义了反映系统运行时的耦合度量指标,并通过实例验证了耦合指标定义的可操作性和实用性。

关键词: 统一建模语言, 时序图, 运行时, 耦合度量

Abstract: Object-oriented coupling is one of the important internal attributes of software quality. This paper firstly analyses the limitations of the existing static coupling measurement because of using inheritance and polymorphism, then defines the coupling metrics describing system run-time coupling, which based on UML sequence diagram which used to dynamic modeling, and validates the operability and practicability of this definition by a simple example.

Key words: Unified modeling language, Sequence diagram, Run-time, Coupling measure