Browse > Article

Improving Cohesion Metrics for Classes By Considering Dependent Instance Variables  

Chae Heung Seok (부산대학교 컴퓨터 공학과)
Kwon Yong Rae (한국과학기술원 전자전산학과)
Bae Doo Hwan (한국과학기술원 전자전산학과)
Abstract
Cohesion refers to the degree of the relatedness of the elements in a module, and it is widely accepted that the module of higher cohesion is easier to understand, maintain, and reuse. Recently, several cohesion metrics have been proposed to measure the cohesiveness of classes in an object-oriented program. However, the existing cohesion metrics do not consider the characteristics of dependent instance variables that are commonly used in a class and, thus, do not properly reflect the cohesiveness of the class. This paper presents an approach for improving the cohesion metrics by considering the characteristics of the dependent instance variables in an object-oriented program. To demonstrate the importance of the dependent instance variables, a case study has been conducted on a class library.
Keywords
object-oriented systems; class cohesion;
Citations & Related Records
연도 인용수 순위
  • Reference
1 W. Li, S. Henry, 'Object Oriented Metrics Which Predict Maintainability,' Journal of Systems and Software, Vol.23, No.2, pp.111-122, Nov., 1993   DOI   ScienceOn
2 James Rumbaugh, Michael Blaha, William Premerlani, Frederick Eddy, and William Lorensen, Object-Oriented Modeling and Design, Prentice Hall International, 1991
3 P. Devanbu, 'GENOA a customizable, language-and front-end independent code analyzer,' in: Proc. Conf. on Software Engineering, 1992, 307-317   DOI
4 A. Snyder, 'Encapsulation and Inheritance in Object-Oriented Programming Languages,' Proc. of lth ACM Conf. on Object-Oriented Systems, Languages, and Applications, pp. 84-91, September 1986
5 J. M. Bieman and B. -K. Kang, 'Cohesion and Reuse in an Object-Oriented System,' in: Proc. Symp. on Software Reusability, pp. 259-262, 1995
6 L. C. Briand, J. . Daly and J. Wust, 'A Unified Framework for Cohesion Measurement in Object-Oriented Systems:' Empirical Software Engineering Journal. Vol. 1, pp. 65-117, 1998   DOI   ScienceOn
7 H. -S. Chae, Y. -R. Kwon and D. -H. Bae. 'A Cohesion Measure for Object-Oriented Classes,' Software Practice and Experience, Vol. 30, pp. 1405-1431, 2000   DOI   ScienceOn
8 S. R. Chidamber and C. F. Kemerer, 'Towards a Metrics Suite for Object-Oriented Design,' in: Proc. 6th ACM Conf. on Object-Oriented Systems, Languages and Applications, pp. 197-211, 1991
9 Chidamber S. R., Kemerer C. F., A Metric Suit for Object Oriented Design, PP. 476-493, IEEE Transactions on Software Engineering, 20(6), 1994   DOI   ScienceOn
10 B. Henderson-Sellers, Software Metrics, Prentice-Hall, 1996
11 M. Hitz and B. Montazeri, 'Measuring Coupling and Cohesion in Object-Oriented Systems,' in: Proc. of Symp, on Applied Corporate Computing, 1995
12 N. N. Card, V. E. Chruch and W. W. Agresti, 'An Empirical Study of Software Design Practices,' IEEE Trans. on Software Engineering, Vol 12, No.2, pp. 264-271, 1986   DOI
13 W. Stevens. G. Myers and L. Constantine. 'Structured Design.' IBM Systems Journal, Vol, 12, No. 2, 1974
14 N. N. Card, G. T. Page and F. E. McGarry, 'Criteria for Software Modularization,' Proc. of 8th Int. Conf. on Software Engineering, pp. 372-377, 1985