摘要: 面向对象耦合性是软件质量重要的内部属性,该文分析了现有基于静态分析的耦合度量,以及其因继承和多态的使用而产生对运行时耦合度量的不足。提出了以用于系统动态建模的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
杜防汛;黄志球;杨 俊;张玉宏. 基于UML时序图的系统运行时耦合度量方法[J]. 计算机工程, 2006, 32(20): 75-77.
DU Fangxun; HUANG Zhiqiu; YANG Jun; ZHANG Yuhong. System’s Run-time Coupling Measure Based on UML Sequence Diagram[J]. Computer Engineering, 2006, 32(20): 75-77.