Hey there.
Another way of saying “Lines to Cover” is “Executable Lines” or “Lines that can be covered by unit tests”
Consider a Java example:
package org.eclipse.jdt.core.dom;
import javax.annotation.Nullable;
Surely these are Lines of Code, but they can’t be covered by unit tests
While some logic like this can (and should) be covered by Unit Tests.
if (answer == null) {
return NO_ANNOTATIONS;
}
The latter sample falls under “lines to cover” (well, the first two lines, not the closing bracket
), the former does not, but they are all “lines of code”