Calls 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.
Calls
| API ID | CountCalls |
| Targets | Functions |
| Languages | Any |
| Categories | Coupling |
| Cost | Query |
The number of calls this function makes
Example:
void func();
void doSomething()
{
func(); // +1
func(); // +1
} // CountCalls = 2
Compare to CountCallsUnique which counts unique functions this function calls.