public class SamplingPerTestCoverage extends BasePerTestCoverage
coverageSize, uniqueCoverageMask
Constructor and Description |
---|
SamplingPerTestCoverage(Clover2Registry registry,
CoverageDataSpec spec,
int estPerTestRecordings) |
Modifier and Type | Method and Description |
---|---|
void |
addCoverage(TestCaseInfo tci,
PerTestRecordingTranscript recording) |
BitSet |
getAllHits() |
BitSet |
getHitsFor(Set<TestCaseInfo> tcis) |
BitSet |
getHitsFor(Set<TestCaseInfo> tcis,
CoverageDataRange range) |
BitSet |
getHitsFor(TestCaseInfo tci) |
BitSet |
getPassOnlyHits() |
TestCaseInfo |
getTestById(int id) |
Set<TestCaseInfo> |
getTests() |
Set<TestCaseInfo> |
getTestsCovering(CoverageDataRange range) |
boolean |
hasPerTestData() |
protected void |
initMasks() |
Map<TestCaseInfo,BitSet> |
mapTestsAndCoverageForFile(FullFileInfo fileInfo) |
getCoverageSize, getUniqueCoverageMask, getUniqueHitsFor, getUniqueHitsFor
public SamplingPerTestCoverage(Clover2Registry registry, CoverageDataSpec spec, int estPerTestRecordings)
public void addCoverage(TestCaseInfo tci, PerTestRecordingTranscript recording)
public boolean hasPerTestData()
public BitSet getAllHits()
public BitSet getHitsFor(TestCaseInfo tci)
public BitSet getHitsFor(Set<TestCaseInfo> tcis)
public BitSet getHitsFor(Set<TestCaseInfo> tcis, CoverageDataRange range)
public BitSet getPassOnlyHits()
public TestCaseInfo getTestById(int id)
public Set<TestCaseInfo> getTests()
public Set<TestCaseInfo> getTestsCovering(CoverageDataRange range)
public Map<TestCaseInfo,BitSet> mapTestsAndCoverageForFile(FullFileInfo fileInfo)
protected void initMasks()
initMasks
in class BasePerTestCoverage
Copyright © 2023 OpenClover.org. All rights reserved.