scitools.com

← Metric catalog

Depth is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.

Depth

API ID: ArchCurDepth
Languages: Any
Targets: Architectures

The depth of this architecture in it's tree

Consider the following sample architecture:

Then the metric values would be:

ArchitectureValue
Arch Root0
Arch Child1
Arch GrandChild2
Arch Child 21