MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / error

Method error

gui/resultsview.cpp:170–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void ResultsView::error(const ErrorItem &item)
171{
172 if (item.severity == Severity::internal && (item.errorId == "logChecker" || item.errorId.endsWith("-logChecker"))) {
173 mStatistics->addChecker(item.message);
174 return;
175 }
176
177 handleCriticalError(item);
178
179 if (item.severity == Severity::internal)
180 return;
181
182 if (mUI->mTree->addErrorItem(item)) {
183 emit gotResults();
184 mStatistics->addItem(item.tool(), ShowTypes::SeverityToShowType(item.severity));
185 }
186}
187
188void ResultsView::filterResults(const QString& filter)
189{

Callers 2

replyFinishedMethod · 0.45

Calls 5

endsWithMethod · 0.80
addCheckerMethod · 0.80
addErrorItemMethod · 0.80
addItemMethod · 0.80
toolMethod · 0.80

Tested by

no test coverage detected