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

Method run

democlient/democlient.cpp:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 {}
68
69 void run(const char* code) {
70 cppcheck.checkBuffer(FileWithDetails("test.cpp", Standards::Language::CPP, 0), code, strlen(code));
71 }
72
73 void reportOut(const std::string & /*outmsg*/, Color /*c*/) override {}
74 void reportErr(const ErrorMessage &msg) override {

Callers 1

mainFunction · 0.45

Calls 2

checkBufferMethod · 0.80
FileWithDetailsClass · 0.50

Tested by

no test coverage detected