Low maintainability with low class cohesion Medium

Classes with low class cohesion contain unrelated operations which make them difficult to understand and less likely to be used. The class cohesion is computed as the number of clusters of instance methods that do not have any accessed class members in common. For example, a cluster might have two methods that access only the class fields x and y, and another cluster might have two other methods that access only the class fields a and b. A high number of these clusters indicates low class cohesion.

Detector ID
java/code-quality-metrics-class-cohesion@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-