The basis for measuring many attributes in the physical world, such as size and mass, is fairly obvious when compared to the measurement of software attributes. Software has a very complex structure, and this makes it di cult to de ne meaningful measures that actually quantify attributes of interest. Program slices provide an abstraction that can beused to de ne important software attributes that can serve as a basis for measurement. We have successfully used program slices to dene objective, meaningful, and valid measures of cohesion. Previously, cohesion was viewed as an attribute that could not be objectively measured; cohesion assessment relied on subjective e v aluations. In this paper we review the original slice-based cohesion measures de ned to measure functional cohesion in the procedural paradigm as well as the derivative work aimed at measuring cohesion in other paradigms and situations. By viewing software products at di ering levels of abstraction or granularity, it is possible to de ne measures which are available at di erent points in the software life cycle and or suitable for varying purposes.
In REF , reviews on slice-based cohesion measures for procedural paradigm and object-oriented paradigm are discussed.
Program slices as an abstraction for cohesion measurement
Information & Software Technology
Computer Science