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

Method Export

Exporter/CoberturaExporter.cpp:181–192  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

179
180 //-------------------------------------------------------------------------
181 void CoberturaExporter::Export(
182 const Plugin::CoverageData& coverageData,
183 const std::filesystem::path& output)
184 {
185 Tools::CreateParentFolderIfNeeded(output);
186 std::wofstream ofs{ output.string().c_str() };
187
188 if (!ofs)
189 throw InvalidOutputFileException(output, "cobertura");
190 Export(coverageData, ofs);
191 Tools::ShowOutputMessage(L"Cobertura report generated: ", output);
192 }
193
194 //-------------------------------------------------------------------------
195 void CoberturaExporter::Export(

Callers 6

TESTFunction · 0.45
TESTFunction · 0.45
GetExportedLinesFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
ExportFunction · 0.45

Calls 4

ExportFunction · 0.85
ShowOutputMessageFunction · 0.85
FillCoverageTreeFunction · 0.85

Tested by 5

TESTFunction · 0.36
TESTFunction · 0.36
GetExportedLinesFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36