Interface ICCCoverageDataBasic

All Superinterfaces:
ICCPercentItem
All Known Subinterfaces:
ICCBranchPoint, ICCCoverageData, ICCFile, ICCFlowPoint, ICCImportBranchPoint, ICCImportFile, ICCImportFlowPoint, ICCImportModule, ICCImportPart, ICCImportResult, ICCModule, ICCPart, ICCResult
All Known Implementing Classes:
CCEmptyResult

public interface ICCCoverageDataBasic extends ICCPercentItem
Since:
9.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ICCTestcase[]
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of executable lines in this artifact
    int
    Return the number of flowpoints for this artifact and its children
    int
    Return the number of flowpoints that were hit for this artifact and its children
    int
    Returns the number of hit lines
    Returns all testcases that were hit by this artifact
    boolean
    Returns true if this artifact was hit Each artifact may have different interpretations of what it means to be hit (e.g could be the first line if a flowpoint)

    Methods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCPercentItem

    getPercentCoverage
  • Field Details

    • EMPTYTESTCASES

      static final ICCTestcase[] EMPTYTESTCASES
  • Method Details

    • isHit

      boolean isHit()
      Returns true if this artifact was hit Each artifact may have different interpretations of what it means to be hit (e.g could be the first line if a flowpoint)
      Returns:
      true if hit
    • getNumHitLines

      int getNumHitLines()
      Returns the number of hit lines
      Returns:
      number of hit lines
    • getNumExecutableLines

      int getNumExecutableLines()
      Returns the number of executable lines in this artifact
      Returns:
      number of executable lines
    • getTestcases

      ICCTestcase[] getTestcases()
      Returns all testcases that were hit by this artifact
      Returns:
      array of testcases ICCTestcase or an empty array
    • getNumFlowPoints

      int getNumFlowPoints()
      Return the number of flowpoints for this artifact and its children
      Returns:
      number of flowpoints
    • getNumHitFlowPoints

      int getNumHitFlowPoints()
      Return the number of flowpoints that were hit for this artifact and its children
      Returns:
      number of hit flowpoints