Abstract
Many measures have been proposed for measuring the cohesion of the class in the object-oriented paradigm. They, however, are inconsistent with the review of application because of members of the class that have no data interactions with other members. Some of the measures do not distinguish classes in terms of the interaction pattern. A solution to this problem is to exclude them from analysis and to consider the method invocation. However, this solution may be difficult to implement in the existing measures.Therefore, this paper introduces two reference graphs, referred to as G1 and G2. G1 and G2 easily exclude the members of the class that have no data interactions, and reflect the indirect reference by the method invocations. This paper shows that the existing measures be able to perform the measurement coinciding with the review of application by using G2.
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 subscriptionsPreview
Unable to display preview. Download preview PDF.
References
L. M. Otto et al.: Developing Measures of Class Cohesion for Object-Oriented Software. 7th Annual Oregon Workshop on Software Metrics(1995).
Bindu Mehra: A Critique of Cohesion Measures in the Object-Oriented Paradigm. Masters Thesis, Department of Computer Science, Michigan Technological university, 1997.
S.R. Chidamber, C.H. Smith: A Metrics Suite for Object Oriented Design. IEEE Transactions on Software Engineering 20(1994), 636–638.
Martin Hitz, Behzad Montazeri: Measuring coupling and cohesion in object-oriented systems. Proc. of the International Symposium of Applied Corporate Computing(1995).
J.Y. Chen, J.F. Lu: A new metric for object-oriented design. Information and Software Technology (1993), 232–240.
James M. Bieman, Byung-Kyoo Kang: Cohesion and reuse in an object-oriented paradigm. Proc. ACM Symposium on Software Reusability (1995), 259–262.
B., Henderson-Sellers, Software Metrics, Prentice Hall, Hemel Hempstaed, U.K., 1996.
Lionel C. Briand, S. Morasca, V.R. Basili: Defining and Validating High-Level Design Metrics. IEEE Transactions on Software Engineering 25 (1999), 722–743.
Sunghee Park et al.: Metrics Measuring Cohesion and Coupling in Object-Oriented Programs. Journal of Korean Information Science Society 25 (1998), 1779–1787.
Lionel C. Briand, John W. Daly, and Juergen Wuest: A Unified Framework for Cohesion Measurement. Proceedings of the 4th International Software Metrics Symposium (1997).
HeungSeok Chae, YongRae Kwon: A Cohesion Measure for classes in Object-Oriented Systems. Proceedings of the 5th International Symposium on Software Metrics (1998).
E. Horowitz, S. Sahni, D. Mehta: Fundamental of Data Structures in C++. Computer Science Press: New York, 1995.
E. Weyuker: Evaluating software complexity measure. IEEE Transaction Software Engineering 14(1988), 1357–1356.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Choi, WK., Chung, IY., Lee, SJ., Yoon, HS. (2002). The Class Cohesion Using the Reference Graph G1 and G2. In: Shafazand, H., Tjoa, A.M. (eds) EurAsia-ICT 2002: Information and Communication Technology. EurAsia-ICT 2002. Lecture Notes in Computer Science, vol 2510. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36087-5_92
Download citation
DOI: https://doi.org/10.1007/3-540-36087-5_92
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00028-0
Online ISBN: 978-3-540-36087-2
eBook Packages: Springer Book Archive