Analysis of Inconsistencies in Object Oriented Metrics
Ahmed M. Salem, Abrar A. Qureshi
DOI: 10.4236/jsea.2011.42013   PDF    HTML     6,602 Downloads   12,011 Views   Citations

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.

Share and Cite:

Salem, A. and Qureshi, A. (2011) Analysis of Inconsistencies in Object Oriented Metrics. Journal of Software Engineering and Applications, 4, 123-128. doi: 10.4236/jsea.2011.42013.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] 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
[2] 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
[3] 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
[4] J. Bieman and B.-K. Kang, “Cohesion and Reuse in an Object Oriented System,” Software Engineering Notes, 1995, pp. 259-262.
[5] 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.
[6] Bindu Gupta, “A Critique of Cohesion Measures in Object Oriented Paradigm,” Master’s Thesis, Michigan Technological University, Houghton, 1997.
[7] 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.
[8] S. Sunnit and R. S. Salaria, “Analysis of CK and Mood Metrics for Inconsistencies and Prediction of Quality Attributes,” November 2007.
[9] 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.
[10] 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
[11] N. Fenton, “Software Metrics: A Rigorous and Practical Approach,” 1998.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.