Unique 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.
Unique Calls
API ID: CountCallsUniqueLanguages: Any
Targets: Functions
The number of unique entities that this function calls
Also known as Hersteller Initiative Software (HIS) CALLS metric.
Example:
void func();
void doSomething()
{
func(); // +1
func(); // func() already counted
} // CountCallsUnique = 1
Compare to CountCalls which counts all call references.