Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Profiler.FunctionCoverage
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { FunctionCoverage } = Protocol.Profiler;

Coverage data for a JavaScript function.

Properties

functionName: string

JavaScript function name.

ranges: CoverageRange[]

Source ranges inside the function with coverage data.

isBlockCoverage: boolean

Whether coverage data for this function has block granularity.