Call By 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.
Call By Depth
| API ID | CallByDepth |
| Targets | Functions |
| Languages | Any |
| Categories | Hierarchy |
| Cost | Slow |
Maximum number of levels the called-by tree reaches (not including self).
Measures the maximum call chain depth from any caller to this function.