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

Method ErrorMessage

lib/errorlogger.cpp:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62ErrorMessage::ErrorMessage()
63 : severity(Severity::none), cwe(0U), certainty(Certainty::normal)
64{}
65
66// TODO: id and msg are swapped compared to other calls
67ErrorMessage::ErrorMessage(std::list<FileLocation> callStack, std::string file1, Severity severity, const std::string &msg, std::string id, Certainty certainty) :

Callers

nothing calls this directly

Calls 13

replaceStrFunction · 0.85
severityFromStringFunction · 0.85
AttributeMethod · 0.80
FirstChildElementMethod · 0.80
NextSiblingElementMethod · 0.80
NameMethod · 0.80
setfileMethod · 0.80
frontMethod · 0.80
GetTextMethod · 0.80
startsWithFunction · 0.70
emptyMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected