Main Content
Number of Lines Within Body
Number of lines in function body
Description
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 |