EXPLORING EMPIRICALLY THE RELATIONSHIP BETWEEN LACK OF COHESION IN OBJECT-ORIENTED SYSTEMS AND COUPLING AND SIZE

Linda Badri, Mourad Badri, Fadel Toure

Abstract

The study presented in this paper aims at exploring empirically the relationship between lack of cohesion of classes in object-oriented systems and their coupling and size. We designed and conducted an empirical study on various open source Java software systems. The experiment has been conducted using several well known code-based metrics related to cohesion, coupling and size. The results of this study provide evidence that a lack of cohesion may actually be associated with (high) coupling and (large) size.

References

  1. Aggarwal, K. K., Yogesh, S., Arvinder K., Ruchika, M., 2006. Empirical study of object-oriented metrics. Journal of Object Technology. vol. 5. no. 8.
  2. Aggarwal, K. K., Yogesh, S., Arvinder, K., Ruchika, M., 2006. Investigating the effect of coupling metrics on fault proneness in object-oriented systems. SQP, vol. 8 no. 4.
  3. Aman, H., Yamasaki, K., Yamada, H., Noda, M.T., 2002. A proposal of class cohesion metrics using sizes of cohesive parts. Knowledge-Based Sof. Engineering. T. Welzer et al. (Eds) IOS Press.
  4. Badri, L., Badri, M., 2004. A proposal of a new class cohesion criterion: An empirical Study. Journal of Object Technology. vol. 3, no. 4, Special issue: TOOLS USA.
  5. Badri, L., Badri, M., Gueye, A., 2008. Revisiting class cohesion, An empirical investigation on several systems. Journal of Object Technology. vol. 7, no. 6.
  6. Basili, V. R., Briand, L.C., Melo, W., 1996. A validation of object-oriented design metrics as quality indicators. IEEE TSE, 22 (10).
  7. Bansiya, J., Davis, C.G., 2002. A hierarchical model for object-oriented design quality assessment. IEEE TSE, vol. 28, no. 1.
  8. Bieman, J. M., Kang, B. K., 1995. Cohesion and reuse in an object-oriented system. Proc. of the Symposium on Software Reusability.
  9. Booch, G., 1994. Object-Oriented Analysis and Design With Applications, Benjamin/Cummings. 2nd edition.
  10. Briand, L. C., Daly, J., Porter, V., Wuest, J., 1997. The dimensions of coupling in object-oriented design. Proceedings of OOPSLA'97.
  11. Briand, L.C., Daly, J., Porter, V., Wuest, J., 1998. A unified framework for cohesion measurement in object-oriented systems. Empirical Software Engineering, 3 (1).
  12. Briand, L. C., Daly, J., Porter, V., Wuest, J., 2000. Exploring the relationships between design measures and software quality in object-oriented systems. Journal of Systems and Software, No. 51.
  13. Bruntink, M., Van Deursen, A., 2006. An empirical study into class testability. Journal of Sysems and Software, 79, 9.
  14. Chae, H. S., Kwon, Y. R., Bae, D. H., 2000. A cohesion measure for object-oriented classes. Software Practice and Experience, No. 30.
  15. Chae, H. S., Kwon, Y. R., Bae, D. H., 2004 Improving cohesion metrics for classes by considering dependent instance variables. IEEE TSE. vol. 30, no. 11.
  16. Chaumun, M. A., Kabaili, H., Keller, R. K., Lustman, F., St-Denis, G., 2000. Design properties and objectoriented sotware changeability. Proc. of the 4th Euromicro Working Conference on Software Maintenance and Reengineering.
  17. Chen, Z., Zhou, Y., Xu, B., Zhao, J., Yang, H., 2002. A novel approach to measuring class cohesion based on dependence analysis. Proc. 18th International Conferrence on Software Maintenance.
  18. Chidamber, S. R., Kemerer, C.F., 1991. Towards a Metrics Suite for Object-Oriented Design. OOPSLA. Special Issue of SIGPLAN Notices, Vol. 26, No. 10.
  19. Chidamber, S. R., Kemerer, C. F., 1994. A Metrics suite for object Oriented Design. IEEE TSE. Vol. 20, No. 6.
  20. Chidamber, S. R., Darcy, D. P., Kemerer, C. F., 1998. Managerial use of metrics for object-oriented software : An exploratory analysis. IEEE TSE, Vol. 24, No. 8.
  21. Counsell, S., Swift, S., 2006. The interpretation and utility of three cohesion metrics for object-oriented design. ACM TSEM. vol. 15, no. 2.
  22. Dagpinar, M., Jahnke, J. H., 2003. Predicting maintenability with object-oriented metrics - An empirical comparaison. Proc. of the 10th working conference on reverse engineering (WCRE'03). IEEE computer society.
  23. Darcy, D., Kemerer, K., 2005. OO metrics in practice, IEEE Software. vol. 22, no. 6.
  24. De Lucia, A., Oliveto, R., Vorraro, L., 2008. Using structural and semantic metrics to improve class cohesion. Proc. of the ICSM.
  25. Dunsmore, H.E., 1984. Software metrics: An overview of an evolving methodology. Information Processing and Management, 20(1-2), 183-192.
  26. El Emam, K., Melo, W., 1999. The prediction of faulty class using object-oriented design metrics. National Research Council of Canada NRC/ERB 1064.
  27. Etzkorn, L. H., Gholston, S.E., Fortune, J. L., Stein, C. E., Utley, D., 2004. A comparison of cohesion metrics for object-oriented systems. Information and Software Technology, 46.
  28. Fenton, N., Pfleeger, S. L., 1996. Software Metrics: A Rigorous and Practical Approach. Int. Thomson Computer Press. 2nd edition.
  29. Harrison, R., Counsell, S. J., Nithi, R., 1998. An investigation into the applicability and validity of object-oriented design metrics. Empirical Software Engineering, vol. 3, no. 3.
  30. Henderson-Sellers, B., 1996. Object-Oriented Metrics Measures of Complexity, Prentice-Hall.
  31. Hitz, M., Montazeri, B., 1995. Measuring coupling and cohesion in object-oriented systems. Proc. of the Int. Symp. on Applied Corporate Computing.
  32. Kabaili, H., Keller, R. K., Lustman, F., Saint-Denis, G., 2000. Class Cohesion Revisited: An Empirical Study on Industrial Systems. Proc. of the Workshop on Quantitative Approaches Object-Oriented Software Engineering. France.
  33. Kabaili, H., Keller, R.K., Lustman, F., 2001. Cohesion as Changeability Indicator in Object-Oriented Systems. Proceedings of the Fifth European Conference on Software Maintenance and Reengineering (CSMR 2001). Estoril Coast (Lisbon), Portugal.
  34. Kitchenham, B. A. Linkman, S.J., 1990. Design metrics in practice. Information Software Technology.
  35. Larman, G., 2003. Applying UML and Design Patterns, An introduction to object-oriented analysis and design and the unified process, Prentice Hall.
  36. Levitin, A. V., 1986. How to measure size and how not to, Proc. 10th COMPSAC. Chicago, oct 8-10, IEEE Computer Society Press.
  37. Li, W., Henry, S., 1993. Object-oriented metrics that predict maintainability. Journal of Systems and Software. Vol. 23.
  38. Li, W., Henry, S., Kafura, D., Schulman, R., 1995. Measuring Object-Oriented Design. Journal of ObjectOriented Programming. Vol. 8, No. 4.
  39. Marcus, A., Poshyvanyk, D., 2005. The conceptual cohesion of classes. Proc. 21th IEEE Int. Conf. on Software Maintenance.
  40. Marcus, A., Poshyvanyk, D., Ferenc, R., 2008. Using the Conceptual Cohesion of Classes for Fault Prediction in Object-Oriented Systems. IEEE TSE. Vol. 34, NO. 2.
  41. Meyers, T.M., Binkley, D., 2004. Slice-Based cohesion metrics and software intervention. Proc. 11th IEEE WCRE.
  42. Pant, Y. R., Verner, J. M., Hendreson-Sellers, B., 1995. S/C: a software size/complexity measure, chapter 50 in Software Quality and Productivity: Theory, Practice, Education and Training, eds. M. Lee, B.-Z. Barta, and P. Juliff, Chapman & Hall, London.
  43. Pressman, R.S., 2005. Software Engineering, A practitioner's approach, Mc Graw Hill.
  44. Sommervile, I., 2004. Software Engineering.
  45. Stein, C., Cox, G., Etzkorn, L., 2005. Exploring the relationship between cohesion and complexity. Journal of Computer Science. 1 (2),
  46. Weyuker, E. J., 1988. Evaluating software complexity measures. IEEE TSE. 14(9), 1357-11365.
  47. Woo, G., Chae, H. S., Cui, J. F., Ji, J.H., 2009. Revising cohesion measures by considering the impact of write interactions between class members. Information and Software Technology, 51.
  48. Xu, J., Ho, D., Capretz, L.F., 2008. An Empirical Validation of Object-Oriented Design Metrics for Fault Prediction. Journal of Computer Science, 4 (7), 571-577.
  49. Yourdon, E., Constantine, L., 1979. Structured Design, Prentice Hall, Englewood Cliffs. N.J.
  50. Zhou, Y., Xu, B., Zhao, J., Yang, H., 2002. ICBMC: An improved cohesion measure for classes. Proc. 18th ICSM.
  51. Zhou, Y., Wen, L., Wang, J., Chen., Y., Lu, H., Xu, B., 2003. DRC: dependence-relationships-based cohesion measure for classes. Proc. 10th APSEC.
  52. Zhou, Y., Leung, H., 2006. Empirical analysis of objectoriented design metrics for predicting high and low severity faults. IEEE TSE. vol. 32, no. 10.
Download


Paper Citation


in Harvard Style

Badri L., Badri M. and Toure F. (2010). EXPLORING EMPIRICALLY THE RELATIONSHIP BETWEEN LACK OF COHESION IN OBJECT-ORIENTED SYSTEMS AND COUPLING AND SIZE . In Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT, ISBN 978-989-8425-23-2, pages 317-324. DOI: 10.5220/0003012203170324


in Bibtex Style

@conference{icsoft10,
author={Linda Badri and Mourad Badri and Fadel Toure},
title={EXPLORING EMPIRICALLY THE RELATIONSHIP BETWEEN LACK OF COHESION IN OBJECT-ORIENTED SYSTEMS AND COUPLING AND SIZE},
booktitle={Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT,},
year={2010},
pages={317-324},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003012203170324},
isbn={978-989-8425-23-2},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 5th International Conference on Software and Data Technologies - Volume 2: ICSOFT,
TI - EXPLORING EMPIRICALLY THE RELATIONSHIP BETWEEN LACK OF COHESION IN OBJECT-ORIENTED SYSTEMS AND COUPLING AND SIZE
SN - 978-989-8425-23-2
AU - Badri L.
AU - Badri M.
AU - Toure F.
PY - 2010
SP - 317
EP - 324
DO - 10.5220/0003012203170324