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

Method reportMetrics

cli/cppcheckexecutor.cpp:144–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void reportMetrics()
145 {
146 if (!mFileMetrics.empty()) {
147 auto &out = mErrorOutput ? *mErrorOutput : std::cerr;
148 out << " <metrics>" << std::endl;
149 for (const auto &metric : mFileMetrics) {
150 out << " " << metric << std::endl;
151 }
152 out << " </metrics>" << std::endl;
153 }
154 }
155
156 /**
157 * @brief Write the checkers report

Callers 1

check_internalMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected