| 2221 | } |
| 2222 | |
| 2223 | bool cmCTestCoverageHandler::IsFilteredOut(std::string const& source) |
| 2224 | { |
| 2225 | // If there is no label filter then nothing is filtered out. |
| 2226 | if (this->LabelFilter.empty()) { |
| 2227 | return false; |
| 2228 | } |
| 2229 | |
| 2230 | // The source is filtered out if it does not have any labels in |
| 2231 | // common with the filter set. |
| 2232 | std::string shortSrc = this->CTest->GetShortPathToFile(source); |
| 2233 | auto li = this->SourceLabels.find(shortSrc); |
| 2234 | if (li != this->SourceLabels.end()) { |
| 2235 | return !this->IntersectsFilter(li->second); |
| 2236 | } |
| 2237 | return true; |
| 2238 | } |
| 2239 | |
| 2240 | std::set<std::string> cmCTestCoverageHandler::FindUncoveredFiles( |
| 2241 | cmCTestCoverageHandlerContainer* cont) |
no test coverage detected