public abstract class BasePerTestCoverage extends Object implements PerTestCoverage, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
coverageSize |
protected BitSet |
uniqueCoverageMask
Mask used to calculate unique coverage for a SINGLE TCI only
|
| Constructor and Description |
|---|
BasePerTestCoverage(int coverageSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCoverageSize() |
protected BitSet |
getUniqueCoverageMask() |
BitSet |
getUniqueHitsFor(Set<TestCaseInfo> slices) |
BitSet |
getUniqueHitsFor(TestCaseInfo tci) |
protected abstract void |
initMasks() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCoverage, getAllHits, getHitsFor, getHitsFor, getHitsFor, getPassOnlyHits, getTestById, getTests, getTestsCovering, hasPerTestData, mapTestsAndCoverageForFileprotected final int coverageSize
protected transient BitSet uniqueCoverageMask
public int getCoverageSize()
getCoverageSize in interface PerTestCoverageprotected BitSet getUniqueCoverageMask()
protected abstract void initMasks()
public BitSet getUniqueHitsFor(TestCaseInfo tci)
getUniqueHitsFor in interface PerTestCoveragepublic BitSet getUniqueHitsFor(Set<TestCaseInfo> slices)
getUniqueHitsFor in interface PerTestCoverageCopyright © 2024 OpenClover.org. All rights reserved.