Theoretical Validation of New Class Cohesion Metric Against Briand Properties

Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 243)

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.

Keywords

Cohesion metrics Reusability Software quality Object-oriented 

References

  1. 1.
    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)Google Scholar
  2. 2.
    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)Google Scholar
  3. 3.
    Dallal, J. A.: Mathematical validation of object-oriented class cohesion metrics. Int. J. Comput. 4(2), 45–52Google Scholar
  4. 4.
    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)Google Scholar
  5. 5.
    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)CrossRefGoogle Scholar
  6. 6.
    Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)CrossRefGoogle Scholar
  7. 7.
    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)Google Scholar
  8. 8.
    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)Google Scholar
  9. 9.
    Henderson-Sellers, B.: Software Metrics. Prentice Hall, Hemel Hempstead (1996)Google Scholar
  10. 10.
    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)Google Scholar
  11. 11.
    Badri, L., Badri, M.: A proposal of a new class cohesion criterion: an empirical study, J. Obj. Technol. 3(4), 145–159 (2004)Google Scholar
  12. 12.
    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)CrossRefGoogle Scholar
  13. 13.
    Fernández, L., Peña, R.: A sensitive metric of class cohesion. Int. J. Inf. Theor. Appl. 13(1), 82–91 (2006)Google Scholar
  14. 14.
    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)Google Scholar
  15. 15.
    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)Google Scholar
  16. 16.
    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)CrossRefGoogle Scholar
  17. 17.
    Chae, H.S., Kwon, Y.R., Bae, D.: A cohesion measure for object oriented classes. Softw.: Pract. Experience 30(12), 1405–1431 (2000)Google Scholar
  18. 18.
    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)Google Scholar
  19. 19.
    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)Google Scholar
  20. 20.
    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)Google Scholar
  21. 21.
    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)Google Scholar

Copyright information

© Springer India 2014

Authors and Affiliations

  1. 1.Department of CSEBITMesraIndia
  2. 2.Department of Information TechnologyBITMesraIndia

Personalised recommendations