New metric identifies class cohesion issues for better software quality!
Class cohesion is important for the quality of software. A new metric has been developed to measure class cohesion based on how methods are used by clients. This metric helps identify opportunities for improving software quality through refactoring. The metric was tested mathematically and in real-world case studies, showing its effectiveness compared to existing metrics. The new metric supports Extract Class refactoring, a technique to improve software maintainability and testability.