Number of Lines
Total number of lines in a file
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 file. When calculating the value of this metric, Polyspace® includes comments and blank lines.
This metric is calculated for source files and header files in the same folders as source files. If you want:
The metric reported for other header files, change the default value of the option
Generate results for sources and (-generate-results-for)
.The metric not reported for header files at all, change the value of the option
Do not generate results for (-do-not-generate-results-for)
toall-headers
.
Examples
Metric Information
Group: File |
Acronym: TOTAL_LINES |
HIS Metric: No |