Main Content
Number of Lines
Total number of lines in a file
Description
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 |