puppeteer/new-docs/puppeteer.protocol.profiler.functioncoverage.md
2020-07-13 14:01:35 +01:00

1.0 KiB

Home > puppeteer > Protocol > Profiler > FunctionCoverage

Protocol.Profiler.FunctionCoverage interface

Coverage data for a JavaScript function.

Signature:

export interface FunctionCoverage 

Properties

Property Type Description
functionName string JavaScript function name.
isBlockCoverage boolean Whether coverage data for this function has block granularity.
ranges CoverageRange[] Source ranges inside the function with coverage data.