DocumentCode :
3373034
Title :
Measuring coupling and cohesion: an information-theory approach
Author :
Allen, Edward B. ; Khoshgoftaar, Taghi M.
Author_Institution :
Florida Atlantic Univ., Boca Raton, FL, USA
fYear :
1999
fDate :
1999
Firstpage :
119
Lastpage :
127
Abstract :
The design of software is often depicted by graphs that show components and their relationships. For example, a structure chart shows the calling relationships among components. Object oriented design is based on various graphs as well. Such graphs are abstractions of the software, devised to depict certain design decisions. Coupling and cohesion are attributes that summarize the degree of interdependence or connectivity among subsystems and within subsystems, respectively. When used in conjunction with measures of other attributes, coupling and cohesion can contribute to an assessment or prediction of software quality. Let a graph be an abstraction of a software system and let a subgraph represent a module (subsystem). The paper proposes information theory based measures of coupling and cohesion of a modular system. These measures have the properties of system level coupling and cohesion defined by L.C. Briand et al. (1996; 1997). Coupling is based on relationships between modules. We also propose a similar measure for intramodule coupling based on an intramodule abstraction of the software, rather than intermodule, but intramodule coupling is calculated in the same way as intermodule coupling. We define cohesion in terms of intramodule coupling, normalized to between zero and one. We illustrate the measures with example graphs. Preliminary analysis showed that the information theory approach has finer discrimination than counting
Keywords :
graph theory; information theory; software metrics; software quality; calling relationships; cohesion; coupling; design decisions; information theory approach; information theory based measures; information-theory approach; intermodule coupling; intramodule abstraction; intramodule coupling; modular system; object oriented design; software design; software metrics; software quality; software system; structure chart; subgraph; system level coupling; Computer science; Entropy; Information analysis; Information theory; Software design; Software engineering; Software measurement; Software metrics; Software quality; Software systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Metrics Symposium, 1999. Proceedings. Sixth International
Conference_Location :
Boca Raton, FL
Print_ISBN :
0-7695-0403-5
Type :
conf
DOI :
10.1109/METRIC.1999.809733
Filename :
809733
Link To Document :
بازگشت