Main Content
Number of Local Non-Static Variables
Total number of local variables in function
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 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 |