Hi,
looking to my dashboard there are the metrics new_lines_to_cover and new_lines:
new_lines_to_cover
new_lines
Other points is also that I can’t find new_lines on the metric definitions page: https://docs.sonarqube.org/latest/user-guide/metric-definitions/
Regards, Günter
Hey Günter,
“Lines to Cover” refers to Executable Lines, which means a line that can be covered by Tests. Comments, for example, can’t be covered by tests, or blank lines (so they’re excluded from this measure).
Lines, however, includes all lines.
Thanks for your answer. Means in other words: new_lines_to_cover is new_ncloc.
new_ncloc
Regards,