net.sourceforge.cobertura.coveragedata
Interface CoverageData
- All Known Implementing Classes:
- CoverageDataContainer, LineData
- public interface CoverageData
getBranchCoverageRate
public double getBranchCoverageRate()
getLineCoverageRate
public double getLineCoverageRate()
getNumberOfCoveredBranches
public int getNumberOfCoveredBranches()
getNumberOfCoveredLines
public int getNumberOfCoveredLines()
getNumberOfValidBranches
public int getNumberOfValidBranches()
getNumberOfValidLines
public int getNumberOfValidLines()
merge
public void merge(CoverageData coverageData)
- Warning: This is generally implemented as a
"shallow" merge. For our current use, this
should be fine, but in the future it may make
sense to modify the merge methods of the
various classes to do a deep copy of the
appropriate objects.