pl.wendigo.chrome.api.profiler / FunctionCoverage

FunctionCoverage

data class FunctionCoverage (source)

Coverage data for a JavaScript function.

Link
Profiler#FunctionCoverage type documentation.

Constructors

<init>

FunctionCoverage(functionName: String, ranges: List<CoverageRange>, isBlockCoverage: Boolean)

Coverage data for a JavaScript function.

Properties

functionName

val functionName: String

JavaScript function name.

isBlockCoverage

val isBlockCoverage: Boolean

Whether coverage data for this function has block granularity.

ranges

val ranges: List<CoverageRange>

Source ranges inside the function with coverage data.