Min Essential Knots 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.
Min Essential Knots
API ID: MinEssentialKnotsLanguages: Ada, C#, C++, Java, Rust
Targets: Functions, Packages, Subprograms
Minimum Knots after structured programming constructs have been removed.
- Ada: Type, Entry, Function, Package, Procedure, Protected, Task
- C#: Method
- C++: Function
- Java: Method
- Rust: Function
- This metric can be enabled from "Project Configuration/Metrics/Complexity" with the "Knots" option.