Fan in Fan out

De Nosolosoftwarewiki

  • 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 cohesion of the system.
  • Fan-out: number of elements used in this element. Low-medium fan-out indicates the element depens on few other modules, which is a good metric for decoupling.

Both these metrics apply in all levels of design, sustitutes element by module, class or method and you have it!

Herramientas personales