Lines Matching refs:Covered
26 size_t Covered; member
34 RegionCoverageInfo() : Covered(0), NotCovered(0), NumRegions(0) {} in RegionCoverageInfo()
36 RegionCoverageInfo(size_t Covered, size_t NumRegions) in RegionCoverageInfo()
37 : Covered(Covered), NotCovered(NumRegions - Covered), in RegionCoverageInfo()
41 Covered += RHS.Covered;
47 bool isFullyCovered() const { return Covered == NumRegions; } in isFullyCovered()
52 return double(Covered) / double(NumRegions) * 100.0; in getPercentCovered()
59 size_t Covered; member
71 : Covered(0), NotCovered(0), NonCodeLines(0), NumLines(0) {} in LineCoverageInfo()
73 LineCoverageInfo(size_t Covered, size_t NumNonCodeLines, size_t NumLines) in LineCoverageInfo()
74 : Covered(Covered), NotCovered(NumLines - NumNonCodeLines - Covered), in LineCoverageInfo()
78 Covered += RHS.Covered;
85 bool isFullyCovered() const { return Covered == (NumLines - NonCodeLines); } in isFullyCovered()
90 return double(Covered) / double(NumLines - NonCodeLines) * 100.0; in getPercentCovered()
107 void addFunction(bool Covered) { in addFunction()
108 if (Covered) in addFunction()