Main Content
Number of Local Non-Static Variables
Total number of local variables in function
Description
This metric provides the number of declared local variables in a function.
The metric excludes static variables and temporary variables. To find number of static
variables, use the metric Number of Local Static Variables
.
Examples
Metric Information
Group: Function |
Acronym: LOCAL_VARS |
HIS Metric: No |
Version History
Introduced in R2017a
See Also
Number of Local Static Variables
| Higher Estimate of Size of Local Variables
(Polyspace Code Prover) | Lower Estimate of Size of Local Variables
(Polyspace Code Prover) | Calculate code metrics
(-code-metrics)