Main Content
Number of Executable Lines
Number of executable 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 measures the number of executable lines in a function body. When calculating the value of this metric, Polyspace® excludes declarations, comments, blank lines, braces or preprocessing directives.
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 lambdas. For these entities, the
value is reported as Not computed
.
Examples
Metric Information
Group: Function |
Acronym: FXLN |
HIS Metric: No |