Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | QDBusIntrospection::Interface | - |
6 | QDBusIntrospection::parseInterface(const QString &xml) | - |
7 | { | - |
8 | | - |
9 | Interfaces ifs = parseInterfaces(xml); | - |
10 | if (ifs.isEmpty()) evaluated: ifs.isEmpty() 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 | | - |
23 | QDBusIntrospection::Interfaces | - |
24 | QDBusIntrospection::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 | } | - |
30 | QDBusIntrospection::Object | - |
31 | QDBusIntrospection::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 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 | | - |
| | |