| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | namespace { | - |
| 12 | QThreadStorage<int> creationDepth; | - |
| 13 | } | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | class QQmlComponentExtension : public QV8Engine::Deletable | - |
| 18 | { | - |
| 19 | public: | - |
| 20 | QQmlComponentExtension(QV4::ExecutionEngine *v4); | - |
| 21 | virtual ~QQmlComponentExtension(); | - |
| 22 | | - |
| 23 | QV4::PersistentValue incubationProto; | - |
| 24 | }; | - |
| 25 | static inline QQmlComponentExtension *componentExtension(QV4::ExecutionEngine *engine) { static int extensionId = -1; if (extensionId == -1| TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | evaluated 4 times by 1 test |
) { QV8Engine::registrationMutex()->lock(); if (extensionId == -1| TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | never evaluated |
) extensionId = QV8Engine::registerExtension();executed 6 times by 3 tests: extensionId = QV8Engine::registerExtension();Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
QV8Engine::registrationMutex()->unlock(); }executed 6 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
QQmlComponentExtension *rv = (QQmlComponentExtension *)engine->v8Engine->extensionData(extensionId); if (!rv| TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | evaluated 2 times by 1 test |
) { rv = new QQmlComponentExtension(engine); engine->v8Engine->setExtensionData(extensionId, rv); }executed 8 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
returnexecuted 10 times by 3 tests: return rv;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
rv;executed 10 times by 3 tests: return rv;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
}; | 0-10 |
| 26 | void QQmlComponentPrivate::typeDataReady(QQmlTypeData *) | - |
| 27 | { | - |
| 28 | QQmlComponent * const q = q_func(); | - |
| 29 | | - |
| 30 | ((typeData) ? static_cast<void>(0) : qt_assert("typeData", __FILE__, 318)); | - |
| 31 | | - |
| 32 | fromTypeData(typeData); | - |
| 33 | typeData = nullptr; | - |
| 34 | progress = 1.0; | - |
| 35 | | - |
| 36 | q->statusChanged(q->status()); | - |
| 37 | q->progressChanged(progress); | - |
| 38 | }executed 134 times by 12 tests: end of blockExecuted 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 |
| 39 | | - |
| 40 | void QQmlComponentPrivate::typeDataProgress(QQmlTypeData *, qreal p) | - |
| 41 | { | - |
| 42 | QQmlComponent * const q = q_func(); | - |
| 43 | | - |
| 44 | progress = p; | - |
| 45 | | - |
| 46 | q->progressChanged(p); | - |
| 47 | }executed 117 times by 11 tests: end of blockExecuted by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| 117 |
| 48 | | - |
| 49 | void QQmlComponentPrivate::fromTypeData(const QQmlRefPointer<QQmlTypeData> &data) | - |
| 50 | { | - |
| 51 | url = data->finalUrl(); | - |
| 52 | compilationUnit = data->compilationUnit(); | - |
| 53 | | - |
| 54 | if (!compilationUnit| TRUE | evaluated 206 times by 21 testsEvaluated by:- tst_parserstress
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| | FALSE | evaluated 58253 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 206-58253 |
| 55 | ((data->isError()) ? static_cast<void>(0) : qt_assert("data->isError()", __FILE__, 343)); | - |
| 56 | state.errors = data->errors(); | - |
| 57 | }executed 206 times by 21 tests: end of blockExecuted 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
| 206 |
| 58 | }executed 58459 times by 141 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 58459 |
| 59 | | - |
| 60 | void QQmlComponentPrivate::clear() | - |
| 61 | { | - |
| 62 | if (typeData| TRUE | never evaluated | | FALSE | evaluated 58378 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-58378 |
| 63 | typeData->unregisterCallback(this); | - |
| 64 | typeData = nullptr; | - |
| 65 | } never executed: end of block | 0 |
| 66 | | - |
| 67 | compilationUnit = nullptr; | - |
| 68 | }executed 58378 times by 141 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 58378 |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | QQmlComponent::QQmlComponent(QObject *parent) | - |
| 74 | : QObject(*(new QQmlComponentPrivate), parent) | - |
| 75 | { | - |
| 76 | }executed 12 times by 2 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qquickloader
| 12 |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | QQmlComponent::~QQmlComponent() | - |
| 82 | { | - |
| 83 | QQmlComponentPrivate * const d = d_func(); | - |
| 84 | | - |
| 85 | if (d->state.completePending| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 68621 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 2-68621 |
| 86 | QMessageLogger(__FILE__, 374, __PRETTY_FUNCTION__).warning("QQmlComponent: Component destroyed while completion pending"); | - |
| 87 | | - |
| 88 | if (isError()| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 89 | QMessageLogger(__FILE__, 377, __PRETTY_FUNCTION__).warning() << "This may have been caused by one of the following errors:"; | - |
| 90 | for (const QQmlError &error : qAsConst(d->state.errors)) | - |
| 91 | QMessageLogger(__FILE__, 379, __PRETTY_FUNCTION__).warning().nospace().noquote() << QLatin1String(" ") << error;executed 2 times by 1 test: QMessageLogger(__FILE__, 379, __PRETTY_FUNCTION__).warning().nospace().noquote() << QLatin1String(" ") << error; | 2 |
| 92 | }executed 2 times by 1 test: end of block | 2 |
| 93 | | - |
| 94 | d->completeCreate(); | - |
| 95 | }executed 2 times by 1 test: end of block | 2 |
| 96 | | - |
| 97 | if (d->typeData| TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickloader
| | FALSE | evaluated 68611 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 12-68611 |
| 98 | d->typeData->unregisterCallback(d); | - |
| 99 | d->typeData = nullptr; | - |
| 100 | }executed 12 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qquickloader
| 12 |
| 101 | }executed 68623 times by 141 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 68623 |
| 102 | QQmlComponent::Status QQmlComponent::status() const | - |
| 103 | { | - |
| 104 | const QQmlComponentPrivate * const d = d_func(); | - |
| 105 | | - |
| 106 | if (d->typeData| TRUE | evaluated 716 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | evaluated 159466 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 716-159466 |
| 107 | returnexecuted 716 times by 13 tests: return Loading;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
Loading;executed 716 times by 13 tests: return Loading;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
| 716 |
| 108 | else if (!d->state.errors.isEmpty()| TRUE | evaluated 712 times by 21 testsEvaluated by:- 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_qquickitem2
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| | FALSE | evaluated 158754 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 712-158754 |
| 109 | returnexecuted 712 times by 21 tests: return Error;Executed by:- 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_qquickitem2
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
Error;executed 712 times by 21 tests: return Error;Executed by:- 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_qquickitem2
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| 712 |
| 110 | else if (d->engine| TRUE | evaluated 158752 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| | FALSE | evaluated 2 times by 1 test |
&& d->compilationUnit) | 2-158752 |
| 111 | returnexecuted 158746 times by 141 tests: return Ready;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
Ready;executed 158746 times by 141 tests: return Ready;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 158746 |
| 112 | else | - |
| 113 | returnexecuted 8 times by 2 tests: return Null;Executed by:- tst_parserstress
- tst_qqmlcomponent
Null;executed 8 times by 2 tests: return Null;Executed by:- tst_parserstress
- tst_qqmlcomponent
| 8 |
| 114 | } | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | bool QQmlComponent::isNull() const | - |
| 120 | { | - |
| 121 | returnexecuted 4 times by 1 test: return status() == Null; status() == Null;executed 4 times by 1 test: return status() == Null; | 4 |
| 122 | } | - |
| 123 | | - |
| 124 | | - |
| 125 | | - |
| 126 | | - |
| 127 | bool QQmlComponent::isReady() const | - |
| 128 | { | - |
| 129 | returnexecuted 63598 times by 140 tests: return status() == Ready;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- 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
- ...
status() == Ready;executed 63598 times by 140 tests: return status() == Ready;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- 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
- ...
| 63598 |
| 130 | } | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | bool QQmlComponent::isError() const | - |
| 136 | { | - |
| 137 | returnexecuted 15112 times by 111 tests: return status() == Error;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- ...
status() == Error;executed 15112 times by 111 tests: return status() == Error;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- ...
| 15112 |
| 138 | } | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | bool QQmlComponent::isLoading() const | - |
| 144 | { | - |
| 145 | returnexecuted 6256 times by 90 tests: return status() == Loading;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlprofilerservice
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
status() == Loading;executed 6256 times by 90 tests: return status() == Loading;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlprofilerservice
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- ...
| 6256 |
| 146 | } | - |
| 147 | qreal QQmlComponent::progress() const | - |
| 148 | { | - |
| 149 | const QQmlComponentPrivate * const d = d_func(); | - |
| 150 | returnexecuted 24 times by 1 test: return d->progress; d->progress;executed 24 times by 1 test: return d->progress; | 24 |
| 151 | } | - |
| 152 | QQmlComponent::QQmlComponent(QQmlEngine *engine, QObject *parent) | - |
| 153 | : QObject(*(new QQmlComponentPrivate), parent) | - |
| 154 | { | - |
| 155 | QQmlComponentPrivate * const d = d_func(); | - |
| 156 | d->engine = engine; | - |
| 157 | }executed 68723 times by 141 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 68723 |
| 158 | QQmlComponent::QQmlComponent(QQmlEngine *engine, const QUrl &url, QObject *parent) | - |
| 159 | : QQmlComponent(engine, url, QQmlComponent::PreferSynchronous, parent) | - |
| 160 | { | - |
| 161 | }executed 11224 times by 121 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| 11224 |
| 162 | QQmlComponent::QQmlComponent(QQmlEngine *engine, const QUrl &url, CompilationMode mode, | - |
| 163 | QObject *parent) | - |
| 164 | : QQmlComponent(engine, parent) | - |
| 165 | { | - |
| 166 | QQmlComponentPrivate * const d = d_func(); | - |
| 167 | d->loadUrl(url, mode); | - |
| 168 | }executed 11822 times by 123 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- 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
- ...
| 11822 |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | QQmlComponent::QQmlComponent(QQmlEngine *engine, const QString &fileName, | - |
| 177 | QObject *parent) | - |
| 178 | : QQmlComponent(engine, fileName, QQmlComponent::PreferSynchronous, parent) | - |
| 179 | { | - |
| 180 | }executed 70 times by 8 tests: end of blockExecuted by:- tst_qmldiskcache
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktext
- tst_quicktestmainwithsetup
- tst_testfiltering
| 70 |
| 181 | QQmlComponent::QQmlComponent(QQmlEngine *engine, const QString &fileName, | - |
| 182 | CompilationMode mode, QObject *parent) | - |
| 183 | : QQmlComponent(engine, parent) | - |
| 184 | { | - |
| 185 | QQmlComponentPrivate * const d = d_func(); | - |
| 186 | const QUrl url = QDir::isAbsolutePath(fileName)| TRUE | evaluated 100 times by 8 testsEvaluated by:- tst_qmldiskcache
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktext
- tst_quicktestmainwithsetup
- tst_testfiltering
| | FALSE | never evaluated |
? QUrl::fromLocalFile(fileName) : QUrl(fileName); | 0-100 |
| 187 | d->loadUrl(url, mode); | - |
| 188 | }executed 100 times by 8 tests: end of blockExecuted by:- tst_qmldiskcache
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktext
- tst_quicktestmainwithsetup
- tst_testfiltering
| 100 |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | QQmlComponent::QQmlComponent(QQmlEngine *engine, QV4::CompiledData::CompilationUnit *compilationUnit, int start, QObject *parent) | - |
| 194 | : QQmlComponent(engine, parent) | - |
| 195 | { | - |
| 196 | QQmlComponentPrivate * const d = d_func(); | - |
| 197 | d->compilationUnit = compilationUnit; | - |
| 198 | d->start = start; | - |
| 199 | d->url = compilationUnit->finalUrl(); | - |
| 200 | d->progress = 1.0; | - |
| 201 | }executed 10280 times by 39 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
| 10280 |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | void QQmlComponent::setData(const QByteArray &data, const QUrl &url) | - |
| 209 | { | - |
| 210 | QQmlComponentPrivate * const d = d_func(); | - |
| 211 | | - |
| 212 | d->clear(); | - |
| 213 | | - |
| 214 | d->url = url; | - |
| 215 | | - |
| 216 | QQmlRefPointer<QQmlTypeData> typeData = QQmlEnginePrivate::get(d->engine)->typeLoader.getType(data, url); | - |
| 217 | | - |
| 218 | if (typeData->isCompleteOrError()| TRUE | evaluated 45668 times by 51 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- ...
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickloader
|
) { | 6-45668 |
| 219 | d->fromTypeData(typeData); | - |
| 220 | }executed 45668 times by 51 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- ...
else { | 45668 |
| 221 | d->typeData = typeData; | - |
| 222 | d->typeData->registerCallback(d); | - |
| 223 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qqmlmoduleplugin
- tst_qquickloader
| 6 |
| 224 | | - |
| 225 | d->progress = 1.0; | - |
| 226 | statusChanged(status()); | - |
| 227 | progressChanged(d->progress); | - |
| 228 | }executed 45674 times by 51 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- ...
| 45674 |
| 229 | | - |
| 230 | | - |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | QQmlContext *QQmlComponent::creationContext() const | - |
| 235 | { | - |
| 236 | const QQmlComponentPrivate * const d = d_func(); | - |
| 237 | if(d->creationContext| TRUE | evaluated 93209 times by 38 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- ...
| | FALSE | evaluated 216 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 216-93209 |
| 238 | returnexecuted 93209 times by 38 tests: return d->creationContext->asQQmlContext();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- ...
d->creationContext->asQQmlContext();executed 93209 times by 38 tests: return d->creationContext->asQQmlContext();Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- ...
| 93209 |
| 239 | | - |
| 240 | returnexecuted 216 times by 14 tests: return qmlContext(this);Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
qmlContext(this);executed 216 times by 14 tests: return qmlContext(this);Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
| 216 |
| 241 | } | - |
| 242 | | - |
| 243 | | - |
| 244 | | - |
| 245 | | - |
| 246 | | - |
| 247 | | - |
| 248 | void QQmlComponent::loadUrl(const QUrl &url) | - |
| 249 | { | - |
| 250 | QQmlComponentPrivate * const d = d_func(); | - |
| 251 | d->loadUrl(url); | - |
| 252 | }executed 772 times by 10 tests: end of blockExecuted by:- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlprofilerservice
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 772 |
| 253 | | - |
| 254 | | - |
| 255 | | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | void QQmlComponent::loadUrl(const QUrl &url, QQmlComponent::CompilationMode mode) | - |
| 261 | { | - |
| 262 | QQmlComponentPrivate * const d = d_func(); | - |
| 263 | d->loadUrl(url, mode); | - |
| 264 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmltypeloader
| 10 |
| 265 | | - |
| 266 | void QQmlComponentPrivate::loadUrl(const QUrl &newUrl, QQmlComponent::CompilationMode mode) | - |
| 267 | { | - |
| 268 | QQmlComponent * const q = q_func(); | - |
| 269 | clear(); | - |
| 270 | | - |
| 271 | if (newUrl.isRelative()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickgraphicsinfo
| | FALSE | evaluated 12698 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 6-12698 |
| 272 | | - |
| 273 | url = engine->baseUrl().resolved(QUrl(newUrl.toString())); | - |
| 274 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qquickgraphicsinfo
else if (engine->baseUrl().isLocalFile()| TRUE | evaluated 12698 times by 125 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| | FALSE | never evaluated |
&& newUrl.isLocalFile()| TRUE | evaluated 12622 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| | FALSE | evaluated 76 times by 13 testsEvaluated by:- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qrcqml
|
&& !QDir::isAbsolutePath(newUrl.toLocalFile())| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 12618 times by 124 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_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-12698 |
| 275 | | - |
| 276 | | - |
| 277 | | - |
| 278 | QUrl fixedUrl(newUrl); | - |
| 279 | fixedUrl.setScheme(QString()); | - |
| 280 | | - |
| 281 | | - |
| 282 | url = engine->baseUrl().resolved(fixedUrl); | - |
| 283 | }executed 4 times by 1 test: end of block else { | 4 |
| 284 | url = newUrl; | - |
| 285 | }executed 12694 times by 125 tests: end of blockExecuted 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
- ...
| 12694 |
| 286 | | - |
| 287 | if (newUrl.isEmpty()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 12702 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 2-12702 |
| 288 | QQmlError error; | - |
| 289 | error.setDescription(QQmlComponent::tr("Invalid empty URL")); | - |
| 290 | state.errors << error; | - |
| 291 | return;executed 2 times by 1 test: return; | 2 |
| 292 | } | - |
| 293 | | - |
| 294 | if (progress != 0.0| TRUE | never evaluated | | FALSE | evaluated 12702 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-12702 |
| 295 | progress = 0.0; | - |
| 296 | q->progressChanged(progress); | - |
| 297 | } never executed: end of block | 0 |
| 298 | | - |
| 299 | QQmlTypeLoader::Mode loaderMode = (| TRUE | evaluated 124 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| | FALSE | evaluated 12578 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
mode == QQmlComponent::Asynchronous)| TRUE | evaluated 124 times by 8 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickloader
| | FALSE | evaluated 12578 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
| 124-12578 |
| 300 | ? QQmlTypeLoader::Asynchronous | - |
| 301 | : QQmlTypeLoader::PreferSynchronous; | - |
| 302 | | - |
| 303 | QQmlRefPointer<QQmlTypeData> data = QQmlEnginePrivate::get(engine)->typeLoader.getType(url, loaderMode); | - |
| 304 | | - |
| 305 | if (data->isCompleteOrError()| TRUE | evaluated 12562 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| | FALSE | evaluated 140 times by 12 testsEvaluated 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
|
) { | 140-12562 |
| 306 | fromTypeData(data); | - |
| 307 | progress = 1.0; | - |
| 308 | }executed 12562 times by 126 tests: end of blockExecuted 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 { | 12562 |
| 309 | typeData = data; | - |
| 310 | typeData->registerCallback(this); | - |
| 311 | progress = data->progress(); | - |
| 312 | }executed 140 times by 12 tests: end of blockExecuted 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
| 140 |
| 313 | | - |
| 314 | q->statusChanged(q->status()); | - |
| 315 | if (progress != 0.0| TRUE | evaluated 12565 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| | FALSE | evaluated 137 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlenginecleanup
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 137-12565 |
| 316 | q->progressChanged(progress);executed 12565 times by 126 tests: q->progressChanged(progress);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
- ...
| 12565 |
| 317 | }executed 12702 times by 126 tests: end of blockExecuted 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
- ...
| 12702 |
| 318 | | - |
| 319 | | - |
| 320 | | - |
| 321 | | - |
| 322 | | - |
| 323 | QList<QQmlError> QQmlComponent::errors() const | - |
| 324 | { | - |
| 325 | const QQmlComponentPrivate * const d = d_func(); | - |
| 326 | if (isError()| TRUE | evaluated 226 times by 18 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
- tst_qtqmlmodules
| | FALSE | evaluated 446 times by 25 testsEvaluated by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickview
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 226-446 |
| 327 | returnexecuted 226 times by 18 tests: return d->state.errors;Executed by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- 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
d->state.errors;executed 226 times by 18 tests: return d->state.errors;Executed by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- 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
| 226 |
| 328 | else | - |
| 329 | returnexecuted 446 times by 25 tests: return QList<QQmlError>();Executed by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickview
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
QList<QQmlError>();executed 446 times by 25 tests: return QList<QQmlError>();Executed by:- tst_examples
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickview
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 446 |
| 330 | } | - |
| 331 | QString QQmlComponent::errorString() const | - |
| 332 | { | - |
| 333 | const QQmlComponentPrivate * const d = d_func(); | - |
| 334 | QString ret; | - |
| 335 | if(!isError()| TRUE | evaluated 428 times by 9 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickbehaviors
| | FALSE | evaluated 16 times by 5 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
|
) | 16-428 |
| 336 | returnexecuted 428 times by 9 tests: return ret;Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickbehaviors
ret;executed 428 times by 9 tests: return ret;Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickbehaviors
| 428 |
| 337 | for (const QQmlError &e : d->state.errors) { | - |
| 338 | ret += e.url().toString() + QLatin1Char(':') + | - |
| 339 | QString::number(e.line()) + QLatin1Char(' ') + | - |
| 340 | e.description() + QLatin1Char('\n'); | - |
| 341 | }executed 18 times by 5 tests: end of blockExecuted by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
| 18 |
| 342 | returnexecuted 16 times by 5 tests: return ret;Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
ret;executed 16 times by 5 tests: return ret;Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
| 16 |
| 343 | } | - |
| 344 | QUrl QQmlComponent::url() const | - |
| 345 | { | - |
| 346 | const QQmlComponentPrivate * const d = d_func(); | - |
| 347 | returnexecuted 57642 times by 139 tests: return d->url;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
d->url;executed 57642 times by 139 tests: return d->url;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 57642 |
| 348 | } | - |
| 349 | | - |
| 350 | | - |
| 351 | | - |
| 352 | | - |
| 353 | QQmlComponent::QQmlComponent(QQmlComponentPrivate &dd, QObject *parent) | - |
| 354 | : QObject(dd, parent) | - |
| 355 | { | - |
| 356 | } never executed: end of block | 0 |
| 357 | QObject *QQmlComponent::create(QQmlContext *context) | - |
| 358 | { | - |
| 359 | QQmlComponentPrivate * const d = d_func(); | - |
| 360 | QQmlMemoryScope _qml_memory_scope(url()); | - |
| 361 | | - |
| 362 | if (!context| TRUE | evaluated 14502 times by 138 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| | FALSE | evaluated 42500 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qquickitemparticle
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 14502-42500 |
| 363 | context = d->engine->rootContext();executed 14502 times by 138 tests: context = d->engine->rootContext();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 14502 |
| 364 | | - |
| 365 | QObject *rv = beginCreate(context); | - |
| 366 | if (rv| TRUE | evaluated 56946 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| | FALSE | evaluated 56 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquicktextedit
|
) | 56-56946 |
| 367 | completeCreate();executed 56946 times by 139 tests: completeCreate();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 56946 |
| 368 | returnexecuted 57002 times by 139 tests: return rv;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
rv;executed 57002 times by 139 tests: return rv;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 57002 |
| 369 | } | - |
| 370 | QObject *QQmlComponent::beginCreate(QQmlContext *publicContext) | - |
| 371 | { | - |
| 372 | QQmlComponentPrivate * const d = d_func(); | - |
| 373 | | - |
| 374 | ((publicContext) ? static_cast<void>(0) : qt_assert("publicContext", __FILE__, 811)); | - |
| 375 | QQmlContextData *context = QQmlContextData::get(publicContext); | - |
| 376 | | - |
| 377 | returnexecuted 62501 times by 139 tests: return d->beginCreate(context);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
d->beginCreate(context);executed 62501 times by 139 tests: return d->beginCreate(context);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 62501 |
| 378 | } | - |
| 379 | | - |
| 380 | QObject * | - |
| 381 | QQmlComponentPrivate::beginCreate(QQmlContextData *context) | - |
| 382 | { | - |
| 383 | QQmlComponent * const q = q_func(); | - |
| 384 | if (!context| TRUE | never evaluated | | FALSE | evaluated 62501 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 0-62501 |
| 385 | QMessageLogger(__FILE__, 822, __PRETTY_FUNCTION__).warning("QQmlComponent: Cannot create a component in a null context"); | - |
| 386 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 387 | } | - |
| 388 | | - |
| 389 | if (!context->isValid()| TRUE | never evaluated | | FALSE | evaluated 62501 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 0-62501 |
| 390 | QMessageLogger(__FILE__, 827, __PRETTY_FUNCTION__).warning("QQmlComponent: Cannot create a component in an invalid context"); | - |
| 391 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 392 | } | - |
| 393 | | - |
| 394 | if (context->engine != engine| TRUE | never evaluated | | FALSE | evaluated 62501 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 0-62501 |
| 395 | QMessageLogger(__FILE__, 832, __PRETTY_FUNCTION__).warning("QQmlComponent: Must create component in context from the same QQmlEngine"); | - |
| 396 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 397 | } | - |
| 398 | | - |
| 399 | if (state.completePending| TRUE | never evaluated | | FALSE | evaluated 62501 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 0-62501 |
| 400 | QMessageLogger(__FILE__, 837, __PRETTY_FUNCTION__).warning("QQmlComponent: Cannot create new component instance before completing the previous"); | - |
| 401 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 402 | } | - |
| 403 | | - |
| 404 | if (!q->isReady()| TRUE | evaluated 58 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquicktextedit
| | FALSE | evaluated 62443 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 58-62443 |
| 405 | QMessageLogger(__FILE__, 842, __PRETTY_FUNCTION__).warning("QQmlComponent: Component is not ready"); | - |
| 406 | returnexecuted 58 times by 7 tests: return nullptr;Executed by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquicktextedit
nullptr;executed 58 times by 7 tests: return nullptr;Executed by:- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquicktextedit
| 58 |
| 407 | } | - |
| 408 | | - |
| 409 | | - |
| 410 | static const int maxCreationDepth = 10; | - |
| 411 | if (creationDepth.localData() >= maxCreationDepth| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 62421 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 22-62421 |
| 412 | QMessageLogger(__FILE__, 849, __PRETTY_FUNCTION__).warning("QQmlComponent: Component creation is recursing - aborting"); | - |
| 413 | returnexecuted 22 times by 1 test: return nullptr; nullptr;executed 22 times by 1 test: return nullptr; | 22 |
| 414 | } | - |
| 415 | | - |
| 416 | QQmlEnginePrivate *enginePriv = QQmlEnginePrivate::get(engine); | - |
| 417 | | - |
| 418 | enginePriv->inProgressCreations++; | - |
| 419 | state.errors.clear(); | - |
| 420 | state.completePending = true; | - |
| 421 | | - |
| 422 | enginePriv->referenceScarceResources(); | - |
| 423 | QObject *rv = nullptr; | - |
| 424 | state.creator.reset(new QQmlObjectCreator(context, compilationUnit, creationContext)); | - |
| 425 | rv = state.creator->create(start); | - |
| 426 | if (!rv| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlqt
- tst_qquickitem2
| | FALSE | evaluated 62417 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 4-62417 |
| 427 | state.errors = state.creator->errors;executed 4 times by 2 tests: state.errors = state.creator->errors;Executed by:- tst_qqmlqt
- tst_qquickitem2
| 4 |
| 428 | enginePriv->dereferenceScarceResources(); | - |
| 429 | | - |
| 430 | if (rv| TRUE | evaluated 62417 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlqt
- tst_qquickitem2
|
) { | 4-62417 |
| 431 | QQmlData *ddata = QQmlData::get(rv); | - |
| 432 | ((ddata) ? static_cast<void>(0) : qt_assert("ddata", __FILE__, 869)); | - |
| 433 | | - |
| 434 | | - |
| 435 | ddata->indestructible = true; | - |
| 436 | ddata->explicitIndestructibleSet = true; | - |
| 437 | ddata->rootObjectInCreation = false; | - |
| 438 | }executed 62417 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 62417 |
| 439 | | - |
| 440 | returnexecuted 62421 times by 139 tests: return rv;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
rv;executed 62421 times by 139 tests: return rv;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 62421 |
| 441 | } | - |
| 442 | | - |
| 443 | void QQmlComponentPrivate::beginDeferred(QQmlEnginePrivate *enginePriv, | - |
| 444 | QObject *object, DeferredState *deferredState) | - |
| 445 | { | - |
| 446 | QQmlData *ddata = QQmlData::get(object); | - |
| 447 | ((!ddata->deferredData.isEmpty()) ? static_cast<void>(0) : qt_assert("!ddata->deferredData.isEmpty()", __FILE__, 884)); | - |
| 448 | | - |
| 449 | deferredState->constructionStates.reserve(ddata->deferredData.size()); | - |
| 450 | | - |
| 451 | for (QQmlData::DeferredData *deferredData : qAsConst(ddata->deferredData)) { | - |
| 452 | enginePriv->inProgressCreations++; | - |
| 453 | | - |
| 454 | ConstructionState *state = new ConstructionState; | - |
| 455 | state->completePending = true; | - |
| 456 | | - |
| 457 | QQmlContextData *creationContext = nullptr; | - |
| 458 | state->creator.reset(new QQmlObjectCreator(deferredData->context->parent, deferredData->compilationUnit, creationContext)); | - |
| 459 | | - |
| 460 | if (!state->creator->populateDeferredProperties(object, deferredData)| TRUE | never evaluated | | FALSE | evaluated 1680 times by 23 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
|
) | 0-1680 |
| 461 | state->errors << state->creator->errors; never executed: state->errors << state->creator->errors; | 0 |
| 462 | | - |
| 463 | deferredState->constructionStates += state; | - |
| 464 | }executed 1680 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 1680 |
| 465 | }executed 1680 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 1680 |
| 466 | | - |
| 467 | void QQmlComponentPrivate::completeDeferred(QQmlEnginePrivate *enginePriv, QQmlComponentPrivate::DeferredState *deferredState) | - |
| 468 | { | - |
| 469 | for (ConstructionState *state : qAsConst(deferredState->constructionStates)) | - |
| 470 | complete(enginePriv, state);executed 1680 times by 23 tests: complete(enginePriv, state);Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 1680 |
| 471 | }executed 1680 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 1680 |
| 472 | | - |
| 473 | void QQmlComponentPrivate::complete(QQmlEnginePrivate *enginePriv, ConstructionState *state) | - |
| 474 | { | - |
| 475 | if (state->completePending| TRUE | evaluated 64101 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| | FALSE | never evaluated |
) { | 0-64101 |
| 476 | QQmlInstantiationInterrupt interrupt; | - |
| 477 | state->creator->finalize(interrupt); | - |
| 478 | | - |
| 479 | state->completePending = false; | - |
| 480 | | - |
| 481 | enginePriv->inProgressCreations--; | - |
| 482 | | - |
| 483 | if (0 == enginePriv->inProgressCreations| TRUE | evaluated 61914 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| | FALSE | evaluated 2187 times by 25 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextedit
|
) { | 2187-61914 |
| 484 | while (enginePriv->erroredBindings| TRUE | evaluated 512 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| | FALSE | evaluated 61914 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 512-61914 |
| 485 | enginePriv->warning(enginePriv->erroredBindings->removeError()); | - |
| 486 | }executed 512 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 512 |
| 487 | }executed 61914 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 61914 |
| 488 | }executed 64101 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 64101 |
| 489 | }executed 64101 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 64101 |
| 490 | void QQmlComponent::completeCreate() | - |
| 491 | { | - |
| 492 | QQmlComponentPrivate * const d = d_func(); | - |
| 493 | | - |
| 494 | d->completeCreate(); | - |
| 495 | }executed 59623 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 59623 |
| 496 | | - |
| 497 | void QQmlComponentPrivate::completeCreate() | - |
| 498 | { | - |
| 499 | if (state.completePending| TRUE | evaluated 62421 times by 139 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| | FALSE | never evaluated |
) { | 0-62421 |
| 500 | ++creationDepth.localData(); | - |
| 501 | QQmlEnginePrivate *ep = QQmlEnginePrivate::get(engine); | - |
| 502 | complete(ep, &state); | - |
| 503 | --creationDepth.localData(); | - |
| 504 | }executed 62421 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 62421 |
| 505 | }executed 62421 times by 139 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 62421 |
| 506 | | - |
| 507 | QQmlComponentAttached::QQmlComponentAttached(QObject *parent) | - |
| 508 | : QObject(parent), prev(nullptr), next(nullptr) | - |
| 509 | { | - |
| 510 | }executed 4459 times by 59 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 4459 |
| 511 | | - |
| 512 | QQmlComponentAttached::~QQmlComponentAttached() | - |
| 513 | { | - |
| 514 | if (prev| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 4107 times by 54 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) *executed 2 times by 1 test: *prev = next; prev = next;executed 2 times by 1 test: *prev = next; | 2-4107 |
| 515 | if (next| TRUE | never evaluated | | FALSE | evaluated 4109 times by 55 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) next->prev = prev;never executed: next->prev = prev; | 0-4109 |
| 516 | prev = nullptr; | - |
| 517 | next = nullptr; | - |
| 518 | }executed 4109 times by 55 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 4109 |
| 519 | | - |
| 520 | | - |
| 521 | | - |
| 522 | | - |
| 523 | QQmlComponentAttached *QQmlComponent::qmlAttachedProperties(QObject *obj) | - |
| 524 | { | - |
| 525 | QQmlComponentAttached *a = new QQmlComponentAttached(obj); | - |
| 526 | | - |
| 527 | QQmlEngine *engine = qmlEngine(obj); | - |
| 528 | if (!engine| TRUE | never evaluated | | FALSE | evaluated 4459 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
) | 0-4459 |
| 529 | return never executed: return a; a;never executed: return a; | 0 |
| 530 | | - |
| 531 | QQmlEnginePrivate *p = QQmlEnginePrivate::get(engine); | - |
| 532 | if (p->activeObjectCreator| TRUE | evaluated 4457 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| | FALSE | evaluated 2 times by 1 test |
) { | 2-4457 |
| 533 | a->add(p->activeObjectCreator->componentAttachment()); | - |
| 534 | }executed 4457 times by 59 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
else { | 4457 |
| 535 | QQmlData *d = QQmlData::get(obj); | - |
| 536 | ((d) ? static_cast<void>(0) : qt_assert("d", __FILE__, 984)); | - |
| 537 | ((d->context) ? static_cast<void>(0) : qt_assert("d->context", __FILE__, 985)); | - |
| 538 | a->add(&d->context->componentAttached); | - |
| 539 | }executed 2 times by 1 test: end of block | 2 |
| 540 | | - |
| 541 | returnexecuted 4459 times by 59 tests: return a;Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
a;executed 4459 times by 59 tests: return a;Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 4459 |
| 542 | } | - |
| 543 | void QQmlComponent::create(QQmlIncubator &incubator, QQmlContext *context, | - |
| 544 | QQmlContext *forContext) | - |
| 545 | { | - |
| 546 | QQmlComponentPrivate * const d = d_func(); | - |
| 547 | | - |
| 548 | if (!context| TRUE | evaluated 90 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
| | FALSE | evaluated 314 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
|
) | 90-314 |
| 549 | context = d->engine->rootContext();executed 90 times by 4 tests: context = d->engine->rootContext();Executed by:- tst_qqmlcomponent
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
| 90 |
| 550 | | - |
| 551 | QQmlContextData *contextData = QQmlContextData::get(context); | - |
| 552 | QQmlContextData *forContextData = contextData; | - |
| 553 | if (forContext| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 382 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
|
) forContextData = QQmlContextData::get(forContext);executed 22 times by 1 test: forContextData = QQmlContextData::get(forContext); | 22-382 |
| 554 | | - |
| 555 | if (!contextData->isValid()| TRUE | never evaluated | | FALSE | evaluated 404 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 0-404 |
| 556 | QMessageLogger(__FILE__, 1025, __PRETTY_FUNCTION__).warning("QQmlComponent: Cannot create a component in an invalid context"); | - |
| 557 | return; never executed: return; | 0 |
| 558 | } | - |
| 559 | | - |
| 560 | if (contextData->engine != d->engine| TRUE | never evaluated | | FALSE | evaluated 404 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 0-404 |
| 561 | QMessageLogger(__FILE__, 1030, __PRETTY_FUNCTION__).warning("QQmlComponent: Must create component in context from the same QQmlEngine"); | - |
| 562 | return; never executed: return; | 0 |
| 563 | } | - |
| 564 | | - |
| 565 | if (!isReady()| TRUE | never evaluated | | FALSE | evaluated 404 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 0-404 |
| 566 | QMessageLogger(__FILE__, 1035, __PRETTY_FUNCTION__).warning("QQmlComponent: Component is not ready"); | - |
| 567 | return; never executed: return; | 0 |
| 568 | } | - |
| 569 | | - |
| 570 | incubator.clear(); | - |
| 571 | QExplicitlySharedDataPointer<QQmlIncubatorPrivate> p(incubator.d); | - |
| 572 | | - |
| 573 | QQmlEnginePrivate *enginePriv = QQmlEnginePrivate::get(d->engine); | - |
| 574 | | - |
| 575 | p->compilationUnit = d->compilationUnit; | - |
| 576 | p->enginePriv = enginePriv; | - |
| 577 | p->creator.reset(new QQmlObjectCreator(contextData, d->compilationUnit, d->creationContext, p.data())); | - |
| 578 | p->subComponentToCreate = d->start; | - |
| 579 | | - |
| 580 | enginePriv->incubate(incubator, forContextData); | - |
| 581 | }executed 404 times by 18 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickrepeater
| 404 |
| 582 | void QQmlComponentPrivate::incubateObject( | - |
| 583 | QQmlIncubator *incubationTask, | - |
| 584 | QQmlComponent *component, | - |
| 585 | QQmlEngine *engine, | - |
| 586 | QQmlContextData *context, | - |
| 587 | QQmlContextData *forContext) | - |
| 588 | { | - |
| 589 | QQmlIncubatorPrivate *incubatorPriv = QQmlIncubatorPrivate::get(incubationTask); | - |
| 590 | QQmlEnginePrivate *enginePriv = QQmlEnginePrivate::get(engine); | - |
| 591 | QQmlComponentPrivate *componentPriv = QQmlComponentPrivate::get(component); | - |
| 592 | | - |
| 593 | incubatorPriv->compilationUnit = componentPriv->compilationUnit; | - |
| 594 | incubatorPriv->enginePriv = enginePriv; | - |
| 595 | incubatorPriv->creator.reset(new QQmlObjectCreator(context, componentPriv->compilationUnit, componentPriv->creationContext)); | - |
| 596 | incubatorPriv->subComponentToCreate = componentPriv->start; | - |
| 597 | | - |
| 598 | enginePriv->incubate(*incubationTask, forContext); | - |
| 599 | }executed 88407 times by 25 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 88407 |
| 600 | | - |
| 601 | | - |
| 602 | | - |
| 603 | class QQmlComponentIncubator; | - |
| 604 | | - |
| 605 | namespace QV4 { | - |
| 606 | | - |
| 607 | namespace Heap { | - |
| 608 | struct QmlIncubatorObjectOffsetStruct { HeapValue<0> valuemap; HeapValue<0> statusChanged; Pointer<QmlContext *, 0> qmlContext; QQmlComponentIncubator * incubator; QQmlQPointer<QObject> parent; }; struct QmlIncubatorObjectSizeStruct : Object, QmlIncubatorObjectOffsetStruct {}; struct QmlIncubatorObjectData { typedef Object SuperClass; static constexpr size_t baseOffset = sizeof(QmlIncubatorObjectSizeStruct) - sizeof(QmlIncubatorObjectOffsetStruct); HeapValue< | - |
| 609 | __builtin_offsetof ( | - |
| 610 | QmlIncubatorObjectOffsetStruct | - |
| 611 | , | - |
| 612 | valuemap | - |
| 613 | ) | - |
| 614 | + baseOffset> valuemap; HeapValue< | - |
| 615 | __builtin_offsetof ( | - |
| 616 | QmlIncubatorObjectOffsetStruct | - |
| 617 | , | - |
| 618 | statusChanged | - |
| 619 | ) | - |
| 620 | + baseOffset> statusChanged; Pointer<QmlContext *, | - |
| 621 | __builtin_offsetof ( | - |
| 622 | QmlIncubatorObjectOffsetStruct | - |
| 623 | , | - |
| 624 | qmlContext | - |
| 625 | ) | - |
| 626 | + baseOffset> qmlContext; QQmlComponentIncubator * incubator; QQmlQPointer<QObject> parent; }; static_assert(bool(sizeof(QmlIncubatorObjectSizeStruct) == sizeof(QmlIncubatorObjectData) + QmlIncubatorObjectData::baseOffset), "sizeof(QmlIncubatorObjectSizeStruct) == sizeof(QmlIncubatorObjectData) + QmlIncubatorObjectData::baseOffset"); struct QmlIncubatorObject : Object, QmlIncubatorObjectData { | - |
| 627 | static void markObjects(Heap::Base *b, MarkStack *stack) { QmlIncubatorObject *o = static_cast<QmlIncubatorObject *>(b); QmlIncubatorObjectData::SuperClass::markObjects(o, stack); o->valuemap.mark(stack); o->statusChanged.mark(stack); if (o->qmlContext| TRUE | never evaluated | | FALSE | never evaluated |
) o->qmlContext.heapObject()->mark(stack);never executed: o->qmlContext.heapObject()->mark(stack); }never executed: end of block ; | 0 |
| 628 | | - |
| 629 | void init(QQmlIncubator::IncubationMode = QQmlIncubator::Asynchronous); | - |
| 630 | inline void destroy(); | - |
| 631 | }; | - |
| 632 | | - |
| 633 | } | - |
| 634 | | - |
| 635 | struct QmlIncubatorObject : public QV4::Object | - |
| 636 | { | - |
| 637 | private: QmlIncubatorObject() = delete; QmlIncubatorObject(const QmlIncubatorObject &) = delete; QmlIncubatorObject &operator=(const QmlIncubatorObject &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; }executed 24 times by 2 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
typedef QV4::Heap::QmlIncubatorObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnexecuted 54 times by 3 tests: return &static_vtbl;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
&static_vtbl;executed 54 times by 3 tests: return &static_vtbl;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }never executed: end of block QV4::Heap::QmlIncubatorObject *d_unchecked() const { returnexecuted 182 times by 3 tests: return static_cast<QV4::Heap::QmlIncubatorObject *>(m());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
static_cast<QV4::Heap::QmlIncubatorObject *>(m());executed 182 times by 3 tests: return static_cast<QV4::Heap::QmlIncubatorObject *>(m());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
} QV4::Heap::QmlIncubatorObject *d() const { QV4::Heap::QmlIncubatorObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnexecuted 172 times by 3 tests: return dptr;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
dptr;executed 172 times by 3 tests: return dptr;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
} static_assert(bool(std::is_trivial< QV4::Heap::QmlIncubatorObject >::value), "std::is_trivial< QV4::Heap::QmlIncubatorObject >::value"); | 0-182 |
| 638 | static void virtualDestroy(QV4::Heap::Base *b) { static_cast<Data *>(b)->destroy(); }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 639 | | - |
| 640 | static ReturnedValue method_get_statusChanged(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 641 | static ReturnedValue method_set_statusChanged(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 642 | static ReturnedValue method_get_status(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 643 | static ReturnedValue method_get_object(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 644 | static ReturnedValue method_forceCompletion(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 645 | | - |
| 646 | void statusChanged(QQmlIncubator::Status); | - |
| 647 | void setInitialState(QObject *); | - |
| 648 | }; | - |
| 649 | | - |
| 650 | } | - |
| 651 | | - |
| 652 | const QV4::VTable QV4::QmlIncubatorObject::static_vtbl = { (std::is_same<QV4::QmlIncubatorObject::SuperClass, Object>::value) ? nullptr : &QV4::QmlIncubatorObject::SuperClass::static_vtbl, (sizeof(QV4::QmlIncubatorObject::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QV4::QmlIncubatorObject::Data) + (QV4::QmlIncubatorObject::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QV4::QmlIncubatorObject::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QV4::QmlIncubatorObject::IsExecutionContext, QV4::QmlIncubatorObject::IsString, QV4::QmlIncubatorObject::IsObject, QV4::QmlIncubatorObject::IsFunctionObject, QV4::QmlIncubatorObject::IsErrorObject, QV4::QmlIncubatorObject::IsArrayData, QV4::QmlIncubatorObject::IsStringOrSymbol, QV4::QmlIncubatorObject::MyType, { 0, 0, 0, 0 }, "QV4::QmlIncubatorObject", QV4::QmlIncubatorObject::virtualDestroy, QV4::QmlIncubatorObject::Data::markObjects, QV4::QmlIncubatorObject::virtualIsEqualTo, QV4::QmlIncubatorObject::virtualGet, QV4::QmlIncubatorObject::virtualPut, QV4::QmlIncubatorObject::virtualDeleteProperty, QV4::QmlIncubatorObject::virtualHasProperty, QV4::QmlIncubatorObject::virtualGetOwnProperty, QV4::QmlIncubatorObject::virtualDefineOwnProperty, QV4::QmlIncubatorObject::virtualIsExtensible, QV4::QmlIncubatorObject::virtualPreventExtensions, QV4::QmlIncubatorObject::virtualGetPrototypeOf, QV4::QmlIncubatorObject::virtualSetPrototypeOf, QV4::QmlIncubatorObject::virtualGetLength, QV4::QmlIncubatorObject::virtualAdvanceIterator, QV4::QmlIncubatorObject::virtualInstanceOf, QV4::QmlIncubatorObject::virtualCall, QV4::QmlIncubatorObject::virtualCallAsConstructor, }; | - |
| 653 | | - |
| 654 | class QQmlComponentIncubator : public QQmlIncubator | - |
| 655 | { | - |
| 656 | public: | - |
| 657 | QQmlComponentIncubator(QV4::Heap::QmlIncubatorObject *inc, IncubationMode mode) | - |
| 658 | : QQmlIncubator(mode) | - |
| 659 | , incubatorObject(inc) | - |
| 660 | {}executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 661 | | - |
| 662 | void statusChanged(Status s) override { | - |
| 663 | QV4::Scope scope(incubatorObject->internalClass->engine); | - |
| 664 | QV4::Scoped<QV4::QmlIncubatorObject> i(scope, incubatorObject); | - |
| 665 | i->statusChanged(s); | - |
| 666 | }executed 20 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 20 |
| 667 | | - |
| 668 | void setInitialState(QObject *o) override { | - |
| 669 | QV4::Scope scope(incubatorObject->internalClass->engine); | - |
| 670 | QV4::Scoped<QV4::QmlIncubatorObject> i(scope, incubatorObject); | - |
| 671 | i->setInitialState(o); | - |
| 672 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 673 | | - |
| 674 | QV4::Heap::QmlIncubatorObject *incubatorObject; | - |
| 675 | }; | - |
| 676 | | - |
| 677 | | - |
| 678 | static void QQmlComponent_setQmlParent(QObject *me, QObject *parent) | - |
| 679 | { | - |
| 680 | if (parent| TRUE | evaluated 2490 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 316 times by 7 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlqt
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
|
) { | 316-2490 |
| 681 | me->setParent(parent); | - |
| 682 | typedef QQmlPrivate::AutoParentFunction APF; | - |
| 683 | QList<APF> functions = QQmlMetaType::parentFunctions(); | - |
| 684 | | - |
| 685 | bool needParent = false; | - |
| 686 | for (int ii = 0; ii < functions.count()| TRUE | evaluated 2490 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 22 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
|
; ++ii) { | 22-2490 |
| 687 | QQmlPrivate::AutoParentResult res = functions.at(ii)(me, parent); | - |
| 688 | if (res == QQmlPrivate::Parented| TRUE | evaluated 2468 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 22 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
|
) { | 22-2468 |
| 689 | needParent = false; | - |
| 690 | break;executed 2468 times by 10 tests: break;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2468 |
| 691 | } else if (res == QQmlPrivate::IncompatibleParent| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 20 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
|
) { | 2-20 |
| 692 | needParent = true; | - |
| 693 | }executed 2 times by 1 test: end of block | 2 |
| 694 | }executed 22 times by 4 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
| 22 |
| 695 | if (needParent| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2488 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
) | 2-2488 |
| 696 | QMessageLogger(__FILE__, 1163, __PRETTY_FUNCTION__).warning("QQmlComponent: Created graphical object was not "executed 2 times by 1 test: QMessageLogger(__FILE__, 1163, __PRETTY_FUNCTION__).warning("QQmlComponent: Created graphical object was not " "placed in the graphics scene."); | 2 |
| 697 | "placed in the graphics scene.");executed 2 times by 1 test: QMessageLogger(__FILE__, 1163, __PRETTY_FUNCTION__).warning("QQmlComponent: Created graphical object was not " "placed in the graphics scene."); | 2 |
| 698 | }executed 2490 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2490 |
| 699 | }executed 2806 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2806 |
| 700 | void QQmlComponentPrivate::setInitialProperties(QV4::ExecutionEngine *engine, QV4::QmlContext *qmlContext, const QV4::Value &o, const QV4::Value &v) | - |
| 701 | { | - |
| 702 | QV4::Scope scope(engine); | - |
| 703 | QV4::ScopedObject object(scope); | - |
| 704 | QV4::ScopedObject valueMap(scope, v); | - |
| 705 | QV4::ObjectIterator it(scope, valueMap, QV4::ObjectIterator::EnumerableOnly|QV4::ObjectIterator::WithProtoChain); | - |
| 706 | QV4::ScopedString name(scope); | - |
| 707 | QV4::ScopedValue val(scope); | - |
| 708 | if (engine->hasException| TRUE | never evaluated | | FALSE | evaluated 58 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
) | 0-58 |
| 709 | return; never executed: return; | 0 |
| 710 | | - |
| 711 | QV4::ScopedStackFrame frame(scope, qmlContext->d()); | - |
| 712 | | - |
| 713 | while (1) { | - |
| 714 | name = it.nextPropertyNameAsString(val); | - |
| 715 | if (!name| TRUE | evaluated 58 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
|
) | 58-80 |
| 716 | break;executed 58 times by 8 tests: break;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 58 |
| 717 | object = o; | - |
| 718 | const QStringList properties = name->toQString().split(QLatin1Char('.')); | - |
| 719 | for (int i = 0; i < properties.length() - 1| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
|
; ++i) { | 6-80 |
| 720 | name = engine->newString(properties.at(i)); | - |
| 721 | object = object->get(name); | - |
| 722 | if (engine->hasException| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
|| !object| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) { | 0-6 |
| 723 | break; never executed: break; | 0 |
| 724 | } | - |
| 725 | }executed 6 times by 1 test: end of block | 6 |
| 726 | if (engine->hasException| TRUE | never evaluated | | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
|
|| !object| TRUE | never evaluated | | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
|
) { | 0-80 |
| 727 | engine->hasException = false; | - |
| 728 | continue; never executed: continue; | 0 |
| 729 | } | - |
| 730 | name = engine->newString(properties.last()); | - |
| 731 | object->put(name, val); | - |
| 732 | if (engine->hasException| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
|
) { | 2-78 |
| 733 | engine->hasException = false; | - |
| 734 | continue;executed 2 times by 1 test: continue; | 2 |
| 735 | } | - |
| 736 | }executed 78 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
| 78 |
| 737 | | - |
| 738 | engine->hasException = false; | - |
| 739 | }executed 58 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 58 |
| 740 | | - |
| 741 | | - |
| 742 | | - |
| 743 | | - |
| 744 | void QQmlComponent::createObject(QQmlV4Function *args) | - |
| 745 | { | - |
| 746 | QQmlComponentPrivate * const d = d_func(); | - |
| 747 | ((d->engine) ? static_cast<void>(0) : qt_assert("d->engine", __FILE__, 1257)); | - |
| 748 | ((args) ? static_cast<void>(0) : qt_assert("args", __FILE__, 1258)); | - |
| 749 | | - |
| 750 | QObject *parent = nullptr; | - |
| 751 | QV4::ExecutionEngine *v4 = args->v4engine(); | - |
| 752 | QV4::Scope scope(v4); | - |
| 753 | QV4::ScopedValue valuemap(scope, QV4::Primitive::undefinedValue()); | - |
| 754 | | - |
| 755 | if (args->length() >= 1| TRUE | evaluated 2598 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 224 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
|
) { | 224-2598 |
| 756 | QV4::Scoped<QV4::QObjectWrapper> qobjectWrapper(scope, (*args)[0]); | - |
| 757 | if (qobjectWrapper| TRUE | evaluated 2490 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 108 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlqt
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
|
) | 108-2490 |
| 758 | parent = qobjectWrapper->object();executed 2490 times by 12 tests: parent = qobjectWrapper->object();Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2490 |
| 759 | }executed 2598 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2598 |
| 760 | | - |
| 761 | if (args->length() >= 2| TRUE | evaluated 34 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 2788 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
|
) { | 34-2788 |
| 762 | QV4::ScopedValue v(scope, (*args)[1]); | - |
| 763 | if (!v->as<QV4::Object>()| TRUE | never evaluated | | FALSE | evaluated 34 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
|| v->as<QV4::ArrayObject>()| TRUE | never evaluated | | FALSE | evaluated 34 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
) { | 0-34 |
| 764 | qmlWarning(this) << tr("createObject: value is not an object"); | - |
| 765 | args->setReturnValue(QV4::Encode::null()); | - |
| 766 | return; never executed: return; | 0 |
| 767 | } | - |
| 768 | valuemap = v; | - |
| 769 | }executed 34 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 34 |
| 770 | | - |
| 771 | QQmlContext *ctxt = creationContext(); | - |
| 772 | if (!ctxt| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2820 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
) ctxt = d->engine->rootContext();executed 2 times by 1 test: ctxt = d->engine->rootContext(); | 2-2820 |
| 773 | | - |
| 774 | QObject *rv = beginCreate(ctxt); | - |
| 775 | | - |
| 776 | if (!rv| TRUE | evaluated 26 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
| | FALSE | evaluated 2796 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
|
) { | 26-2796 |
| 777 | args->setReturnValue(QV4::Encode::null()); | - |
| 778 | return;executed 26 times by 3 tests: return;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
| 26 |
| 779 | } | - |
| 780 | | - |
| 781 | QQmlComponent_setQmlParent(rv, parent); | - |
| 782 | | - |
| 783 | QV4::ScopedValue object(scope, QV4::QObjectWrapper::wrap(v4, rv)); | - |
| 784 | ((object->isObject()) ? static_cast<void>(0) : qt_assert("object->isObject()", __FILE__, 1294)); | - |
| 785 | | - |
| 786 | if (!valuemap->isUndefined()| TRUE | evaluated 34 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| | FALSE | evaluated 2762 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
|
) { | 34-2762 |
| 787 | QV4::Scoped<QV4::QmlContext> qmlContext(scope, v4->qmlContext()); | - |
| 788 | QQmlComponentPrivate::setInitialProperties(v4, qmlContext, object, valuemap); | - |
| 789 | }executed 34 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 34 |
| 790 | | - |
| 791 | d->completeCreate(); | - |
| 792 | | - |
| 793 | ((QQmlData::get(rv)) ? static_cast<void>(0) : qt_assert("QQmlData::get(rv)", __FILE__, 1303)); | - |
| 794 | QQmlData::get(rv)->explicitIndestructibleSet = false; | - |
| 795 | QQmlData::get(rv)->indestructible = false; | - |
| 796 | | - |
| 797 | args->setReturnValue(object->asReturnedValue()); | - |
| 798 | }executed 2796 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 2796 |
| 799 | void QQmlComponent::incubateObject(QQmlV4Function *args) | - |
| 800 | { | - |
| 801 | QQmlComponentPrivate * const d = d_func(); | - |
| 802 | ((d->engine) ? static_cast<void>(0) : qt_assert("d->engine", __FILE__, 1371)); | - |
| 803 | (void)d;; | - |
| 804 | ((args) ? static_cast<void>(0) : qt_assert("args", __FILE__, 1373)); | - |
| 805 | QV4::ExecutionEngine *v4 = args->v4engine(); | - |
| 806 | QV4::Scope scope(v4); | - |
| 807 | | - |
| 808 | QObject *parent = nullptr; | - |
| 809 | QV4::ScopedValue valuemap(scope, QV4::Primitive::undefinedValue()); | - |
| 810 | QQmlIncubator::IncubationMode mode = QQmlIncubator::Asynchronous; | - |
| 811 | | - |
| 812 | if (args->length() >= 1| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | never evaluated |
) { | 0-10 |
| 813 | QV4::Scoped<QV4::QObjectWrapper> qobjectWrapper(scope, (*args)[0]); | - |
| 814 | if (qobjectWrapper| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | evaluated 6 times by 1 test |
) | 4-6 |
| 815 | parent = qobjectWrapper->object();executed 4 times by 2 tests: parent = qobjectWrapper->object();Executed by:- tst_qqmlecmascript
- tst_qqmlincubator
| 4 |
| 816 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 817 | | - |
| 818 | if (args->length() >= 2| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlincubator
| | FALSE | evaluated 2 times by 1 test |
) { | 2-8 |
| 819 | QV4::ScopedValue v(scope, (*args)[1]); | - |
| 820 | if (v->isNull()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 6 times by 1 test |
) { | 2-6 |
| 821 | }executed 2 times by 1 test: end of block else if (!v->as<QV4::Object>()| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
|| v->as<QV4::ArrayObject>()| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) { | 0-6 |
| 822 | qmlWarning(this) << tr("createObject: value is not an object"); | - |
| 823 | args->setReturnValue(QV4::Encode::null()); | - |
| 824 | return; never executed: return; | 0 |
| 825 | } else { | - |
| 826 | valuemap = v; | - |
| 827 | }executed 6 times by 1 test: end of block | 6 |
| 828 | } | - |
| 829 | | - |
| 830 | if (args->length() >= 3| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlincubator
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
|
) { | 4-6 |
| 831 | QV4::ScopedValue val(scope, (*args)[2]); | - |
| 832 | quint32 v = val->toUInt32(); | - |
| 833 | if (v == 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2 |
| 834 | mode = QQmlIncubator::Asynchronous;executed 2 times by 1 test: mode = QQmlIncubator::Asynchronous; | 2 |
| 835 | else if (v == 1| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 836 | mode = QQmlIncubator::AsynchronousIfNested;executed 2 times by 1 test: mode = QQmlIncubator::AsynchronousIfNested; | 2 |
| 837 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlincubator
| 4 |
| 838 | | - |
| 839 | QQmlComponentExtension *e = componentExtension(args->v4engine()); | - |
| 840 | | - |
| 841 | QV4::Scoped<QV4::QmlIncubatorObject> r(scope, v4->memoryManager->allocate<QV4::QmlIncubatorObject>(mode)); | - |
| 842 | QV4::ScopedObject p(scope, e->incubationProto.value()); | - |
| 843 | r->setPrototypeOf(p); | - |
| 844 | | - |
| 845 | if (!valuemap->isUndefined()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlincubator
|
) | 4-6 |
| 846 | r->d()->valuemap.set(scope.engine, valuemap);executed 6 times by 1 test: r->d()->valuemap.set(scope.engine, valuemap); | 6 |
| 847 | r->d()->qmlContext.set(scope.engine, v4->qmlContext()); | - |
| 848 | r->d()->parent = parent; | - |
| 849 | | - |
| 850 | QQmlIncubator *incubator = r->d()->incubator; | - |
| 851 | create(*incubator, creationContext()); | - |
| 852 | | - |
| 853 | if (incubator->status() == QQmlIncubator::Null| TRUE | never evaluated | | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
|
) { | 0-10 |
| 854 | args->setReturnValue(QV4::Encode::null()); | - |
| 855 | } never executed: end of block else { | 0 |
| 856 | args->setReturnValue(r.asReturnedValue()); | - |
| 857 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 858 | } | - |
| 859 | | - |
| 860 | | - |
| 861 | void QQmlComponentPrivate::initializeObjectWithInitialProperties(QV4::QmlContext *qmlContext, const QV4::Value &valuemap, QObject *toCreate) | - |
| 862 | { | - |
| 863 | QV4::ExecutionEngine *v4engine = engine->handle(); | - |
| 864 | QV4::Scope scope(v4engine); | - |
| 865 | | - |
| 866 | QV4::ScopedValue object(scope, QV4::QObjectWrapper::wrap(v4engine, toCreate)); | - |
| 867 | ((object->as<QV4::Object>()) ? static_cast<void>(0) : qt_assert("object->as<QV4::Object>()", __FILE__, 1436)); | - |
| 868 | | - |
| 869 | if (!valuemap.isUndefined()| TRUE | evaluated 18 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickloader
| | FALSE | never evaluated |
) | 0-18 |
| 870 | setInitialProperties(v4engine, qmlContext, object, valuemap);executed 18 times by 3 tests: setInitialProperties(v4engine, qmlContext, object, valuemap);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickloader
| 18 |
| 871 | }executed 18 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qquickloader
| 18 |
| 872 | | - |
| 873 | QQmlComponentExtension::QQmlComponentExtension(QV4::ExecutionEngine *v4) | - |
| 874 | { | - |
| 875 | QV4::Scope scope(v4); | - |
| 876 | QV4::ScopedObject proto(scope, v4->newObject()); | - |
| 877 | proto->defineAccessorProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "onStatusChanged")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "onStatusChanged" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
qstring_literal_temp;executed 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
}()), | 8 |
| 878 | QV4::QmlIncubatorObject::method_get_statusChanged, QV4::QmlIncubatorObject::method_set_statusChanged); | - |
| 879 | proto->defineAccessorProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "status")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "status" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
qstring_literal_temp;executed 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
}()), QV4::QmlIncubatorObject::method_get_status, nullptr); | 8 |
| 880 | proto->defineAccessorProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
qstring_literal_temp;executed 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
}()), QV4::QmlIncubatorObject::method_get_object, nullptr); | 8 |
| 881 | proto->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "forceCompletion")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "forceCompletion" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
qstring_literal_temp;executed 8 times by 3 tests: return qstring_literal_temp;Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
}()), QV4::QmlIncubatorObject::method_forceCompletion); | 8 |
| 882 | | - |
| 883 | incubationProto.set(v4, proto); | - |
| 884 | }executed 8 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 8 |
| 885 | | - |
| 886 | QV4::ReturnedValue QV4::QmlIncubatorObject::method_get_object(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
| 887 | { | - |
| 888 | QV4::Scope scope(b); | - |
| 889 | QV4::Scoped<QmlIncubatorObject> o(scope, thisObject->as<QmlIncubatorObject>()); | - |
| 890 | if (!o| TRUE | never evaluated | | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
|
) | 0-14 |
| 891 | return never executed: return scope.engine->throwTypeError(); scope.engine->throwTypeError();never executed: return scope.engine->throwTypeError(); | 0 |
| 892 | | - |
| 893 | returnexecuted 14 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, o->d()->incubator->object());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
QV4::QObjectWrapper::wrap(scope.engine, o->d()->incubator->object());executed 14 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, o->d()->incubator->object());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
| 14 |
| 894 | } | - |
| 895 | | - |
| 896 | QV4::ReturnedValue QV4::QmlIncubatorObject::method_forceCompletion(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
| 897 | { | - |
| 898 | QV4::Scope scope(b); | - |
| 899 | QV4::Scoped<QmlIncubatorObject> o(scope, thisObject->as<QmlIncubatorObject>()); | - |
| 900 | if (!o| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
| 901 | return never executed: return scope.engine->throwTypeError(); scope.engine->throwTypeError();never executed: return scope.engine->throwTypeError(); | 0 |
| 902 | | - |
| 903 | o->d()->incubator->forceCompletion(); | - |
| 904 | | - |
| 905 | returnexecuted 2 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 2 times by 1 test: return QV4::Encode::undefined(); | 2 |
| 906 | } | - |
| 907 | | - |
| 908 | QV4::ReturnedValue QV4::QmlIncubatorObject::method_get_status(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
| 909 | { | - |
| 910 | QV4::Scope scope(b); | - |
| 911 | QV4::Scoped<QmlIncubatorObject> o(scope, thisObject->as<QmlIncubatorObject>()); | - |
| 912 | if (!o| TRUE | never evaluated | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
|
) | 0-4 |
| 913 | return never executed: return scope.engine->throwTypeError(); scope.engine->throwTypeError();never executed: return scope.engine->throwTypeError(); | 0 |
| 914 | | - |
| 915 | returnexecuted 4 times by 2 tests: return QV4::Encode(o->d()->incubator->status());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
QV4::Encode(o->d()->incubator->status());executed 4 times by 2 tests: return QV4::Encode(o->d()->incubator->status());Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
| 4 |
| 916 | } | - |
| 917 | | - |
| 918 | QV4::ReturnedValue QV4::QmlIncubatorObject::method_get_statusChanged(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
| 919 | { | - |
| 920 | QV4::Scope scope(b); | - |
| 921 | QV4::Scoped<QmlIncubatorObject> o(scope, thisObject->as<QmlIncubatorObject>()); | - |
| 922 | if (!o| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 923 | return never executed: return scope.engine->throwTypeError(); scope.engine->throwTypeError();never executed: return scope.engine->throwTypeError(); | 0 |
| 924 | | - |
| 925 | return never executed: return QV4::Encode(o->d()->statusChanged); QV4::Encode(o->d()->statusChanged);never executed: return QV4::Encode(o->d()->statusChanged); | 0 |
| 926 | } | - |
| 927 | | - |
| 928 | QV4::ReturnedValue QV4::QmlIncubatorObject::method_set_statusChanged(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc) | - |
| 929 | { | - |
| 930 | QV4::Scope scope(b); | - |
| 931 | QV4::Scoped<QmlIncubatorObject> o(scope, thisObject->as<QmlIncubatorObject>()); | - |
| 932 | if (!o| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
|| argc < 1| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
| 933 | return never executed: return scope.engine->throwTypeError(); scope.engine->throwTypeError();never executed: return scope.engine->throwTypeError(); | 0 |
| 934 | | - |
| 935 | o->d()->statusChanged.set(scope.engine, argv[0]); | - |
| 936 | | - |
| 937 | returnexecuted 4 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 4 times by 1 test: return QV4::Encode::undefined(); | 4 |
| 938 | } | - |
| 939 | | - |
| 940 | QQmlComponentExtension::~QQmlComponentExtension() | - |
| 941 | { | - |
| 942 | } | - |
| 943 | | - |
| 944 | void QV4::Heap::QmlIncubatorObject::init(QQmlIncubator::IncubationMode m) | - |
| 945 | { | - |
| 946 | Object::init(); | - |
| 947 | valuemap.set(internalClass->engine, QV4::Primitive::undefinedValue()); | - |
| 948 | statusChanged.set(internalClass->engine, QV4::Primitive::undefinedValue()); | - |
| 949 | parent.init(); | - |
| 950 | qmlContext.set(internalClass->engine, nullptr); | - |
| 951 | incubator = new QQmlComponentIncubator(this, m); | - |
| 952 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 953 | | - |
| 954 | void QV4::Heap::QmlIncubatorObject::destroy() { | - |
| 955 | delete incubator; | - |
| 956 | parent.destroy(); | - |
| 957 | Object::destroy(); | - |
| 958 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 959 | | - |
| 960 | void QV4::QmlIncubatorObject::setInitialState(QObject *o) | - |
| 961 | { | - |
| 962 | QQmlComponent_setQmlParent(o, d()->parent); | - |
| 963 | | - |
| 964 | if (!d()->valuemap.isUndefined()| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlincubator
|
) { | 4-6 |
| 965 | QV4::ExecutionEngine *v4 = engine(); | - |
| 966 | QV4::Scope scope(v4); | - |
| 967 | QV4::ScopedObject obj(scope, QV4::QObjectWrapper::wrap(v4, o)); | - |
| 968 | QV4::Scoped<QV4::QmlContext> qmlCtxt(scope, d()->qmlContext); | - |
| 969 | QQmlComponentPrivate::setInitialProperties(v4, qmlCtxt, obj, d()->valuemap); | - |
| 970 | }executed 6 times by 1 test: end of block | 6 |
| 971 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 972 | | - |
| 973 | void QV4::QmlIncubatorObject::statusChanged(QQmlIncubator::Status s) | - |
| 974 | { | - |
| 975 | QV4::Scope scope(engine()); | - |
| 976 | | - |
| 977 | QV4::ScopedObject incubatedObject(scope, QV4::QObjectWrapper::wrap(scope.engine, d()->incubator->object())); | - |
| 978 | | - |
| 979 | if (s == QQmlIncubator::Ready| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
|
) { | 10 |
| 980 | ((QQmlData::get(d()->incubator->object())) ? static_cast<void>(0) : qt_assert("QQmlData::get(d()->incubator->object())", __FILE__, 1549)); | - |
| 981 | QQmlData::get(d()->incubator->object())->explicitIndestructibleSet = false; | - |
| 982 | QQmlData::get(d()->incubator->object())->indestructible = false; | - |
| 983 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 10 |
| 984 | | - |
| 985 | QV4::ScopedFunctionObject f(scope, d()->statusChanged); | - |
| 986 | if (f| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
|
) { | 4-16 |
| 987 | QV4::JSCallData jsCallData(scope, 1); | - |
| 988 | *jsCallData->thisObject = this; | - |
| 989 | jsCallData->args[0] = QV4::Primitive::fromUInt32(s); | - |
| 990 | f->call(jsCallData); | - |
| 991 | if (scope.hasException()| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
| 992 | QQmlError error = scope.engine->catchExceptionAsQmlError(); | - |
| 993 | QQmlEnginePrivate::warning(QQmlEnginePrivate::get(scope.engine->qmlEngine()), error); | - |
| 994 | } never executed: end of block | 0 |
| 995 | }executed 4 times by 1 test: end of block | 4 |
| 996 | }executed 20 times by 3 tests: end of blockExecuted by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
| 20 |
| 997 | | - |
| 998 | | - |
| 999 | | - |
| 1000 | | - |
| 1001 | | - |
| | |