Number of calls in function body
This metric specifies the number of function calls in the body of a function.
Calls through a function pointer are not counted. Calls in unreachable code and calls to
standard library functions are counted. assert is considered as a
macro and not a function, so it is not counted.
When calculating this metric in C++ code, Polyspace® ignores the implicit functions that the compiler generates, such as default constructors and destructors. User-defined constructors and destructors are counted as function calls. In a class hierarchy, if a base class has user-defined constructors, Polyspace counts the corresponding constructors of the derived classes as functions.
| Group: Function |
Acronym: NCALLS |
| HIS Metric: No |