ABSTRACT Software Metrics have been proposed for procedural and object oriented paradigms to measure various attributes like complexity, cohesion, software quality, and productivity. Among all of these, “Complexity” and “Cohesion” are considered to be the most important attributes. As object oriented analysis and design appears to be at the forefront of software engineering technologies, many different object-oriented complexity and cohesion metrics have been developed. The aim of the paper is to compare some of the complexity and cohesion metrics and to analyze these metrics and expose their inconsistencies. The paper provides a brief introduction of CK and Morris’s metrics for calculating the complexity and cohesion of a software. The inconsistencies in these methods are exposed by providing various examples. The paper concludes by proving inconsistencies in CK’s cohesion matrices and Morris’s complexity matrices.
Cite this paper
nullA. Salem and A. Qureshi, "Analysis of Inconsistencies in Object Oriented Metrics," Journal of Software Engineering and Applications, Vol. 4 No. 2, 2011, pp. 123-128. doi: 10.4236/jsea.2011.42013.
 S. R. Chidamber and C. F. Kemerer, “Towards a Metric Suite for Object Oriented Design,” Proceedings of OOPSLA Conference on Object-Oriented Programming Systems, Language and Applications, 6-11 October 1991, pp, 1-18. doi:10.1145/117954.117970
 S. R. Chidamber and C. F. Kemerer, “Towards a Metric Suite for Object Oriented Design,” IEEE Transactions on Software Engineering, Vol. 20, No. 6, 1994, pp. 476-493. doi:10.1109/32.295895
 J. Bieman and L. Ott, “Measuring: Functional Cohesion,” IEEE Transactions on Software Engineering, Vol. 20, No. 8, 1994, pp. 644-657. doi:10.1109/32.310673
 J. Bieman and B.-K. Kang, “Cohesion and Reuse in an Object Oriented System,” Software Engineering Notes, 1995, pp. 259-262.
 L. C. Briand, J. Daly and J. Wust, “A Unified Framework for Cohesion Measurement in Object-Oriented Systems,” Empirical Software Engineering, Vol. 3, No. 1, 1998, pp. 65-117.
 Bindu Gupta, “A Critique of Cohesion Measures in Object Oriented Paradigm,” Master’s Thesis, Michigan Technological University, Houghton, 1997.
 S. Sunnit and R. S. Salaria, “Critical Analysis of Inconsistencies in CK and MOOD Metrics,” 2nd ACIS International Conference on Software Engineering Research, Management and Applications, Los Angeles, 5-7 May 2004.
 S. Sunnit and R. S. Salaria, “Analysis of CK and Mood Metrics for Inconsistencies and Prediction of Quality Attributes,” November 2007.
 S. R. Ragab and H. H. Ammar, “Object Oriented Design Metrics and Tools a Survey,” The 7th International Conference on Informatics and Systems, Cairo, 28-30 March 2010, pp. 1-7.
 K. K. Aggarwal, Y. Singh, A. Kaur and R. Malhotra, “Empirical Study of Object-Oriented Metrics,” Journal of Object Technology, Vol. 5, No. 8, 2006, pp. 149-173. doi:10.5381/jot.2006.5.8.a5
 N. Fenton, “Software Metrics: A Rigorous and Practical Approach,” 1998.