struct Protocol::Profiler::FunctionCoverage

Overview

Coverage data for a JavaScript function.

Included Modules

Defined in:

protocol/profiler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def function_name : String #

JavaScript function name.


[View source]
def is_block_coverage : Bool #

Whether coverage data for this function has block granularity.


[View source]
def ranges : Array(CoverageRange) #

Source ranges inside the function with coverage data.


[View source]