Seventh International Software Metrics Symposium (METRICS'01)
Cohesion is Structural, Coherence is Functional: Different Views, Different Measures
London, England
April 04-April 06
ISBN: 0-7695-1043-4
Traditionally, cohesion of a software component is considered to be a characteristic of its internal structure, and most cohesion measures proposed so far measure cohesion through the similarity of its constituent parts. However, cohesion may also be interpreted as an functional property observed externally, without regard for the component's internal structure. One way of measuring functional cohesion would be to measure the similarity of usage patterns of component's external clients. One such measure is defined in this paper, using a generic system model and its associated mechanism for calculating object sizes as the foundation. The new measure is simple to understand, easy to automate, and flexible enough to be used at different levels of abstraction. Moreover, it satisfies the most important properties that a cohesion measure is expected to satisfy. Examples are provided to illustrate the concept and its possible uses in analyzing and re-packaging of the components of a software system.
Index Terms:
measurement, metrics, object-oriented technology, cohesion
Citation:
Vojislav B. Misic, "Cohesion is Structural, Coherence is Functional: Different Views, Different Measures," metrics, pp.135, Seventh International Software Metrics Symposium (METRICS'01), 2001