qdbusintrospection.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5QDBusIntrospection::Interface -
6QDBusIntrospection::parseInterface(const QString &xml) -
7{ -
8 -
9 Interfaces ifs = parseInterfaces(xml); -
10 if (ifs.isEmpty())
evaluated: ifs.isEmpty()
TRUEFALSE
yes
Evaluation Count:16
yes
Evaluation Count:40
16-40
11 return Interface();
executed: return Interface();
Execution Count:16
16
12 -
13 -
14 return *ifs.constBegin().value();
executed: return *ifs.constBegin().value();
Execution Count:40
40
15} -
16 -
17 -
18 -
19 -
20 -
21 -
22 -
23QDBusIntrospection::Interfaces -
24QDBusIntrospection::parseInterfaces(const QString &xml) -
25{ -
26 QString null; -
27 QDBusXmlParser parser(null, null, xml); -
28 return parser.interfaces();
executed: return parser.interfaces();
Execution Count:219
219
29} -
30QDBusIntrospection::Object -
31QDBusIntrospection::parseObject(const QString &xml, const QString &service, const QString &path) -
32{ -
33 QDBusXmlParser parser(service, path, xml); -
34 QSharedDataPointer<QDBusIntrospection::Object> retval = parser.object(); -
35 if (!retval)
partially evaluated: !retval
TRUEFALSE
no
Evaluation Count:0
yes
Evaluation Count:26
0-26
36 return QDBusIntrospection::Object();
never executed: return QDBusIntrospection::Object();
0
37 return *retval;
executed: return *retval;
Execution Count:26
26
38} -
39 -
40 -
41 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial