MCPcopy Create free account
hub / github.com/Kitware/CMake / LoadLabels

Method LoadLabels

Source/CTest/cmCTestCoverageHandler.cxx:2129–2141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2127}
2128
2129void cmCTestCoverageHandler::LoadLabels()
2130{
2131 std::string fileList =
2132 cmStrCat(this->CTest->GetBinaryDir(), "/CMakeFiles/TargetDirectories.txt");
2133 cmCTestOptionalLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
2134 " target directory list [" << fileList << "]\n",
2135 this->Quiet);
2136 cmsys::ifstream finList(fileList.c_str());
2137 std::string line;
2138 while (cmSystemTools::GetLineFromStream(finList, line)) {
2139 this->LoadLabels(line.c_str());
2140 }
2141}
2142
2143void cmCTestCoverageHandler::LoadLabels(char const* dir)
2144{

Callers 1

ProcessHandlerMethod · 0.95

Calls 11

GetLabelIdMethod · 0.95
GetBinaryDirMethod · 0.80
c_strMethod · 0.80
push_backMethod · 0.80
GetShortPathToFileMethod · 0.80
cmStrCatFunction · 0.50
emptyMethod · 0.45
substrMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected