Class FunctionCoverage
Coverage data for a JavaScript function.
public sealed record FunctionCoverage : IEquatable<FunctionCoverage>
- Inheritance
-
FunctionCoverage
- Implements
- Inherited Members
Constructors
FunctionCoverage(string, ImmutableArray<CoverageRange>, bool)
Coverage data for a JavaScript function.
public FunctionCoverage(string FunctionName, ImmutableArray<CoverageRange> Ranges, bool IsBlockCoverage)
Parameters
FunctionNamestringJavaScript function name.
RangesImmutableArray<CoverageRange>Source ranges inside the function with coverage data.
IsBlockCoverageboolWhether coverage data for this function has block granularity.
Properties
FunctionName
JavaScript function name.
public string FunctionName { get; init; }
Property Value
IsBlockCoverage
Whether coverage data for this function has block granularity.
public bool IsBlockCoverage { get; init; }
Property Value
Ranges
Source ranges inside the function with coverage data.
public ImmutableArray<CoverageRange> Ranges { get; init; }