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

Method create

gui/report.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool Report::create()
35{
36 bool succeed = false;
37 if (!mFile.isOpen()) {
38 mFile.setFileName(mFilename);
39 succeed = mFile.open(QIODevice::WriteOnly | QIODevice::Text);
40 }
41 return succeed;
42}
43
44bool Report::open()
45{

Callers 1

saveMethod · 0.45

Calls 2

setFileNameMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected