net.sourceforge.cobertura.coveragedata

Interface BranchCoverageData

public interface BranchCoverageData

Method Summary
doublegetBranchCoverageRate()
intgetNumberOfCoveredBranches()
intgetNumberOfValidBranches()
voidmerge(BranchCoverageData coverageData)
Warning: This is generally implemented as a "shallow" merge.

Method Detail

getBranchCoverageRate

public double getBranchCoverageRate()

getNumberOfCoveredBranches

public int getNumberOfCoveredBranches()

getNumberOfValidBranches

public int getNumberOfValidBranches()

merge

public void merge(BranchCoverageData 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.