Class FunctionCoverage

java.lang.Object
io.webfolder.cdp.type.profiler.FunctionCoverage

public class FunctionCoverage
extends java.lang.Object
Coverage data for a JavaScript function
  • Constructor Summary

    Constructors 
    Constructor Description
    FunctionCoverage()  
  • Method Summary

    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.
    void setFunctionName​(java.lang.String functionName)
    JavaScript function name.
    void setIsBlockCoverage​(java.lang.Boolean isBlockCoverage)
    Whether coverage data for this function has block granularity.
    void setRanges​(java.util.List<CoverageRange> ranges)
    Source ranges inside the function with coverage data.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFunctionName

      public java.lang.String getFunctionName()
      JavaScript function name.
    • setFunctionName

      public void setFunctionName​(java.lang.String functionName)
      JavaScript function name.
    • getRanges

      public java.util.List<CoverageRange> getRanges()
      Source ranges inside the function with coverage data.
    • setRanges

      public void setRanges​(java.util.List<CoverageRange> ranges)
      Source ranges inside the function with coverage data.
    • setIsBlockCoverage

      public void setIsBlockCoverage​(java.lang.Boolean isBlockCoverage)
      Whether coverage data for this function has block granularity.
    • getIsBlockCoverage

      public java.lang.Boolean getIsBlockCoverage()
      Whether coverage data for this function has block granularity.