DocumentCode :
2009813
Title :
Comprehension of object-oriented software cohesion: the empirical quagmire
Author :
Counsell, Steve ; Mendes, Emilia ; Swift, Stephen
Author_Institution :
Dept. of Comput. Sci., Birkbeck Coll., London, UK
fYear :
2002
fDate :
2002
Firstpage :
33
Lastpage :
42
Abstract :
Chidamber and Kemerer (1991) proposed an object-oriented (OO) metric suite which included the Lack of Cohesion Of Methods (LCOM) metric. Despite considerable effort both theoretically and empirically since then, the software engineering community is still no nearer finding a generally accepted definition or measure of OO cohesion. Yet, achieving highly cohesive software is a cornerstone of software comprehension and hence, maintainability. In this paper, we suggest a number of suppositions as to why a definition has eluded (and we feel will continue to elude) us. We support these suppositions with empirical evidence from three large C++ systems and a cohesion metric based on the parameters of the class methods; we also draw from other related work. Two major conclusions emerge from the study. Firstly, any sensible cohesion metric does at least provide insight into the features of the systems being analysed. Secondly however, and less reassuringly, the deeper the investigative search for a definitive measure of cohesion, the more problematic its understanding becomes; this casts serious doubt on the use of cohesion as a meaningful feature of object-orientation and its viability as a tool for software comprehension.
Keywords :
C++ language; object-oriented programming; reverse engineering; software metrics; Lack of Cohesion Of Methods metric; class methods; large C++ systems; maintainability; object-oriented metric suite; object-oriented software cohesion comprehension; Computer science; Data structures; Educational institutions; Fault detection; Hamming distance; Information systems; Skeleton; Software maintenance; Software measurement; Software tools;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension, 2002. Proceedings. 10th International Workshop on
ISSN :
1092-8138
Print_ISBN :
0-7695-1495-2
Type :
conf
DOI :
10.1109/WPC.2002.1021308
Filename :
1021308
Link To Document :
بازگشت