Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | static bool parseArg(const QXmlStreamAttributes &attributes, QDBusIntrospection::Argument &argData, | - |
5 | QDBusIntrospection::Interface *ifaceData) | - |
6 | { | - |
7 | const QString argType = attributes.value(QLatin1String("type")).toString(); | - |
8 | | - |
9 | bool ok = QDBusUtil::isValidSingleSignature(argType); | - |
10 | if (!okTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 2262 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 4-2262 |
11 | if (true) {}executed 4 times by 2 tests: end of block Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusxmlparser - unknown status
else QMessageLogger(__FILE__, 67, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found while parsing introspection",dead code: QMessageLogger(__FILE__, 67, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found while parsing introspection", QString(argType).toLocal8Bit().constData()); | - |
12 | QString(argType).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 67, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found while parsing introspection", QString(argType).toLocal8Bit().constData()); | - |
13 | } | - |
14 | | - |
15 | argData.name = attributes.value(QLatin1String("name")).toString(); | - |
16 | argData.type = argType; | - |
17 | | - |
18 | ifaceData->introspection += QLatin1String(" <arg"); | - |
19 | if (attributes.hasAttribute(QLatin1String("direction"))TRUE | evaluated 2205 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 61 times by 3 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 61-2205 |
20 | const QString direction = attributes.value(QLatin1String("direction")).toString(); | - |
21 | ifaceData->introspection += QLatin1String(" direction=\"") + direction + QLatin1String("\""); | - |
22 | }executed 2205 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 2205 |
23 | ifaceData->introspection += QLatin1String(" type=\"") + argData.type + QLatin1String("\""); | - |
24 | if (!argData.name.isEmpty()TRUE | evaluated 1541 times by 13 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 725 times by 12 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) | 725-1541 |
25 | ifaceData->introspection += QLatin1String(" name=\"") + argData.name + QLatin1String("\"");executed 1541 times by 13 tests: ifaceData->introspection += QLatin1String(" name=\"") + argData.name + QLatin1String("\""); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| 1541 |
26 | ifaceData->introspection += QLatin1String("/>\n"); | - |
27 | | - |
28 | returnexecuted 2266 times by 14 tests: return ok; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
ok;executed 2266 times by 14 tests: return ok; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 2266 |
29 | } | - |
30 | | - |
31 | static bool parseAnnotation(const QXmlStreamReader &xml, QDBusIntrospection::Annotations &annotations, | - |
32 | QDBusIntrospection::Interface *ifaceData, bool interfaceAnnotation = false) | - |
33 | { | - |
34 | ((!(xml.isStartElement() && xml.name() == QLatin1String("annotation"))) ? qt_assert("xml.isStartElement() && xml.name() == QLatin1String(\"annotation\")",__FILE__,90) : qt_noop()); | - |
35 | | - |
36 | const QXmlStreamAttributes attributes = xml.attributes(); | - |
37 | const QString name = attributes.value(QLatin1String("name")).toString(); | - |
38 | | - |
39 | if (!QDBusUtil::isValidInterfaceName(name)TRUE | never evaluated | FALSE | evaluated 358 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-358 |
40 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 96, __PRETTY_FUNCTION__).debug("Invalid D-BUS annotation '%s' found while parsing introspection",dead code: QMessageLogger(__FILE__, 96, __PRETTY_FUNCTION__).debug("Invalid D-BUS annotation '%s' found while parsing introspection", QString(name).toLocal8Bit().constData()); | - |
41 | QString(name).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 96, __PRETTY_FUNCTION__).debug("Invalid D-BUS annotation '%s' found while parsing introspection", QString(name).toLocal8Bit().constData()); | - |
42 | return never executed: return false; false;never executed: return false; | 0 |
43 | } | - |
44 | const QString value = attributes.value(QLatin1String("value")).toString(); | - |
45 | annotations.insert(name, value); | - |
46 | if (!interfaceAnnotationTRUE | evaluated 352 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
|
) | 6-352 |
47 | ifaceData->introspection += QLatin1String(" ");executed 352 times by 14 tests: ifaceData->introspection += QLatin1String(" "); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 352 |
48 | ifaceData->introspection += QLatin1String(" <annotation value=\"") + value.toHtmlEscaped() + QLatin1String("\" name=\"") + name + QLatin1String("\"/>\n"); | - |
49 | returnexecuted 358 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
true;executed 358 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 358 |
50 | } | - |
51 | | - |
52 | static bool parseProperty(QXmlStreamReader &xml, QDBusIntrospection::Property &propertyData, | - |
53 | QDBusIntrospection::Interface *ifaceData) | - |
54 | { | - |
55 | ((!(xml.isStartElement() && xml.name() == QLatin1String("property"))) ? qt_assert("xml.isStartElement() && xml.name() == QLatin1String(\"property\")",__FILE__,111) : qt_noop()); | - |
56 | | - |
57 | QXmlStreamAttributes attributes = xml.attributes(); | - |
58 | const QString propertyName = attributes.value(QLatin1String("name")).toString(); | - |
59 | if (!QDBusUtil::isValidMemberName(propertyName)TRUE | never evaluated | FALSE | evaluated 250 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-250 |
60 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 116, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",dead code: QMessageLogger(__FILE__, 116, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(propertyName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
61 | QString(propertyName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 116, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(propertyName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
62 | xml.skipCurrentElement(); | - |
63 | return never executed: return false; false;never executed: return false; | 0 |
64 | } | - |
65 | | - |
66 | | - |
67 | propertyData.name = propertyName; | - |
68 | propertyData.type = attributes.value(QLatin1String("type")).toString(); | - |
69 | | - |
70 | if (!QDBusUtil::isValidSingleSignature(propertyData.type)TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | evaluated 249 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 1-249 |
71 | | - |
72 | if (true) {}executed 1 time by 1 test: end of block Executed by:- tst_qdbusinterface - unknown status
else QMessageLogger(__FILE__, 128, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection",dead code: QMessageLogger(__FILE__, 128, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection", QString(propertyData.type).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
73 | QString(propertyData.type).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), dead code: QMessageLogger(__FILE__, 128, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection", QString(propertyData.type).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
74 | QString(propertyName).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 128, __PRETTY_FUNCTION__).debug("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection", QString(propertyData.type).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
75 | } | - |
76 | | - |
77 | const QString access = attributes.value(QLatin1String("access")).toString(); | - |
78 | if (access == QLatin1String("read")TRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 142 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) | 108-142 |
79 | propertyData.access = QDBusIntrospection::Property::Read;executed 108 times by 4 tests: propertyData.access = QDBusIntrospection::Property::Read; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 108 |
80 | else if (access == QLatin1String("write")TRUE | evaluated 7 times by 3 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 135 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) | 7-135 |
81 | propertyData.access = QDBusIntrospection::Property::Write;executed 7 times by 3 tests: propertyData.access = QDBusIntrospection::Property::Write; Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 7 |
82 | else if (access == QLatin1String("readwrite")TRUE | evaluated 135 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) | 0-135 |
83 | propertyData.access = QDBusIntrospection::Property::ReadWrite;executed 135 times by 6 tests: propertyData.access = QDBusIntrospection::Property::ReadWrite; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 135 |
84 | else { | - |
85 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 141, __PRETTY_FUNCTION__).debug("Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection",dead code: QMessageLogger(__FILE__, 141, __PRETTY_FUNCTION__).debug("Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection", QString(access).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
86 | QString(access).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), dead code: QMessageLogger(__FILE__, 141, __PRETTY_FUNCTION__).debug("Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection", QString(access).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
87 | QString(propertyName).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 141, __PRETTY_FUNCTION__).debug("Invalid D-BUS property access '%s' found in property '%s.%s' while parsing introspection", QString(access).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData(), QString(propertyName).toLocal8Bit().constData()); | - |
88 | return never executed: return false; false;never executed: return false; | 0 |
89 | } | - |
90 | | - |
91 | ifaceData->introspection += QLatin1String(" <property access=\"") + access + QLatin1String("\" type=\"") + propertyData.type + QLatin1String("\" name=\"") + propertyName + QLatin1String("\""); | - |
92 | | - |
93 | if (!xml.readNextStartElement()TRUE | evaluated 240 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 10 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 10-240 |
94 | ifaceData->introspection += QLatin1String("/>\n"); | - |
95 | }executed 240 times by 6 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else { | 240 |
96 | ifaceData->introspection += QLatin1String(">\n"); | - |
97 | | - |
98 | do { | - |
99 | if (xml.name() == QLatin1String("annotation")TRUE | evaluated 14 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-14 |
100 | parseAnnotation(xml, propertyData.annotations, ifaceData); | - |
101 | }executed 14 times by 5 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.prefix().isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-14 |
102 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 158, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for annotations";dead code: QMessageLogger(__FILE__, 158, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for annotations"; | - |
103 | } | - |
104 | xml.skipCurrentElement(); | - |
105 | }executed 14 times by 5 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
while (xml.readNextStartElement()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 10 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
); | 4-14 |
106 | | - |
107 | ifaceData->introspection += QLatin1String(" </property>\n"); | - |
108 | }executed 10 times by 5 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 10 |
109 | | - |
110 | if (!xml.isEndElement()TRUE | never evaluated | FALSE | evaluated 250 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
|| xml.name() != QLatin1String("property")TRUE | never evaluated | FALSE | evaluated 250 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-250 |
111 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 167, __PRETTY_FUNCTION__).debug() << "Invalid property specification" << xml.tokenString() << xml.name();dead code: QMessageLogger(__FILE__, 167, __PRETTY_FUNCTION__).debug() << "Invalid property specification" << xml.tokenString() << xml.name(); | - |
112 | return never executed: return false; false;never executed: return false; | 0 |
113 | } | - |
114 | | - |
115 | returnexecuted 250 times by 6 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
true;executed 250 times by 6 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 250 |
116 | } | - |
117 | | - |
118 | static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &methodData, | - |
119 | QDBusIntrospection::Interface *ifaceData) | - |
120 | { | - |
121 | ((!(xml.isStartElement() && xml.name() == QLatin1String("method"))) ? qt_assert("xml.isStartElement() && xml.name() == QLatin1String(\"method\")",__FILE__,177) : qt_noop()); | - |
122 | | - |
123 | const QXmlStreamAttributes attributes = xml.attributes(); | - |
124 | const QString methodName = attributes.value(QLatin1String("name")).toString(); | - |
125 | if (!QDBusUtil::isValidMemberName(methodName)TRUE | never evaluated | FALSE | evaluated 1543 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-1543 |
126 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 182, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",dead code: QMessageLogger(__FILE__, 182, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(methodName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
127 | QString(methodName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 182, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(methodName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
128 | return never executed: return false; false;never executed: return false; | 0 |
129 | } | - |
130 | | - |
131 | methodData.name = methodName; | - |
132 | ifaceData->introspection += QLatin1String(" <method name=\"") + methodName + QLatin1String("\""); | - |
133 | | - |
134 | QDBusIntrospection::Arguments outArguments; | - |
135 | QDBusIntrospection::Arguments inArguments; | - |
136 | QDBusIntrospection::Annotations annotations; | - |
137 | | - |
138 | if (!xml.readNextStartElement()TRUE | evaluated 202 times by 13 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 1341 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 202-1341 |
139 | ifaceData->introspection += QLatin1String("/>\n"); | - |
140 | }executed 202 times by 13 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
else { | 202 |
141 | ifaceData->introspection += QLatin1String(">\n"); | - |
142 | | - |
143 | do { | - |
144 | if (xml.name() == QLatin1String("annotation")TRUE | evaluated 247 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 1883 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 247-1883 |
145 | parseAnnotation(xml, annotations, ifaceData); | - |
146 | }executed 247 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("arg")TRUE | evaluated 1883 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-1883 |
147 | const QXmlStreamAttributes attributes = xml.attributes(); | - |
148 | const QString direction = attributes.value(QLatin1String("direction")).toString(); | - |
149 | QDBusIntrospection::Argument argument; | - |
150 | if (!attributes.hasAttribute(QLatin1String("direction"))TRUE | never evaluated | FALSE | evaluated 1883 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
| 0-1883 |
151 | || direction == QLatin1String("in")TRUE | evaluated 1031 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 852 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 852-1031 |
152 | parseArg(attributes, argument, ifaceData); | - |
153 | inArguments << argument; | - |
154 | }executed 1031 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (direction == QLatin1String("out")TRUE | evaluated 852 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-1031 |
155 | parseArg(attributes, argument, ifaceData); | - |
156 | outArguments << argument; | - |
157 | }executed 852 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 852 |
158 | }executed 1883 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.prefix().isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-1883 |
159 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 215, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for method arguments";dead code: QMessageLogger(__FILE__, 215, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for method arguments"; | - |
160 | } | - |
161 | xml.skipCurrentElement(); | - |
162 | }executed 2130 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
while (xml.readNextStartElement()TRUE | evaluated 789 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 1341 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
); | 789-2130 |
163 | | - |
164 | ifaceData->introspection += QLatin1String(" </method>\n"); | - |
165 | }executed 1341 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 1341 |
166 | | - |
167 | methodData.inputArgs = inArguments; | - |
168 | methodData.outputArgs = outArguments; | - |
169 | methodData.annotations = annotations; | - |
170 | | - |
171 | returnexecuted 1543 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
true;executed 1543 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 1543 |
172 | } | - |
173 | | - |
174 | | - |
175 | static bool parseSignal(QXmlStreamReader &xml, QDBusIntrospection::Signal &signalData, | - |
176 | QDBusIntrospection::Interface *ifaceData) | - |
177 | { | - |
178 | ((!(xml.isStartElement() && xml.name() == QLatin1String("signal"))) ? qt_assert("xml.isStartElement() && xml.name() == QLatin1String(\"signal\")",__FILE__,234) : qt_noop()); | - |
179 | | - |
180 | const QXmlStreamAttributes attributes = xml.attributes(); | - |
181 | const QString signalName = attributes.value(QLatin1String("name")).toString(); | - |
182 | | - |
183 | if (!QDBusUtil::isValidMemberName(signalName)TRUE | never evaluated | FALSE | evaluated 296 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-296 |
184 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 240, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection",dead code: QMessageLogger(__FILE__, 240, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(signalName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
185 | QString(signalName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 240, __PRETTY_FUNCTION__).debug("Invalid D-BUS member name '%s' found in interface '%s' while parsing introspection", QString(signalName).toLocal8Bit().constData(), QString(ifaceData->name).toLocal8Bit().constData()); | - |
186 | return never executed: return false; false;never executed: return false; | 0 |
187 | } | - |
188 | | - |
189 | signalData.name = signalName; | - |
190 | ifaceData->introspection += QLatin1String(" <signal name=\"") + signalName + QLatin1String("\""); | - |
191 | | - |
192 | QDBusIntrospection::Arguments arguments; | - |
193 | QDBusIntrospection::Annotations annotations; | - |
194 | | - |
195 | if (!xml.readNextStartElement()TRUE | evaluated 79 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 217 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 79-217 |
196 | ifaceData->introspection += QLatin1String("/>\n"); | - |
197 | }executed 79 times by 5 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
else { | 79 |
198 | ifaceData->introspection += QLatin1String(">\n"); | - |
199 | | - |
200 | do { | - |
201 | if (xml.name() == QLatin1String("annotation")TRUE | evaluated 91 times by 13 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 383 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 91-383 |
202 | parseAnnotation(xml, annotations, ifaceData); | - |
203 | }executed 91 times by 13 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("arg")TRUE | evaluated 383 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-383 |
204 | const QXmlStreamAttributes attributes = xml.attributes(); | - |
205 | QDBusIntrospection::Argument argument; | - |
206 | if (!attributes.hasAttribute(QLatin1String("direction"))TRUE | evaluated 61 times by 3 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 322 times by 12 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
|
|| | 61-322 |
207 | attributes.value(QLatin1String("direction")) == QLatin1String("out")TRUE | evaluated 322 times by 12 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-322 |
208 | parseArg(attributes, argument, ifaceData); | - |
209 | arguments << argument; | - |
210 | }executed 383 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 383 |
211 | }executed 383 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else { | 383 |
212 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 268, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for signal arguments";dead code: QMessageLogger(__FILE__, 268, __PRETTY_FUNCTION__).debug() << "Unknown element" << xml.name() << "while checking for signal arguments"; | - |
213 | } | - |
214 | xml.skipCurrentElement(); | - |
215 | }executed 474 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
while (xml.readNextStartElement()TRUE | evaluated 257 times by 13 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 217 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
); | 217-474 |
216 | | - |
217 | ifaceData->introspection += QLatin1String(" </signal>\n"); | - |
218 | }executed 217 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 217 |
219 | | - |
220 | signalData.outputArgs = arguments; | - |
221 | signalData.annotations = annotations; | - |
222 | | - |
223 | returnexecuted 296 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
true;executed 296 times by 14 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 296 |
224 | } | - |
225 | | - |
226 | static void readInterface(QXmlStreamReader &xml, QDBusIntrospection::Object *objData, | - |
227 | QDBusIntrospection::Interfaces *interfaces) | - |
228 | { | - |
229 | const QString ifaceName = xml.attributes().value(QLatin1String("name")).toString(); | - |
230 | if (!QDBusUtil::isValidInterfaceName(ifaceName)TRUE | never evaluated | FALSE | evaluated 590 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-590 |
231 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 287, __PRETTY_FUNCTION__).debug("Invalid D-BUS interface name '%s' found while parsing introspection",dead code: QMessageLogger(__FILE__, 287, __PRETTY_FUNCTION__).debug("Invalid D-BUS interface name '%s' found while parsing introspection", QString(ifaceName).toLocal8Bit().constData()); | - |
232 | QString(ifaceName).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 287, __PRETTY_FUNCTION__).debug("Invalid D-BUS interface name '%s' found while parsing introspection", QString(ifaceName).toLocal8Bit().constData()); | - |
233 | return; never executed: return; | 0 |
234 | } | - |
235 | | - |
236 | objData->interfaces.append(ifaceName); | - |
237 | | - |
238 | QDBusIntrospection::Interface *ifaceData = new QDBusIntrospection::Interface; | - |
239 | ifaceData->name = ifaceName; | - |
240 | ifaceData->introspection += QLatin1String(" <interface name=\"") + ifaceName + QLatin1String("\">\n"); | - |
241 | | - |
242 | while (xml.readNextStartElement()TRUE | evaluated 2101 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 590 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 590-2101 |
243 | if (xml.name() == QLatin1String("method")TRUE | evaluated 1543 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 558 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 558-1543 |
244 | QDBusIntrospection::Method methodData; | - |
245 | if (parseMethod(xml, methodData, ifaceData)TRUE | evaluated 1543 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) | 0-1543 |
246 | ifaceData->methods.insert(methodData.name, methodData);executed 1543 times by 14 tests: ifaceData->methods.insert(methodData.name, methodData); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 1543 |
247 | }executed 1543 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("signal")TRUE | evaluated 296 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 262 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 262-1543 |
248 | QDBusIntrospection::Signal signalData; | - |
249 | if (parseSignal(xml, signalData, ifaceData)TRUE | evaluated 296 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) | 0-296 |
250 | ifaceData->signals_.insert(signalData.name, signalData);executed 296 times by 14 tests: ifaceData->signals_.insert(signalData.name, signalData); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 296 |
251 | }executed 296 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("property")TRUE | evaluated 250 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
|
) { | 12-296 |
252 | QDBusIntrospection::Property propertyData; | - |
253 | if (parseProperty(xml, propertyData, ifaceData)TRUE | evaluated 250 times by 6 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) | 0-250 |
254 | ifaceData->properties.insert(propertyData.name, propertyData);executed 250 times by 6 tests: ifaceData->properties.insert(propertyData.name, propertyData); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 250 |
255 | }executed 250 times by 6 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("annotation")TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
|
) { | 6-250 |
256 | parseAnnotation(xml, ifaceData->annotations, ifaceData, true); | - |
257 | xml.skipCurrentElement(); | - |
258 | }executed 6 times by 1 test: end of block Executed by:- tst_qdbusxmlparser - unknown status
else { | 6 |
259 | if (xml.prefix().isEmpty()TRUE | never evaluated | FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
|
) { | 0-6 |
260 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 316, __PRETTY_FUNCTION__).debug() << "Unknown element while parsing interface" << xml.name();dead code: QMessageLogger(__FILE__, 316, __PRETTY_FUNCTION__).debug() << "Unknown element while parsing interface" << xml.name(); | - |
261 | } | - |
262 | xml.skipCurrentElement(); | - |
263 | }executed 6 times by 1 test: end of block Executed by:- tst_qdbusxmlparser - unknown status
| 6 |
264 | } | - |
265 | | - |
266 | ifaceData->introspection += QLatin1String(" </interface>"); | - |
267 | | - |
268 | interfaces->insert(ifaceName, QSharedDataPointer<QDBusIntrospection::Interface>(ifaceData)); | - |
269 | | - |
270 | if (!xml.isEndElement()TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusmetaobject - unknown status
| FALSE | evaluated 584 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
|| xml.name() != QLatin1String("interface")TRUE | never evaluated | FALSE | evaluated 584 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-584 |
271 | if (true) {}executed 6 times by 1 test: end of block Executed by:- tst_qdbusmetaobject - unknown status
else QMessageLogger(__FILE__, 327, __PRETTY_FUNCTION__).debug() << "Invalid Interface specification";dead code: QMessageLogger(__FILE__, 327, __PRETTY_FUNCTION__).debug() << "Invalid Interface specification"; | - |
272 | } | - |
273 | }executed 590 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 590 |
274 | | - |
275 | static void readNode(const QXmlStreamReader &xml, QDBusIntrospection::Object *objData, int nodeLevel) | - |
276 | { | - |
277 | const QString objName = xml.attributes().value(QLatin1String("name")).toString(); | - |
278 | const QString fullName = objData->path.endsWith(QLatin1Char('/'))TRUE | evaluated 24 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 366 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
| 24-366 |
279 | ? (objData->path + objName) | - |
280 | : QString(objData->path + QLatin1Char('/') + objName); | - |
281 | if (!QDBusUtil::isValidObjectPath(fullName)TRUE | never evaluated | FALSE | evaluated 390 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 0-390 |
282 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 338, __PRETTY_FUNCTION__).debug("Invalid D-BUS object path '%s' found while parsing introspection",dead code: QMessageLogger(__FILE__, 338, __PRETTY_FUNCTION__).debug("Invalid D-BUS object path '%s' found while parsing introspection", QString(fullName).toLocal8Bit().constData()); | - |
283 | QString(fullName).toLocal8Bit().constData()); dead code: QMessageLogger(__FILE__, 338, __PRETTY_FUNCTION__).debug("Invalid D-BUS object path '%s' found while parsing introspection", QString(fullName).toLocal8Bit().constData()); | - |
284 | return; never executed: return; | 0 |
285 | } | - |
286 | | - |
287 | if (nodeLevel > 0TRUE | evaluated 52 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 338 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) | 52-338 |
288 | objData->childObjects.append(objName);executed 52 times by 2 tests: objData->childObjects.append(objName); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusxmlparser - unknown status
| 52 |
289 | }executed 390 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 390 |
290 | | - |
291 | QDBusXmlParser::QDBusXmlParser(const QString& service, const QString& path, | - |
292 | const QString& xmlData) | - |
293 | : m_service(service), m_path(path), m_object(new QDBusIntrospection::Object) | - |
294 | { | - |
295 | | - |
296 | | - |
297 | m_object->service = m_service; | - |
298 | m_object->path = m_path; | - |
299 | | - |
300 | QXmlStreamReader xml(xmlData); | - |
301 | | - |
302 | int nodeLevel = -1; | - |
303 | | - |
304 | while (!xml.atEnd()TRUE | evaluated 3046 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 368 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 368-3046 |
305 | xml.readNext(); | - |
306 | | - |
307 | switch (xml.tokenType()) { | - |
308 | caseexecuted 998 times by 14 tests: case QXmlStreamReader::StartElement: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
QXmlStreamReader::StartElement:executed 998 times by 14 tests: case QXmlStreamReader::StartElement: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 998 |
309 | if (xml.name() == QLatin1String("node")TRUE | evaluated 390 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 608 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 390-608 |
310 | readNode(xml, m_object, ++nodeLevel); | - |
311 | }executed 390 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else if (xml.name() == QLatin1String("interface")TRUE | evaluated 590 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 18 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
|
) { | 18-590 |
312 | readInterface(xml, m_object, &m_interfaces); | - |
313 | }executed 590 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else { | 590 |
314 | if (xml.prefix().isEmpty()TRUE | evaluated 18 times by 1 testEvaluated by:- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-18 |
315 | if (true) {}executed 18 times by 1 test: end of block Executed by:- tst_qdbusxmlparser - unknown status
else QMessageLogger(__FILE__, 371, __PRETTY_FUNCTION__).debug() << "skipping unknown element" << xml.name();dead code: QMessageLogger(__FILE__, 371, __PRETTY_FUNCTION__).debug() << "skipping unknown element" << xml.name(); | - |
316 | } | - |
317 | xml.skipCurrentElement(); | - |
318 | }executed 18 times by 1 test: end of block Executed by:- tst_qdbusxmlparser - unknown status
| 18 |
319 | break;executed 998 times by 14 tests: break; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 998 |
320 | caseexecuted 384 times by 14 tests: case QXmlStreamReader::EndElement: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
QXmlStreamReader::EndElement:executed 384 times by 14 tests: case QXmlStreamReader::EndElement: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 384 |
321 | if (xml.name() == QLatin1String("node")TRUE | evaluated 384 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | never evaluated |
) { | 0-384 |
322 | --nodeLevel; | - |
323 | }executed 384 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else { | 384 |
324 | if (true) {} never executed: end of block else QMessageLogger(__FILE__, 380, __PRETTY_FUNCTION__).debug() << "Invalid Node declaration" << xml.name();dead code: QMessageLogger(__FILE__, 380, __PRETTY_FUNCTION__).debug() << "Invalid Node declaration" << xml.name(); | - |
325 | } | - |
326 | break;executed 384 times by 14 tests: break; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 384 |
327 | caseexecuted 362 times by 14 tests: case QXmlStreamReader::StartDocument: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
QXmlStreamReader::StartDocument:executed 362 times by 14 tests: case QXmlStreamReader::StartDocument: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 362 |
328 | caseexecuted 350 times by 14 tests: case QXmlStreamReader::EndDocument: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
QXmlStreamReader::EndDocument:executed 350 times by 14 tests: case QXmlStreamReader::EndDocument: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 350 |
329 | caseexecuted 242 times by 13 tests: case QXmlStreamReader::DTD: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
QXmlStreamReader::DTD:executed 242 times by 13 tests: case QXmlStreamReader::DTD: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 242 |
330 | | - |
331 | break;executed 954 times by 14 tests: break; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 954 |
332 | case never executed: case QXmlStreamReader::Comment: QXmlStreamReader::Comment:never executed: case QXmlStreamReader::Comment: | 0 |
333 | | - |
334 | break; never executed: break; | 0 |
335 | defaultexecuted 710 times by 13 tests: default: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
:executed 710 times by 13 tests: default: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 710 |
336 | if (true) {}executed 710 times by 13 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
else QMessageLogger(__FILE__, 392, __PRETTY_FUNCTION__).debug() << "unknown token" << xml.name() << xml.tokenString();dead code: QMessageLogger(__FILE__, 392, __PRETTY_FUNCTION__).debug() << "unknown token" << xml.name() << xml.tokenString(); | - |
337 | break;executed 710 times by 13 tests: break; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 710 |
338 | } | - |
339 | } | - |
340 | | - |
341 | if (xml.hasError()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxmlparser - unknown status
| FALSE | evaluated 350 times by 14 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
|
) { | 18-350 |
342 | if (true) {}executed 18 times by 2 tests: end of block Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusxmlparser - unknown status
else QMessageLogger(__FILE__, 398, __PRETTY_FUNCTION__).debug() << "xml error" << xml.errorString() << "doc" << xmlData;dead code: QMessageLogger(__FILE__, 398, __PRETTY_FUNCTION__).debug() << "xml error" << xml.errorString() << "doc" << xmlData; | - |
343 | } | - |
344 | }executed 368 times by 14 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qdbusxmlparser - unknown status
| 368 |
345 | | - |
346 | | - |
| | |