Fan-in / Fan-out

» Glossary » Fan-in / Fan-out

Fan-in: number of elements using this element.

High fan-in indicates an element is reused broadly in the system, which is a good metric for the cohesion of the system.

Fan-out: number of elements used by this element.

Low-medium fan-out indicates the element depends on few other modules, which is a good metric for decoupling.