Class FunctionCoverage


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

      Modifier and Type Method Description
      java.lang.String getFunctionName()
      JavaScript function name.
      java.lang.Boolean getIsBlockCoverage()  
      java.util.List<CoverageRange> getRanges()
      Source ranges inside the function with coverage data.
      java.lang.Boolean isIsBlockCoverage()
      Whether coverage data for this function has block granularity.
      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 Detail

      • FunctionCoverage

        public FunctionCoverage()
    • Method Detail

      • 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.
      • isIsBlockCoverage

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

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

        public java.lang.Boolean getIsBlockCoverage()