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 IDArchCurDepth
TargetsArchitectures
LanguagesAny
CategoriesHierarchy
CostQuery

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