SourceFile.coverage

REQUIRED The coverage data for this file for the file's job.

The item at index 0 represents the coverage for line 1 of the source code.

Acceptable values in the array: A positive integer if the line is covered, representing the number of times the line is hit during the test suite. 0 if the line is not covered by the test suite. null to indicate the line is not relevant to code coverage (it may be whitespace or a comment).

struct SourceFile
Nullable!uint[] coverage;

Examples

[null, 1, 0, null, 4, 15, null]

Meta