| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/accessible/qquickaccessiblefactory.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | - | |||||||
| 4 | - | |||||||
| 5 | - | |||||||
| 6 | QAccessibleInterface *qQuickAccessibleFactory(const QString &classname, QObject *object) | - | ||||||
| 7 | { | - | ||||||
| 8 | if (classname == QLatin1String("QQuickWindow")
| 1052-1284 | ||||||
| 9 | return executed 1052 times by 18 tests: new QAccessibleQuickWindow(qobject_cast<QQuickWindow *>(object));return new QAccessibleQuickWindow(qobject_cast<QQuickWindow *>(object));Executed by:
executed 1052 times by 18 tests: return new QAccessibleQuickWindow(qobject_cast<QQuickWindow *>(object));Executed by:
| 1052 | ||||||
| 10 | } else if (classname == QLatin1String("QQuickItem")
| 84-1200 | ||||||
| 11 | QQuickItem *item = qobject_cast<QQuickItem *>(object); | - | ||||||
| 12 | ((item) ? static_cast<void>(0) : qt_assert("item", __FILE__, 55)); | - | ||||||
| 13 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - | ||||||
| 14 | if (!itemPrivate->isAccessible
| 0-84 | ||||||
| 15 | return never executed: nullptr;return nullptr;never executed: return nullptr; | 0 | ||||||
| 16 | return executed 84 times by 2 tests: new QAccessibleQuickItem(item);return new QAccessibleQuickItem(item);Executed by:
executed 84 times by 2 tests: return new QAccessibleQuickItem(item);Executed by:
| 84 | ||||||
| 17 | } | - | ||||||
| 18 | - | |||||||
| 19 | return executed 1200 times by 18 tests: nullptr;return nullptr;Executed by:
executed 1200 times by 18 tests: return nullptr;Executed by:
| 1200 | ||||||
| 20 | } | - | ||||||
| 21 | - | |||||||
| 22 | - | |||||||
| 23 | - | |||||||
| Switch to Source code | Preprocessed file |