Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | static bool dumpErrors() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 44 times by 22 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| FALSE | evaluated 298 times by 12 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickloader
- tst_qquicktextedit
- tst_qtqmlmodules
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_DUMP_ERRORS")), false)TRUE | never evaluated | FALSE | evaluated 44 times by 22 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
|
) { const QByteArray v = qgetenv("QML_DUMP_ERRORS"); if (v != "0"TRUE | never evaluated | FALSE | never evaluated |
&& v != "false"TRUE | never evaluated | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 44 times by 22 tests: end of block Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
returnexecuted 342 times by 22 tests: return status == Yes; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
status == Yes;executed 342 times by 22 tests: return status == Yes; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
}; | 0-342 |
10 | static bool disableDiskCache() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 312 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 103624 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_DISABLE_DISK_CACHE")), false)TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | evaluated 310 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { const QByteArray v = qgetenv("QML_DISABLE_DISK_CACHE"); if (v != "0"TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | never evaluated |
&& v != "false"TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | never evaluated |
) status = Yes;executed 2 times by 1 test: status = Yes; Executed by:- tst_qquickfolderlistmodel
}executed 2 times by 1 test: end of block Executed by:- tst_qquickfolderlistmodel
}executed 312 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
returnexecuted 103936 times by 141 tests: return status == Yes; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
status == Yes;executed 103936 times by 141 tests: return status == Yes; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
}; | 0-103936 |
11 | static bool forceDiskCache() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | evaluated 18 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_FORCE_DISK_CACHE")), false)TRUE | never evaluated | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
|
) { const QByteArray v = qgetenv("QML_FORCE_DISK_CACHE"); if (v != "0"TRUE | never evaluated | FALSE | never evaluated |
&& v != "false"TRUE | never evaluated | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 2 times by 1 test: end of block Executed by:- tst_qquickfolderlistmodel
returnexecuted 20 times by 1 test: return status == Yes; Executed by:- tst_qquickfolderlistmodel
status == Yes;executed 20 times by 1 test: return status == Yes; Executed by:- tst_qquickfolderlistmodel
}; | 0-20 |
12 | | - |
13 | extern const QLoggingCategory &DBG_DISK_CACHE(); | - |
14 | const QLoggingCategory &DBG_DISK_CACHE() { static const QLoggingCategory category("qt.qml.diskcache"); returnexecuted 94438 times by 138 tests: return category; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
category;executed 94438 times by 138 tests: return category; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
} | 94438 |
15 | | - |
16 | | - |
17 | | - |
18 | namespace { | - |
19 | | - |
20 | template<typename LockType> | - |
21 | struct LockHolder | - |
22 | { | - |
23 | LockType& lock; | - |
24 | LockHolder(LockType *l) : lock(*l) { lock.lock(); }executed 630695 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 630695 |
25 | ~LockHolder() { lock.unlock(); }executed 630695 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 630695 |
26 | }; | - |
27 | } | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | class QQmlTypeLoaderNetworkReplyProxy : public QObject | - |
36 | { | - |
37 | public: | - |
38 | #pragma GCC diagnostic push | - |
39 | | - |
40 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
41 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
42 | #pragma GCC diagnostic ignored "-Wattributes" | - |
43 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
44 | #pragma GCC diagnostic pop | - |
45 | struct QPrivateSignal {}; | - |
46 | public: | - |
47 | QQmlTypeLoaderNetworkReplyProxy(QQmlTypeLoader *l); | - |
48 | | - |
49 | public : | - |
50 | void finished(); | - |
51 | void downloadProgress(qint64, qint64); | - |
52 | void manualFinished(QNetworkReply*); | - |
53 | | - |
54 | private: | - |
55 | QQmlTypeLoader *l; | - |
56 | }; | - |
57 | | - |
58 | | - |
59 | class QQmlTypeLoaderThread : public QQmlThread | - |
60 | { | - |
61 | typedef QQmlTypeLoaderThread This; | - |
62 | | - |
63 | public: | - |
64 | QQmlTypeLoaderThread(QQmlTypeLoader *loader); | - |
65 | | - |
66 | QNetworkAccessManager *networkAccessManager() const; | - |
67 | QQmlTypeLoaderNetworkReplyProxy *networkReplyProxy() const; | - |
68 | | - |
69 | void load(QQmlDataBlob *b); | - |
70 | void loadAsync(QQmlDataBlob *b); | - |
71 | void loadWithStaticData(QQmlDataBlob *b, const QByteArray &); | - |
72 | void loadWithStaticDataAsync(QQmlDataBlob *b, const QByteArray &); | - |
73 | void loadWithCachedUnit(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit); | - |
74 | void loadWithCachedUnitAsync(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit); | - |
75 | void callCompleted(QQmlDataBlob *b); | - |
76 | void callDownloadProgressChanged(QQmlDataBlob *b, qreal p); | - |
77 | void initializeEngine(QQmlExtensionInterface *, const char *); | - |
78 | | - |
79 | protected: | - |
80 | void shutdownThread() override; | - |
81 | | - |
82 | private: | - |
83 | void loadThread(QQmlDataBlob *b); | - |
84 | void loadWithStaticDataThread(QQmlDataBlob *b, const QByteArray &); | - |
85 | void loadWithCachedUnitThread(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit); | - |
86 | void callCompletedMain(QQmlDataBlob *b); | - |
87 | void callDownloadProgressChangedMain(QQmlDataBlob *b, qreal p); | - |
88 | void initializeEngineMain(QQmlExtensionInterface *iface, const char *uri); | - |
89 | | - |
90 | QQmlTypeLoader *m_loader; | - |
91 | | - |
92 | mutable QNetworkAccessManager *m_networkAccessManager; | - |
93 | mutable QQmlTypeLoaderNetworkReplyProxy *m_networkReplyProxy; | - |
94 | | - |
95 | }; | - |
96 | | - |
97 | | - |
98 | QQmlTypeLoaderNetworkReplyProxy::QQmlTypeLoaderNetworkReplyProxy(QQmlTypeLoader *l) | - |
99 | : l(l) | - |
100 | { | - |
101 | }executed 36 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 36 |
102 | | - |
103 | void QQmlTypeLoaderNetworkReplyProxy::finished() | - |
104 | { | - |
105 | ((sender()) ? static_cast<void>(0) : qt_assert("sender()", __FILE__, 191)); | - |
106 | ((qobject_cast<QNetworkReply *>(sender())) ? static_cast<void>(0) : qt_assert("qobject_cast<QNetworkReply *>(sender())", __FILE__, 192)); | - |
107 | QNetworkReply *reply = static_cast<QNetworkReply *>(sender()); | - |
108 | l->networkReplyFinished(reply); | - |
109 | }executed 192 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 192 |
110 | | - |
111 | void QQmlTypeLoaderNetworkReplyProxy::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) | - |
112 | { | - |
113 | ((sender()) ? static_cast<void>(0) : qt_assert("sender()", __FILE__, 199)); | - |
114 | ((qobject_cast<QNetworkReply *>(sender())) ? static_cast<void>(0) : qt_assert("qobject_cast<QNetworkReply *>(sender())", __FILE__, 200)); | - |
115 | QNetworkReply *reply = static_cast<QNetworkReply *>(sender()); | - |
116 | l->networkReplyProgress(reply, bytesReceived, bytesTotal); | - |
117 | }executed 120 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 120 |
118 | | - |
119 | | - |
120 | void QQmlTypeLoaderNetworkReplyProxy::manualFinished(QNetworkReply *reply) | - |
121 | { | - |
122 | qint64 replySize = reply->size(); | - |
123 | l->networkReplyProgress(reply, replySize, replySize); | - |
124 | l->networkReplyFinished(reply); | - |
125 | } never executed: end of block | 0 |
126 | QQmlDataBlob::QQmlDataBlob(const QUrl &url, Type type, QQmlTypeLoader *manager) | - |
127 | : m_typeLoader(manager), m_type(type), m_url(url), m_finalUrl(url), m_redirectCount(0), | - |
128 | m_inCallback(false), m_isDone(false) | - |
129 | { | - |
130 | | - |
131 | if (m_typeLoader->engine()TRUE | evaluated 55543 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
&& m_typeLoader->engine()->urlInterceptor()TRUE | evaluated 256 times by 9 testsEvaluated by:- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| FALSE | evaluated 55287 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 0-55543 |
132 | m_url = m_typeLoader->engine()->urlInterceptor()->intercept(m_url,executed 256 times by 9 tests: m_url = m_typeLoader->engine()->urlInterceptor()->intercept(m_url, (QQmlAbstractUrlInterceptor::DataType)m_type); Executed by:- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 256 |
133 | (QQmlAbstractUrlInterceptor::DataType)m_type);executed 256 times by 9 tests: m_url = m_typeLoader->engine()->urlInterceptor()->intercept(m_url, (QQmlAbstractUrlInterceptor::DataType)m_type); Executed by:- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 256 |
134 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
135 | | - |
136 | | - |
137 | QQmlDataBlob::~QQmlDataBlob() | - |
138 | { | - |
139 | ((m_waitingOnMe.isEmpty()) ? static_cast<void>(0) : qt_assert("m_waitingOnMe.isEmpty()", __FILE__, 269)); | - |
140 | | - |
141 | cancelAllWaitingFor(); | - |
142 | }executed 55477 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55477 |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | void QQmlDataBlob::startLoading() | - |
148 | { | - |
149 | ((status() == QQmlDataBlob::Null) ? static_cast<void>(0) : qt_assert("status() == QQmlDataBlob::Null", __FILE__, 279)); | - |
150 | m_data.setStatus(QQmlDataBlob::Loading); | - |
151 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
152 | | - |
153 | | - |
154 | | - |
155 | | - |
156 | QQmlDataBlob::Type QQmlDataBlob::type() const | - |
157 | { | - |
158 | returnexecuted 50 times by 6 tests: return m_type; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
m_type;executed 50 times by 6 tests: return m_type; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
| 50 |
159 | } | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | QQmlDataBlob::Status QQmlDataBlob::status() const | - |
165 | { | - |
166 | returnexecuted 735824 times by 141 tests: return m_data.status(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_data.status();executed 735824 times by 141 tests: return m_data.status(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 735824 |
167 | } | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | bool QQmlDataBlob::isNull() const | - |
173 | { | - |
174 | return never executed: return status() == Null; status() == Null;never executed: return status() == Null; | 0 |
175 | } | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | bool QQmlDataBlob::isLoading() const | - |
181 | { | - |
182 | return never executed: return status() == Loading; status() == Loading;never executed: return status() == Loading; | 0 |
183 | } | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | bool QQmlDataBlob::isWaiting() const | - |
189 | { | - |
190 | returnexecuted 55339 times by 141 tests: return status() == WaitingForDependencies || status() == ResolvingDependencies; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
status() == WaitingForDependencies ||executed 55339 times by 141 tests: return status() == WaitingForDependencies || status() == ResolvingDependencies; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55339 |
191 | status() == ResolvingDependencies;executed 55339 times by 141 tests: return status() == WaitingForDependencies || status() == ResolvingDependencies; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55339 |
192 | } | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | bool QQmlDataBlob::isComplete() const | - |
198 | { | - |
199 | returnexecuted 3580 times by 12 tests: return status() == Complete; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickloader
status() == Complete;executed 3580 times by 12 tests: return status() == Complete; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickloader
| 3580 |
200 | } | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | bool QQmlDataBlob::isError() const | - |
206 | { | - |
207 | returnexecuted 274307 times by 141 tests: return status() == Error; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
status() == Error;executed 274307 times by 141 tests: return status() == Error; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 274307 |
208 | } | - |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | bool QQmlDataBlob::isCompleteOrError() const | - |
214 | { | - |
215 | Status s = status(); | - |
216 | returnexecuted 119484 times by 141 tests: return s == Error || s == Complete; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
s == Error || s == Complete;executed 119484 times by 141 tests: return s == Error || s == Complete; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 119484 |
217 | } | - |
218 | | - |
219 | | - |
220 | | - |
221 | | - |
222 | qreal QQmlDataBlob::progress() const | - |
223 | { | - |
224 | quint8 p = m_data.progress(); | - |
225 | if (p == 0xFFTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
| FALSE | evaluated 137 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) returnexecuted 3 times by 2 tests: return 1.; Executed by:- tst_examples
- tst_qqmlecmascript
1.;executed 3 times by 2 tests: return 1.; Executed by:- tst_examples
- tst_qqmlecmascript
| 3-137 |
226 | else returnexecuted 137 times by 11 tests: return qreal(p) / qreal(0xFF); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
qreal(p) / qreal(0xFF);executed 137 times by 11 tests: return qreal(p) / qreal(0xFF); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 137 |
227 | } | - |
228 | QUrl QQmlDataBlob::url() const | - |
229 | { | - |
230 | returnexecuted 282677 times by 141 tests: return m_url; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_url;executed 282677 times by 141 tests: return m_url; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 282677 |
231 | } | - |
232 | | - |
233 | QString QQmlDataBlob::urlString() const | - |
234 | { | - |
235 | if (m_urlString.isEmpty()TRUE | evaluated 48593 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
) | 48-48593 |
236 | m_urlString = m_url.toString();executed 48593 times by 141 tests: m_urlString = m_url.toString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 48593 |
237 | | - |
238 | returnexecuted 48641 times by 141 tests: return m_urlString; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_urlString;executed 48641 times by 141 tests: return m_urlString; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 48641 |
239 | } | - |
240 | QUrl QQmlDataBlob::finalUrl() const | - |
241 | { | - |
242 | returnexecuted 293073 times by 141 tests: return m_finalUrl; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_finalUrl;executed 293073 times by 141 tests: return m_finalUrl; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 293073 |
243 | } | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | QString QQmlDataBlob::finalUrlString() const | - |
249 | { | - |
250 | if (m_finalUrlString.isEmpty()TRUE | evaluated 191767 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 16021 times by 130 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) | 16021-191767 |
251 | m_finalUrlString = m_finalUrl.toString();executed 191767 times by 141 tests: m_finalUrlString = m_finalUrl.toString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 191767 |
252 | | - |
253 | returnexecuted 207788 times by 141 tests: return m_finalUrlString; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_finalUrlString;executed 207788 times by 141 tests: return m_finalUrlString; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 207788 |
254 | } | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | QList<QQmlError> QQmlDataBlob::errors() const | - |
262 | { | - |
263 | ((isCompleteOrError() || (m_typeLoader && m_typeLoader->m_thread->isThisThread())) ? static_cast<void>(0) : qt_assert("isCompleteOrError() || (m_typeLoader && m_typeLoader->m_thread->isThisThread())", __FILE__, 415)); | - |
264 | returnexecuted 238 times by 21 tests: return m_errors; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
m_errors;executed 238 times by 21 tests: return m_errors; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| 238 |
265 | } | - |
266 | void QQmlDataBlob::setError(const QQmlError &errors) | - |
267 | { | - |
268 | ; | - |
269 | | - |
270 | QList<QQmlError> l; | - |
271 | l << errors; | - |
272 | setError(l); | - |
273 | }executed 122 times by 8 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 122 |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | void QQmlDataBlob::setError(const QList<QQmlError> &errors) | - |
279 | { | - |
280 | ; | - |
281 | | - |
282 | ((status() != Error) ? static_cast<void>(0) : qt_assert("status() != Error", __FILE__, 443)); | - |
283 | ((m_errors.isEmpty()) ? static_cast<void>(0) : qt_assert("m_errors.isEmpty()", __FILE__, 444)); | - |
284 | | - |
285 | m_errors = errors; | - |
286 | m_data.setStatus(Error); | - |
287 | | - |
288 | if (dumpErrors()TRUE | never evaluated | FALSE | evaluated 342 times by 22 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
|
) { | 0-342 |
289 | QMessageLogger(__FILE__, 450, __PRETTY_FUNCTION__).warning().nospace() << "Errors for " << urlString(); | - |
290 | for (int ii = 0; ii < errors.count()TRUE | never evaluated | FALSE | never evaluated |
; ++ii) | 0 |
291 | QMessageLogger(__FILE__, 452, __PRETTY_FUNCTION__).warning().nospace() << " " << QtPrivate::asString(errors.at(ii).toString()).toLocal8Bit().constData(); never executed: QMessageLogger(__FILE__, 452, __PRETTY_FUNCTION__).warning().nospace() << " " << QtPrivate::asString(errors.at(ii).toString()).toLocal8Bit().constData(); | 0 |
292 | } never executed: end of block | 0 |
293 | cancelAllWaitingFor(); | - |
294 | | - |
295 | if (!m_inCallbackTRUE | evaluated 212 times by 16 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
| FALSE | evaluated 130 times by 13 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qtqmlmodules
|
) | 130-212 |
296 | tryDone();executed 212 times by 16 tests: tryDone(); Executed by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
| 212 |
297 | }executed 342 times by 22 tests: end of block Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| 342 |
298 | | - |
299 | void QQmlDataBlob::setError(const QQmlCompileError &error) | - |
300 | { | - |
301 | QQmlError e; | - |
302 | e.setColumn(error.location.column); | - |
303 | e.setLine(error.location.line); | - |
304 | e.setDescription(error.description); | - |
305 | e.setUrl(url()); | - |
306 | setError(e); | - |
307 | }executed 2 times by 1 test: end of block | 2 |
308 | | - |
309 | void QQmlDataBlob::setError(const QVector<QQmlCompileError> &errors) | - |
310 | { | - |
311 | QList<QQmlError> finalErrors; | - |
312 | finalErrors.reserve(errors.count()); | - |
313 | for (const QQmlCompileError &error: errors) { | - |
314 | QQmlError e; | - |
315 | e.setColumn(error.location.column); | - |
316 | e.setLine(error.location.line); | - |
317 | e.setDescription(error.description); | - |
318 | e.setUrl(url()); | - |
319 | finalErrors << e; | - |
320 | }executed 60 times by 10 tests: end of block Executed by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| 60 |
321 | setError(finalErrors); | - |
322 | }executed 60 times by 10 tests: end of block Executed by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| 60 |
323 | | - |
324 | void QQmlDataBlob::setError(const QString &description) | - |
325 | { | - |
326 | QQmlError e; | - |
327 | e.setDescription(description); | - |
328 | e.setUrl(url()); | - |
329 | setError(e); | - |
330 | }executed 10 times by 3 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qquickloader
| 10 |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | | - |
337 | | - |
338 | void QQmlDataBlob::addDependency(QQmlDataBlob *blob) | - |
339 | { | - |
340 | ; | - |
341 | | - |
342 | ((status() != Null) ? static_cast<void>(0) : qt_assert("status() != Null", __FILE__, 503)); | - |
343 | | - |
344 | if (!blobTRUE | never evaluated | FALSE | evaluated 1378 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
|| | 0-1378 |
345 | blob->status() == ErrorTRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 1350 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
|| blob->status() == CompleteTRUE | evaluated 1192 times by 43 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- ...
| FALSE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
|| | 28-1350 |
346 | status() == ErrorTRUE | never evaluated | FALSE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
|| status() == CompleteTRUE | never evaluated | FALSE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
|| m_isDoneTRUE | never evaluated | FALSE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-158 |
347 | return;executed 1220 times by 43 tests: return; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- ...
| 1220 |
348 | | - |
349 | for (auto existingDep: qAsConst(m_waitingFor)) | - |
350 | if (existingDep.data() == blobTRUE | never evaluated | FALSE | evaluated 504 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
) | 0-504 |
351 | return; never executed: return; | 0 |
352 | | - |
353 | m_data.setStatus(WaitingForDependencies); | - |
354 | | - |
355 | m_waitingFor.append(blob); | - |
356 | blob->m_waitingOnMe.append(this); | - |
357 | }executed 158 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 158 |
358 | void QQmlDataBlob::done() | - |
359 | { | - |
360 | } | - |
361 | | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | | - |
368 | void QQmlDataBlob::networkError(QNetworkReply::NetworkError networkError) | - |
369 | { | - |
370 | (void)networkError;; | - |
371 | | - |
372 | QQmlError error; | - |
373 | error.setUrl(m_url); | - |
374 | | - |
375 | const char *errorString = nullptr; | - |
376 | switch (networkError) { | - |
377 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: | 2 |
378 | errorString = "Network error"; | - |
379 | break;executed 2 times by 1 test: break; | 2 |
380 | caseexecuted 2 times by 1 test: case QNetworkReply::ConnectionRefusedError: QNetworkReply::ConnectionRefusedError:executed 2 times by 1 test: case QNetworkReply::ConnectionRefusedError: | 2 |
381 | errorString = "Connection refused"; | - |
382 | break;executed 2 times by 1 test: break; | 2 |
383 | caseexecuted 2 times by 1 test: case QNetworkReply::RemoteHostClosedError: QNetworkReply::RemoteHostClosedError:executed 2 times by 1 test: case QNetworkReply::RemoteHostClosedError: | 2 |
384 | errorString = "Remote host closed the connection"; | - |
385 | break;executed 2 times by 1 test: break; | 2 |
386 | caseexecuted 2 times by 1 test: case QNetworkReply::HostNotFoundError: QNetworkReply::HostNotFoundError:executed 2 times by 1 test: case QNetworkReply::HostNotFoundError: | 2 |
387 | errorString = "Host not found"; | - |
388 | break;executed 2 times by 1 test: break; | 2 |
389 | case never executed: case QNetworkReply::TimeoutError: QNetworkReply::TimeoutError:never executed: case QNetworkReply::TimeoutError: | 0 |
390 | errorString = "Timeout"; | - |
391 | break; never executed: break; | 0 |
392 | case never executed: case QNetworkReply::ProxyConnectionRefusedError: QNetworkReply::ProxyConnectionRefusedError:never executed: case QNetworkReply::ProxyConnectionRefusedError: | 0 |
393 | case never executed: case QNetworkReply::ProxyConnectionClosedError: QNetworkReply::ProxyConnectionClosedError:never executed: case QNetworkReply::ProxyConnectionClosedError: | 0 |
394 | case never executed: case QNetworkReply::ProxyNotFoundError: QNetworkReply::ProxyNotFoundError:never executed: case QNetworkReply::ProxyNotFoundError: | 0 |
395 | case never executed: case QNetworkReply::ProxyTimeoutError: QNetworkReply::ProxyTimeoutError:never executed: case QNetworkReply::ProxyTimeoutError: | 0 |
396 | case never executed: case QNetworkReply::ProxyAuthenticationRequiredError: QNetworkReply::ProxyAuthenticationRequiredError:never executed: case QNetworkReply::ProxyAuthenticationRequiredError: | 0 |
397 | case never executed: case QNetworkReply::UnknownProxyError: QNetworkReply::UnknownProxyError:never executed: case QNetworkReply::UnknownProxyError: | 0 |
398 | errorString = "Proxy error"; | - |
399 | break; never executed: break; | 0 |
400 | case never executed: case QNetworkReply::ContentAccessDenied: QNetworkReply::ContentAccessDenied:never executed: case QNetworkReply::ContentAccessDenied: | 0 |
401 | errorString = "Access denied"; | - |
402 | break; never executed: break; | 0 |
403 | caseexecuted 102 times by 6 tests: case QNetworkReply::ContentNotFoundError: Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
QNetworkReply::ContentNotFoundError:executed 102 times by 6 tests: case QNetworkReply::ContentNotFoundError: Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 102 |
404 | errorString = "File not found"; | - |
405 | break;executed 102 times by 6 tests: break; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 102 |
406 | case never executed: case QNetworkReply::AuthenticationRequiredError: QNetworkReply::AuthenticationRequiredError:never executed: case QNetworkReply::AuthenticationRequiredError: | 0 |
407 | errorString = "Authentication required"; | - |
408 | break; never executed: break; | 0 |
409 | }; | - |
410 | | - |
411 | error.setDescription(QLatin1String(errorString)); | - |
412 | | - |
413 | setError(error); | - |
414 | }executed 110 times by 7 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 110 |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
419 | | - |
420 | | - |
421 | | - |
422 | void QQmlDataBlob::dependencyError(QQmlDataBlob *blob) | - |
423 | { | - |
424 | (void)blob;; | - |
425 | }executed 108 times by 6 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 108 |
426 | | - |
427 | | - |
428 | | - |
429 | | - |
430 | | - |
431 | | - |
432 | void QQmlDataBlob::dependencyComplete(QQmlDataBlob *blob) | - |
433 | { | - |
434 | (void)blob;; | - |
435 | } never executed: end of block | 0 |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | void QQmlDataBlob::allDependenciesDone() | - |
444 | { | - |
445 | m_data.setStatus(QQmlDataBlob::ResolvingDependencies); | - |
446 | }executed 55355 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55355 |
447 | void QQmlDataBlob::downloadProgressChanged(qreal progress) | - |
448 | { | - |
449 | (void)progress;; | - |
450 | } never executed: end of block | 0 |
451 | void QQmlDataBlob::completed() | - |
452 | { | - |
453 | } | - |
454 | | - |
455 | | - |
456 | void QQmlDataBlob::tryDone() | - |
457 | { | - |
458 | if (status() != LoadingTRUE | evaluated 55803 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
&& m_waitingFor.isEmpty()TRUE | evaluated 55645 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !m_isDoneTRUE | evaluated 55543 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 102 times by 12 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
|
) { | 0-55803 |
459 | m_isDone = true; | - |
460 | addref(); | - |
461 | | - |
462 | | - |
463 | | - |
464 | | - |
465 | done(); | - |
466 | | - |
467 | if (status() != ErrorTRUE | evaluated 55201 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 342 times by 22 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
|
) | 342-55201 |
468 | m_data.setStatus(Complete);executed 55201 times by 141 tests: m_data.setStatus(Complete); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55201 |
469 | | - |
470 | notifyAllWaitingOnMe(); | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
476 | | - |
477 | m_typeLoader->m_thread->callCompleted(this); | - |
478 | | - |
479 | release(); | - |
480 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
481 | }executed 55803 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55803 |
482 | | - |
483 | void QQmlDataBlob::cancelAllWaitingFor() | - |
484 | { | - |
485 | while (m_waitingFor.count()TRUE | never evaluated | FALSE | evaluated 55819 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-55819 |
486 | QQmlRefPointer<QQmlDataBlob> blob = m_waitingFor.takeLast(); | - |
487 | | - |
488 | ((blob->m_waitingOnMe.contains(this)) ? static_cast<void>(0) : qt_assert("blob->m_waitingOnMe.contains(this)", __FILE__, 697)); | - |
489 | | - |
490 | blob->m_waitingOnMe.removeOne(this); | - |
491 | } never executed: end of block | 0 |
492 | }executed 55819 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55819 |
493 | | - |
494 | void QQmlDataBlob::notifyAllWaitingOnMe() | - |
495 | { | - |
496 | while (m_waitingOnMe.count()TRUE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 55543 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 158-55543 |
497 | QQmlDataBlob *blob = m_waitingOnMe.takeLast(); | - |
498 | | - |
499 | ((std::any_of(blob->m_waitingFor.constBegin(), blob->m_waitingFor.constEnd(), [this](const QQmlRefPointer<QQmlDataBlob> &waiting) { returnexecuted 163 times by 8 tests: return waiting.data() == this; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
waiting.data() == this;executed 163 times by 8 tests: return waiting.data() == this; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
})) ? static_cast<void>(0) : qt_assert("std::any_of(blob->m_waitingFor.constBegin(), blob->m_waitingFor.constEnd(), [this](const QQmlRefPointer<QQmlDataBlob> &waiting) { return waiting.data() == this; })", | 163 |
500 | __FILE__ | - |
501 | , | - |
502 | 709 | - |
503 | )) | - |
504 | ; | - |
505 | | - |
506 | blob->notifyComplete(this); | - |
507 | }executed 158 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 158 |
508 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
509 | | - |
510 | void QQmlDataBlob::notifyComplete(QQmlDataBlob *blob) | - |
511 | { | - |
512 | ((blob->status() == Error || blob->status() == Complete) ? static_cast<void>(0) : qt_assert("blob->status() == Error || blob->status() == Complete", __FILE__, 717)); | - |
513 | QQmlCompilingProfiler prof(typeLoader()->profiler(), blob); | - |
514 | | - |
515 | m_inCallback = true; | - |
516 | | - |
517 | QQmlRefPointer<QQmlDataBlob> blobRef; | - |
518 | for (int i = 0; i < m_waitingFor.count()TRUE | evaluated 163 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
; ++i) { | 0-163 |
519 | if (m_waitingFor.at(i).data() == blobTRUE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquicktextedit
|
) { | 5-158 |
520 | blobRef = m_waitingFor.takeAt(i); | - |
521 | break;executed 158 times by 8 tests: break; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 158 |
522 | } | - |
523 | }executed 5 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquicktextedit
| 5 |
524 | ((blobRef) ? static_cast<void>(0) : qt_assert("blobRef", __FILE__, 729)); | - |
525 | | - |
526 | if (blob->status() == ErrorTRUE | evaluated 108 times by 6 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 50 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
|
) { | 50-108 |
527 | dependencyError(blob); | - |
528 | }executed 108 times by 6 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
else if (blob->status() == CompleteTRUE | evaluated 50 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-108 |
529 | dependencyComplete(blob); | - |
530 | }executed 50 times by 6 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
| 50 |
531 | | - |
532 | if (!isError()TRUE | evaluated 158 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
&& m_waitingFor.isEmpty()TRUE | evaluated 62 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 96 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
) | 0-158 |
533 | allDependenciesDone();executed 62 times by 8 tests: allDependenciesDone(); Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 62 |
534 | | - |
535 | m_inCallback = false; | - |
536 | | - |
537 | tryDone(); | - |
538 | }executed 158 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 158 |
539 | | - |
540 | | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | | - |
546 | QQmlDataBlob::ThreadData::ThreadData() | - |
547 | : _p(0) | - |
548 | { | - |
549 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
550 | | - |
551 | QQmlDataBlob::Status QQmlDataBlob::ThreadData::status() const | - |
552 | { | - |
553 | returnexecuted 735823 times by 141 tests: return QQmlDataBlob::Status((_p.load() & 0x0000FFFF) >> 0); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
QQmlDataBlob::Status((_p.load() & 0x0000FFFF) >> 0);executed 735823 times by 141 tests: return QQmlDataBlob::Status((_p.load() & 0x0000FFFF) >> 0); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 735823 |
554 | } | - |
555 | | - |
556 | void QQmlDataBlob::ThreadData::setStatus(QQmlDataBlob::Status status) | - |
557 | { | - |
558 | while (true) { | - |
559 | int d = _p.load(); | - |
560 | int nd = (d & ~0x0000FFFF) | ((status << 0) & 0x0000FFFF); | - |
561 | if (d == ndTRUE | evaluated 144 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 221760 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| _p.testAndSetOrdered(d, nd)TRUE | evaluated 221760 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) return;executed 221904 times by 141 tests: return; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 0-221904 |
562 | } never executed: end of block | 0 |
563 | } never executed: end of block | 0 |
564 | | - |
565 | bool QQmlDataBlob::ThreadData::isAsync() const | - |
566 | { | - |
567 | returnexecuted 9642 times by 127 tests: return _p.load() & 0x80000000; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
_p.load() & 0x80000000;executed 9642 times by 127 tests: return _p.load() & 0x80000000; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9642 |
568 | } | - |
569 | | - |
570 | void QQmlDataBlob::ThreadData::setIsAsync(bool v) | - |
571 | { | - |
572 | while (true) { | - |
573 | int d = _p.load(); | - |
574 | int nd = (d & ~0x80000000) | (v?0x80000000:0); | - |
575 | if (d == ndTRUE | never evaluated | FALSE | evaluated 142 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
|| _p.testAndSetOrdered(d, nd)TRUE | evaluated 142 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) return;executed 142 times by 13 tests: return; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 0-142 |
576 | } never executed: end of block | 0 |
577 | } never executed: end of block | 0 |
578 | | - |
579 | quint8 QQmlDataBlob::ThreadData::progress() const | - |
580 | { | - |
581 | returnexecuted 168 times by 12 tests: return quint8((_p.load() & 0x00FF0000) >> 16); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
quint8((_p.load() & 0x00FF0000) >> 16);executed 168 times by 12 tests: return quint8((_p.load() & 0x00FF0000) >> 16); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 168 |
582 | } | - |
583 | | - |
584 | void QQmlDataBlob::ThreadData::setProgress(quint8 v) | - |
585 | { | - |
586 | while (true) { | - |
587 | int d = _p.load(); | - |
588 | int nd = (d & ~0x00FF0000) | ((v << 16) & 0x00FF0000); | - |
589 | if (d == ndTRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 9630 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
|| _p.testAndSetOrdered(d, nd)TRUE | evaluated 9630 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) return;executed 9642 times by 127 tests: return; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 0-9642 |
590 | } never executed: end of block | 0 |
591 | } never executed: end of block | 0 |
592 | | - |
593 | QQmlTypeLoaderThread::QQmlTypeLoaderThread(QQmlTypeLoader *loader) | - |
594 | : m_loader(loader) | - |
595 | | - |
596 | , m_networkAccessManager(nullptr), m_networkReplyProxy(nullptr) | - |
597 | | - |
598 | { | - |
599 | | - |
600 | startup(); | - |
601 | }executed 7674 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7674 |
602 | | - |
603 | | - |
604 | QNetworkAccessManager *QQmlTypeLoaderThread::networkAccessManager() const | - |
605 | { | - |
606 | ((isThisThread()) ? static_cast<void>(0) : qt_assert("isThisThread()", __FILE__, 811)); | - |
607 | if (!m_networkAccessManagerTRUE | evaluated 36 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 156 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 36-156 |
608 | m_networkAccessManager = QQmlEnginePrivate::get(m_loader->engine())->createNetworkAccessManager(nullptr); | - |
609 | m_networkReplyProxy = new QQmlTypeLoaderNetworkReplyProxy(m_loader); | - |
610 | }executed 36 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 36 |
611 | | - |
612 | returnexecuted 192 times by 9 tests: return m_networkAccessManager; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
m_networkAccessManager;executed 192 times by 9 tests: return m_networkAccessManager; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 192 |
613 | } | - |
614 | | - |
615 | QQmlTypeLoaderNetworkReplyProxy *QQmlTypeLoaderThread::networkReplyProxy() const | - |
616 | { | - |
617 | ((isThisThread()) ? static_cast<void>(0) : qt_assert("isThisThread()", __FILE__, 822)); | - |
618 | ((m_networkReplyProxy) ? static_cast<void>(0) : qt_assert("m_networkReplyProxy", __FILE__, 823)); | - |
619 | returnexecuted 192 times by 9 tests: return m_networkReplyProxy; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
m_networkReplyProxy;executed 192 times by 9 tests: return m_networkReplyProxy; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 192 |
620 | } | - |
621 | | - |
622 | | - |
623 | void QQmlTypeLoaderThread::load(QQmlDataBlob *b) | - |
624 | { | - |
625 | b->addref(); | - |
626 | callMethodInThread(&This::loadThread, b); | - |
627 | }executed 8500 times by 126 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 8500 |
628 | | - |
629 | void QQmlTypeLoaderThread::loadAsync(QQmlDataBlob *b) | - |
630 | { | - |
631 | b->addref(); | - |
632 | postMethodToThread(&This::loadThread, b); | - |
633 | }executed 104 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| 104 |
634 | | - |
635 | void QQmlTypeLoaderThread::loadWithStaticData(QQmlDataBlob *b, const QByteArray &d) | - |
636 | { | - |
637 | b->addref(); | - |
638 | callMethodInThread(&This::loadWithStaticDataThread, b, d); | - |
639 | }executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
640 | | - |
641 | void QQmlTypeLoaderThread::loadWithStaticDataAsync(QQmlDataBlob *b, const QByteArray &d) | - |
642 | { | - |
643 | b->addref(); | - |
644 | postMethodToThread(&This::loadWithStaticDataThread, b, d); | - |
645 | } never executed: end of block | 0 |
646 | | - |
647 | void QQmlTypeLoaderThread::loadWithCachedUnit(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit) | - |
648 | { | - |
649 | b->addref(); | - |
650 | callMethodInThread(&This::loadWithCachedUnitThread, b, unit); | - |
651 | }executed 8 times by 1 test: end of block | 8 |
652 | | - |
653 | void QQmlTypeLoaderThread::loadWithCachedUnitAsync(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit) | - |
654 | { | - |
655 | b->addref(); | - |
656 | postMethodToThread(&This::loadWithCachedUnitThread, b, unit); | - |
657 | }executed 6 times by 1 test: end of block | 6 |
658 | | - |
659 | void QQmlTypeLoaderThread::callCompleted(QQmlDataBlob *b) | - |
660 | { | - |
661 | b->addref(); | - |
662 | postMethodToMain(&This::callCompletedMain, b); | - |
663 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
664 | | - |
665 | void QQmlTypeLoaderThread::callDownloadProgressChanged(QQmlDataBlob *b, qreal p) | - |
666 | { | - |
667 | b->addref(); | - |
668 | postMethodToMain(&This::callDownloadProgressChangedMain, b, p); | - |
669 | }executed 118 times by 11 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 118 |
670 | | - |
671 | void QQmlTypeLoaderThread::initializeEngine(QQmlExtensionInterface *iface, | - |
672 | const char *uri) | - |
673 | { | - |
674 | callMethodInMain(&This::initializeEngineMain, iface, uri); | - |
675 | }executed 7389 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7389 |
676 | | - |
677 | void QQmlTypeLoaderThread::shutdownThread() | - |
678 | { | - |
679 | | - |
680 | delete m_networkAccessManager; | - |
681 | m_networkAccessManager = nullptr; | - |
682 | delete m_networkReplyProxy; | - |
683 | m_networkReplyProxy = nullptr; | - |
684 | | - |
685 | }executed 7660 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7660 |
686 | | - |
687 | void QQmlTypeLoaderThread::loadThread(QQmlDataBlob *b) | - |
688 | { | - |
689 | m_loader->loadThread(b); | - |
690 | b->release(); | - |
691 | }executed 8604 times by 126 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 8604 |
692 | | - |
693 | void QQmlTypeLoaderThread::loadWithStaticDataThread(QQmlDataBlob *b, const QByteArray &d) | - |
694 | { | - |
695 | m_loader->loadWithStaticDataThread(b, d); | - |
696 | b->release(); | - |
697 | }executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
698 | | - |
699 | void QQmlTypeLoaderThread::loadWithCachedUnitThread(QQmlDataBlob *b, const QV4::CompiledData::Unit *unit) | - |
700 | { | - |
701 | m_loader->loadWithCachedUnitThread(b, unit); | - |
702 | b->release(); | - |
703 | }executed 14 times by 1 test: end of block | 14 |
704 | | - |
705 | void QQmlTypeLoaderThread::callCompletedMain(QQmlDataBlob *b) | - |
706 | { | - |
707 | QQmlMemoryScope _qml_memory_scope(b->url()); | - |
708 | | - |
709 | | - |
710 | | - |
711 | b->completed(); | - |
712 | b->release(); | - |
713 | }executed 55541 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55541 |
714 | | - |
715 | void QQmlTypeLoaderThread::callDownloadProgressChangedMain(QQmlDataBlob *b, qreal p) | - |
716 | { | - |
717 | | - |
718 | | - |
719 | | - |
720 | | - |
721 | b->downloadProgressChanged(p); | - |
722 | b->release(); | - |
723 | }executed 118 times by 11 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 118 |
724 | | - |
725 | void QQmlTypeLoaderThread::initializeEngineMain(QQmlExtensionInterface *iface, | - |
726 | const char *uri) | - |
727 | { | - |
728 | ((m_loader->engine()->thread() == QThread::currentThread()) ? static_cast<void>(0) : qt_assert("m_loader->engine()->thread() == QThread::currentThread()", __FILE__, 933)); | - |
729 | iface->initializeEngine(m_loader->engine(), uri); | - |
730 | }executed 7389 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7389 |
731 | void QQmlTypeLoader::invalidate() | - |
732 | { | - |
733 | if (m_threadTRUE | evaluated 7660 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| FALSE | evaluated 7660 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
) { | 7660 |
734 | shutdownThread(); | - |
735 | delete m_thread; | - |
736 | m_thread = nullptr; | - |
737 | }executed 7660 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7660 |
738 | | - |
739 | | - |
740 | | - |
741 | | - |
742 | | - |
743 | for (NetworkReplies::Iterator iter = m_networkReplies.begin(); iter != m_networkReplies.end()TRUE | never evaluated | FALSE | evaluated 15320 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
; ++iter) | 0-15320 |
744 | (* never executed: (*iter)->release(); iter)->release();never executed: (*iter)->release(); | 0 |
745 | m_networkReplies.clear(); | - |
746 | | - |
747 | }executed 15320 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 15320 |
748 | | - |
749 | | - |
750 | void QQmlTypeLoader::setProfiler(QQmlProfiler *profiler) | - |
751 | { | - |
752 | ((!m_profiler) ? static_cast<void>(0) : qt_assert("!m_profiler", __FILE__, 988)); | - |
753 | m_profiler.reset(profiler); | - |
754 | }executed 32 times by 3 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlprofilerservice
| 32 |
755 | | - |
756 | | - |
757 | struct PlainLoader { | - |
758 | void loadThread(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
759 | { | - |
760 | loader->loadThread(blob); | - |
761 | }executed 1152 times by 43 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- ...
| 1152 |
762 | void load(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
763 | { | - |
764 | loader->m_thread->load(blob); | - |
765 | }executed 8500 times by 126 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 8500 |
766 | void loadAsync(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
767 | { | - |
768 | loader->m_thread->loadAsync(blob); | - |
769 | }executed 104 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| 104 |
770 | }; | - |
771 | | - |
772 | struct StaticLoader { | - |
773 | const QByteArray &data; | - |
774 | StaticLoader(const QByteArray &data) : data(data) {}executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
775 | | - |
776 | void loadThread(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
777 | { | - |
778 | loader->loadWithStaticDataThread(blob, data); | - |
779 | } never executed: end of block | 0 |
780 | void load(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
781 | { | - |
782 | loader->m_thread->loadWithStaticData(blob, data); | - |
783 | }executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
784 | void loadAsync(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
785 | { | - |
786 | loader->m_thread->loadWithStaticDataAsync(blob, data); | - |
787 | } never executed: end of block | 0 |
788 | }; | - |
789 | | - |
790 | struct CachedLoader { | - |
791 | const QV4::CompiledData::Unit *unit; | - |
792 | CachedLoader(const QV4::CompiledData::Unit *unit) : unit(unit) {}executed 18 times by 1 test: end of block | 18 |
793 | | - |
794 | void loadThread(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
795 | { | - |
796 | loader->loadWithCachedUnitThread(blob, unit); | - |
797 | }executed 4 times by 1 test: end of block | 4 |
798 | void load(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
799 | { | - |
800 | loader->m_thread->loadWithCachedUnit(blob, unit); | - |
801 | }executed 8 times by 1 test: end of block | 8 |
802 | void loadAsync(QQmlTypeLoader *loader, QQmlDataBlob *blob) const | - |
803 | { | - |
804 | loader->m_thread->loadWithCachedUnitAsync(blob, unit); | - |
805 | }executed 6 times by 1 test: end of block | 6 |
806 | }; | - |
807 | | - |
808 | template<typename Loader> | - |
809 | void QQmlTypeLoader::doLoad(const Loader &loader, QQmlDataBlob *blob, Mode mode) | - |
810 | { | - |
811 | | - |
812 | | - |
813 | | - |
814 | | - |
815 | blob->startLoading(); | - |
816 | | - |
817 | if (m_thread->isThisThread()TRUE | evaluated 1156 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| FALSE | evaluated 54387 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 1156-54387 |
818 | unlock(); | - |
819 | loader.loadThread(this, blob); | - |
820 | lock(); | - |
821 | }executed 1156 times by 44 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
else if (mode == AsynchronousTRUE | evaluated 110 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| FALSE | evaluated 54277 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 110-54277 |
822 | blob->m_data.setIsAsync(true); | - |
823 | unlock(); | - |
824 | loader.loadAsync(this, blob); | - |
825 | lock(); | - |
826 | }executed 110 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
else { | 110 |
827 | unlock(); | - |
828 | loader.load(this, blob); | - |
829 | lock(); | - |
830 | if (mode == PreferSynchronousTRUE | evaluated 54182 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 95 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
|
) { | 95-54182 |
831 | if (!blob->isCompleteOrError()TRUE | evaluated 32 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 54150 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 32-54150 |
832 | blob->m_data.setIsAsync(true);executed 32 times by 8 tests: blob->m_data.setIsAsync(true); Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 32 |
833 | }executed 54182 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
else { | 54182 |
834 | ((mode == Synchronous) ? static_cast<void>(0) : qt_assert("mode == Synchronous", __FILE__, 1070)); | - |
835 | while (!blob->isCompleteOrError()TRUE | evaluated 660 times by 1 test | FALSE | evaluated 95 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
|
) { | 95-660 |
836 | unlock(); | - |
837 | m_thread->waitForNextMessage(); | - |
838 | lock(); | - |
839 | }executed 660 times by 1 test: end of block | 660 |
840 | }executed 95 times by 15 tests: end of block Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
| 95 |
841 | } | - |
842 | } | - |
843 | | - |
844 | | - |
845 | | - |
846 | | - |
847 | | - |
848 | | - |
849 | void QQmlTypeLoader::load(QQmlDataBlob *blob, Mode mode) | - |
850 | { | - |
851 | doLoad(PlainLoader(), blob, mode); | - |
852 | }executed 9756 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9756 |
853 | | - |
854 | | - |
855 | | - |
856 | | - |
857 | | - |
858 | | - |
859 | void QQmlTypeLoader::loadWithStaticData(QQmlDataBlob *blob, const QByteArray &data, Mode mode) | - |
860 | { | - |
861 | doLoad(StaticLoader(data), blob, mode); | - |
862 | }executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
863 | | - |
864 | void QQmlTypeLoader::loadWithCachedUnit(QQmlDataBlob *blob, const QV4::CompiledData::Unit *unit, Mode mode) | - |
865 | { | - |
866 | doLoad(CachedLoader(unit), blob, mode); | - |
867 | }executed 18 times by 1 test: end of block | 18 |
868 | | - |
869 | void QQmlTypeLoader::loadWithStaticDataThread(QQmlDataBlob *blob, const QByteArray &data) | - |
870 | { | - |
871 | ; | - |
872 | | - |
873 | setData(blob, data); | - |
874 | }executed 45769 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
875 | | - |
876 | void QQmlTypeLoader::loadWithCachedUnitThread(QQmlDataBlob *blob, const QV4::CompiledData::Unit *unit) | - |
877 | { | - |
878 | ; | - |
879 | | - |
880 | setCachedUnit(blob, unit); | - |
881 | }executed 18 times by 1 test: end of block | 18 |
882 | | - |
883 | void QQmlTypeLoader::loadThread(QQmlDataBlob *blob) | - |
884 | { | - |
885 | ; | - |
886 | | - |
887 | | - |
888 | if (m_thread->isShutdown()TRUE | never evaluated | FALSE | evaluated 9756 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-9756 |
889 | QQmlError error; | - |
890 | error.setDescription(QLatin1String("Interrupted by shutdown")); | - |
891 | blob->setError(error); | - |
892 | return; never executed: return; | 0 |
893 | } | - |
894 | | - |
895 | if (blob->m_url.isEmpty()TRUE | never evaluated | FALSE | evaluated 9756 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-9756 |
896 | QQmlError error; | - |
897 | error.setDescription(QLatin1String("Invalid null URL")); | - |
898 | blob->setError(error); | - |
899 | return; never executed: return; | 0 |
900 | } | - |
901 | | - |
902 | QQmlMemoryScope _qml_memory_scope(blob->m_url); | - |
903 | | - |
904 | if (QQmlFile::isSynchronous(blob->m_url)TRUE | evaluated 9566 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 190 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 190-9566 |
905 | const QString fileName = QQmlFile::urlToLocalFileOrQrc(blob->m_url); | - |
906 | if (!QQml_isFileCaseCorrect(fileName)TRUE | never evaluated | FALSE | evaluated 9566 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-9566 |
907 | blob->setError(QLatin1String("File name case mismatch")); | - |
908 | return; never executed: return; | 0 |
909 | } | - |
910 | | - |
911 | blob->m_data.setProgress(0xFF); | - |
912 | if (blob->m_data.isAsync()TRUE | evaluated 90 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| FALSE | evaluated 9476 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 90-9476 |
913 | m_thread->callDownloadProgressChanged(blob, 1.);executed 90 times by 8 tests: m_thread->callDownloadProgressChanged(blob, 1.); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| 90 |
914 | | - |
915 | setData(blob, fileName); | - |
916 | | - |
917 | }executed 9566 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
else { | 9566 |
918 | | - |
919 | QNetworkReply *reply = m_thread->networkAccessManager()->get(QNetworkRequest(blob->m_url)); | - |
920 | QQmlTypeLoaderNetworkReplyProxy *nrp = m_thread->networkReplyProxy(); | - |
921 | blob->addref(); | - |
922 | m_networkReplies.insert(reply, blob); | - |
923 | | - |
924 | if (reply->isFinished()TRUE | never evaluated | FALSE | evaluated 190 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-190 |
925 | nrp->manualFinished(reply); | - |
926 | } never executed: end of block else { | 0 |
927 | QObject::connect(reply, qFlagLocation("2""downloadProgress(qint64,qint64)" "\0" __FILE__ ":" "1163"), | - |
928 | nrp, qFlagLocation("1""downloadProgress(qint64,qint64)" "\0" __FILE__ ":" "1164")); | - |
929 | QObject::connect(reply, qFlagLocation("2""finished()" "\0" __FILE__ ":" "1165"), | - |
930 | nrp, qFlagLocation("1""finished()" "\0" __FILE__ ":" "1166")); | - |
931 | }executed 190 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 190 |
932 | | - |
933 | | - |
934 | | - |
935 | | - |
936 | | - |
937 | } | - |
938 | } | - |
939 | | - |
940 | | - |
941 | | - |
942 | | - |
943 | | - |
944 | void QQmlTypeLoader::networkReplyFinished(QNetworkReply *reply) | - |
945 | { | - |
946 | ((m_thread->isThisThread()) ? static_cast<void>(0) : qt_assert("m_thread->isThisThread()", __FILE__, 1182)); | - |
947 | | - |
948 | reply->deleteLater(); | - |
949 | | - |
950 | QQmlDataBlob *blob = m_networkReplies.take(reply); | - |
951 | | - |
952 | ((blob) ? static_cast<void>(0) : qt_assert("blob", __FILE__, 1188)); | - |
953 | | - |
954 | blob->m_redirectCount++; | - |
955 | | - |
956 | if (blob->m_redirectCount < 16TRUE | evaluated 192 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) { | 0-192 |
957 | QVariant redirect = reply->attribute(QNetworkRequest::RedirectionTargetAttribute); | - |
958 | if (redirect.isValid()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 190 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 2-190 |
959 | QUrl url = reply->url().resolved(redirect.toUrl()); | - |
960 | blob->m_finalUrl = url; | - |
961 | blob->m_finalUrlString.clear(); | - |
962 | | - |
963 | QNetworkReply *reply = m_thread->networkAccessManager()->get(QNetworkRequest(url)); | - |
964 | QObject *nrp = m_thread->networkReplyProxy(); | - |
965 | QObject::connect(reply, qFlagLocation("2""finished()" "\0" __FILE__ ":" "1201"), nrp, qFlagLocation("1""finished()" "\0" __FILE__ ":" "1201")); | - |
966 | m_networkReplies.insert(reply, blob); | - |
967 | | - |
968 | | - |
969 | | - |
970 | return;executed 2 times by 1 test: return; | 2 |
971 | } | - |
972 | }executed 190 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 190 |
973 | | - |
974 | if (reply->error()TRUE | evaluated 110 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 80 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 80-110 |
975 | blob->networkError(reply->error()); | - |
976 | }executed 110 times by 7 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
else { | 110 |
977 | QByteArray data = reply->readAll(); | - |
978 | setData(blob, data); | - |
979 | }executed 80 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 80 |
980 | | - |
981 | blob->release(); | - |
982 | }executed 190 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 190 |
983 | | - |
984 | void QQmlTypeLoader::networkReplyProgress(QNetworkReply *reply, | - |
985 | qint64 bytesReceived, qint64 bytesTotal) | - |
986 | { | - |
987 | ((m_thread->isThisThread()) ? static_cast<void>(0) : qt_assert("m_thread->isThisThread()", __FILE__, 1223)); | - |
988 | | - |
989 | QQmlDataBlob *blob = m_networkReplies.value(reply); | - |
990 | | - |
991 | ((blob) ? static_cast<void>(0) : qt_assert("blob", __FILE__, 1227)); | - |
992 | | - |
993 | if (bytesTotal != 0TRUE | evaluated 76 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 44 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 44-76 |
994 | quint8 progress = 0xFF * (qreal(bytesReceived) / qreal(bytesTotal)); | - |
995 | blob->m_data.setProgress(progress); | - |
996 | if (blob->m_data.isAsync()TRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 48 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
|
) | 28-48 |
997 | m_thread->callDownloadProgressChanged(blob, blob->m_data.progress());executed 28 times by 6 tests: m_thread->callDownloadProgressChanged(blob, blob->m_data.progress()); Executed by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 28 |
998 | }executed 76 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 76 |
999 | }executed 120 times by 9 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 120 |
1000 | | - |
1001 | | - |
1002 | | - |
1003 | | - |
1004 | | - |
1005 | QQmlEngine *QQmlTypeLoader::engine() const | - |
1006 | { | - |
1007 | returnexecuted 676777 times by 141 tests: return m_engine; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_engine;executed 676777 times by 141 tests: return m_engine; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 676777 |
1008 | } | - |
1009 | | - |
1010 | | - |
1011 | | - |
1012 | | - |
1013 | | - |
1014 | void QQmlTypeLoader::initializeEngine(QQmlExtensionInterface *iface, | - |
1015 | const char *uri) | - |
1016 | { | - |
1017 | ((m_thread->isThisThread() || engine()->thread() == QThread::currentThread()) ? static_cast<void>(0) : qt_assert("m_thread->isThisThread() || engine()->thread() == QThread::currentThread()", __FILE__, 1253)); | - |
1018 | | - |
1019 | if (m_thread->isThisThread()TRUE | evaluated 7389 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) { | 0-7389 |
1020 | m_thread->initializeEngine(iface, uri); | - |
1021 | }executed 7389 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
else { | 7389 |
1022 | ((engine()->thread() == QThread::currentThread()) ? static_cast<void>(0) : qt_assert("engine()->thread() == QThread::currentThread()", __FILE__, 1258)); | - |
1023 | iface->initializeEngine(engine(), uri); | - |
1024 | } never executed: end of block | 0 |
1025 | } | - |
1026 | | - |
1027 | | - |
1028 | void QQmlTypeLoader::setData(QQmlDataBlob *blob, const QByteArray &data) | - |
1029 | { | - |
1030 | QQmlMemoryScope _qml_memory_scope(blob->url()); | - |
1031 | QQmlDataBlob::SourceCodeData d; | - |
1032 | d.inlineSourceCode = QString::fromUtf8(data); | - |
1033 | d.hasInlineSourceCode = true; | - |
1034 | setData(blob, d); | - |
1035 | }executed 45849 times by 59 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45849 |
1036 | | - |
1037 | void QQmlTypeLoader::setData(QQmlDataBlob *blob, const QString &fileName) | - |
1038 | { | - |
1039 | QQmlMemoryScope _qml_memory_scope(blob->url()); | - |
1040 | QQmlDataBlob::SourceCodeData d; | - |
1041 | d.fileInfo = QFileInfo(fileName); | - |
1042 | setData(blob, d); | - |
1043 | }executed 9566 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9566 |
1044 | | - |
1045 | void QQmlTypeLoader::setData(QQmlDataBlob *blob, const QQmlDataBlob::SourceCodeData &d) | - |
1046 | { | - |
1047 | QQmlMemoryScope _qml_memory_scope(blob->url()); | - |
1048 | QQmlCompilingProfiler prof(profiler(), blob); | - |
1049 | | - |
1050 | blob->m_inCallback = true; | - |
1051 | | - |
1052 | blob->dataReceived(d); | - |
1053 | | - |
1054 | if (!blob->isError()TRUE | evaluated 55321 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 94 times by 9 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
|
&& !blob->isWaiting()TRUE | evaluated 55275 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 46 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 46-55321 |
1055 | blob->allDependenciesDone();executed 55275 times by 141 tests: blob->allDependenciesDone(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55275 |
1056 | | - |
1057 | if (blob->status() != QQmlDataBlob::ErrorTRUE | evaluated 55287 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 128 times by 13 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qtqmlmodules
|
) | 128-55287 |
1058 | blob->m_data.setStatus(QQmlDataBlob::WaitingForDependencies);executed 55287 times by 141 tests: blob->m_data.setStatus(QQmlDataBlob::WaitingForDependencies); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55287 |
1059 | | - |
1060 | blob->m_inCallback = false; | - |
1061 | | - |
1062 | blob->tryDone(); | - |
1063 | }executed 55415 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55415 |
1064 | | - |
1065 | void QQmlTypeLoader::setCachedUnit(QQmlDataBlob *blob, const QV4::CompiledData::Unit *unit) | - |
1066 | { | - |
1067 | QQmlMemoryScope _qml_memory_scope(blob->url()); | - |
1068 | QQmlCompilingProfiler prof(profiler(), blob); | - |
1069 | | - |
1070 | blob->m_inCallback = true; | - |
1071 | | - |
1072 | blob->initializeFromCachedUnit(unit); | - |
1073 | | - |
1074 | if (!blob->isError()TRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
&& !blob->isWaiting()TRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
) | 0-18 |
1075 | blob->allDependenciesDone();executed 18 times by 1 test: blob->allDependenciesDone(); | 18 |
1076 | | - |
1077 | if (blob->status() != QQmlDataBlob::ErrorTRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
) | 0-18 |
1078 | blob->m_data.setStatus(QQmlDataBlob::WaitingForDependencies);executed 18 times by 1 test: blob->m_data.setStatus(QQmlDataBlob::WaitingForDependencies); | 18 |
1079 | | - |
1080 | blob->m_inCallback = false; | - |
1081 | | - |
1082 | blob->tryDone(); | - |
1083 | }executed 18 times by 1 test: end of block | 18 |
1084 | | - |
1085 | void QQmlTypeLoader::shutdownThread() | - |
1086 | { | - |
1087 | if (m_threadTRUE | evaluated 7660 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| FALSE | evaluated 7660 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
&& !m_thread->isShutdown()TRUE | evaluated 7660 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| FALSE | never evaluated |
) | 0-7660 |
1088 | m_thread->shutdown();executed 7660 times by 148 tests: m_thread->shutdown(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7660 |
1089 | }executed 15320 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 15320 |
1090 | | - |
1091 | QQmlTypeLoader::Blob::Blob(const QUrl &url, QQmlDataBlob::Type type, QQmlTypeLoader *loader) | - |
1092 | : QQmlDataBlob(url, type, loader), m_importCache(loader) | - |
1093 | { | - |
1094 | }executed 55543 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55543 |
1095 | | - |
1096 | QQmlTypeLoader::Blob::~Blob() | - |
1097 | { | - |
1098 | } | - |
1099 | | - |
1100 | bool QQmlTypeLoader::Blob::fetchQmldir(const QUrl &url, const QV4::CompiledData::Import *import, int priority, QList<QQmlError> *errors) | - |
1101 | { | - |
1102 | QQmlRefPointer<QQmlQmldirData> data = typeLoader()->getQmldir(url); | - |
1103 | | - |
1104 | data->setImport(this, import); | - |
1105 | data->setPriority(this, priority); | - |
1106 | | - |
1107 | if (data->status() == ErrorTRUE | never evaluated | FALSE | evaluated 148 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-148 |
1108 | | - |
1109 | return never executed: return true; true;never executed: return true; | 0 |
1110 | } else if (data->status() == CompleteTRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
| FALSE | evaluated 126 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 22-126 |
1111 | | - |
1112 | returnexecuted 22 times by 3 tests: return qmldirDataAvailable(data, errors); Executed by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
qmldirDataAvailable(data, errors);executed 22 times by 3 tests: return qmldirDataAvailable(data, errors); Executed by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
| 22 |
1113 | } | - |
1114 | | - |
1115 | | - |
1116 | addDependency(data.data()); | - |
1117 | returnexecuted 126 times by 8 tests: return true; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
true;executed 126 times by 8 tests: return true; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 126 |
1118 | } | - |
1119 | | - |
1120 | bool QQmlTypeLoader::Blob::updateQmldir(const QQmlRefPointer<QQmlQmldirData> &data, const QV4::CompiledData::Import *import, QList<QQmlError> *errors) | - |
1121 | { | - |
1122 | QString qmldirIdentifier = data->urlString(); | - |
1123 | QString qmldirUrl = qmldirIdentifier.left(qmldirIdentifier.lastIndexOf(QLatin1Char('/')) + 1); | - |
1124 | | - |
1125 | typeLoader()->setQmldirContent(qmldirIdentifier, data->content()); | - |
1126 | | - |
1127 | if (!m_importCache.updateQmldirContent(typeLoader()->importDatabase(), stringAt(import->uriIndex), stringAt(import->qualifierIndex), qmldirIdentifier, qmldirUrl, errors)TRUE | never evaluated | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-44 |
1128 | return never executed: return false; false;never executed: return false; | 0 |
1129 | | - |
1130 | QHash<const QV4::CompiledData::Import *, int>::iterator it = m_unresolvedImports.find(import); | - |
1131 | if (it != m_unresolvedImports.end()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 8-36 |
1132 | *it = data->priority(this); | - |
1133 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 8 |
1134 | | - |
1135 | | - |
1136 | m_qmldirs << data; | - |
1137 | | - |
1138 | const QString &importQualifier = stringAt(import->qualifierIndex); | - |
1139 | if (!importQualifier.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 42 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 2-42 |
1140 | | - |
1141 | QUrl libraryUrl(qmldirUrl); | - |
1142 | const QQmlTypeLoaderQmldirContent qmldir = typeLoader()->qmldirContent(qmldirIdentifier); | - |
1143 | const auto qmldirScripts = qmldir.scripts(); | - |
1144 | for (const QQmlDirParser::Script &script : qmldirScripts) { | - |
1145 | QUrl scriptUrl = libraryUrl.resolved(QUrl(script.fileName)); | - |
1146 | QQmlRefPointer<QQmlScriptBlob> blob = typeLoader()->getScript(scriptUrl); | - |
1147 | addDependency(blob.data()); | - |
1148 | | - |
1149 | scriptImported(blob, import->location, script.nameSpace, importQualifier); | - |
1150 | }executed 2 times by 1 test: end of block | 2 |
1151 | }executed 2 times by 1 test: end of block | 2 |
1152 | | - |
1153 | returnexecuted 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
true;executed 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
1154 | } | - |
1155 | | - |
1156 | bool QQmlTypeLoader::Blob::addImport(const QV4::CompiledData::Import *import, QList<QQmlError> *errors) | - |
1157 | { | - |
1158 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1394)); | - |
1159 | | - |
1160 | QQmlImportDatabase *importDatabase = typeLoader()->importDatabase(); | - |
1161 | | - |
1162 | const QString &importUri = stringAt(import->uriIndex); | - |
1163 | const QString &importQualifier = stringAt(import->qualifierIndex); | - |
1164 | if (import->type == QV4::CompiledData::Import::ImportScriptTRUE | evaluated 302 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 58345 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 302-58345 |
1165 | QUrl scriptUrl = finalUrl().resolved(QUrl(importUri)); | - |
1166 | QQmlRefPointer<QQmlScriptBlob> blob = typeLoader()->getScript(scriptUrl); | - |
1167 | addDependency(blob.data()); | - |
1168 | | - |
1169 | scriptImported(blob, import->location, importQualifier, QString()); | - |
1170 | }executed 302 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
else if (import->type == QV4::CompiledData::Import::ImportLibraryTRUE | evaluated 58147 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 198 times by 14 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
|
) { | 198-58147 |
1171 | QString qmldirFilePath; | - |
1172 | QString qmldirUrl; | - |
1173 | | - |
1174 | if (QQmlMetaType::isLockedModule(importUri, import->majorVersion)TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlmoduleplugin
| FALSE | evaluated 58123 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 24-58123 |
1175 | | - |
1176 | if (!m_importCache.addLibraryImport(importDatabase, importUri, importQualifier, import->majorVersion,TRUE | never evaluated | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlmoduleplugin
|
| 0-24 |
1177 | import->minorVersion, QString(), QString(), false, errors)TRUE | never evaluated | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlmoduleplugin
|
) | 0-24 |
1178 | return never executed: return false; false;never executed: return false; | 0 |
1179 | | - |
1180 | }executed 24 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmlmoduleplugin
else if (m_importCache.locateQmldir(importDatabase, importUri, import->majorVersion, import->minorVersion,TRUE | evaluated 56757 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1366 times by 44 testsEvaluated by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
|
| 24-56757 |
1181 | &qmldirFilePath, &qmldirUrl)TRUE | evaluated 56757 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1366 times by 44 testsEvaluated by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
|
) { | 1366-56757 |
1182 | | - |
1183 | if (!m_importCache.addLibraryImport(importDatabase, importUri, importQualifier, import->majorVersion,TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
| FALSE | evaluated 56741 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
| 16-56741 |
1184 | import->minorVersion, qmldirFilePath, qmldirUrl, false, errors)TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
| FALSE | evaluated 56741 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 16-56741 |
1185 | returnexecuted 16 times by 2 tests: return false; Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
false;executed 16 times by 2 tests: return false; Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
| 16 |
1186 | | - |
1187 | if (!importQualifier.isEmpty()TRUE | evaluated 1024 times by 34 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 55717 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 1024-55717 |
1188 | | - |
1189 | QUrl libraryUrl(qmldirUrl); | - |
1190 | const QQmlTypeLoaderQmldirContent qmldir = typeLoader()->qmldirContent(qmldirFilePath); | - |
1191 | const auto qmldirScripts = qmldir.scripts(); | - |
1192 | for (const QQmlDirParser::Script &script : qmldirScripts) { | - |
1193 | QUrl scriptUrl = libraryUrl.resolved(QUrl(script.fileName)); | - |
1194 | QQmlRefPointer<QQmlScriptBlob> blob = typeLoader()->getScript(scriptUrl); | - |
1195 | addDependency(blob.data()); | - |
1196 | | - |
1197 | scriptImported(blob, import->location, script.nameSpace, importQualifier); | - |
1198 | }executed 6 times by 1 test: end of block | 6 |
1199 | }executed 1024 times by 34 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 1024 |
1200 | }executed 56741 times by 140 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
else { | 56741 |
1201 | | - |
1202 | if (QQmlMetaType::isAnyModule(importUri)TRUE | evaluated 1354 times by 44 testsEvaluated by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
| FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
|
) { | 12-1354 |
1203 | if (!m_importCache.addLibraryImport(importDatabase, importUri, importQualifier, import->majorVersion,TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | evaluated 1346 times by 44 testsEvaluated by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
|
| 8-1346 |
1204 | import->minorVersion, QString(), QString(), false, errors)TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | evaluated 1346 times by 44 testsEvaluated by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
|
) | 8-1346 |
1205 | returnexecuted 8 times by 2 tests: return false; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
false;executed 8 times by 2 tests: return false; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| 8 |
1206 | }executed 1346 times by 44 tests: end of block Executed by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
else { | 1346 |
1207 | | - |
1208 | m_unresolvedImports.insert(import, 0); | - |
1209 | | - |
1210 | QQmlAbstractUrlInterceptor *interceptor = typeLoader()->engine()->urlInterceptor(); | - |
1211 | | - |
1212 | | - |
1213 | | - |
1214 | QStringList remotePathList = importDatabase->importPathList( | - |
1215 | interceptor ? QQmlImportDatabase::LocalOrRemote | - |
1216 | : QQmlImportDatabase::Remote); | - |
1217 | if (!remotePathList.isEmpty()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
|
) { | 4-8 |
1218 | | - |
1219 | if (!m_importCache.addLibraryImport(importDatabase, importUri, importQualifier, import->majorVersion,TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
|
| 0-8 |
1220 | import->minorVersion, QString(), QString(), true, errors)TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
|
) | 0-8 |
1221 | return never executed: return false; false;never executed: return false; | 0 |
1222 | | - |
1223 | | - |
1224 | int priority = 0; | - |
1225 | const QStringList qmlDirPaths = QQmlImports::completeQmldirPaths(importUri, remotePathList, import->majorVersion, import->minorVersion); | - |
1226 | for (const QString &qmldirPath : qmlDirPaths) { | - |
1227 | if (interceptorTRUE | evaluated 72 times by 1 test | FALSE | evaluated 14 times by 1 test |
) { | 14-72 |
1228 | QUrl url = interceptor->intercept( | - |
1229 | QQmlImports::urlFromLocalFileOrQrcOrUrl(qmldirPath), | - |
1230 | QQmlAbstractUrlInterceptor::QmldirFile); | - |
1231 | if (!QQmlFile::isLocalFile(url)TRUE | evaluated 72 times by 1 test | FALSE | never evaluated |
| 0-72 |
1232 | && !fetchQmldir(url, import, ++priority, errors)TRUE | never evaluated | FALSE | evaluated 72 times by 1 test |
) { | 0-72 |
1233 | return never executed: return false; false;never executed: return false; | 0 |
1234 | } | - |
1235 | }executed 72 times by 1 test: end of block else if (!fetchQmldir(QUrl(qmldirPath), import, ++priority, errors)TRUE | never evaluated | FALSE | evaluated 14 times by 1 test |
) { | 0-72 |
1236 | return never executed: return false; false;never executed: return false; | 0 |
1237 | } | - |
1238 | | - |
1239 | }executed 86 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 86 |
1240 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 8 |
1241 | }executed 12 times by 4 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
| 12 |
1242 | } | - |
1243 | } else { | - |
1244 | ((import->type == QV4::CompiledData::Import::ImportFile) ? static_cast<void>(0) : qt_assert("import->type == QV4::CompiledData::Import::ImportFile", __FILE__, 1480)); | - |
1245 | | - |
1246 | bool incomplete = false; | - |
1247 | | - |
1248 | QUrl qmldirUrl = finalUrl().resolved(QUrl(importUri + QLatin1String("/qmldir"))); | - |
1249 | if (!QQmlImports::isLocal(qmldirUrl)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickloader
| FALSE | evaluated 194 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickstates
- tst_qrcqml
|
) { | 4-194 |
1250 | | - |
1251 | incomplete = true; | - |
1252 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlmoduleplugin
- tst_qquickloader
| 4 |
1253 | | - |
1254 | if (!m_importCache.addFileImport(importDatabase, importUri, importQualifier, import->majorVersion,TRUE | evaluated 2 times by 1 test | FALSE | evaluated 196 times by 14 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
|
| 2-196 |
1255 | import->minorVersion, incomplete, errors)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 196 times by 14 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
|
) | 2-196 |
1256 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1257 | | - |
1258 | if (incompleteTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickloader
| FALSE | evaluated 192 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickstates
- tst_qrcqml
|
) { | 4-192 |
1259 | if (!fetchQmldir(qmldirUrl, import, 1, errors)TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickloader
|
) | 0-4 |
1260 | return never executed: return false; false;never executed: return false; | 0 |
1261 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlmoduleplugin
- tst_qquickloader
| 4 |
1262 | }executed 196 times by 14 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
| 196 |
1263 | | - |
1264 | returnexecuted 58621 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
true;executed 58621 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 58621 |
1265 | } | - |
1266 | | - |
1267 | void QQmlTypeLoader::Blob::dependencyComplete(QQmlDataBlob *blob) | - |
1268 | { | - |
1269 | if (blob->type() == QQmlDataBlob::QmldirFileTRUE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | evaluated 28 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
|
) { | 22-28 |
1270 | QQmlQmldirData *data = static_cast<QQmlQmldirData *>(blob); | - |
1271 | | - |
1272 | const QV4::CompiledData::Import *import = data->import(this); | - |
1273 | | - |
1274 | QList<QQmlError> errors; | - |
1275 | if (!qmldirDataAvailable(data, &errors)TRUE | never evaluated | FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 0-22 |
1276 | ((errors.size()) ? static_cast<void>(0) : qt_assert("errors.size()", __FILE__, 1512)); | - |
1277 | QQmlError error(errors.takeFirst()); | - |
1278 | error.setUrl(m_importCache.baseUrl()); | - |
1279 | error.setLine(import->location.line); | - |
1280 | error.setColumn(import->location.column); | - |
1281 | errors.prepend(error); | - |
1282 | setError(errors); | - |
1283 | } never executed: end of block | 0 |
1284 | }executed 22 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 22 |
1285 | }executed 50 times by 6 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
| 50 |
1286 | | - |
1287 | bool QQmlTypeLoader::Blob::isDebugging() const | - |
1288 | { | - |
1289 | returnexecuted 103892 times by 141 tests: return typeLoader()->engine()->handle()->debugger() != nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
typeLoader()->engine()->handle()->debugger() != nullptr;executed 103892 times by 141 tests: return typeLoader()->engine()->handle()->debugger() != nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 103892 |
1290 | } | - |
1291 | | - |
1292 | bool QQmlTypeLoader::Blob::qmldirDataAvailable(const QQmlRefPointer<QQmlQmldirData> &data, QList<QQmlError> *errors) | - |
1293 | { | - |
1294 | bool resolve = true; | - |
1295 | | - |
1296 | const QV4::CompiledData::Import *import = data->import(this); | - |
1297 | data->setImport(this, nullptr); | - |
1298 | | - |
1299 | int priority = data->priority(this); | - |
1300 | data->setPriority(this, 0); | - |
1301 | | - |
1302 | if (importTRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-44 |
1303 | | - |
1304 | QHash<const QV4::CompiledData::Import *, int>::iterator it = m_unresolvedImports.find(import); | - |
1305 | if (it != m_unresolvedImports.end()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 8-36 |
1306 | resolve = (*TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | never evaluated |
it == 0)TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | never evaluated |
|| (*TRUE | never evaluated | FALSE | never evaluated |
it > priority)TRUE | never evaluated | FALSE | never evaluated |
; | 0-8 |
1307 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 8 |
1308 | | - |
1309 | if (resolveTRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-44 |
1310 | | - |
1311 | if (!updateQmldir(data, import, errors)TRUE | never evaluated | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 0-44 |
1312 | return never executed: return false; false;never executed: return false; | 0 |
1313 | } | - |
1314 | | - |
1315 | if (it != m_unresolvedImports.end()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 8-36 |
1316 | *executed 8 times by 2 tests: *it = priority; Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
it = priority;executed 8 times by 2 tests: *it = priority; Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 8 |
1317 | returnexecuted 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
true;executed 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
1318 | } | - |
1319 | } never executed: end of block | 0 |
1320 | | - |
1321 | return never executed: return true; true;never executed: return true; | 0 |
1322 | } | - |
1323 | | - |
1324 | | - |
1325 | QQmlTypeLoaderQmldirContent::QQmlTypeLoaderQmldirContent() | - |
1326 | { | - |
1327 | } | - |
1328 | | - |
1329 | bool QQmlTypeLoaderQmldirContent::hasError() const | - |
1330 | { | - |
1331 | returnexecuted 57017 times by 140 tests: return m_parser.hasError(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_parser.hasError();executed 57017 times by 140 tests: return m_parser.hasError(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 57017 |
1332 | } | - |
1333 | | - |
1334 | QList<QQmlError> QQmlTypeLoaderQmldirContent::errors(const QString &uri) const | - |
1335 | { | - |
1336 | returnexecuted 4 times by 1 test: return m_parser.errors(uri); m_parser.errors(uri);executed 4 times by 1 test: return m_parser.errors(uri); | 4 |
1337 | } | - |
1338 | | - |
1339 | QString QQmlTypeLoaderQmldirContent::typeNamespace() const | - |
1340 | { | - |
1341 | returnexecuted 7401 times by 135 tests: return m_parser.typeNamespace(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
m_parser.typeNamespace();executed 7401 times by 135 tests: return m_parser.typeNamespace(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7401 |
1342 | } | - |
1343 | | - |
1344 | void QQmlTypeLoaderQmldirContent::setContent(const QString &location, const QString &content) | - |
1345 | { | - |
1346 | m_hasContent = true; | - |
1347 | m_location = location; | - |
1348 | m_parser.parse(content); | - |
1349 | }executed 7935 times by 140 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 7935 |
1350 | | - |
1351 | void QQmlTypeLoaderQmldirContent::setError(const QQmlError &error) | - |
1352 | { | - |
1353 | m_parser.setError(error); | - |
1354 | } never executed: end of block | 0 |
1355 | | - |
1356 | QQmlDirComponents QQmlTypeLoaderQmldirContent::components() const | - |
1357 | { | - |
1358 | returnexecuted 57035 times by 140 tests: return m_parser.components(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_parser.components();executed 57035 times by 140 tests: return m_parser.components(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 57035 |
1359 | } | - |
1360 | | - |
1361 | QQmlDirScripts QQmlTypeLoaderQmldirContent::scripts() const | - |
1362 | { | - |
1363 | returnexecuted 58061 times by 140 tests: return m_parser.scripts(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_parser.scripts();executed 58061 times by 140 tests: return m_parser.scripts(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 58061 |
1364 | } | - |
1365 | | - |
1366 | QQmlDirPlugins QQmlTypeLoaderQmldirContent::plugins() const | - |
1367 | { | - |
1368 | returnexecuted 64414 times by 140 tests: return m_parser.plugins(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_parser.plugins();executed 64414 times by 140 tests: return m_parser.plugins(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 64414 |
1369 | } | - |
1370 | | - |
1371 | QString QQmlTypeLoaderQmldirContent::pluginLocation() const | - |
1372 | { | - |
1373 | returnexecuted 57013 times by 140 tests: return m_location; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_location;executed 57013 times by 140 tests: return m_location; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 57013 |
1374 | } | - |
1375 | | - |
1376 | bool QQmlTypeLoaderQmldirContent::designerSupported() const | - |
1377 | { | - |
1378 | returnexecuted 8 times by 1 test: return m_parser.designerSupported(); m_parser.designerSupported();executed 8 times by 1 test: return m_parser.designerSupported(); | 8 |
1379 | } | - |
1380 | | - |
1381 | | - |
1382 | | - |
1383 | | - |
1384 | QQmlTypeLoader::QQmlTypeLoader(QQmlEngine *engine) | - |
1385 | : m_engine(engine) | - |
1386 | , m_thread(new QQmlTypeLoaderThread(this)) | - |
1387 | , m_mutex(m_thread->mutex()) | - |
1388 | , m_typeCacheTrimThreshold(64) | - |
1389 | { | - |
1390 | }executed 7674 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7674 |
1391 | | - |
1392 | | - |
1393 | | - |
1394 | | - |
1395 | | - |
1396 | QQmlTypeLoader::~QQmlTypeLoader() | - |
1397 | { | - |
1398 | | - |
1399 | shutdownThread(); | - |
1400 | | - |
1401 | clearCache(); | - |
1402 | | - |
1403 | invalidate(); | - |
1404 | }executed 7660 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7660 |
1405 | | - |
1406 | QQmlImportDatabase *QQmlTypeLoader::importDatabase() const | - |
1407 | { | - |
1408 | returnexecuted 113744 times by 141 tests: return &QQmlEnginePrivate::get(engine())->importDatabase; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
&QQmlEnginePrivate::get(engine())->importDatabase;executed 113744 times by 141 tests: return &QQmlEnginePrivate::get(engine())->importDatabase; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 113744 |
1409 | } | - |
1410 | | - |
1411 | QUrl QQmlTypeLoader::normalize(const QUrl &unNormalizedUrl) | - |
1412 | { | - |
1413 | QUrl normalized(unNormalizedUrl); | - |
1414 | if (normalized.scheme() == QLatin1String("qrc")TRUE | evaluated 180 times by 8 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qrcqml
| FALSE | evaluated 72549 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 180-72549 |
1415 | normalized.setHost(QString());executed 180 times by 8 tests: normalized.setHost(QString()); Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qrcqml
| 180 |
1416 | returnexecuted 72729 times by 141 tests: return normalized; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
normalized;executed 72729 times by 141 tests: return normalized; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 72729 |
1417 | } | - |
1418 | | - |
1419 | | - |
1420 | | - |
1421 | | - |
1422 | QQmlRefPointer<QQmlTypeData> QQmlTypeLoader::getType(const QUrl &unNormalizedUrl, Mode mode) | - |
1423 | { | - |
1424 | ((!unNormalizedUrl.isRelative() && (QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl)))) ? static_cast<void>(0) : qt_assert("!unNormalizedUrl.isRelative() && (QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl)))", | - |
1425 | | - |
1426 | __FILE__ | - |
1427 | , | - |
1428 | | - |
1429 | 1662 | - |
1430 | )) | - |
1431 | | - |
1432 | ; | - |
1433 | | - |
1434 | const QUrl url = normalize(unNormalizedUrl); | - |
1435 | | - |
1436 | LockHolder<QQmlTypeLoader> holder(this); | - |
1437 | | - |
1438 | QQmlTypeData *typeData = m_typeCache.value(url); | - |
1439 | | - |
1440 | if (!typeDataTRUE | evaluated 9364 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 4934 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickfolderlistmodel
- ...
|
) { | 4934-9364 |
1441 | | - |
1442 | if (m_typeCache.size() >= m_typeCacheTrimThresholdTRUE | evaluated 42 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| FALSE | evaluated 9322 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 42-9322 |
1443 | trimCache();executed 42 times by 3 tests: trimCache(); Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| 42 |
1444 | | - |
1445 | typeData = new QQmlTypeData(url, this); | - |
1446 | | - |
1447 | m_typeCache.insert(url, typeData); | - |
1448 | QQmlMetaType::CachedUnitLookupError error = QQmlMetaType::CachedUnitLookupError::NoError; | - |
1449 | if (constTRUE | evaluated 14 times by 1 test | FALSE | evaluated 9350 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
QV4::CompiledData::Unit *cachedUnit = QQmlMetaType::findCachedCompilationUnit(typeData->url(), &error)TRUE | evaluated 14 times by 1 test | FALSE | evaluated 9350 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 14-9350 |
1450 | QQmlTypeLoader::loadWithCachedUnit(typeData, cachedUnit, mode); | - |
1451 | }executed 14 times by 1 test: end of block else { | 14 |
1452 | typeData->setCachedUnitStatus(error); | - |
1453 | QQmlTypeLoader::load(typeData, mode); | - |
1454 | }executed 9350 times by 126 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9350 |
1455 | } else if ((mode == PreferSynchronousTRUE | evaluated 4920 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickfolderlistmodel
- ...
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qquickloader
|
|| mode == SynchronousTRUE | never evaluated | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qquickloader
|
) && QQmlFile::isSynchronous(url)TRUE | evaluated 4918 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickfolderlistmodel
- ...
| FALSE | evaluated 2 times by 1 test |
) { | 0-4920 |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | if (!m_thread->isThisThread()TRUE | evaluated 4588 times by 29 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- ...
| FALSE | evaluated 330 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickloader
- tst_qquickworkerscript
|
) { | 330-4588 |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | while (!typeData->isCompleteOrError()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickloader
| FALSE | evaluated 4588 times by 29 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- ...
|
) { | 4-4588 |
1464 | unlock(); | - |
1465 | m_thread->waitForNextMessage(); | - |
1466 | lock(); | - |
1467 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qquickloader
| 4 |
1468 | }executed 4588 times by 29 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- ...
| 4588 |
1469 | }executed 4918 times by 35 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickfolderlistmodel
- ...
| 4918 |
1470 | | - |
1471 | returnexecuted 14298 times by 126 tests: return typeData; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
typeData;executed 14298 times by 126 tests: return typeData; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 14298 |
1472 | } | - |
1473 | | - |
1474 | | - |
1475 | | - |
1476 | | - |
1477 | | - |
1478 | QQmlRefPointer<QQmlTypeData> QQmlTypeLoader::getType(const QByteArray &data, const QUrl &url, Mode mode) | - |
1479 | { | - |
1480 | LockHolder<QQmlTypeLoader> holder(this); | - |
1481 | | - |
1482 | QQmlTypeData *typeData = new QQmlTypeData(url, this); | - |
1483 | QQmlTypeLoader::loadWithStaticData(typeData, data, mode); | - |
1484 | | - |
1485 | returnexecuted 45769 times by 59 tests: return QQmlRefPointer<QQmlTypeData>(typeData, QQmlRefPointer<QQmlTypeData>::Adopt); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
QQmlRefPointer<QQmlTypeData>(typeData, QQmlRefPointer<QQmlTypeData>::Adopt);executed 45769 times by 59 tests: return QQmlRefPointer<QQmlTypeData>(typeData, QQmlRefPointer<QQmlTypeData>::Adopt); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45769 |
1486 | } | - |
1487 | | - |
1488 | | - |
1489 | | - |
1490 | | - |
1491 | QQmlRefPointer<QQmlScriptBlob> QQmlTypeLoader::getScript(const QUrl &unNormalizedUrl) | - |
1492 | { | - |
1493 | ((!unNormalizedUrl.isRelative() && (QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl)))) ? static_cast<void>(0) : qt_assert("!unNormalizedUrl.isRelative() && (QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(unNormalizedUrl)))", | - |
1494 | | - |
1495 | __FILE__ | - |
1496 | , | - |
1497 | | - |
1498 | 1725 | - |
1499 | )) | - |
1500 | | - |
1501 | ; | - |
1502 | | - |
1503 | const QUrl url = normalize(unNormalizedUrl); | - |
1504 | | - |
1505 | LockHolder<QQmlTypeLoader> holder(this); | - |
1506 | | - |
1507 | QQmlScriptBlob *scriptBlob = m_scriptCache.value(url); | - |
1508 | | - |
1509 | if (!scriptBlobTRUE | evaluated 286 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlsqldatabase
|
) { | 32-286 |
1510 | scriptBlob = new QQmlScriptBlob(url, this); | - |
1511 | m_scriptCache.insert(url, scriptBlob); | - |
1512 | | - |
1513 | QQmlMetaType::CachedUnitLookupError error; | - |
1514 | if (constTRUE | evaluated 4 times by 1 test | FALSE | evaluated 282 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
QV4::CompiledData::Unit *cachedUnit = QQmlMetaType::findCachedCompilationUnit(scriptBlob->url(), &error)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 282 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 4-282 |
1515 | QQmlTypeLoader::loadWithCachedUnit(scriptBlob, cachedUnit); | - |
1516 | }executed 4 times by 1 test: end of block else { | 4 |
1517 | scriptBlob->setCachedUnitStatus(error); | - |
1518 | QQmlTypeLoader::load(scriptBlob); | - |
1519 | }executed 282 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 282 |
1520 | } | - |
1521 | | - |
1522 | returnexecuted 318 times by 13 tests: return scriptBlob; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
scriptBlob;executed 318 times by 13 tests: return scriptBlob; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 318 |
1523 | } | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | QQmlRefPointer<QQmlQmldirData> QQmlTypeLoader::getQmldir(const QUrl &url) | - |
1529 | { | - |
1530 | ((!url.isRelative() && (QQmlFile::urlToLocalFileOrQrc(url).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(url)))) ? static_cast<void>(0) : qt_assert("!url.isRelative() && (QQmlFile::urlToLocalFileOrQrc(url).isEmpty() || !QDir::isRelativePath(QQmlFile::urlToLocalFileOrQrc(url)))", | - |
1531 | | - |
1532 | __FILE__ | - |
1533 | , | - |
1534 | | - |
1535 | 1756 | - |
1536 | )) | - |
1537 | | - |
1538 | ; | - |
1539 | | - |
1540 | LockHolder<QQmlTypeLoader> holder(this); | - |
1541 | | - |
1542 | QQmlQmldirData *qmldirData = m_qmldirCache.value(url); | - |
1543 | | - |
1544 | if (!qmldirDataTRUE | evaluated 124 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
) { | 24-124 |
1545 | qmldirData = new QQmlQmldirData(url, this); | - |
1546 | m_qmldirCache.insert(url, qmldirData); | - |
1547 | QQmlTypeLoader::load(qmldirData); | - |
1548 | }executed 124 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 124 |
1549 | | - |
1550 | returnexecuted 148 times by 8 tests: return qmldirData; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
qmldirData;executed 148 times by 8 tests: return qmldirData; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 148 |
1551 | } | - |
1552 | | - |
1553 | | - |
1554 | | - |
1555 | | - |
1556 | | - |
1557 | bool QQmlEngine::addNamedBundle(const QString &name, const QString &fileName) | - |
1558 | { | - |
1559 | (void)name; | - |
1560 | (void)fileName; | - |
1561 | return never executed: return false; false;never executed: return false; | 0 |
1562 | } | - |
1563 | QString QQmlTypeLoader::absoluteFilePath(const QString &path) | - |
1564 | { | - |
1565 | if (path.isEmpty()TRUE | evaluated 132864 times by 15 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlenginedebugservice
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qquickapplication
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
- tst_qquicktextedit
- tst_sharedimage
| FALSE | evaluated 525649 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 132864-525649 |
1566 | returnexecuted 132864 times by 15 tests: return QString(); Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlenginedebugservice
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qquickapplication
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
- tst_qquicktextedit
- tst_sharedimage
QString();executed 132864 times by 15 tests: return QString(); Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlenginedebugservice
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qquickapplication
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
- tst_qquicktextedit
- tst_sharedimage
| 132864 |
1567 | if (path.at(0) == QLatin1Char(':')TRUE | evaluated 1176 times by 13 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltranslation
- tst_qquickshortcut
- tst_qrcqml
- tst_sharedimage
| FALSE | evaluated 524473 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 1176-524473 |
1568 | | - |
1569 | QFileInfo fileInfo(path); | - |
1570 | returnexecuted 1176 times by 13 tests: return fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString(); Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltranslation
- tst_qquickshortcut
- tst_qrcqml
- tst_sharedimage
fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString();executed 1176 times by 13 tests: return fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString(); Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltranslation
- tst_qquickshortcut
- tst_qrcqml
- tst_sharedimage
| 1176 |
1571 | } else if (path.count() > 3TRUE | evaluated 524473 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
&& path.at(3) == QLatin1Char(':')TRUE | evaluated 22241 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 502232 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& | 0-524473 |
1572 | path.startsWith(QLatin1String("qrc"), Qt::CaseInsensitive)TRUE | evaluated 22241 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | never evaluated |
) { | 0-22241 |
1573 | | - |
1574 | QFileInfo fileInfo(QQmlFile::urlToLocalFileOrQrc(path)); | - |
1575 | returnexecuted 22241 times by 137 tests: return fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString();executed 22241 times by 137 tests: return fileInfo.isFile() ? fileInfo.absoluteFilePath() : QString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 22241 |
1576 | } | - |
1577 | int lastSlash = path.lastIndexOf(QLatin1Char('/')); | - |
1578 | QString dirPath(path.left(lastSlash)); | - |
1579 | | - |
1580 | LockHolder<QQmlTypeLoader> holder(this); | - |
1581 | if (!m_importDirCache.contains(dirPath)TRUE | evaluated 45486 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 456746 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 45486-456746 |
1582 | bool exists = QDir(dirPath).exists(); | - |
1583 | QCache<QString, bool> *entry = existsTRUE | evaluated 7651 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 37835 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
? new QCache<QString, bool> : nullptr; | 7651-37835 |
1584 | m_importDirCache.insert(dirPath, entry); | - |
1585 | }executed 45486 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 45486 |
1586 | QCache<QString, bool> *fileSet = m_importDirCache.object(dirPath); | - |
1587 | if (!fileSetTRUE | evaluated 38647 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 463585 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 38647-463585 |
1588 | returnexecuted 38647 times by 141 tests: return QString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
QString();executed 38647 times by 141 tests: return QString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 38647 |
1589 | | - |
1590 | QString absoluteFilePath; | - |
1591 | QString fileName(path.mid(lastSlash+1, path.length()-lastSlash-1)); | - |
1592 | | - |
1593 | bool *value = fileSet->object(fileName); | - |
1594 | if (valueTRUE | evaluated 436635 times by 72 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| FALSE | evaluated 26950 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 26950-436635 |
1595 | if (*TRUE | evaluated 988 times by 43 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- ...
| FALSE | evaluated 435647 times by 63 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
valueTRUE | evaluated 988 times by 43 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- ...
| FALSE | evaluated 435647 times by 63 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
) | 988-435647 |
1596 | absoluteFilePath = path;executed 988 times by 43 tests: absoluteFilePath = path; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- ...
| 988 |
1597 | }executed 436635 times by 72 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
else { | 436635 |
1598 | bool exists = QFile::exists(path); | - |
1599 | fileSet->insert(fileName, new bool(exists)); | - |
1600 | if (existsTRUE | evaluated 15706 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 11244 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 11244-15706 |
1601 | absoluteFilePath = path;executed 15706 times by 140 tests: absoluteFilePath = path; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 15706 |
1602 | }executed 26950 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 26950 |
1603 | | - |
1604 | if (absoluteFilePath.length() > 2TRUE | evaluated 16694 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 446891 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
&& absoluteFilePath.at(0) != QLatin1Char('/')TRUE | never evaluated | FALSE | evaluated 16694 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& absoluteFilePath.at(1) != QLatin1Char(':')TRUE | never evaluated | FALSE | never evaluated |
) | 0-446891 |
1605 | absoluteFilePath = QFileInfo(absoluteFilePath).absoluteFilePath(); never executed: absoluteFilePath = QFileInfo(absoluteFilePath).absoluteFilePath(); | 0 |
1606 | | - |
1607 | returnexecuted 463585 times by 141 tests: return absoluteFilePath; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
absoluteFilePath;executed 463585 times by 141 tests: return absoluteFilePath; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 463585 |
1608 | } | - |
1609 | | - |
1610 | | - |
1611 | | - |
1612 | | - |
1613 | | - |
1614 | | - |
1615 | bool QQmlTypeLoader::directoryExists(const QString &path) | - |
1616 | { | - |
1617 | if (path.isEmpty()TRUE | never evaluated | FALSE | evaluated 9629 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 0-9629 |
1618 | return never executed: return false; false;never executed: return false; | 0 |
1619 | | - |
1620 | bool isResource = path.at(0) == QLatin1Char(':'); | - |
1621 | | - |
1622 | | - |
1623 | | - |
1624 | | - |
1625 | if (isResourceTRUE | evaluated 56 times by 7 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltranslation
- tst_qrcqml
| FALSE | evaluated 9573 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 56-9573 |
1626 | | - |
1627 | QFileInfo fileInfo(path); | - |
1628 | returnexecuted 56 times by 7 tests: return fileInfo.exists() && fileInfo.isDir(); Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltranslation
- tst_qrcqml
fileInfo.exists() && fileInfo.isDir();executed 56 times by 7 tests: return fileInfo.exists() && fileInfo.isDir(); Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmltranslation
- tst_qrcqml
| 56 |
1629 | } | - |
1630 | | - |
1631 | int length = path.length(); | - |
1632 | if (path.endsWith(QLatin1Char('/'))TRUE | evaluated 9429 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 144 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qquickaccessible
- tst_qquickstates
|
) | 144-9429 |
1633 | --executed 9429 times by 126 tests: --length; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
length;executed 9429 times by 126 tests: --length; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9429 |
1634 | QString dirPath(path.left(length)); | - |
1635 | | - |
1636 | LockHolder<QQmlTypeLoader> holder(this); | - |
1637 | if (!m_importDirCache.contains(dirPath)TRUE | evaluated 6688 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 2885 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) { | 2885-6688 |
1638 | bool exists = QDir(dirPath).exists(); | - |
1639 | QCache<QString, bool> *files = existsTRUE | evaluated 6676 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquicktext
- tst_qquicktextedit
|
? new QCache<QString, bool> : nullptr; | 12-6676 |
1640 | m_importDirCache.insert(dirPath, files); | - |
1641 | }executed 6688 times by 126 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 6688 |
1642 | | - |
1643 | QCache<QString, bool> *fileSet = m_importDirCache.object(dirPath); | - |
1644 | returnexecuted 9573 times by 126 tests: return fileSet != nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
fileSet != nullptr;executed 9573 times by 126 tests: return fileSet != nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9573 |
1645 | } | - |
1646 | const QQmlTypeLoaderQmldirContent QQmlTypeLoader::qmldirContent(const QString &filePathIn) | - |
1647 | { | - |
1648 | LockHolder<QQmlTypeLoader> holder(this); | - |
1649 | | - |
1650 | QString filePath; | - |
1651 | | - |
1652 | | - |
1653 | | - |
1654 | | - |
1655 | | - |
1656 | | - |
1657 | | - |
1658 | QUrl url(filePathIn); | - |
1659 | if (url.scheme().length() < 2TRUE | evaluated 57997 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 46-57997 |
1660 | filePath = filePathIn; | - |
1661 | }executed 57997 times by 140 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
else { | 57997 |
1662 | filePath = QQmlFile::urlToLocalFileOrQrc(url); | - |
1663 | if (filePath.isEmpty()TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-46 |
1664 | if (auto entry = m_importQmlDirCache.value(filePathIn)TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) | 0-46 |
1665 | returnexecuted 46 times by 5 tests: return **entry; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
**entry;executed 46 times by 5 tests: return **entry; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 46 |
1666 | else | - |
1667 | return never executed: return QQmlTypeLoaderQmldirContent(); QQmlTypeLoaderQmldirContent();never executed: return QQmlTypeLoaderQmldirContent(); | 0 |
1668 | } | - |
1669 | } never executed: end of block | 0 |
1670 | | - |
1671 | QQmlTypeLoaderQmldirContent **val = m_importQmlDirCache.value(filePath); | - |
1672 | if (valTRUE | evaluated 50106 times by 74 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| FALSE | evaluated 7891 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 7891-50106 |
1673 | returnexecuted 50106 times by 74 tests: return **val; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
**val;executed 50106 times by 74 tests: return **val; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 50106 |
1674 | QQmlTypeLoaderQmldirContent *qmldir = new QQmlTypeLoaderQmldirContent; | - |
1675 | | - |
1676 | | - |
1677 | | - |
1678 | | - |
1679 | | - |
1680 | QFile file(filePath); | - |
1681 | if (!QQml_isFileCaseCorrect(filePath)TRUE | never evaluated | FALSE | evaluated 7891 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-7891 |
1682 | { QQmlError e; e.setDescription(QString(QLatin1String("cannot load module \"$$URI$$\": File name case mismatch for \"%1\"")).arg(filePath)); qmldir->setError(e); }; | - |
1683 | } never executed: end of block else if (file.open(QFile::ReadOnly)TRUE | evaluated 7891 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-7891 |
1684 | QByteArray data = file.readAll(); | - |
1685 | qmldir->setContent(filePath, QString::fromUtf8(data)); | - |
1686 | }executed 7891 times by 140 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
else { | 7891 |
1687 | { QQmlError e; e.setDescription(QString(QLatin1String("module \"$$URI$$\" definition \"%1\" not readable")).arg(filePath)); qmldir->setError(e); }; | - |
1688 | } never executed: end of block | 0 |
1689 | | - |
1690 | | - |
1691 | | - |
1692 | | - |
1693 | | - |
1694 | m_importQmlDirCache.insert(filePath, qmldir); | - |
1695 | returnexecuted 7891 times by 140 tests: return *qmldir; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
*qmldir;executed 7891 times by 140 tests: return *qmldir; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 7891 |
1696 | } | - |
1697 | | - |
1698 | void QQmlTypeLoader::setQmldirContent(const QString &url, const QString &content) | - |
1699 | { | - |
1700 | QQmlTypeLoaderQmldirContent *qmldir; | - |
1701 | QQmlTypeLoaderQmldirContent **val = m_importQmlDirCache.value(url); | - |
1702 | if (valTRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
| FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 22 |
1703 | qmldir = *val; | - |
1704 | }executed 22 times by 3 tests: end of block Executed by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
else { | 22 |
1705 | qmldir = new QQmlTypeLoaderQmldirContent; | - |
1706 | m_importQmlDirCache.insert(url, qmldir); | - |
1707 | }executed 22 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 22 |
1708 | | - |
1709 | qmldir->setContent(url, content); | - |
1710 | }executed 44 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
1711 | | - |
1712 | | - |
1713 | | - |
1714 | | - |
1715 | | - |
1716 | void QQmlTypeLoader::clearCache() | - |
1717 | { | - |
1718 | for (TypeCache::Iterator iter = m_typeCache.begin(), end = m_typeCache.end(); iter != endTRUE | evaluated 8496 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 7906 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
; ++iter) | 7906-8496 |
1719 | (*executed 8496 times by 126 tests: (*iter)->release(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
iter)->release();executed 8496 times by 126 tests: (*iter)->release(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 8496 |
1720 | for (ScriptCache::Iterator iter = m_scriptCache.begin(), end = m_scriptCache.end(); iter != endTRUE | evaluated 286 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 7906 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
; ++iter) | 286-7906 |
1721 | (*executed 286 times by 13 tests: (*iter)->release(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
iter)->release();executed 286 times by 13 tests: (*iter)->release(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 286 |
1722 | for (QmldirCache::Iterator iter = m_qmldirCache.begin(), end = m_qmldirCache.end(); iter != endTRUE | evaluated 124 times by 8 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 7906 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
; ++iter) | 124-7906 |
1723 | (*executed 124 times by 8 tests: (*iter)->release(); Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
iter)->release();executed 124 times by 8 tests: (*iter)->release(); Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 124 |
1724 | | - |
1725 | qDeleteAll(m_importQmlDirCache); | - |
1726 | | - |
1727 | m_typeCache.clear(); | - |
1728 | m_typeCacheTrimThreshold = 64; | - |
1729 | m_scriptCache.clear(); | - |
1730 | m_qmldirCache.clear(); | - |
1731 | m_importDirCache.clear(); | - |
1732 | m_importQmlDirCache.clear(); | - |
1733 | QQmlMetaType::freeUnusedTypesAndCaches(); | - |
1734 | }executed 7906 times by 148 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7906 |
1735 | | - |
1736 | void QQmlTypeLoader::updateTypeCacheTrimThreshold() | - |
1737 | { | - |
1738 | int size = m_typeCache.size(); | - |
1739 | if (size > m_typeCacheTrimThresholdTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlvaluetypes
| FALSE | evaluated 38 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
|
) | 8-38 |
1740 | m_typeCacheTrimThreshold = size * 2;executed 8 times by 2 tests: m_typeCacheTrimThreshold = size * 2; Executed by:- tst_examples
- tst_qqmlvaluetypes
| 8 |
1741 | if (size < m_typeCacheTrimThreshold / 2TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
| FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
|
) | 14-32 |
1742 | m_typeCacheTrimThreshold = qMax(size * 2, 64);executed 14 times by 2 tests: m_typeCacheTrimThreshold = qMax(size * 2, 64); Executed by:- tst_examples
- tst_qqmltypeloader
| 14 |
1743 | }executed 46 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| 46 |
1744 | | - |
1745 | void QQmlTypeLoader::trimCache() | - |
1746 | { | - |
1747 | while (true) { | - |
1748 | QList<TypeCache::Iterator> unneededTypes; | - |
1749 | for (TypeCache::Iterator iter = m_typeCache.begin(), end = m_typeCache.end(); iter != endTRUE | evaluated 4620 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| FALSE | evaluated 88 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
|
; ++iter) { | 88-4620 |
1750 | QQmlTypeData *typeData = iter.value(); | - |
1751 | | - |
1752 | | - |
1753 | | - |
1754 | | - |
1755 | if (typeData->count() == 1TRUE | evaluated 3440 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
| FALSE | evaluated 1180 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
|
&& (typeData->isError()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 3436 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
|
|| typeData->isComplete()TRUE | evaluated 3436 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
| FALSE | never evaluated |
) | 0-3440 |
1756 | && (!typeData->m_compiledDataTRUE | evaluated 4 times by 1 test | FALSE | evaluated 3436 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
|
|| typeData->m_compiledData->count() == 1TRUE | evaluated 850 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
| FALSE | evaluated 2586 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
|
)) { | 4-3436 |
1757 | | - |
1758 | unneededTypes.append(iter); | - |
1759 | }executed 854 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
| 854 |
1760 | }executed 4620 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| 4620 |
1761 | | - |
1762 | if (unneededTypes.isEmpty()TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| FALSE | evaluated 42 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
|
) | 42-46 |
1763 | break;executed 46 times by 3 tests: break; Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| 46 |
1764 | | - |
1765 | while (!unneededTypes.isEmpty()TRUE | evaluated 854 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
| FALSE | evaluated 42 times by 2 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
|
) { | 42-854 |
1766 | TypeCache::Iterator iter = unneededTypes.takeLast(); | - |
1767 | | - |
1768 | iter.value()->release(); | - |
1769 | m_typeCache.erase(iter); | - |
1770 | }executed 854 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
| 854 |
1771 | }executed 42 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
| 42 |
1772 | | - |
1773 | updateTypeCacheTrimThreshold(); | - |
1774 | | - |
1775 | QQmlMetaType::freeUnusedTypesAndCaches(); | - |
1776 | | - |
1777 | | - |
1778 | }executed 46 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qqmlvaluetypes
| 46 |
1779 | | - |
1780 | bool QQmlTypeLoader::isTypeLoaded(const QUrl &url) const | - |
1781 | { | - |
1782 | LockHolder<QQmlTypeLoader> holder(const_cast<QQmlTypeLoader *>(this)); | - |
1783 | returnexecuted 314 times by 1 test: return m_typeCache.contains(url); m_typeCache.contains(url);executed 314 times by 1 test: return m_typeCache.contains(url); | 314 |
1784 | } | - |
1785 | | - |
1786 | bool QQmlTypeLoader::isScriptLoaded(const QUrl &url) const | - |
1787 | { | - |
1788 | LockHolder<QQmlTypeLoader> holder(const_cast<QQmlTypeLoader *>(this)); | - |
1789 | return never executed: return m_scriptCache.contains(url); m_scriptCache.contains(url);never executed: return m_scriptCache.contains(url); | 0 |
1790 | } | - |
1791 | | - |
1792 | QQmlTypeData::TypeDataCallback::~TypeDataCallback() | - |
1793 | { | - |
1794 | } | - |
1795 | | - |
1796 | QString QQmlTypeData::TypeReference::qualifiedName() const | - |
1797 | { | - |
1798 | QString result; | - |
1799 | if (!prefix.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1800 | result = prefix + QLatin1Char('.'); | - |
1801 | } never executed: end of block | 0 |
1802 | result.append(type.qmlTypeName()); | - |
1803 | return never executed: return result; result;never executed: return result; | 0 |
1804 | } | - |
1805 | | - |
1806 | QQmlTypeData::QQmlTypeData(const QUrl &url, QQmlTypeLoader *manager) | - |
1807 | : QQmlTypeLoader::Blob(url, QmlFile, manager), | - |
1808 | m_typesResolved(false), m_implicitImportLoaded(false) | - |
1809 | { | - |
1810 | | - |
1811 | }executed 55133 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55133 |
1812 | | - |
1813 | QQmlTypeData::~QQmlTypeData() | - |
1814 | { | - |
1815 | m_scripts.clear(); | - |
1816 | m_compositeSingletons.clear(); | - |
1817 | m_resolvedTypes.clear(); | - |
1818 | }executed 55067 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55067 |
1819 | | - |
1820 | const QList<QQmlTypeData::ScriptReference> &QQmlTypeData::resolvedScripts() const | - |
1821 | { | - |
1822 | return never executed: return m_scripts; m_scripts;never executed: return m_scripts; | 0 |
1823 | } | - |
1824 | | - |
1825 | QV4::CompiledData::CompilationUnit *QQmlTypeData::compilationUnit() const | - |
1826 | { | - |
1827 | returnexecuted 59584 times by 141 tests: return m_compiledData.data(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_compiledData.data();executed 59584 times by 141 tests: return m_compiledData.data(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 59584 |
1828 | } | - |
1829 | | - |
1830 | void QQmlTypeData::registerCallback(TypeDataCallback *callback) | - |
1831 | { | - |
1832 | ((!m_callbacks.contains(callback)) ? static_cast<void>(0) : qt_assert("!m_callbacks.contains(callback)", __FILE__, 2078)); | - |
1833 | m_callbacks.append(callback); | - |
1834 | }executed 146 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 146 |
1835 | | - |
1836 | void QQmlTypeData::unregisterCallback(TypeDataCallback *callback) | - |
1837 | { | - |
1838 | ((m_callbacks.contains(callback)) ? static_cast<void>(0) : qt_assert("m_callbacks.contains(callback)", __FILE__, 2084)); | - |
1839 | m_callbacks.removeOne(callback); | - |
1840 | ((!m_callbacks.contains(callback)) ? static_cast<void>(0) : qt_assert("!m_callbacks.contains(callback)", __FILE__, 2086)); | - |
1841 | }executed 12 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickloader
| 12 |
1842 | | - |
1843 | bool QQmlTypeData::tryLoadFromDiskCache() | - |
1844 | { | - |
1845 | if (disableDiskCache()TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | evaluated 55101 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& !forceDiskCache()TRUE | evaluated 10 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
| FALSE | never evaluated |
) | 0-55101 |
1846 | returnexecuted 10 times by 1 test: return false; Executed by:- tst_qquickfolderlistmodel
false;executed 10 times by 1 test: return false; Executed by:- tst_qquickfolderlistmodel
| 10 |
1847 | | - |
1848 | if (isDebugging()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmldebugjs
- tst_qv4debugger
| FALSE | evaluated 55083 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) | 18-55083 |
1849 | returnexecuted 18 times by 2 tests: return false; Executed by:- tst_qqmldebugjs
- tst_qv4debugger
false;executed 18 times by 2 tests: return false; Executed by:- tst_qqmldebugjs
- tst_qv4debugger
| 18 |
1850 | | - |
1851 | QV4::ExecutionEngine *v4 = typeLoader()->engine()->handle(); | - |
1852 | if (!v4TRUE | never evaluated | FALSE | evaluated 55083 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) | 0-55083 |
1853 | return never executed: return false; false;never executed: return false; | 0 |
1854 | | - |
1855 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> unit = QV4::Compiler::Codegen::createUnitForLoading(); | - |
1856 | { | - |
1857 | QString error; | - |
1858 | if (!unit->loadFromDisk(url(), m_backupSourceCode.sourceTimeStamp(), &error)TRUE | evaluated 48255 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| FALSE | evaluated 6828 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 6828-48255 |
1859 | for (bool qt_category_enabled = DBG_DISK_CACHE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 48255 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2105, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Error loading" << urlString() << "from disk cache:" << error;never executed: QMessageLogger(__FILE__, 2105, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Error loading" << urlString() << "from disk cache:" << error; | 0-48255 |
1860 | returnexecuted 48255 times by 138 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
false;executed 48255 times by 138 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 48255 |
1861 | } | - |
1862 | } | - |
1863 | | - |
1864 | if (unit->data->flags & QV4::CompiledData::Unit::PendingTypeCompilationTRUE | evaluated 10 times by 1 test | FALSE | evaluated 6818 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 10-6818 |
1865 | restoreIR(unit); | - |
1866 | returnexecuted 10 times by 1 test: return true; true;executed 10 times by 1 test: return true; | 10 |
1867 | } | - |
1868 | | - |
1869 | m_compiledData = unit; | - |
1870 | | - |
1871 | for (int i = 0, count = m_compiledData->objectCount(); i < countTRUE | evaluated 57406 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 6818 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
; ++i) | 6818-57406 |
1872 | m_typeReferences.collectFromObject(m_compiledData->objectAt(i));executed 57406 times by 123 tests: m_typeReferences.collectFromObject(m_compiledData->objectAt(i)); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 57406 |
1873 | | - |
1874 | m_importCache.setBaseUrl(finalUrl(), finalUrlString()); | - |
1875 | | - |
1876 | | - |
1877 | | - |
1878 | | - |
1879 | if (!finalUrl().scheme().isEmpty()TRUE | evaluated 6818 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | never evaluated |
) { | 0-6818 |
1880 | QUrl qmldirUrl = finalUrl().resolved(QUrl(QLatin1String("qmldir"))); | - |
1881 | if (!QQmlImports::isLocal(qmldirUrl)TRUE | never evaluated | FALSE | evaluated 6818 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-6818 |
1882 | if (!loadImplicitImport()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1883 | return never executed: return false; false;never executed: return false; | 0 |
1884 | | - |
1885 | | - |
1886 | for (quint32 i = 0; i < m_compiledData->data->nImportsTRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
1887 | const QV4::CompiledData::Import *import = m_compiledData->data->importAt(i); | - |
1888 | if (m_compiledData->stringAt(import->uriIndex) == QLatin1String(".")TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1889 | && import->qualifierIndex == 0TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1890 | && import->majorVersion == -1TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1891 | && import->minorVersion == -1TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1892 | QList<QQmlError> errors; | - |
1893 | if (!fetchQmldir(qmldirUrl, import, 1, &errors)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1894 | setError(errors); | - |
1895 | return never executed: return false; false;never executed: return false; | 0 |
1896 | } | - |
1897 | break; never executed: break; | 0 |
1898 | } | - |
1899 | } never executed: end of block | 0 |
1900 | } never executed: end of block | 0 |
1901 | }executed 6818 times by 123 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6818 |
1902 | | - |
1903 | for (int i = 0, count = m_compiledData->data->nImports; i < countTRUE | evaluated 9395 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 6816 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
; ++i) { | 6816-9395 |
1904 | const QV4::CompiledData::Import *import = m_compiledData->data->importAt(i); | - |
1905 | QList<QQmlError> errors; | - |
1906 | if (!addImport(import, &errors)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9393 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 2-9393 |
1907 | ((errors.size()) ? static_cast<void>(0) : qt_assert("errors.size()", __FILE__, 2153)); | - |
1908 | QQmlError error(errors.takeFirst()); | - |
1909 | error.setUrl(m_importCache.baseUrl()); | - |
1910 | error.setLine(import->location.line); | - |
1911 | error.setColumn(import->location.column); | - |
1912 | errors.prepend(error); | - |
1913 | setError(errors); | - |
1914 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1915 | } | - |
1916 | }executed 9393 times by 123 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 9393 |
1917 | | - |
1918 | returnexecuted 6816 times by 123 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
true;executed 6816 times by 123 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6816 |
1919 | } | - |
1920 | | - |
1921 | void QQmlTypeData::createTypeAndPropertyCaches(const QQmlRefPointer<QQmlTypeNameCache> &typeNameCache, | - |
1922 | const QV4::CompiledData::ResolvedTypeReferenceMap &resolvedTypeCache) | - |
1923 | { | - |
1924 | ((m_compiledData) ? static_cast<void>(0) : qt_assert("m_compiledData", __FILE__, 2170)); | - |
1925 | m_compiledData->typeNameCache = typeNameCache; | - |
1926 | m_compiledData->resolvedTypes = resolvedTypeCache; | - |
1927 | | - |
1928 | QQmlEnginePrivate * const engine = QQmlEnginePrivate::get(typeLoader()->engine()); | - |
1929 | | - |
1930 | QQmlPendingGroupPropertyBindings pendingGroupPropertyBindings; | - |
1931 | | - |
1932 | { | - |
1933 | QQmlPropertyCacheCreator<QV4::CompiledData::CompilationUnit> propertyCacheCreator(&m_compiledData->propertyCaches, | - |
1934 | &pendingGroupPropertyBindings, | - |
1935 | engine, m_compiledData.data(), &m_importCache); | - |
1936 | QQmlCompileError error = propertyCacheCreator.buildMetaObjects(); | - |
1937 | if (error.isSet()TRUE | never evaluated | FALSE | evaluated 6526 times by 122 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 0-6526 |
1938 | setError(error); | - |
1939 | return; never executed: return; | 0 |
1940 | } | - |
1941 | } | - |
1942 | | - |
1943 | QQmlPropertyCacheAliasCreator<QV4::CompiledData::CompilationUnit> aliasCreator(&m_compiledData->propertyCaches, m_compiledData.data()); | - |
1944 | aliasCreator.appendAliasPropertiesToMetaObjects(); | - |
1945 | | - |
1946 | pendingGroupPropertyBindings.resolveMissingPropertyCaches(engine, &m_compiledData->propertyCaches); | - |
1947 | }executed 6526 times by 122 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6526 |
1948 | | - |
1949 | static bool addTypeReferenceChecksumsToHash(const QList<QQmlTypeData::TypeReference> &typeRefs, QCryptographicHash *hash, QQmlEngine *engine) | - |
1950 | { | - |
1951 | for (const auto &typeRef: typeRefs) { | - |
1952 | if (typeRef.typeDataTRUE | evaluated 29 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | never evaluated |
) { | 0-29 |
1953 | const auto unit = typeRef.typeData->compilationUnit(); | - |
1954 | hash->addData(unit->data->md5Checksum, sizeof(unit->data->md5Checksum)); | - |
1955 | }executed 29 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
else if (typeRef.type.isValid()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-29 |
1956 | const auto propertyCache = QQmlEnginePrivate::get(engine)->cache(typeRef.type.metaObject()); | - |
1957 | bool ok = false; | - |
1958 | hash->addData(propertyCache->checksum(&ok)); | - |
1959 | if (!okTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1960 | return never executed: return false; false;never executed: return false; | 0 |
1961 | } never executed: end of block | 0 |
1962 | }executed 29 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 29 |
1963 | returnexecuted 55267 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
true;executed 55267 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55267 |
1964 | } | - |
1965 | | - |
1966 | void QQmlTypeData::done() | - |
1967 | { | - |
1968 | QDeferredCleanup cleanup([this]{ | - |
1969 | m_document.reset(); | - |
1970 | m_typeReferences.clear(); | - |
1971 | if (isError()TRUE | evaluated 214 times by 21 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| FALSE | evaluated 54919 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 214-54919 |
1972 | m_compiledData = nullptr;executed 214 times by 21 tests: m_compiledData = nullptr; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| 214 |
1973 | }executed 55133 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
); | 55133 |
1974 | | - |
1975 | if (isError()TRUE | evaluated 112 times by 13 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | evaluated 55021 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 112-55021 |
1976 | return;executed 112 times by 13 tests: return; Executed by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 112 |
1977 | | - |
1978 | | - |
1979 | for (int ii = 0; ii < m_scripts.count()TRUE | evaluated 290 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 54995 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++ii) { | 290-54995 |
1980 | const ScriptReference &script = m_scripts.at(ii); | - |
1981 | ((script.script->isCompleteOrError()) ? static_cast<void>(0) : qt_assert("script.script->isCompleteOrError()", __FILE__, 2227)); | - |
1982 | if (script.script->isError()TRUE | evaluated 26 times by 1 test | FALSE | evaluated 264 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 26-264 |
1983 | QList<QQmlError> errors = script.script->errors(); | - |
1984 | QQmlError error; | - |
1985 | error.setUrl(url()); | - |
1986 | error.setLine(script.location.line); | - |
1987 | error.setColumn(script.location.column); | - |
1988 | error.setDescription(QQmlTypeLoader::tr("Script %1 unavailable").arg(script.script->urlString())); | - |
1989 | errors.prepend(error); | - |
1990 | setError(errors); | - |
1991 | return;executed 26 times by 1 test: return; | 26 |
1992 | } | - |
1993 | }executed 264 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 264 |
1994 | | - |
1995 | | - |
1996 | for (auto it = m_resolvedTypes.constBegin(), end = m_resolvedTypes.constEnd(); it != endTRUE | evaluated 77501 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 54989 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; | 54989-77501 |
1997 | ++it) { | - |
1998 | const TypeReference &type = *it; | - |
1999 | ((!type.typeData || type.typeData->isCompleteOrError()) ? static_cast<void>(0) : qt_assert("!type.typeData || type.typeData->isCompleteOrError()", __FILE__, 2245)); | - |
2000 | if (type.typeData && type.typeData->isError()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmltypeloader
- tst_qquicktextedit
| FALSE | evaluated 898 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
|
) { | 6-898 |
2001 | const QString typeName = stringAt(it.key()); | - |
2002 | | - |
2003 | QList<QQmlError> errors = type.typeData->errors(); | - |
2004 | QQmlError error; | - |
2005 | error.setUrl(url()); | - |
2006 | error.setLine(type.location.line); | - |
2007 | error.setColumn(type.location.column); | - |
2008 | error.setDescription(QQmlTypeLoader::tr("Type %1 unavailable").arg(typeName)); | - |
2009 | errors.prepend(error); | - |
2010 | setError(errors); | - |
2011 | return;executed 6 times by 2 tests: return; Executed by:- tst_qqmltypeloader
- tst_qquicktextedit
| 6 |
2012 | } | - |
2013 | }executed 77495 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77495 |
2014 | | - |
2015 | | - |
2016 | for (int ii = 0; ii < m_compositeSingletons.count()TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | evaluated 54989 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++ii) { | 24-54989 |
2017 | const TypeReference &type = m_compositeSingletons.at(ii); | - |
2018 | ((!type.typeData || type.typeData->isCompleteOrError()) ? static_cast<void>(0) : qt_assert("!type.typeData || type.typeData->isCompleteOrError()", __FILE__, 2264)); | - |
2019 | if (type.typeData && type.typeData->isError()TRUE | never evaluated | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) { | 0-24 |
2020 | QString typeName = type.type.qmlTypeName(); | - |
2021 | | - |
2022 | QList<QQmlError> errors = type.typeData->errors(); | - |
2023 | QQmlError error; | - |
2024 | error.setUrl(url()); | - |
2025 | error.setLine(type.location.line); | - |
2026 | error.setColumn(type.location.column); | - |
2027 | error.setDescription(QQmlTypeLoader::tr("Type %1 unavailable").arg(typeName)); | - |
2028 | errors.prepend(error); | - |
2029 | setError(errors); | - |
2030 | return; never executed: return; | 0 |
2031 | } | - |
2032 | }executed 24 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 24 |
2033 | | - |
2034 | QQmlRefPointer<QQmlTypeNameCache> typeNameCache; | - |
2035 | QV4::CompiledData::ResolvedTypeReferenceMap resolvedTypeCache; | - |
2036 | { | - |
2037 | QQmlCompileError error = buildTypeResolutionCaches(&typeNameCache, &resolvedTypeCache); | - |
2038 | if (error.isSet()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 54987 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 2-54987 |
2039 | setError(error); | - |
2040 | return;executed 2 times by 1 test: return; | 2 |
2041 | } | - |
2042 | } | - |
2043 | | - |
2044 | QQmlEngine *const engine = typeLoader()->engine(); | - |
2045 | | - |
2046 | const auto dependencyHasher = [engine, resolvedTypeCache, this](QCryptographicHash *hash) { | - |
2047 | if (!resolvedTypeCache.addToHash(hash, engine)TRUE | never evaluated | FALSE | evaluated 55267 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-55267 |
2048 | return never executed: return false; false;never executed: return false; | 0 |
2049 | returnexecuted 55267 times by 141 tests: return ::addTypeReferenceChecksumsToHash(m_compositeSingletons, hash, engine); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
::addTypeReferenceChecksumsToHash(m_compositeSingletons, hash, engine);executed 55267 times by 141 tests: return ::addTypeReferenceChecksumsToHash(m_compositeSingletons, hash, engine); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55267 |
2050 | }; | - |
2051 | | - |
2052 | | - |
2053 | if (m_document.isNull()TRUE | evaluated 6814 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 48173 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& !m_compiledData->verifyChecksum(dependencyHasher)TRUE | evaluated 288 times by 33 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 6526 times by 122 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 288-48173 |
2054 | for (bool qt_category_enabled = DBG_DISK_CACHE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 288 times by 33 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2300, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Checksum mismatch for cached version of" << m_compiledData->fileName();never executed: QMessageLogger(__FILE__, 2300, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Checksum mismatch for cached version of" << m_compiledData->fileName(); | 0-288 |
2055 | if (!loadFromSource()TRUE | never evaluated | FALSE | evaluated 288 times by 33 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) | 0-288 |
2056 | return; never executed: return; | 0 |
2057 | m_backupSourceCode = SourceCodeData(); | - |
2058 | m_compiledData = nullptr; | - |
2059 | }executed 288 times by 33 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 288 |
2060 | | - |
2061 | if (!m_document.isNull()TRUE | evaluated 48461 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 6526 times by 122 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 6526-48461 |
2062 | | - |
2063 | compile(typeNameCache, resolvedTypeCache, dependencyHasher); | - |
2064 | }executed 48461 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
else { | 48461 |
2065 | createTypeAndPropertyCaches(typeNameCache, resolvedTypeCache); | - |
2066 | }executed 6526 times by 122 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 6526 |
2067 | | - |
2068 | if (isError()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlpropertymap
| FALSE | evaluated 54979 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 8-54979 |
2069 | return;executed 8 times by 2 tests: return; Executed by:- tst_qqmlecmascript
- tst_qqmlpropertymap
| 8 |
2070 | | - |
2071 | { | - |
2072 | QQmlEnginePrivate *const enginePrivate = QQmlEnginePrivate::get(engine); | - |
2073 | { | - |
2074 | | - |
2075 | QQmlPropertyValidator validator(enginePrivate, m_importCache, m_compiledData); | - |
2076 | QVector<QQmlCompileError> errors = validator.validate(); | - |
2077 | if (!errors.isEmpty()TRUE | evaluated 60 times by 10 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| FALSE | evaluated 54919 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 60-54919 |
2078 | setError(errors); | - |
2079 | return;executed 60 times by 10 tests: return; Executed by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| 60 |
2080 | } | - |
2081 | } | - |
2082 | | - |
2083 | m_compiledData->finalizeCompositeType(enginePrivate); | - |
2084 | } | - |
2085 | | - |
2086 | { | - |
2087 | QQmlType type = QQmlMetaType::qmlType(finalUrl(), true); | - |
2088 | if (m_compiledData && m_compiledData->data->flags & QV4::CompiledData::Unit::IsSingletonTRUE | evaluated 16 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | evaluated 54903 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 16-54903 |
2089 | if (!type.isValid()TRUE | never evaluated | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) { | 0-16 |
2090 | QQmlError error; | - |
2091 | error.setDescription(QQmlTypeLoader::tr("No matching type found, pragma Singleton files cannot be used by QQmlComponent.")); | - |
2092 | setError(error); | - |
2093 | return; never executed: return; | 0 |
2094 | } else if (!type.isCompositeSingleton()TRUE | never evaluated | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) { | 0-16 |
2095 | QQmlError error; | - |
2096 | error.setDescription(QQmlTypeLoader::tr("pragma Singleton used with a non composite singleton type %1").arg(type.qmlTypeName())); | - |
2097 | setError(error); | - |
2098 | return; never executed: return; | 0 |
2099 | } | - |
2100 | }executed 16 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
else { | 16 |
2101 | | - |
2102 | | - |
2103 | if (type.isValid()TRUE | evaluated 726 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| FALSE | evaluated 54177 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& type.isCompositeSingleton()TRUE | never evaluated | FALSE | evaluated 726 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
|
) { | 0-54177 |
2104 | QString typeName = type.qmlTypeName(); | - |
2105 | setError(QQmlTypeLoader::tr("qmldir defines type as singleton, but no pragma Singleton found in type %1.").arg(typeName)); | - |
2106 | return; never executed: return; | 0 |
2107 | } | - |
2108 | }executed 54903 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 54903 |
2109 | } | - |
2110 | | - |
2111 | { | - |
2112 | | - |
2113 | m_compiledData->dependentScripts.reserve(m_scripts.count()); | - |
2114 | for (int scriptIndex = 0; scriptIndex < m_scripts.count()TRUE | evaluated 264 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 54919 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++scriptIndex) { | 264-54919 |
2115 | const QQmlTypeData::ScriptReference &script = m_scripts.at(scriptIndex); | - |
2116 | | - |
2117 | QStringRef qualifier(&script.qualifier); | - |
2118 | QString enclosingNamespace; | - |
2119 | | - |
2120 | const int lastDotIndex = qualifier.lastIndexOf(QLatin1Char('.')); | - |
2121 | if (lastDotIndex != -1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 260 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 4-260 |
2122 | enclosingNamespace = qualifier.left(lastDotIndex).toString(); | - |
2123 | qualifier = qualifier.mid(lastDotIndex+1); | - |
2124 | }executed 4 times by 1 test: end of block | 4 |
2125 | | - |
2126 | m_compiledData->typeNameCache->add(qualifier.toString(), scriptIndex, enclosingNamespace); | - |
2127 | QQmlRefPointer<QQmlScriptData> scriptData = script.script->scriptData(); | - |
2128 | m_compiledData->dependentScripts << scriptData; | - |
2129 | }executed 264 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 264 |
2130 | } | - |
2131 | }executed 54919 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 54919 |
2132 | | - |
2133 | void QQmlTypeData::completed() | - |
2134 | { | - |
2135 | | - |
2136 | while (!m_callbacks.isEmpty()TRUE | evaluated 134 times by 12 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 55131 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 134-55131 |
2137 | TypeDataCallback *callback = m_callbacks.takeFirst(); | - |
2138 | callback->typeDataReady(this); | - |
2139 | }executed 134 times by 12 tests: end of block Executed by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 134 |
2140 | }executed 55131 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55131 |
2141 | | - |
2142 | bool QQmlTypeData::loadImplicitImport() | - |
2143 | { | - |
2144 | m_implicitImportLoaded = true; | - |
2145 | | - |
2146 | m_importCache.setBaseUrl(finalUrl(), finalUrlString()); | - |
2147 | | - |
2148 | QQmlImportDatabase *importDatabase = typeLoader()->importDatabase(); | - |
2149 | | - |
2150 | | - |
2151 | | - |
2152 | QList<QQmlError> implicitImportErrors; | - |
2153 | m_importCache.addImplicitImport(importDatabase, &implicitImportErrors); | - |
2154 | | - |
2155 | if (!implicitImportErrors.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 55049 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 4-55049 |
2156 | setError(implicitImportErrors); | - |
2157 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
2158 | } | - |
2159 | | - |
2160 | returnexecuted 55049 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
true;executed 55049 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55049 |
2161 | } | - |
2162 | | - |
2163 | void QQmlTypeData::dataReceived(const SourceCodeData &data) | - |
2164 | { | - |
2165 | m_backupSourceCode = data; | - |
2166 | | - |
2167 | if (tryLoadFromDiskCache()TRUE | evaluated 6826 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 48285 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 6826-48285 |
2168 | return;executed 6826 times by 124 tests: return; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 6826 |
2169 | | - |
2170 | if (isError()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 48283 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 2-48283 |
2171 | return;executed 2 times by 1 test: return; | 2 |
2172 | | - |
2173 | if (!m_backupSourceCode.exists()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickloader
| FALSE | evaluated 48275 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| m_backupSourceCode.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 48273 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 2-48275 |
2174 | if (m_cachedUnitStatus == QQmlMetaType::CachedUnitLookupError::VersionMismatchTRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickloader
|
) | 2-8 |
2175 | setError(QQmlTypeLoader::tr("File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile"));executed 2 times by 1 test: setError(QQmlTypeLoader::tr("File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile")); | 2 |
2176 | else if (!m_backupSourceCode.exists()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickloader
| FALSE | never evaluated |
) | 0-8 |
2177 | setError(QQmlTypeLoader::tr("No such file or directory"));executed 8 times by 2 tests: setError(QQmlTypeLoader::tr("No such file or directory")); Executed by:- tst_qqmlecmascript
- tst_qquickloader
| 8 |
2178 | else | - |
2179 | setError(QQmlTypeLoader::tr("File is empty")); never executed: setError(QQmlTypeLoader::tr("File is empty")); | 0 |
2180 | return;executed 10 times by 3 tests: return; Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qquickloader
| 10 |
2181 | } | - |
2182 | | - |
2183 | if (!loadFromSource()TRUE | evaluated 32 times by 5 testsEvaluated by:- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
| FALSE | evaluated 48241 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) | 32-48241 |
2184 | return;executed 32 times by 5 tests: return; Executed by:- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
| 32 |
2185 | | - |
2186 | continueLoadFromIR(); | - |
2187 | }executed 48241 times by 140 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 48241 |
2188 | | - |
2189 | void QQmlTypeData::initializeFromCachedUnit(const QV4::CompiledData::Unit *unit) | - |
2190 | { | - |
2191 | m_document.reset(new QmlIR::Document(isDebugging())); | - |
2192 | QmlIR::IRLoader loader(unit, m_document.data()); | - |
2193 | loader.load(); | - |
2194 | m_document->jsModule.fileName = urlString(); | - |
2195 | m_document->jsModule.finalUrl = finalUrlString(); | - |
2196 | m_document->javaScriptCompilationUnit.adopt(new QV4::CompiledData::CompilationUnit(unit)); | - |
2197 | continueLoadFromIR(); | - |
2198 | }executed 14 times by 1 test: end of block | 14 |
2199 | | - |
2200 | bool QQmlTypeData::loadFromSource() | - |
2201 | { | - |
2202 | m_document.reset(new QmlIR::Document(isDebugging())); | - |
2203 | m_document->jsModule.sourceTimeStamp = m_backupSourceCode.sourceTimeStamp(); | - |
2204 | QQmlEngine *qmlEngine = typeLoader()->engine(); | - |
2205 | QmlIR::IRBuilder compiler(qmlEngine->handle()->v8Engine->illegalNames()); | - |
2206 | | - |
2207 | QString sourceError; | - |
2208 | const QString source = m_backupSourceCode.readAll(&sourceError); | - |
2209 | if (!sourceError.isEmpty()TRUE | never evaluated | FALSE | evaluated 48561 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 0-48561 |
2210 | setError(sourceError); | - |
2211 | return never executed: return false; false;never executed: return false; | 0 |
2212 | } | - |
2213 | | - |
2214 | if (!compiler.generateFromQml(source, finalUrlString(), m_document.data())TRUE | evaluated 32 times by 5 testsEvaluated by:- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
| FALSE | evaluated 48529 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 32-48529 |
2215 | QList<QQmlError> errors; | - |
2216 | errors.reserve(compiler.errors.count()); | - |
2217 | for (const QQmlJS::DiagnosticMessage &msg : qAsConst(compiler.errors)) { | - |
2218 | QQmlError e; | - |
2219 | e.setUrl(url()); | - |
2220 | e.setLine(msg.loc.startLine); | - |
2221 | e.setColumn(msg.loc.startColumn); | - |
2222 | e.setDescription(msg.message); | - |
2223 | errors << e; | - |
2224 | }executed 44 times by 4 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
| 44 |
2225 | setError(errors); | - |
2226 | returnexecuted 32 times by 5 tests: return false; Executed by:- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
false;executed 32 times by 5 tests: return false; Executed by:- tst_parserstress
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickloader
- tst_qtqmlmodules
| 32 |
2227 | } | - |
2228 | returnexecuted 48529 times by 140 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
true;executed 48529 times by 140 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 48529 |
2229 | } | - |
2230 | | - |
2231 | void QQmlTypeData::restoreIR(QQmlRefPointer<QV4::CompiledData::CompilationUnit> unit) | - |
2232 | { | - |
2233 | m_document.reset(new QmlIR::Document(isDebugging())); | - |
2234 | QmlIR::IRLoader loader(unit->data, m_document.data()); | - |
2235 | loader.load(); | - |
2236 | m_document->jsModule.fileName = urlString(); | - |
2237 | m_document->jsModule.finalUrl = finalUrlString(); | - |
2238 | m_document->javaScriptCompilationUnit = unit; | - |
2239 | continueLoadFromIR(); | - |
2240 | }executed 10 times by 1 test: end of block | 10 |
2241 | | - |
2242 | void QQmlTypeData::continueLoadFromIR() | - |
2243 | { | - |
2244 | m_typeReferences.collectFromObjects(m_document->objects.constBegin(), m_document->objects.constEnd()); | - |
2245 | m_importCache.setBaseUrl(finalUrl(), finalUrlString()); | - |
2246 | | - |
2247 | | - |
2248 | | - |
2249 | | - |
2250 | if (!finalUrl().scheme().isEmpty()TRUE | evaluated 2803 times by 128 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 45462 times by 47 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- ...
|
) { | 2803-45462 |
2251 | QUrl qmldirUrl = finalUrl().resolved(QUrl(QLatin1String("qmldir"))); | - |
2252 | if (!QQmlImports::isLocal(qmldirUrl)TRUE | evaluated 58 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2745 times by 128 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 58-2745 |
2253 | if (!loadImplicitImport()TRUE | never evaluated | FALSE | evaluated 58 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-58 |
2254 | return; never executed: return; | 0 |
2255 | | - |
2256 | QQmlJS::MemoryPool *pool = m_document->jsParserEngine.pool(); | - |
2257 | auto implicitImport = pool->New<QV4::CompiledData::Import>(); | - |
2258 | implicitImport->uriIndex = m_document->registerString(QLatin1String(".")); | - |
2259 | implicitImport->qualifierIndex = 0; | - |
2260 | implicitImport->majorVersion = -1; | - |
2261 | implicitImport->minorVersion = -1; | - |
2262 | QList<QQmlError> errors; | - |
2263 | | - |
2264 | if (!fetchQmldir(qmldirUrl, implicitImport, 1, &errors)TRUE | never evaluated | FALSE | evaluated 58 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-58 |
2265 | setError(errors); | - |
2266 | return; never executed: return; | 0 |
2267 | } | - |
2268 | }executed 58 times by 7 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 58 |
2269 | }executed 2803 times by 128 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 2803 |
2270 | | - |
2271 | QList<QQmlError> errors; | - |
2272 | | - |
2273 | for (const QV4::CompiledData::Import *import : qAsConst(m_document->imports)) { | - |
2274 | if (!addImport(import, &errors)TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | evaluated 49118 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 24-49118 |
2275 | ((errors.size()) ? static_cast<void>(0) : qt_assert("errors.size()", __FILE__, 2521)); | - |
2276 | QQmlError error(errors.takeFirst()); | - |
2277 | error.setUrl(m_importCache.baseUrl()); | - |
2278 | error.setLine(import->location.line); | - |
2279 | error.setColumn(import->location.column); | - |
2280 | errors.prepend(error); | - |
2281 | setError(errors); | - |
2282 | return;executed 24 times by 3 tests: return; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| 24 |
2283 | } | - |
2284 | }executed 49118 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 49118 |
2285 | }executed 48241 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 48241 |
2286 | | - |
2287 | void QQmlTypeData::allDependenciesDone() | - |
2288 | { | - |
2289 | QQmlTypeLoader::Blob::allDependenciesDone(); | - |
2290 | | - |
2291 | if (!m_typesResolvedTRUE | evaluated 55057 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickloader
- tst_qquicktextedit
|
) { | 16-55057 |
2292 | | - |
2293 | QList<QQmlError> errors; | - |
2294 | QHash<const QV4::CompiledData::Import *, int>::const_iterator it = m_unresolvedImports.constBegin(), end = m_unresolvedImports.constEnd(); | - |
2295 | for ( ; it != endTRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
| FALSE | evaluated 55057 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++it) { | 10-55057 |
2296 | if (*TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| FALSE | evaluated 6 times by 1 test |
it == 0TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| FALSE | evaluated 6 times by 1 test |
) { | 4-6 |
2297 | | - |
2298 | for (auto keyIt = m_unresolvedImports.keyBegin(), | - |
2299 | keyEnd = m_unresolvedImports.keyEnd(); | - |
2300 | keyIt != keyEndTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
|
; ++keyIt) { | 4 |
2301 | const QV4::CompiledData::Import *import = *keyIt; | - |
2302 | QQmlError error; | - |
2303 | error.setDescription(QQmlTypeLoader::tr("module \"%1\" is not installed").arg(stringAt(import->uriIndex))); | - |
2304 | error.setUrl(m_importCache.baseUrl()); | - |
2305 | error.setLine(import->location.line); | - |
2306 | error.setColumn(import->location.column); | - |
2307 | errors.prepend(error); | - |
2308 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| 4 |
2309 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| 4 |
2310 | }executed 10 times by 3 tests: end of block Executed by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
| 10 |
2311 | if (errors.size()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| FALSE | evaluated 55053 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 4-55053 |
2312 | setError(errors); | - |
2313 | return;executed 4 times by 2 tests: return; Executed by:- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
| 4 |
2314 | } | - |
2315 | | - |
2316 | resolveTypes(); | - |
2317 | m_typesResolved = true; | - |
2318 | }executed 55053 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55053 |
2319 | }executed 55069 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55069 |
2320 | | - |
2321 | void QQmlTypeData::downloadProgressChanged(qreal p) | - |
2322 | { | - |
2323 | for (int ii = 0; ii < m_callbacks.count()TRUE | evaluated 117 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 118 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
; ++ii) { | 117-118 |
2324 | TypeDataCallback *callback = m_callbacks.at(ii); | - |
2325 | callback->typeDataProgress(this, p); | - |
2326 | }executed 117 times by 11 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 117 |
2327 | }executed 118 times by 11 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 118 |
2328 | | - |
2329 | QString QQmlTypeData::stringAt(int index) const | - |
2330 | { | - |
2331 | if (m_compiledDataTRUE | evaluated 42606 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 152183 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 42606-152183 |
2332 | returnexecuted 42606 times by 123 tests: return m_compiledData->stringAt(index); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
m_compiledData->stringAt(index);executed 42606 times by 123 tests: return m_compiledData->stringAt(index); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 42606 |
2333 | returnexecuted 152183 times by 141 tests: return m_document->jsGenerator.stringTable.stringForIndex(index); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
m_document->jsGenerator.stringTable.stringForIndex(index);executed 152183 times by 141 tests: return m_document->jsGenerator.stringTable.stringForIndex(index); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 152183 |
2334 | } | - |
2335 | | - |
2336 | void QQmlTypeData::compile(const QQmlRefPointer<QQmlTypeNameCache> &typeNameCache, const QV4::CompiledData::ResolvedTypeReferenceMap &resolvedTypeCache, | - |
2337 | const QV4::CompiledData::DependentTypesHasher &dependencyHasher) | - |
2338 | { | - |
2339 | ((m_compiledData.isNull()) ? static_cast<void>(0) : qt_assert("m_compiledData.isNull()", __FILE__, 2585)); | - |
2340 | | - |
2341 | const bool typeRecompilation = m_document && m_document->javaScriptCompilationUnit && m_document->javaScriptCompilationUnit->data->flags & QV4::CompiledData::Unit::PendingTypeCompilationTRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
; | 0-24 |
2342 | | - |
2343 | QQmlEnginePrivate * const enginePrivate = QQmlEnginePrivate::get(typeLoader()->engine()); | - |
2344 | QQmlTypeCompiler compiler(enginePrivate, this, m_document.data(), typeNameCache, resolvedTypeCache, dependencyHasher); | - |
2345 | m_compiledData = compiler.compile(); | - |
2346 | if (!m_compiledDataTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlpropertymap
| FALSE | evaluated 48453 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 8-48453 |
2347 | setError(compiler.compilationErrors()); | - |
2348 | return;executed 8 times by 2 tests: return; Executed by:- tst_qqmlecmascript
- tst_qqmlpropertymap
| 8 |
2349 | } | - |
2350 | | - |
2351 | const bool trySaveToDisk = (!disableDiskCache()TRUE | evaluated 48443 times by 140 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
|
|| forceDiskCache()TRUE | never evaluated | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qquickfolderlistmodel
|
) && !m_document->jsModule.debugModeTRUE | evaluated 48425 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmldebugjs
- tst_qv4debugger
|
&& !typeRecompilationTRUE | evaluated 48401 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 24 times by 1 test |
; | 0-48443 |
2352 | if (trySaveToDiskTRUE | evaluated 48401 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 52 times by 4 testsEvaluated by:- tst_qmlcachegen
- tst_qqmldebugjs
- tst_qquickfolderlistmodel
- tst_qv4debugger
|
) { | 52-48401 |
2353 | QString errorString; | - |
2354 | if (m_compiledData->saveToDisk(url(), &errorString)TRUE | evaluated 2628 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 45773 times by 57 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
|
) { | 2628-45773 |
2355 | QString error; | - |
2356 | if (!m_compiledData->loadFromDisk(url(), m_backupSourceCode.sourceTimeStamp(), &error)TRUE | evaluated 288 times by 33 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 2340 times by 123 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
) { | 288-2340 |
2357 | | - |
2358 | }executed 288 times by 33 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 288 |
2359 | }executed 2628 times by 123 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
else { | 2628 |
2360 | for (bool qt_category_enabled = DBG_DISK_CACHE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 45773 times by 57 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2606, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Error saving cached version of" << m_compiledData->fileName() << "to disk:" << errorString;never executed: QMessageLogger(__FILE__, 2606, __PRETTY_FUNCTION__, DBG_DISK_CACHE().categoryName()).debug() << "Error saving cached version of" << m_compiledData->fileName() << "to disk:" << errorString; | 0-45773 |
2361 | }executed 45773 times by 57 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45773 |
2362 | } | - |
2363 | }executed 48453 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 48453 |
2364 | | - |
2365 | void QQmlTypeData::resolveTypes() | - |
2366 | { | - |
2367 | | - |
2368 | const auto resolvedScripts = m_importCache.resolvedScripts(); | - |
2369 | for (const QQmlImports::ScriptReference &script : resolvedScripts) { | - |
2370 | QQmlRefPointer<QQmlScriptBlob> blob = typeLoader()->getScript(script.location); | - |
2371 | addDependency(blob.data()); | - |
2372 | | - |
2373 | ScriptReference ref; | - |
2374 | | - |
2375 | if (!script.qualifier.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 4 |
2376 | { | - |
2377 | ref.qualifier = script.qualifier + QLatin1Char('.') + script.nameSpace; | - |
2378 | | - |
2379 | m_namespaces.insert(script.qualifier); | - |
2380 | }executed 4 times by 1 test: end of block else { | 4 |
2381 | ref.qualifier = script.nameSpace; | - |
2382 | }executed 4 times by 1 test: end of block | 4 |
2383 | | - |
2384 | ref.script = blob; | - |
2385 | m_scripts << ref; | - |
2386 | }executed 8 times by 1 test: end of block | 8 |
2387 | | - |
2388 | | - |
2389 | const auto resolvedCompositeSingletons = m_importCache.resolvedCompositeSingletons(); | - |
2390 | for (const QQmlImports::CompositeSingletonReference &csRef : resolvedCompositeSingletons) { | - |
2391 | TypeReference ref; | - |
2392 | QString typeName; | - |
2393 | if (!csRef.prefix.isEmpty()TRUE | never evaluated | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) { | 0-24 |
2394 | typeName = csRef.prefix + QLatin1Char('.') + csRef.typeName; | - |
2395 | | - |
2396 | m_namespaces.insert(csRef.prefix); | - |
2397 | } never executed: end of block else { | 0 |
2398 | typeName = csRef.typeName; | - |
2399 | }executed 24 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 24 |
2400 | | - |
2401 | int majorVersion = csRef.majorVersion > -1TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | never evaluated |
? csRef.majorVersion : -1; | 0-24 |
2402 | int minorVersion = csRef.minorVersion > -1TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | never evaluated |
? csRef.minorVersion : -1; | 0-24 |
2403 | | - |
2404 | if (!resolveType(typeName, majorVersion, minorVersion, ref, -1, -1, true,TRUE | never evaluated | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
| 0-24 |
2405 | QQmlType::CompositeSingletonType)TRUE | never evaluated | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) | 0-24 |
2406 | return; never executed: return; | 0 |
2407 | | - |
2408 | if (ref.type.isCompositeSingleton()TRUE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| FALSE | never evaluated |
) { | 0-24 |
2409 | ref.typeData = typeLoader()->getType(ref.type.sourceUrl()); | - |
2410 | if (ref.typeData->status() == QQmlDataBlob::ResolvingDependenciesTRUE | never evaluated | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
|
) { | 0-24 |
2411 | | - |
2412 | continue; never executed: continue; | 0 |
2413 | } | - |
2414 | addDependency(ref.typeData.data()); | - |
2415 | ref.prefix = csRef.prefix; | - |
2416 | | - |
2417 | m_compositeSingletons << ref; | - |
2418 | }executed 24 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 24 |
2419 | }executed 24 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 24 |
2420 | | - |
2421 | std::stable_sort(m_compositeSingletons.begin(), m_compositeSingletons.end(), [](const TypeReference &lhs, const TypeReference &rhs){ | - |
2422 | return never executed: return lhs.qualifiedName() < rhs.qualifiedName(); lhs.qualifiedName() < rhs.qualifiedName();never executed: return lhs.qualifiedName() < rhs.qualifiedName(); | 0 |
2423 | }); | - |
2424 | | - |
2425 | for (QV4::CompiledData::TypeReferenceMap::ConstIterator unresolvedRef = m_typeReferences.constBegin(), end = m_typeReferences.constEnd(); | - |
2426 | unresolvedRef != endTRUE | evaluated 77579 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 55021 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++unresolvedRef) { | 55021-77579 |
2427 | | - |
2428 | TypeReference ref; | - |
2429 | | - |
2430 | const bool reportErrors = unresolvedRef->errorWhenNotFound; | - |
2431 | | - |
2432 | int majorVersion = -1; | - |
2433 | int minorVersion = -1; | - |
2434 | | - |
2435 | const QString name = stringAt(unresolvedRef.key()); | - |
2436 | | - |
2437 | if (!resolveType(name, majorVersion, minorVersion, ref, unresolvedRef->location.line,TRUE | evaluated 32 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | evaluated 77547 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
| 32-77547 |
2438 | unresolvedRef->location.column, reportErrors,TRUE | evaluated 32 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | evaluated 77547 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
| 32-77547 |
2439 | QQmlType::AnyRegistrationType)TRUE | evaluated 32 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | evaluated 77547 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& reportErrorsTRUE | evaluated 32 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | never evaluated |
) | 0-77547 |
2440 | return;executed 32 times by 6 tests: return; Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 32 |
2441 | | - |
2442 | if (ref.type.isComposite()TRUE | evaluated 910 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| FALSE | evaluated 76637 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 910-76637 |
2443 | ref.typeData = typeLoader()->getType(ref.type.sourceUrl()); | - |
2444 | addDependency(ref.typeData.data()); | - |
2445 | }executed 910 times by 40 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| 910 |
2446 | ref.majorVersion = majorVersion; | - |
2447 | ref.minorVersion = minorVersion; | - |
2448 | | - |
2449 | ref.location.line = unresolvedRef->location.line; | - |
2450 | ref.location.column = unresolvedRef->location.column; | - |
2451 | | - |
2452 | ref.needsCreation = unresolvedRef->needsCreation; | - |
2453 | | - |
2454 | m_resolvedTypes.insert(unresolvedRef.key(), ref); | - |
2455 | }executed 77547 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77547 |
2456 | | - |
2457 | | - |
2458 | if (!m_implicitImportLoadedTRUE | evaluated 54373 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 648 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 648-54373 |
2459 | loadImplicitImport();executed 54373 times by 141 tests: loadImplicitImport(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 54373 |
2460 | }executed 55021 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 55021 |
2461 | | - |
2462 | QQmlCompileError QQmlTypeData::buildTypeResolutionCaches( | - |
2463 | QQmlRefPointer<QQmlTypeNameCache> *typeNameCache, | - |
2464 | QV4::CompiledData::ResolvedTypeReferenceMap *resolvedTypeCache | - |
2465 | ) const | - |
2466 | { | - |
2467 | typeNameCache->adopt(new QQmlTypeNameCache(m_importCache)); | - |
2468 | | - |
2469 | for (const QString &ns: m_namespaces) | - |
2470 | (*executed 4 times by 1 test: (*typeNameCache)->add(ns); typeNameCache)->add(ns);executed 4 times by 1 test: (*typeNameCache)->add(ns); | 4 |
2471 | | - |
2472 | | - |
2473 | for (const QQmlTypeData::TypeReference &singleton: m_compositeSingletons) | - |
2474 | (*executed 24 times by 4 tests: (*typeNameCache)->add(singleton.type.qmlTypeName(), singleton.type.sourceUrl(), singleton.prefix); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
typeNameCache)->add(singleton.type.qmlTypeName(), singleton.type.sourceUrl(), singleton.prefix);executed 24 times by 4 tests: (*typeNameCache)->add(singleton.type.qmlTypeName(), singleton.type.sourceUrl(), singleton.prefix); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
| 24 |
2475 | | - |
2476 | m_importCache.populateCache(typeNameCache->data()); | - |
2477 | | - |
2478 | QQmlEnginePrivate * const engine = QQmlEnginePrivate::get(typeLoader()->engine()); | - |
2479 | | - |
2480 | for (auto resolvedType = m_resolvedTypes.constBegin(), end = m_resolvedTypes.constEnd(); resolvedType != endTRUE | evaluated 77481 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 54987 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++resolvedType) { | 54987-77481 |
2481 | QScopedPointer<QV4::CompiledData::ResolvedTypeReference> ref(new QV4::CompiledData::ResolvedTypeReference); | - |
2482 | QQmlType qmlType = resolvedType->type; | - |
2483 | if (resolvedType->typeDataTRUE | evaluated 894 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
| FALSE | evaluated 76587 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 894-76587 |
2484 | if (resolvedType->needsCreationTRUE | evaluated 876 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| FALSE | evaluated 18 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlproperty
- tst_qquickloader
|
&& qmlType.isCompositeSingleton()TRUE | never evaluated | FALSE | evaluated 876 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
|
) { | 0-876 |
2485 | return never executed: return QQmlCompileError(resolvedType->location, tr("Composite Singleton Type %1 is not creatable.").arg(qmlType.qmlTypeName())); QQmlCompileError(resolvedType->location, tr("Composite Singleton Type %1 is not creatable.").arg(qmlType.qmlTypeName()));never executed: return QQmlCompileError(resolvedType->location, tr("Composite Singleton Type %1 is not creatable.").arg(qmlType.qmlTypeName())); | 0 |
2486 | } | - |
2487 | ref->compilationUnit = resolvedType->typeData->compilationUnit(); | - |
2488 | }executed 894 times by 40 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- ...
else if (qmlType.isValid()TRUE | evaluated 76587 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-76587 |
2489 | ref->type = qmlType; | - |
2490 | ((ref->type.isValid()) ? static_cast<void>(0) : qt_assert("ref->type.isValid()", __FILE__, 2736)); | - |
2491 | | - |
2492 | if (resolvedType->needsCreationTRUE | evaluated 74631 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1956 times by 65 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- ...
|
&& !ref->type.isCreatable()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 74629 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 2-74631 |
2493 | QString reason = ref->type.noCreationReason(); | - |
2494 | if (reason.isEmpty()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
2495 | reason = tr("Element is not creatable."); never executed: reason = tr("Element is not creatable."); | 0 |
2496 | returnexecuted 2 times by 1 test: return QQmlCompileError(resolvedType->location, reason); QQmlCompileError(resolvedType->location, reason);executed 2 times by 1 test: return QQmlCompileError(resolvedType->location, reason); | 2 |
2497 | } | - |
2498 | | - |
2499 | if (ref->type.containsRevisionedAttributes()TRUE | evaluated 62981 times by 133 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 13604 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
) { | 13604-62981 |
2500 | ref->typePropertyCache = engine->cache(ref->type, | - |
2501 | resolvedType->minorVersion); | - |
2502 | }executed 62981 times by 133 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 62981 |
2503 | }executed 76585 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 76585 |
2504 | ref->majorVersion = resolvedType->majorVersion; | - |
2505 | ref->minorVersion = resolvedType->minorVersion; | - |
2506 | ref->doDynamicTypeCheck(); | - |
2507 | resolvedTypeCache->insert(resolvedType.key(), ref.take()); | - |
2508 | }executed 77479 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77479 |
2509 | QQmlCompileError noError; | - |
2510 | returnexecuted 54987 times by 141 tests: return noError; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
noError;executed 54987 times by 141 tests: return noError; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 54987 |
2511 | } | - |
2512 | | - |
2513 | bool QQmlTypeData::resolveType(const QString &typeName, int &majorVersion, int &minorVersion, | - |
2514 | TypeReference &ref, int lineNumber, int columnNumber, | - |
2515 | bool reportErrors, QQmlType::RegistrationType registrationType) | - |
2516 | { | - |
2517 | QQmlImportNamespace *typeNamespace = nullptr; | - |
2518 | QList<QQmlError> errors; | - |
2519 | | - |
2520 | bool typeFound = m_importCache.resolveType(typeName, &ref.type, &majorVersion, &minorVersion, | - |
2521 | &typeNamespace, &errors, registrationType); | - |
2522 | if (!typeNamespaceTRUE | evaluated 77603 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
&& !typeFoundTRUE | evaluated 626 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 76977 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& !m_implicitImportLoadedTRUE | evaluated 622 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmltypeloader
- tst_qquicktextedit
|
) { | 0-77603 |
2523 | | - |
2524 | if (loadImplicitImport()TRUE | evaluated 618 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 4 times by 1 test |
) { | 4-618 |
2525 | | - |
2526 | errors.clear(); | - |
2527 | typeFound = m_importCache.resolveType(typeName, &ref.type, &majorVersion, &minorVersion, | - |
2528 | &typeNamespace, &errors, registrationType); | - |
2529 | }executed 618 times by 36 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
else { | 618 |
2530 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
2531 | } | - |
2532 | } | - |
2533 | | - |
2534 | if ((!typeFoundTRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | evaluated 77571 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| typeNamespaceTRUE | never evaluated | FALSE | evaluated 77571 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) && reportErrorsTRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | never evaluated |
) { | 0-77571 |
2535 | | - |
2536 | | - |
2537 | | - |
2538 | QQmlError error; | - |
2539 | if (typeNamespaceTRUE | never evaluated | FALSE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
|
) { | 0-28 |
2540 | error.setDescription(QQmlTypeLoader::tr("Namespace %1 cannot be used as a type").arg(typeName)); | - |
2541 | } never executed: end of block else { | 0 |
2542 | if (errors.size()TRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | never evaluated |
) { | 0-28 |
2543 | error = errors.takeFirst(); | - |
2544 | }executed 28 times by 6 tests: end of block Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
else { | 28 |
2545 | | - |
2546 | | - |
2547 | error.setDescription(QQmlTypeLoader::tr("Unreported error adding script import to import database")); | - |
2548 | } never executed: end of block | 0 |
2549 | error.setUrl(m_importCache.baseUrl()); | - |
2550 | error.setDescription(QQmlTypeLoader::tr("%1 %2").arg(typeName).arg(error.description())); | - |
2551 | }executed 28 times by 6 tests: end of block Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 28 |
2552 | | - |
2553 | if (lineNumber != -1TRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | never evaluated |
) | 0-28 |
2554 | error.setLine(lineNumber);executed 28 times by 6 tests: error.setLine(lineNumber); Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 28 |
2555 | if (columnNumber != -1TRUE | evaluated 28 times by 6 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| FALSE | never evaluated |
) | 0-28 |
2556 | error.setColumn(columnNumber);executed 28 times by 6 tests: error.setColumn(columnNumber); Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 28 |
2557 | | - |
2558 | errors.prepend(error); | - |
2559 | setError(errors); | - |
2560 | returnexecuted 28 times by 6 tests: return false; Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
false;executed 28 times by 6 tests: return false; Executed by:- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicktextedit
- tst_qtqmlmodules
| 28 |
2561 | } | - |
2562 | | - |
2563 | returnexecuted 77571 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
true;executed 77571 times by 141 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 77571 |
2564 | } | - |
2565 | | - |
2566 | void QQmlTypeData::scriptImported(const QQmlRefPointer<QQmlScriptBlob> &blob, const QV4::CompiledData::Location &location, const QString &qualifier, const QString & ) | - |
2567 | { | - |
2568 | ScriptReference ref; | - |
2569 | ref.script = blob; | - |
2570 | ref.location = location; | - |
2571 | ref.qualifier = qualifier; | - |
2572 | | - |
2573 | m_scripts << ref; | - |
2574 | }executed 282 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 282 |
2575 | | - |
2576 | QQmlScriptData::QQmlScriptData() | - |
2577 | : typeNameCache(nullptr) | - |
2578 | , m_loaded(false) | - |
2579 | , m_program(nullptr) | - |
2580 | { | - |
2581 | }executed 260 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 260 |
2582 | | - |
2583 | QQmlScriptData::~QQmlScriptData() | - |
2584 | { | - |
2585 | delete m_program; | - |
2586 | }executed 260 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 260 |
2587 | | - |
2588 | void QQmlScriptData::initialize(QQmlEngine *engine) | - |
2589 | { | - |
2590 | ((!m_program) ? static_cast<void>(0) : qt_assert("!m_program", __FILE__, 2836)); | - |
2591 | ((engine) ? static_cast<void>(0) : qt_assert("engine", __FILE__, 2837)); | - |
2592 | ((!hasEngine()) ? static_cast<void>(0) : qt_assert("!hasEngine()", __FILE__, 2838)); | - |
2593 | | - |
2594 | QV4::ExecutionEngine *v4 = engine->handle(); | - |
2595 | | - |
2596 | m_program = new QV4::Script(v4, nullptr, m_precompiledScript); | - |
2597 | | - |
2598 | addToEngine(engine); | - |
2599 | | - |
2600 | addref(); | - |
2601 | }executed 250 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 250 |
2602 | | - |
2603 | QV4::ReturnedValue QQmlScriptData::scriptValueForContext(QQmlContextData *parentCtxt) | - |
2604 | { | - |
2605 | if (m_loadedTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
| FALSE | evaluated 282 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 8-282 |
2606 | returnexecuted 8 times by 2 tests: return m_value.value(); Executed by:- tst_examples
- tst_qqmlecmascript
m_value.value();executed 8 times by 2 tests: return m_value.value(); Executed by:- tst_examples
- tst_qqmlecmascript
| 8 |
2607 | | - |
2608 | ((parentCtxt && parentCtxt->engine) ? static_cast<void>(0) : qt_assert("parentCtxt && parentCtxt->engine", __FILE__, 2854)); | - |
2609 | QQmlEnginePrivate *ep = QQmlEnginePrivate::get(parentCtxt->engine); | - |
2610 | QV4::ExecutionEngine *v4 = parentCtxt->engine->handle(); | - |
2611 | QV4::Scope scope(v4); | - |
2612 | | - |
2613 | bool shared = m_precompiledScript->data->flags & QV4::CompiledData::Unit::IsSharedLibrary; | - |
2614 | | - |
2615 | QQmlContextData *effectiveCtxt = parentCtxt; | - |
2616 | if (sharedTRUE | evaluated 62 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 220 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
|
) | 62-220 |
2617 | effectiveCtxt = nullptr;executed 62 times by 7 tests: effectiveCtxt = nullptr; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 62 |
2618 | | - |
2619 | | - |
2620 | QQmlContextDataRef ctxt(new QQmlContextData); | - |
2621 | ctxt->isInternal = true; | - |
2622 | ctxt->isJSContext = true; | - |
2623 | if (sharedTRUE | evaluated 62 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 220 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
|
) | 62-220 |
2624 | ctxt->isPragmaLibraryContext = true;executed 62 times by 7 tests: ctxt->isPragmaLibraryContext = true; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 62 |
2625 | else | - |
2626 | ctxt->isPragmaLibraryContext = parentCtxt->isPragmaLibraryContext;executed 220 times by 8 tests: ctxt->isPragmaLibraryContext = parentCtxt->isPragmaLibraryContext; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
| 220 |
2627 | ctxt->baseUrl = url; | - |
2628 | ctxt->baseUrlString = urlString; | - |
2629 | | - |
2630 | | - |
2631 | | - |
2632 | if (!typeNameCache->isEmpty()TRUE | evaluated 112 times by 4 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
| FALSE | evaluated 170 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 112-170 |
2633 | ctxt->imports = typeNameCache; | - |
2634 | }executed 112 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
else if (effectiveCtxtTRUE | evaluated 114 times by 7 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltranslation
- tst_qqmlvaluetypes
| FALSE | evaluated 56 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 56-114 |
2635 | ctxt->imports = effectiveCtxt->imports; | - |
2636 | ctxt->importedScripts = effectiveCtxt->importedScripts; | - |
2637 | }executed 114 times by 7 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltranslation
- tst_qqmlvaluetypes
| 114 |
2638 | | - |
2639 | if (effectiveCtxtTRUE | evaluated 220 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
| FALSE | evaluated 62 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 62-220 |
2640 | ctxt->setParent(effectiveCtxt); | - |
2641 | }executed 220 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
else { | 220 |
2642 | ctxt->engine = parentCtxt->engine; | - |
2643 | }executed 62 times by 7 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 62 |
2644 | | - |
2645 | QV4::ScopedObject scriptsArray(scope); | - |
2646 | if (ctxt->importedScripts.isNullOrUndefined()TRUE | evaluated 168 times by 9 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 114 times by 7 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltranslation
- tst_qqmlvaluetypes
|
) { | 114-168 |
2647 | scriptsArray = v4->newArrayObject(scripts.count()); | - |
2648 | ctxt->importedScripts.set(v4, scriptsArray); | - |
2649 | }executed 168 times by 9 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
else { | 168 |
2650 | scriptsArray = ctxt->importedScripts.valueRef(); | - |
2651 | }executed 114 times by 7 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltranslation
- tst_qqmlvaluetypes
| 114 |
2652 | QV4::ScopedValue v(scope); | - |
2653 | for (int ii = 0; ii < scripts.count()TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
| FALSE | evaluated 282 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++ii) | 28-282 |
2654 | scriptsArray->put(ii, (v = scripts.at(ii)->scriptData()->scriptValueForContext(ctxt)));executed 28 times by 2 tests: scriptsArray->put(ii, (v = scripts.at(ii)->scriptData()->scriptValueForContext(ctxt))); Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
| 28 |
2655 | | - |
2656 | if (!hasEngine()TRUE | evaluated 250 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlsqldatabase
|
) | 32-250 |
2657 | initialize(parentCtxt->engine);executed 250 times by 13 tests: initialize(parentCtxt->engine); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 250 |
2658 | | - |
2659 | if (!m_programTRUE | never evaluated | FALSE | evaluated 282 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 0-282 |
2660 | if (sharedTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2661 | m_loaded = true; never executed: m_loaded = true; | 0 |
2662 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
2663 | } | - |
2664 | | - |
2665 | QV4::Scoped<QV4::QmlContext> qmlContext(scope, QV4::QmlContext::create(v4->rootContext(), ctxt, nullptr)); | - |
2666 | | - |
2667 | m_program->qmlContext.set(scope.engine, qmlContext); | - |
2668 | m_program->run(); | - |
2669 | m_program->qmlContext.clear(); | - |
2670 | if (scope.engine->hasExceptionTRUE | evaluated 2 times by 1 test | FALSE | evaluated 280 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 2-280 |
2671 | QQmlError error = scope.engine->catchExceptionAsQmlError(); | - |
2672 | if (error.isValid()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
2673 | ep->warning(error);executed 2 times by 1 test: ep->warning(error); | 2 |
2674 | }executed 2 times by 1 test: end of block | 2 |
2675 | | - |
2676 | QV4::ScopedValue retval(scope, qmlContext->d()->qml()); | - |
2677 | if (sharedTRUE | evaluated 62 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 220 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
|
) { | 62-220 |
2678 | m_value.set(scope.engine, retval); | - |
2679 | m_loaded = true; | - |
2680 | }executed 62 times by 7 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 62 |
2681 | | - |
2682 | returnexecuted 282 times by 13 tests: return retval->asReturnedValue(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
retval->asReturnedValue();executed 282 times by 13 tests: return retval->asReturnedValue(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 282 |
2683 | } | - |
2684 | | - |
2685 | void QQmlScriptData::clear() | - |
2686 | { | - |
2687 | if (typeNameCacheTRUE | evaluated 250 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-250 |
2688 | typeNameCache->release(); | - |
2689 | typeNameCache = nullptr; | - |
2690 | }executed 250 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 250 |
2691 | | - |
2692 | scripts.clear(); | - |
2693 | | - |
2694 | | - |
2695 | release(); | - |
2696 | }executed 250 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 250 |
2697 | | - |
2698 | QQmlScriptBlob::QQmlScriptBlob(const QUrl &url, QQmlTypeLoader *loader) | - |
2699 | : QQmlTypeLoader::Blob(url, JavaScriptFile, loader) | - |
2700 | { | - |
2701 | }executed 286 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 286 |
2702 | | - |
2703 | QQmlScriptBlob::~QQmlScriptBlob() | - |
2704 | { | - |
2705 | } | - |
2706 | | - |
2707 | QQmlRefPointer<QQmlScriptData> QQmlScriptBlob::scriptData() const | - |
2708 | { | - |
2709 | returnexecuted 292 times by 13 tests: return m_scriptData; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
m_scriptData;executed 292 times by 13 tests: return m_scriptData; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 292 |
2710 | } | - |
2711 | | - |
2712 | void QQmlScriptBlob::dataReceived(const SourceCodeData &data) | - |
2713 | { | - |
2714 | if (!disableDiskCache()TRUE | evaluated 282 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
|| forceDiskCache()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-282 |
2715 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> unit = QV4::Compiler::Codegen::createUnitForLoading(); | - |
2716 | QString error; | - |
2717 | if (unit->loadFromDisk(url(), data.sourceTimeStamp(), &error)TRUE | evaluated 166 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 116 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 116-166 |
2718 | initializeFromCompilationUnit(unit); | - |
2719 | return;executed 166 times by 12 tests: return; Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 166 |
2720 | } else { | - |
2721 | for (bool qt_category_enabled = DBG_DISK_CACHE()().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 116 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2967, __PRETTY_FUNCTION__, DBG_DISK_CACHE()().categoryName()).debug() << "Error loading" << urlString() << "from disk cache:" << error;never executed: QMessageLogger(__FILE__, 2967, __PRETTY_FUNCTION__, DBG_DISK_CACHE()().categoryName()).debug() << "Error loading" << urlString() << "from disk cache:" << error; | 0-116 |
2722 | }executed 116 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 116 |
2723 | } | - |
2724 | | - |
2725 | if (!data.exists()TRUE | never evaluated | FALSE | evaluated 116 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 0-116 |
2726 | if (m_cachedUnitStatus == QQmlMetaType::CachedUnitLookupError::VersionMismatchTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2727 | setError(QQmlTypeLoader::tr("File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile")); never executed: setError(QQmlTypeLoader::tr("File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile")); | 0 |
2728 | else | - |
2729 | setError(QQmlTypeLoader::tr("No such file or directory")); never executed: setError(QQmlTypeLoader::tr("No such file or directory")); | 0 |
2730 | return; never executed: return; | 0 |
2731 | } | - |
2732 | | - |
2733 | QmlIR::Document irUnit(isDebugging()); | - |
2734 | | - |
2735 | irUnit.jsModule.sourceTimeStamp = data.sourceTimeStamp(); | - |
2736 | QString error; | - |
2737 | QString source = data.readAll(&error); | - |
2738 | if (!error.isEmpty()TRUE | never evaluated | FALSE | evaluated 116 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 0-116 |
2739 | setError(error); | - |
2740 | return; never executed: return; | 0 |
2741 | } | - |
2742 | | - |
2743 | QmlIR::ScriptDirectivesCollector collector(&irUnit); | - |
2744 | irUnit.jsParserEngine.setDirectives(&collector); | - |
2745 | | - |
2746 | QList<QQmlError> errors; | - |
2747 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> unit = QV4::Script::precompile( | - |
2748 | &irUnit.jsModule, &irUnit.jsParserEngine, &irUnit.jsGenerator, urlString(), finalUrlString(), | - |
2749 | source, &errors); | - |
2750 | | - |
2751 | source.clear(); | - |
2752 | if (!errors.isEmpty()TRUE | evaluated 26 times by 1 test | FALSE | evaluated 90 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 26-90 |
2753 | setError(errors); | - |
2754 | return;executed 26 times by 1 test: return; | 26 |
2755 | } | - |
2756 | if (!unitTRUE | never evaluated | FALSE | evaluated 90 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 0-90 |
2757 | unit.adopt(new QV4::CompiledData::CompilationUnit); | - |
2758 | } never executed: end of block | 0 |
2759 | irUnit.javaScriptCompilationUnit = unit; | - |
2760 | | - |
2761 | QmlIR::QmlUnitGenerator qmlGenerator; | - |
2762 | QV4::CompiledData::Unit *unitData = qmlGenerator.generate(irUnit); | - |
2763 | ((!unit->data) ? static_cast<void>(0) : qt_assert("!unit->data", __FILE__, 3009)); | - |
2764 | | - |
2765 | unit->data = unitData; | - |
2766 | | - |
2767 | if ((!disableDiskCache()TRUE | evaluated 90 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
|| forceDiskCache()TRUE | never evaluated | FALSE | never evaluated |
) && !isDebugging()TRUE | evaluated 90 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-90 |
2768 | QString errorString; | - |
2769 | if (!unit->saveToDisk(url(), &errorString)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 88 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 2-88 |
2770 | for (bool qt_category_enabled = DBG_DISK_CACHE()().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
; qt_category_enabled = false) QMessageLogger(__FILE__, 3016, __PRETTY_FUNCTION__, DBG_DISK_CACHE()().categoryName()).debug() << "Error saving cached version of" << unit->fileName() << "to disk:" << errorString;never executed: QMessageLogger(__FILE__, 3016, __PRETTY_FUNCTION__, DBG_DISK_CACHE()().categoryName()).debug() << "Error saving cached version of" << unit->fileName() << "to disk:" << errorString; | 0-2 |
2771 | }executed 2 times by 1 test: end of block | 2 |
2772 | }executed 90 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 90 |
2773 | | - |
2774 | initializeFromCompilationUnit(unit); | - |
2775 | }executed 90 times by 12 tests: end of block Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 90 |
2776 | | - |
2777 | void QQmlScriptBlob::initializeFromCachedUnit(const QV4::CompiledData::Unit *unit) | - |
2778 | { | - |
2779 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit; | - |
2780 | compilationUnit.adopt(new QV4::CompiledData::CompilationUnit(unit)); | - |
2781 | initializeFromCompilationUnit(compilationUnit); | - |
2782 | }executed 4 times by 1 test: end of block | 4 |
2783 | | - |
2784 | void QQmlScriptBlob::done() | - |
2785 | { | - |
2786 | if (isError()TRUE | evaluated 26 times by 1 test | FALSE | evaluated 260 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 26-260 |
2787 | return;executed 26 times by 1 test: return; | 26 |
2788 | | - |
2789 | | - |
2790 | for (int ii = 0; ii < m_scripts.count()TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
| FALSE | evaluated 260 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++ii) { | 28-260 |
2791 | const ScriptReference &script = m_scripts.at(ii); | - |
2792 | ((script.script->isCompleteOrError()) ? static_cast<void>(0) : qt_assert("script.script->isCompleteOrError()", __FILE__, 3038)); | - |
2793 | if (script.script->isError()TRUE | never evaluated | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
|
) { | 0-28 |
2794 | QList<QQmlError> errors = script.script->errors(); | - |
2795 | QQmlError error; | - |
2796 | error.setUrl(url()); | - |
2797 | error.setLine(script.location.line); | - |
2798 | error.setColumn(script.location.column); | - |
2799 | error.setDescription(QQmlTypeLoader::tr("Script %1 unavailable").arg(script.script->urlString())); | - |
2800 | errors.prepend(error); | - |
2801 | setError(errors); | - |
2802 | return; never executed: return; | 0 |
2803 | } | - |
2804 | }executed 28 times by 2 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
| 28 |
2805 | | - |
2806 | m_scriptData->typeNameCache = new QQmlTypeNameCache(m_importCache); | - |
2807 | | - |
2808 | QSet<QString> ns; | - |
2809 | | - |
2810 | for (int scriptIndex = 0; scriptIndex < m_scripts.count()TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
| FALSE | evaluated 260 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++scriptIndex) { | 28-260 |
2811 | const ScriptReference &script = m_scripts.at(scriptIndex); | - |
2812 | | - |
2813 | m_scriptData->scripts.append(script.script); | - |
2814 | | - |
2815 | if (!script.nameSpace.isNull()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
|
) { | 4-24 |
2816 | if (!ns.contains(script.nameSpace)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
2817 | ns.insert(script.nameSpace); | - |
2818 | m_scriptData->typeNameCache->add(script.nameSpace); | - |
2819 | }executed 4 times by 1 test: end of block | 4 |
2820 | }executed 4 times by 1 test: end of block | 4 |
2821 | m_scriptData->typeNameCache->add(script.qualifier, scriptIndex, script.nameSpace); | - |
2822 | }executed 28 times by 2 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
| 28 |
2823 | m_scripts.clear(); | - |
2824 | | - |
2825 | m_importCache.populateCache(m_scriptData->typeNameCache); | - |
2826 | }executed 260 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 260 |
2827 | | - |
2828 | QString QQmlScriptBlob::stringAt(int index) const | - |
2829 | { | - |
2830 | returnexecuted 226 times by 4 tests: return m_scriptData->m_precompiledScript->data->stringAt(index); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
m_scriptData->m_precompiledScript->data->stringAt(index);executed 226 times by 4 tests: return m_scriptData->m_precompiledScript->data->stringAt(index); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
| 226 |
2831 | } | - |
2832 | | - |
2833 | void QQmlScriptBlob::scriptImported(const QQmlRefPointer<QQmlScriptBlob> &blob, const QV4::CompiledData::Location &location, const QString &qualifier, const QString &nameSpace) | - |
2834 | { | - |
2835 | ScriptReference ref; | - |
2836 | ref.script = blob; | - |
2837 | ref.location = location; | - |
2838 | ref.qualifier = qualifier; | - |
2839 | ref.nameSpace = nameSpace; | - |
2840 | | - |
2841 | m_scripts << ref; | - |
2842 | }executed 28 times by 2 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
| 28 |
2843 | | - |
2844 | void QQmlScriptBlob::initializeFromCompilationUnit(const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &unit) | - |
2845 | { | - |
2846 | ((!m_scriptData) ? static_cast<void>(0) : qt_assert("!m_scriptData", __FILE__, 3092)); | - |
2847 | m_scriptData.adopt(new QQmlScriptData()); | - |
2848 | m_scriptData->url = finalUrl(); | - |
2849 | m_scriptData->urlString = finalUrlString(); | - |
2850 | m_scriptData->m_precompiledScript = unit; | - |
2851 | | - |
2852 | m_importCache.setBaseUrl(finalUrl(), finalUrlString()); | - |
2853 | | - |
2854 | ((m_scriptData->m_precompiledScript->data->flags & QV4::CompiledData::Unit::IsQml) ? static_cast<void>(0) : qt_assert("m_scriptData->m_precompiledScript->data->flags & QV4::CompiledData::Unit::IsQml", __FILE__, 3100)); | - |
2855 | const QV4::CompiledData::Unit *qmlUnit = m_scriptData->m_precompiledScript->data; | - |
2856 | | - |
2857 | QList<QQmlError> errors; | - |
2858 | for (quint32 i = 0; i < qmlUnit->nImportsTRUE | evaluated 110 times by 4 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
| FALSE | evaluated 260 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
; ++i) { | 110-260 |
2859 | const QV4::CompiledData::Import *import = qmlUnit->importAt(i); | - |
2860 | if (!addImport(import, &errors)TRUE | never evaluated | FALSE | evaluated 110 times by 4 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
|
) { | 0-110 |
2861 | ((errors.size()) ? static_cast<void>(0) : qt_assert("errors.size()", __FILE__, 3107)); | - |
2862 | QQmlError error(errors.takeFirst()); | - |
2863 | error.setUrl(m_importCache.baseUrl()); | - |
2864 | error.setLine(import->location.line); | - |
2865 | error.setColumn(import->location.column); | - |
2866 | errors.prepend(error); | - |
2867 | setError(errors); | - |
2868 | return; never executed: return; | 0 |
2869 | } | - |
2870 | }executed 110 times by 4 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlsqldatabase
| 110 |
2871 | }executed 260 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 260 |
2872 | | - |
2873 | QQmlQmldirData::QQmlQmldirData(const QUrl &url, QQmlTypeLoader *loader) | - |
2874 | : QQmlTypeLoader::Blob(url, QmldirFile, loader) | - |
2875 | { | - |
2876 | }executed 124 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 124 |
2877 | | - |
2878 | const QString &QQmlQmldirData::content() const | - |
2879 | { | - |
2880 | returnexecuted 44 times by 5 tests: return m_content; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
m_content;executed 44 times by 5 tests: return m_content; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
2881 | } | - |
2882 | | - |
2883 | const QV4::CompiledData::Import *QQmlQmldirData::import(QQmlTypeLoader::Blob *blob) const | - |
2884 | { | - |
2885 | QHash<QQmlTypeLoader::Blob *, const QV4::CompiledData::Import *>::const_iterator it = | - |
2886 | m_imports.find(blob); | - |
2887 | if (it == m_imports.end()TRUE | never evaluated | FALSE | evaluated 66 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-66 |
2888 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
2889 | returnexecuted 66 times by 5 tests: return *it; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
*it;executed 66 times by 5 tests: return *it; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 66 |
2890 | } | - |
2891 | | - |
2892 | void QQmlQmldirData::setImport(QQmlTypeLoader::Blob *blob, const QV4::CompiledData::Import *import) | - |
2893 | { | - |
2894 | m_imports[blob] = import; | - |
2895 | }executed 192 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 192 |
2896 | | - |
2897 | int QQmlQmldirData::priority(QQmlTypeLoader::Blob *blob) const | - |
2898 | { | - |
2899 | QHash<QQmlTypeLoader::Blob *, int>::const_iterator it = m_priorities.find(blob); | - |
2900 | if (it == m_priorities.end()TRUE | never evaluated | FALSE | evaluated 52 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-52 |
2901 | return never executed: return 0; 0;never executed: return 0; | 0 |
2902 | returnexecuted 52 times by 5 tests: return *it; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
*it;executed 52 times by 5 tests: return *it; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 52 |
2903 | } | - |
2904 | | - |
2905 | void QQmlQmldirData::setPriority(QQmlTypeLoader::Blob *blob, int priority) | - |
2906 | { | - |
2907 | m_priorities[blob] = priority; | - |
2908 | }executed 192 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 192 |
2909 | | - |
2910 | void QQmlQmldirData::dataReceived(const SourceCodeData &data) | - |
2911 | { | - |
2912 | QString error; | - |
2913 | m_content = data.readAll(&error); | - |
2914 | if (!error.isEmpty()TRUE | never evaluated | FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) { | 0-22 |
2915 | setError(error); | - |
2916 | return; never executed: return; | 0 |
2917 | } | - |
2918 | }executed 22 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 22 |
2919 | | - |
2920 | void QQmlQmldirData::initializeFromCachedUnit(const QV4::CompiledData::Unit *) | - |
2921 | { | - |
2922 | QMessageLogger(__FILE__, 3168, __PRETTY_FUNCTION__).warning("Unimplemented code."); | - |
2923 | } never executed: end of block | 0 |
2924 | | - |
2925 | QString QQmlDataBlob::SourceCodeData::readAll(QString *error) const | - |
2926 | { | - |
2927 | error->clear(); | - |
2928 | if (hasInlineSourceCodeTRUE | evaluated 45849 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| FALSE | evaluated 2850 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) | 2850-45849 |
2929 | returnexecuted 45849 times by 59 tests: return inlineSourceCode; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
inlineSourceCode;executed 45849 times by 59 tests: return inlineSourceCode; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45849 |
2930 | | - |
2931 | QFile f(fileInfo.absoluteFilePath()); | - |
2932 | if (!f.open(QIODevice::ReadOnly)TRUE | never evaluated | FALSE | evaluated 2850 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-2850 |
2933 | *error = f.errorString(); | - |
2934 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2935 | } | - |
2936 | | - |
2937 | const qint64 fileSize = fileInfo.size(); | - |
2938 | | - |
2939 | if (uchar *mappedData = f.map(0, fileSize)TRUE | evaluated 2850 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | never evaluated |
) { | 0-2850 |
2940 | QString source = QString::fromUtf8(reinterpret_cast<const char *>(mappedData), fileSize); | - |
2941 | f.unmap(mappedData); | - |
2942 | returnexecuted 2850 times by 126 tests: return source; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
source;executed 2850 times by 126 tests: return source; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2850 |
2943 | } | - |
2944 | | - |
2945 | QByteArray data(fileSize, Qt::Uninitialized); | - |
2946 | if (f.read(data.data(), data.length()) != data.length()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2947 | *error = f.errorString(); | - |
2948 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2949 | } | - |
2950 | return never executed: return QString::fromUtf8(data); QString::fromUtf8(data);never executed: return QString::fromUtf8(data); | 0 |
2951 | } | - |
2952 | | - |
2953 | QDateTime QQmlDataBlob::SourceCodeData::sourceTimeStamp() const | - |
2954 | { | - |
2955 | if (hasInlineSourceCodeTRUE | evaluated 91652 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| FALSE | evaluated 15018 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 15018-91652 |
2956 | returnexecuted 91652 times by 59 tests: return QDateTime(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
QDateTime();executed 91652 times by 59 tests: return QDateTime(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 91652 |
2957 | | - |
2958 | QDateTime timeStamp = fileInfo.lastModified(); | - |
2959 | if (timeStamp.isValid()TRUE | evaluated 14710 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 308 times by 34 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
|
) | 308-14710 |
2960 | returnexecuted 14710 times by 126 tests: return timeStamp; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
timeStamp;executed 14710 times by 126 tests: return timeStamp; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 14710 |
2961 | | - |
2962 | static QDateTime appTimeStamp; | - |
2963 | if (!appTimeStamp.isValid()TRUE | evaluated 48 times by 34 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 260 times by 23 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
) | 48-260 |
2964 | appTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified();executed 48 times by 34 tests: appTimeStamp = QFileInfo(QCoreApplication::applicationFilePath()).lastModified(); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 48 |
2965 | returnexecuted 308 times by 34 tests: return appTimeStamp; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
appTimeStamp;executed 308 times by 34 tests: return appTimeStamp; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 308 |
2966 | } | - |
2967 | | - |
2968 | bool QQmlDataBlob::SourceCodeData::exists() const | - |
2969 | { | - |
2970 | if (hasInlineSourceCodeTRUE | evaluated 45827 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| FALSE | evaluated 2580 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 2580-45827 |
2971 | returnexecuted 45827 times by 59 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
true;executed 45827 times by 59 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45827 |
2972 | returnexecuted 2580 times by 127 tests: return fileInfo.exists(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
fileInfo.exists();executed 2580 times by 127 tests: return fileInfo.exists(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 2580 |
2973 | } | - |
2974 | | - |
2975 | bool QQmlDataBlob::SourceCodeData::isEmpty() const | - |
2976 | { | - |
2977 | if (hasInlineSourceCodeTRUE | evaluated 45825 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| FALSE | evaluated 2450 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 2450-45825 |
2978 | returnexecuted 45825 times by 59 tests: return inlineSourceCode.isEmpty(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
inlineSourceCode.isEmpty();executed 45825 times by 59 tests: return inlineSourceCode.isEmpty(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- ...
| 45825 |
2979 | returnexecuted 2450 times by 126 tests: return fileInfo.size() == 0; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
fileInfo.size() == 0;executed 2450 times by 126 tests: return fileInfo.size() == 0; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 2450 |
2980 | } | - |
2981 | | - |
2982 | | - |
2983 | | - |
| | |