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