Coupling and Cohesion Measures for Evaluation of Component Reusability

Author(s): G. Gui and P.D Scott
Venue: Proceedings of the 2006 international workshop on Mining software repositories
Date: 2006

Type of Experiement: Case Study

Quality
3

Summary:

This paper provides new metrics for coupling and cohesion to asses the reusability of Java components. The difference of these metrics are they reflect the degree to which entities are coupled or resemble each other and they take into account indirect couplings or similarities. The proposed metrics are WTCoup and WTCoh. The results of the empirical study showed that in all cases these metrics were better at showing the reusability of the code. This was determined by comparing the correlation between each metric and the number of lines of code removed or deleted (NLOC). The correlation to the WTCoup and WTCoh were extremely high in all cases (above .95 and .83 respectively).

0