scitools.com

← Metric catalog

Max Nesting 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.

Max Nesting

API ID: MaxNesting
Languages: Ada, Basic, C#, C++, Fortran, Java, Jovial, Pascal, Python, Rust, Web
Targets: Architectures, Classes, Files, Functions, Modules, Packages, Project, Subprograms

Maximum nesting level of control constructs (if, while, for, switch, etc.) in the function.


Targets By Language: Configuration: