Number of Lines Within Body
Number of lines 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 calculates the number of lines in a function body. When calculating the value of this metric, Polyspace® includes declarations, comments, blank lines, braces, and preprocessing directives. The initialization list of a member function is considered to be within the function body when calculating this metric.
If the function body contains a #include
directive,
the included file source code is also calculated as part of this metric.
This metric is not calculated for C++ function templates and its value is reported as
Not computed
.
Examples
Metric Information
Group: Function |
Acronym: FLIN |
HIS Metric: No |