Paths Log(x) 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.
Paths Log(x)
API ID: CountPathLogLanguages: Ada, Basic, C#, C++, Fortran, Java, Jovial, Pascal, Python, Rust, Web
Targets: Files, Functions, Modules, Packages, Subprograms
The base 10 logarithm Log(x) of the number of unique paths though a body of code, not counting abnormal exits or gotos, truncated to an integer value.
- Ada: Type, Entry, Function, Package, Procedure, Protected, Task
- Basic: Method
- C#: Method
- C++: Function
- Fortran: Module, Block Data, Function, Program, Subroutine
- Java: Method
- Jovial: Subroutine
- Pascal: Compunit, Function, Procedure
- Python: File, Function
- Rust: File, Function
- Web: File
- This metric can be enabled from "Project Configuration/Metrics/Complexity" with the "Paths" option.