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

Function SetCoverage

Exporter/CoberturaExporter.cpp:56–63  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

54
55 //-------------------------------------------------------------------------
56 void SetCoverage(
57 property_tree::wptree& node,
58 const CppCoverage::CoverageRate& coverageRate)
59 {
60 node.put(L"<xmlattr>.line-rate", coverageRate.GetRate());
61 node.put(L"<xmlattr>.branch-rate", 0);
62 node.put(L"<xmlattr>.complexity", 0);
63 }
64
65 //-------------------------------------------------------------------------
66 void FillFileTree(

Callers 2

FillFileTreeFunction · 0.85
FillCoverageTreeFunction · 0.85

Calls 1

GetRateMethod · 0.80

Tested by

no test coverage detected