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

Method reportProgress

democlient/democlient.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 void reportMetric(const std::string & /*metric*/) override {}
85
86 void reportProgress(const std::string& /*filename*/,
87 const char /*stage*/[],
88 const std::size_t /*value*/) override {
89 if (std::time(nullptr) >= stoptime) {
90 std::cout << "Time to analyse the code exceeded 2 seconds. Terminating.\n\n";
91 Settings::terminate();
92 }
93 }
94};
95
96

Callers

nothing calls this directly

Calls 1

terminateFunction · 0.85

Tested by

no test coverage detected