A daily dose of software engineering wisdom - inspiring, thought provoking, and sometimes just plain dangerous.

Tags: package metrics


- Afferent Coupling (Ca): The number of classes outside the package that depend upon classes inside the package (i.e. incoming dependencies).

- Efferent Coupling (Ce): The number of classes outside the package that clases inside the package depend upon (i.e. outgoing dependencies).

- Package Instability: Ce / (Ca + Ce). The range is 0 to 1. If there are no outgoing dependencies then this is 0 and the package is stable (changes to other packages will not propagate to it).

Last published: Monday 2nd January 2012

<<Previous     Next>>

carriagereturn.org home