Tree-like Dependency Graph

This smell occurs when each class of the tree is used by exactly one other class. Tree-like dependency graphs indicate a functional decomposition of the system.

Related smells: Functional Decomposition


M. Lippert, S. Roock, “Refactoring in Large Software Projects: Performing Complex Restructurings Successfully”. John Wiley and Sons, 2006.

Design Smells


All rights reserved (c) Tushar Sharma 2017-23.