concept functional relatedness in category dependency injection

appears as: functional relatedness
Dependency Injection

This is an excerpt from Manning's book Dependency Injection.

More often than not, however, it can be more challenging to see whether a class has multiple reasons to change. What often helps is to look at the SRP from the perspective of code cohesion. Cohesion is defined as the functional relatedness of the elements of a class or module. The lower the relatedness, the lower the cohesion, and the higher the risk a class violates the SRP.