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

Function GetMainMessage

Exporter/Html/HtmlExporter.cpp:45–52  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

43 {
44 //-------------------------------------------------------------------------
45 std::wstring GetMainMessage(const Plugin::CoverageData& coverageData)
46 {
47 auto exitCode = coverageData.GetExitCode();
48
49 if (exitCode)
50 return HtmlExporter::WarningExitCodeMessage + std::to_wstring(exitCode);
51 return L"";
52 }
53 }
54
55 //-------------------------------------------------------------------------

Callers 1

ExportMethod · 0.85

Calls 1

GetExitCodeMethod · 0.80

Tested by

no test coverage detected