Analyzing Slicing of Program through Cohesion Metric
Kumar Rajnish, Mayank Manohar · 2015
This paper presents a new cohesion metric for a program which is used to analyze the slicing criterion. Based on the value of propose cohesion metric it is decided to perform slicing in a program or not. The propose cohesion metrics is also evaluated analytically against Weyuker’s Property and perform comparison with the existing cohesion metrics of Meyers et al. The results in this paper shows that the propose cohesion metric is a good method for analyzing the slicing of a program or not. Data for 16 ‘C’ programs has been collected from open source software system. For analyzing the results IBM SPSS software were used.