首页> 外文会议>International Software Metrics Symposium >Measuring coupling and cohesion: an information-theory approach
【24h】

Measuring coupling and cohesion: an information-theory approach

机译:测量耦合和凝聚力:信息理论方法

获取原文

摘要

The design of software is often depicted by graphs that show components and their relationships. For example, a structure chart shows the calling relationships among components. Object-oriented design is based on various graphs, as well. Suchgraphs are abstractions of the software, devised to depict certain design decisions. Coupling and cohesion are attributes that summarizes the degree of interdependence or connectivity among subsystems and within subsystems, respectively. When used inconjunction with measures of other attributes, coupling and cohesion can contribute to an assessment or prediction of software quality.Let a graph be an abstraction of a software system and let a subgraph represent a module (subsystem). This paper proposes information theory-based measures of coupling and cohesion of a modular system. These measures have the properties of system-levelcoupling and cohesion defined by Briand, Morasca, and Basili.Coupling is based on relationships between modules. We also propose a similar measure for intramodule coupling based on an intramodule abstraction of the software, rather than intermodule, but intramodule coupling is calculated in the same way asintermodule coupling. We define cohesion in terms of intramodule coupling, normalized to between zero and one. We illustrate the measures with example graphs. Preliminary analysis showed that the information-theory approach has finer discrimination thancounting.
机译:软件的设计通常由显示组件及其关系的图表。例如,结构图显示了组件之间的呼叫关系。面向对象的设计也基于各种图形。 SubGraph是软件的抽象,设计为描绘某些设计决策。耦合和凝聚力是总结子系统和子系统之间的相互依存或连接程度的属性。当使用其他属性测量时,耦合和凝聚力可以​​促进软件质量的评估或预测。图表是软件系统的抽象,并让子图表示模块(子系统)。本文提出了基于信息理论的模块化系统的耦合和凝聚力的措施。这些措施具有由Briand,Morasca和Basili定义的系统级耦合和凝聚力的性质。耦合基于模块之间的关系。我们还提出了基于软件的床间抽象的血际内耦合的类似措施,而不是不同的内容,但是以与intideRule耦合相同的方式计算夹层耦合。我们在床间耦合方面定义凝聚力,归一化至零和一个。我们说明了示例图的措施。初步分析表明,信息理论方法具有更精细的歧视。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号