Number of Call Occurrences
Number of calls in function body
Description
Note
Use Bug Finder instead of Code Prover for computing code metrics. Support for computing code metrics in Code Prover will be removed in a future release. See Version History.
This metric specifies the number of function calls in the body of a function.
This metric includes:
Calls in unreachable code.
Calls to standard library functions.
Calls to constructors and destructors.
The metric excludes:
Calls through a function pointer.
Calls to virtual functions.
Calls to
assert
. Polyspace® considersassert
as a macro and not a function.Inlined functions. Compilers might inline certain function calls, such as the default constructors and destructors.
Examples
Metric Information
Group: Function |
Acronym: NCALLS |
HIS Metric: No |