AN EVALUATION OF CHIDAMBER AND KEMERER'S LACK OF COHESION IN METHOD (LCOM) METRIC USING DIFFERENT NORMALIZATION APPROACHES

Chidamber and Kemerer first defined a cohesion measure for object-oriented software – the Lack of Cohesion in methods (LCOM) metric. However, the LCOM metric is not a normalized measure, hence the measure does not satisfy all the properties for cohesion measures. This paper presents three approaches which could be used to normalize the LCOM metric. The approaches are the Sigmoid LCOM (SLCOM) normalization, the Bowles LCOM (BLCOM) normalization and the Best-Fit LCOM (BFLCOM) normalization. These approaches were evaluated using field data from a Java based industrial system. Class cohesion was measured using the LCOM metric. The three normalization approaches were applied to the measured LCOM metric values. The result of the study suggests that the Sigmoid LCOM may not be a good transformation for the LCOM metric, the Bowles and Best-fit normalized LCOM measures may be used with the LCOM, while the Best-fit LCOM seem to be the best normalization approach for the LCOM metric.

[1]  Elaine J. Weyuker,et al.  Evaluating Software Complexity Measures , 2010, IEEE Trans. Software Eng..

[2]  James M. Bieman,et al.  Measuring Functional Cohesion , 1994, IEEE Trans. Software Eng..

[3]  James M. Bieman,et al.  Cohesion and reuse in an object-oriented system , 1995, SSR '95.

[4]  B. S. Gupta A Critique of Cohesion Measures in the Object-Oriented Paradigm , 1997 .

[5]  Chris F. Kemerer,et al.  A Metrics Suite for Object Oriented Design , 2015, IEEE Trans. Software Eng..

[6]  Adrian John Bowles Effects of design complexity on software maintenance , 1983 .

[7]  Muhammad Wasiq Measuring class cohesion in object-oriented systems , 2001 .

[8]  Sallie M. Henry,et al.  Object-oriented metrics that predict maintainability , 1993, J. Syst. Softw..

[9]  R. Tingey Structured Design: Fundamentals of a Discipline of Computer Program and Systems Design, , 2006 .

[10]  Lionel C. Briand,et al.  A Unified Framework for Cohesion Measurement in Object-Oriented Systems , 2004, Empirical Software Engineering.

[11]  Lionel C. Briand,et al.  A Unified Framework for Cohesion Measurement , 1997, IEEE METRICS.

[12]  Chris F. Kemerer,et al.  Towards a metrics suite for object oriented design , 2017, OOPSLA '91.

[13]  Martin Hitz,et al.  Chidamber & Kemerer's Metrics Suite: a Measurement Theory Perspective , 1996 .

[14]  Victor R. Basili,et al.  A Validation of Object-Oriented Design Metrics as Quality Indicators , 1996, IEEE Trans. Software Eng..

[15]  James M. Bieman,et al.  Measuring Design-Level Cohesion , 1998, IEEE Trans. Software Eng..

[16]  Mourad Badri,et al.  A Proposal of a New Class Cohesion Criterion: An Empirical Study , 2004, J. Object Technol..