Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintrospection.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | - | |||||||
5 | QDBusIntrospection::Interface | - | ||||||
6 | QDBusIntrospection::parseInterface(const QString &xml) | - | ||||||
7 | { | - | ||||||
8 | - | |||||||
9 | Interfaces ifs = parseInterfaces(xml); | - | ||||||
10 | if (ifs.isEmpty()
| 16-40 | ||||||
11 | return executed 16 times by 1 test: Interface();return Interface(); Executed by:
executed 16 times by 1 test: return Interface(); Executed by:
| 16 | ||||||
12 | - | |||||||
13 | - | |||||||
14 | return executed 40 times by 1 test: *ifs.constBegin().value();return *ifs.constBegin().value(); Executed by:
executed 40 times by 1 test: return *ifs.constBegin().value(); Executed by:
| 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 executed 342 times by 14 tests: parser.interfaces();return parser.interfaces(); Executed by:
executed 342 times by 14 tests: return parser.interfaces(); Executed by:
| 342 | ||||||
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
| 0-26 | ||||||
36 | return never executed: QDBusIntrospection::Object();return QDBusIntrospection::Object(); never executed: return QDBusIntrospection::Object(); | 0 | ||||||
37 | return executed 26 times by 1 test: *retval;return *retval; Executed by:
executed 26 times by 1 test: return *retval; Executed by:
| 26 | ||||||
38 | } | - | ||||||
39 | - | |||||||
40 | - | |||||||
Switch to Source code | Preprocessed file |