DocumentCode :
2983549
Title :
A novel approach to measuring class cohesion based on dependence analysis
Author :
Chen, Zhenqiang ; Zhou, Yuming ; Xu, Baowen ; Zhao, Jianjun ; Yang, Hongji
Author_Institution :
Dept. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
fYear :
2002
fDate :
2002
Firstpage :
377
Lastpage :
384
Abstract :
Classes are the basic modules in object-oriented (OO) software, which consist of attributes and methods. Thus, in an OO environment, cohesion mainly concerns how tight the attributes and methods of classes are. This paper discusses the relationships between attributes and attributes, attributes and methods, and methods and methods of a class based on dependence analysis. Then we discuss the properties of these relationships. According to these properties, this paper proposes a novel approach to measuring class cohesion. Our approach overcomes the limitations of previous class cohesion measures, which consider only one or two of the three relationships in a class. We also prove that this measure satisfies the properties that a good measurement should have.
Keywords :
abstract data types; object-oriented programming; software metrics; attributes; class cohesion measurement; dependence analysis; methods; object-oriented software; Application software; Computer science; Encapsulation; Guidelines; Information processing; Laboratories; Object oriented programming; Software engineering; Software maintenance; Software measurement;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2002. Proceedings. International Conference on
ISSN :
1063-6773
Print_ISBN :
0-7695-1819-2
Type :
conf
DOI :
10.1109/ICSM.2002.1167794
Filename :
1167794
Link To Document :
بازگشت