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

计算机工程 ›› 2006, Vol. 32 ›› Issue (6): 76-78.

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

面向对象软件扇入耦合度量研究

段永红,张申生,黄鹤远   

  1. 上海交通大学计算机科学与工程系CIT 实验室,上海 200030
  • 出版日期:2006-03-20 发布日期:2006-03-20

Research on Object Oriented Software Fan-in Coupling Metric

DUAN Yonghong, ZHANG Shensheng, HUANG Heyuan   

  1. CIT Lab, Department of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200030
  • Online:2006-03-20 Published:2006-03-20

摘要: 针对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