OpenCoverage

qqmltypeloader.cpp

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

Generated by Squish Coco 4.2.0