DocumentCode
2339169
Title
Program execution based module cohesion measurement
Author
Gupta, Neelam ; Rao, Praveen
Author_Institution
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
fYear
2001
fDate
26-29 Nov. 2001
Firstpage
144
Lastpage
153
Abstract
Module cohesion describes the degree to which different actions performed by a module contribute towards a unified function. High module cohesion is a desirable property of a program. The program modifications during successive maintenance interventions can have negative effect on the structure of the program resulting in less cohesive modules. Therefore, metrics that measure module cohesion are important for software restructuring during maintenance. The existing static slice based module cohesion metrics significantly overestimate cohesion due to the limitations of static slicing. In this paper, we present a novel program execution based approach to measure module cohesion of legacy software. We define cohesion metrics based on definition-use pairs in the dynamic slices of the outputs. Our approach significantly improves the accuracy of cohesion measurement. We implemented our technique and measured module cohesion for several programs. Cohesion measurements using our technique were found to be more insightful than static slice based measurements.
Keywords
program slicing; software maintenance; software metrics; cohesion measurements; dynamic slices; legacy software; maintenance interventions; program execution based module cohesion measurement; software maintenance; software metrics; software restructuring; static slicing; Computer errors; Computer science; History; Operating systems; Production systems; Software maintenance; Software measurement; Software metrics; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Automated Software Engineering, 2001. (ASE 2001). Proceedings. 16th Annual International Conference on
ISSN
1938-4300
Print_ISBN
0-7695-1426-X
Type
conf
DOI
10.1109/ASE.2001.989800
Filename
989800
Link To Document