AN APPROACH TO MEASURING MODULE COHESION

Based on the Weiser program slicing approach and the split of program control graph,this paper obtains the program slices (graph slices) composed of basic graph elements.Consequently the rules of discriminating lower module cohesion achieved after defining the glue graph elements and supper glue graph elements,cohesion metrics SPC,WFC and A are also given.