Abstract
Class cohesion is an object-oriented software quality attribute and refers to the extent to which the members of a class are related. Software developers use class cohesion measures to assess the quality of their products and to guide the restructuring of poorly designed classes. Several class cohesion metrics are proposed in the literature, and a few of them are theoretically validated against the necessary properties of class cohesion. Metrics that violate class cohesion properties are not well defined, and their utility as indictors of the relatedness of class members is questionable. The purpose of this paper is to theoretically validate proposed class cohesion metrics using class cohesion properties. Results show that metrics differ considerably in satisfying the cohesion properties; some of them satisfy all properties, while others satisfy none.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Dallal, J.A., Briand, L.: A precise method–method interaction-based cohesion metric for object-oriented classes, TR, Simula Research Laboratory, ACM transactions on software engineering and methodology (TOSEM) (2009, in press)
Chen, Z., Zhou, Y., Xu, B.: A novel approach to measuring class cohesion based on dependence analysis. Proceedings of the International Conference on Software Maintenance, pp. 377–384 (2002)
Dallal, J. A.: Mathematical validation of object-oriented class cohesion metrics. Int. J. Comput. 4(2), 45–52
Gui, G., Scott, P.D.: Coupling and cohesion measure for evaluation of component reusability, MSR’06, May 22–23, Shanghai, China, pp. 18–21 (2006)
Chidamber, S.R., Kemerer, C.F.: Towards a metrics suite for object-oriented design, object-oriented programming systems, languages and applications (OOPSLA). Special Issue of SIGPLAN Notices 26(10), 197–211 (1991)
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)
Li, W., Henry, S. M.: Maintenance metrics for the object oriented paradigm. In: Proceedings of 1st International Software Metrics Symposium, Baltimore, MD, pp. 52–60 (1993)
Hitz, M., Montazeri, B.: Measuring coupling and cohesion in object oriented systems. In: Proceedings of the International Symposium on Applied Corporate Computing, pp. 25–27 (1995)
Henderson-Sellers, B.: Software Metrics. Prentice Hall, Hemel Hempstead (1996)
Bieman, M., Kang,B.: Cohesion and reuse in an object-oriented system. In: Proceedings of the 1995 Symposium on Software Reusability, Seattle, Washington, United States, pp. 259–262 (1995)
Badri, L., Badri, M.: A proposal of a new class cohesion criterion: an empirical study, J. Obj. Technol. 3(4), 145–159 (2004)
Briand, L.C., Daly, J., Wuest, J.: A unified framework for cohesion measurement in object-oriented systems. Empirical Softw. Eng. An Int. J. 3(1), 65–117 (1998)
Fernández, L., Peña, R.: A sensitive metric of class cohesion. Int. J. Inf. Theor. Appl. 13(1), 82–91 (2006)
Bonja, C., Kidanmariam, E.: Metrics for class cohesion and similarity between methods. In: Proceedings of the 44th Annual ACM Southeast Regional Conference, Melbourne, Florida, pp. 91–95 (2006)
Bansiya, J., Etzkorn, L., Davis, C., Li, W.: A class cohesion metric for object-oriented designs. J. Object-Oriented Program 11(8), 47–52 (1999)
Counsell, S., Swift, S., Crampton, J.: The interpretation and utility of three cohesion metrics for object-oriented design. ACM Trans. on Softw. Eng. Method. (TOSEM) 15(2), 123–149 (2006)
Chae, H.S., Kwon, Y.R., Bae, D.: A cohesion measure for object oriented classes. Softw.: Pract. Experience 30(12), 1405–1431 (2000)
Zhou, Y., Xu, B., Zhao, J., Yang, H.: ICBMC: an improved cohesion measure for classes. In: Proceedings of International Conference on Software Maintenance, pp. 44–53 (2002)
Kushwaha, D., Misra, A.: A complexity measure based on information contained in the software. 5th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems (SEPADS 2006), Madrid, Spain (2006)
Alghamdi, J.: Measuring software coupling. In: Proceedings of the 6th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 6–12, Feb 16–19, Corfu Island, Greece (2007)
Kiewkanya, M., Muenchaisri, P.: Measuring maintainability in early phase using aesthetic metrics. In: Proceedings of the 4th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 1–6, Feb 13–15, Salzburg, Austria (2005)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer India
About this paper
Cite this paper
Mal, S., Rajnish, K. (2014). Theoretical Validation of New Class Cohesion Metric Against Briand Properties. In: Mohapatra, D.P., Patnaik, S. (eds) Intelligent Computing, Networking, and Informatics. Advances in Intelligent Systems and Computing, vol 243. Springer, New Delhi. https://doi.org/10.1007/978-81-322-1665-0_58
Download citation
DOI: https://doi.org/10.1007/978-81-322-1665-0_58
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-1664-3
Online ISBN: 978-81-322-1665-0
eBook Packages: EngineeringEngineering (R0)