摘要: 针对C&K 度量组中耦合度量指标(CBO)没有区分扇入耦合和扇出耦合对软件质量影响的情况,提出了一组正交的对象间扇入耦合度量组,并对该度量组中各度量指标对软件质量的指示作用进行了讨论。在Frank Sauer 开发的基于Eclipse 度量计算插件的基础上实现了该度量组中各度量指标的自动计算。最后,通过对 JUnit3.8.1 和JUnit7.0 扇入耦合度量计算结果的分析,验证了该文提出的扇入耦合度量组的有效性。
关键词:
C&K 度量组;对象耦合度量(CBO);扇入耦合
Abstract: This article analyses shortage in CBO of C&K metrics suit. As fan-in and fan-out coupling are not divided in CBO, this article presents a suit of object oriented software fan-in coupling metrics. An automatic calculation tool is implemented based on Frank Sauer’s Eclipse metrics plug-in. Using this tool, two JUnit versions are calculated, and the result is analyzed to validate the fan-in coupling metric suit
Key words:
C&K metrics suit; CBO; Fan-in coupling
段永红,张申生,黄鹤远. 面向对象软件扇入耦合度量研究[J]. 计算机工程, 2006, 32(6): 76-78.
DUAN Yonghong, ZHANG Shensheng, HUANG Heyuan. Research on Object Oriented Software Fan-in Coupling Metric[J]. Computer Engineering, 2006, 32(6): 76-78.