a metric for
quality
Cohesion - how closely related everything is with one another.
Coupling - how everything is connected to one another.
References
What does 'low in coupling and high in cohesion' mean
High cohesion, loose coupling