Abstract
Class cohesion is a measure of software quality and maintainability. A highly cohesive class implies that its modules are functionally coherent and integrated. To date, there are varying cohesion metrics that measure class cohesion from different perspectives. These metrics use different computation in the evaluation of class cohesion. Novice software developers have no access to the class cohesion of a particular class if they are not familiar with these metrics. In this paper, we provide a quick technique to measure class cohesion without using complicated calculation. We delimit our technique to measure class cohesion in term of attribute sharing and method invocation. We contend that the observation of the impact of mutant methods provides a quick judgement on the cohesion status. The proposed approach enables novice software developers to quickly evaluate the cohesion status of a class
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have