Class FunctionCoverage
- java.lang.Object
-
- org.openqa.selenium.devtools.profiler.model.FunctionCoverage
-
public class FunctionCoverage extends java.lang.Object
Coverage data for a JavaScript function.
-
-
Constructor Summary
Constructors Constructor Description FunctionCoverage(java.lang.String functionName, java.util.List<CoverageRange> ranges, java.lang.Boolean isBlockCoverage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFunctionName()
JavaScript function name.java.lang.Boolean
getIsBlockCoverage()
Whether coverage data for this function has block granularity.java.util.List<CoverageRange>
getRanges()
Source ranges inside the function with coverage data.
-
-
-
Constructor Detail
-
FunctionCoverage
public FunctionCoverage(java.lang.String functionName, java.util.List<CoverageRange> ranges, java.lang.Boolean isBlockCoverage)
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
JavaScript function name.
-
getRanges
public java.util.List<CoverageRange> getRanges()
Source ranges inside the function with coverage data.
-
getIsBlockCoverage
public java.lang.Boolean getIsBlockCoverage()
Whether coverage data for this function has block granularity.
-
-