Lines Matching refs:NumLines
69 size_t NumLines; variable
72 LineCoverageInfo() : Covered(0), NumLines(0) {} in LineCoverageInfo()
74 LineCoverageInfo(size_t Covered, size_t NumLines) in LineCoverageInfo() argument
75 : Covered(Covered), NumLines(NumLines) { in LineCoverageInfo()
76 assert(Covered <= NumLines && "Covered lines over-counted"); in LineCoverageInfo()
81 NumLines += RHS.NumLines;
87 NumLines = std::max(NumLines, RHS.NumLines); in merge()
92 size_t getNumLines() const { return NumLines; } in getNumLines()
94 bool isFullyCovered() const { return Covered == NumLines; } in isFullyCovered()
97 assert(Covered <= NumLines && "Covered lines over-counted"); in getPercentCovered()
98 if (NumLines == 0) in getPercentCovered()
100 return double(Covered) / double(NumLines) * 100.0; in getPercentCovered()