net.sourceforge.cobertura.coveragedata
Interface BranchCoverageData

All Known Implementing Classes:
JumpData, SwitchData

public interface BranchCoverageData


Method Summary
 double getBranchCoverageRate()
           
 int getNumberOfCoveredBranches()
           
 int getNumberOfValidBranches()
           
 void merge(BranchCoverageData coverageData)
          Warning: This is generally implemented as a "shallow" merge.
 

Method Detail

getBranchCoverageRate

double getBranchCoverageRate()

getNumberOfCoveredBranches

int getNumberOfCoveredBranches()

getNumberOfValidBranches

int getNumberOfValidBranches()

merge

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.