Interface ILine

All Known Implementing Classes:
LineImpl, LineImpl.Fix, LineImpl.Var

public interface ILine
The instruction and branch coverage of a single source line is described by this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the branches counter for this line.
    Returns the instruction counter for this line.
    int
    Returns the coverage status of this line, calculated from the instructions counter and branch counter.
  • Method Details

    • getInstructionCounter

      ICounter getInstructionCounter()
      Returns the instruction counter for this line.
      Returns:
      instruction counter
    • getBranchCounter

      ICounter getBranchCounter()
      Returns the branches counter for this line.
      Returns:
      branches counter
    • getStatus

      int getStatus()
      Returns the coverage status of this line, calculated from the instructions counter and branch counter.
      Returns:
      status of this line
      See Also: