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

Function mandatoryAttibuteMissing

gui/cppchecklibrarydata.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41NORETURN static void mandatoryAttibuteMissing(const QXmlStreamReader &xmlReader, const QString& attributeName)
42{
43 throw std::runtime_error(QObject::tr("line %1: Mandatory attribute '%2' missing in '%3'")
44 .arg(xmlReader.lineNumber())
45 .arg(attributeName)
46 .arg(xmlReader.name().toString()).toStdString());
47}
48
49static CppcheckLibraryData::Container loadContainer(QXmlStreamReader &xmlReader)
50{

Callers 3

loadPodTypeFunction · 0.85
loadReflectionFunction · 0.85
loadMarkupFunction · 0.85

Calls 3

lineNumberMethod · 0.80
toStringMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected