Lines Matching refs:Covered
26 size_t Covered;
34 RegionCoverageInfo() : Covered(0), NotCovered(0), NumRegions(0) {}
36 RegionCoverageInfo(size_t Covered, size_t NumRegions)
37 : Covered(Covered), NotCovered(NumRegions - Covered),
41 Covered += RHS.Covered;
47 bool isFullyCovered() const { return Covered == NumRegions; }
50 return double(Covered) / double(NumRegions) * 100.0;
57 size_t Covered;
69 : Covered(0), NotCovered(0), NonCodeLines(0), NumLines(0) {}
71 LineCoverageInfo(size_t Covered, size_t NumNonCodeLines, size_t NumLines)
72 : Covered(Covered), NotCovered(NumLines - NumNonCodeLines - Covered),
76 Covered += RHS.Covered;
83 bool isFullyCovered() const { return Covered == (NumLines - NonCodeLines); }
86 return double(Covered) / double(NumLines - NonCodeLines) * 100.0;
103 void addFunction(bool Covered) {
104 if (Covered)
150 FunctionCoverage.addFunction(/*Covered=*/Function.ExecutionCount > 0);