-
public final class FunctionCoverageCoverage data for a JavaScript function.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringfunctionNameprivate final List<CoverageRange>rangesprivate final BooleanisBlockCoverage
-
Constructor Summary
Constructors Constructor Description FunctionCoverage(String functionName, List<CoverageRange> ranges, Boolean isBlockCoverage)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<CoverageRange>component2()final Booleancomponent3()final FunctionCoveragecopy(String functionName, List<CoverageRange> ranges, Boolean isBlockCoverage)final StringgetFunctionName()JavaScript function name. final List<CoverageRange>getRanges()Source ranges inside the function with coverage data. final BooleangetIsBlockCoverage()Whether coverage data for this function has block granularity. -
-
Constructor Detail
-
FunctionCoverage
FunctionCoverage(String functionName, List<CoverageRange> ranges, Boolean isBlockCoverage)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<CoverageRange> component2()
-
component3
final Boolean component3()
-
copy
final FunctionCoverage copy(String functionName, List<CoverageRange> ranges, Boolean isBlockCoverage)
-
getFunctionName
final String getFunctionName()
JavaScript function name.
-
getRanges
final List<CoverageRange> getRanges()
Source ranges inside the function with coverage data.
-
getIsBlockCoverage
final Boolean getIsBlockCoverage()
Whether coverage data for this function has block granularity.
-
-
-
-