| 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 |
nothing calls this directly
no test coverage detected