以一种有向带权类依赖图作为面向对象系统的UML类图的抽象表示,结合信息熵技术针对软件构件进行内聚耦合性及独立性度量。通过实验表明,该方法是一种较准确的软件构件度量方法.为权衡构件的设计质量提供了可靠的数据。
According to the abstract demonstration of class diagrams in UML based on directed weighted class dependence graphs as object-oriented system, combined the technology of information entropy, the measurement of the cohesion and coupling and independence of software component was presented. Experiment proved that it is an accurate way to measure the software component and it is also a good way to offer the reliable data to the design quality of software component.