Research on Cohesion Metric of Component

SHANGGUAN Pan-li,LEI Hang
2009-01-01
Abstract:It is important to cohesion metric in the quality metric of component. Classical Program slice is a good way to measure component cohesion, but its value is different to different slice of the same component. This paper not only can measure component cohesion but also makes the value exclusive. Firstly, the formal definition of elements in the component is given. Then a dependence graph of component can be created to describe the relationship of variable, function and so on. Cohesion between variable and variable, function and variable, function and function of component is measured on the above dependence graph. What ’s more, the im- plement algorithms are given, and the theorems which influence component cohesion are proposed to make implementing high cohesion component easy.
What problem does this paper attempt to address?