CodeCompass
CodeCompass copied to clipboard
Afferent Coupling at Module Level for C++
Coupling is metric which can be computed for structural units at different levels (e.g. classes, namespaces, modules). It measures how many other entities an entity depends on; and how many dependants it has.
The Afferent Coupling for a module is the number of types outside this module that depend on types within this module.
High afferent coupling indicates that the concerned modules have many responsibilities.