MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / AddLine

Function AddLine

CppCoverageTest/CoverageDataMergerTest.cpp:72–81  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

70
71 //-------------------------------------------------------------------------
72 void AddLine(
73 Plugin::CoverageData& coverageData,
74 const fs::path& modulePath,
75 const fs::path& filePath,
76 const std::initializer_list<std::pair<int, bool>>& lineArgCollection)
77 {
78 auto& file = coverageData.AddModule(modulePath).AddFile(filePath);
79
80 AddLinesToFileCoverage(file, lineArgCollection);
81 }
82
83 //-------------------------------------------------------------------------
84 void CheckLineHasBeenExecuted(

Callers 2

UpdateLineMethod · 0.85
TESTFunction · 0.85

Calls 3

AddLinesToFileCoverageFunction · 0.85
AddFileMethod · 0.80
AddModuleMethod · 0.80

Tested by

no test coverage detected