Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | const QLoggingCategory &lcBindingRemoval() { static const QLoggingCategory category("qt.qml.binding.removal", QtWarningMsg); returnexecuted 45783 times by 77 tests: return category; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
category;executed 45783 times by 77 tests: return category; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
} | 45783 |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" | - |
18 | | - |
19 | | - |
20 | using namespace QV4; | - |
21 | | - |
22 | QPair<QObject *, int> QObjectMethod::extractQtMethod(const QV4::FunctionObject *function) | - |
23 | { | - |
24 | QV4::ExecutionEngine *v4 = function->engine(); | - |
25 | if (v4TRUE | evaluated 956 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | never evaluated |
) { | 0-956 |
26 | QV4::Scope scope(v4); | - |
27 | QV4::Scoped<QObjectMethod> method(scope, function->as<QObjectMethod>()); | - |
28 | if (methodTRUE | evaluated 586 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | evaluated 370 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
|
) | 370-586 |
29 | returnexecuted 586 times by 5 tests: return qMakePair(method->object(), method->methodIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
qMakePair(method->object(), method->methodIndex());executed 586 times by 5 tests: return qMakePair(method->object(), method->methodIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 586 |
30 | }executed 370 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
| 370 |
31 | | - |
32 | returnexecuted 370 times by 3 tests: return qMakePair((QObject *)nullptr, -1); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
qMakePair((QObject *)nullptr, -1);executed 370 times by 3 tests: return qMakePair((QObject *)nullptr, -1); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
| 370 |
33 | } | - |
34 | | - |
35 | static QPair<QObject *, int> extractQtSignal(const QV4::Value &value) | - |
36 | { | - |
37 | if (value.isObject()TRUE | evaluated 90 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | never evaluated |
) { | 0-90 |
38 | QV4::ExecutionEngine *v4 = value.as<QV4::Object>()->engine(); | - |
39 | QV4::Scope scope(v4); | - |
40 | QV4::ScopedFunctionObject function(scope, value); | - |
41 | if (functionTRUE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | evaluated 10 times by 1 test |
) | 10-80 |
42 | returnexecuted 80 times by 5 tests: return QObjectMethod::extractQtMethod(function); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
QObjectMethod::extractQtMethod(function);executed 80 times by 5 tests: return QObjectMethod::extractQtMethod(function); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 80 |
43 | | - |
44 | QV4::Scoped<QV4::QmlSignalHandler> handler(scope, value); | - |
45 | if (handlerTRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
) | 0-10 |
46 | returnexecuted 10 times by 1 test: return qMakePair(handler->object(), handler->signalIndex()); qMakePair(handler->object(), handler->signalIndex());executed 10 times by 1 test: return qMakePair(handler->object(), handler->signalIndex()); | 10 |
47 | } never executed: end of block | 0 |
48 | | - |
49 | return never executed: return qMakePair((QObject *)nullptr, -1); qMakePair((QObject *)nullptr, -1);never executed: return qMakePair((QObject *)nullptr, -1); | 0 |
50 | } | - |
51 | | - |
52 | static QV4::ReturnedValue loadProperty(QV4::ExecutionEngine *v4, QObject *object, | - |
53 | const QQmlPropertyData &property) | - |
54 | { | - |
55 | ((!property.isFunction()) ? static_cast<void>(0) : qt_assert("!property.isFunction()", __FILE__, 129)); | - |
56 | QV4::Scope scope(v4); | - |
57 | | - |
58 | if (property.isQObject()TRUE | evaluated 192354 times by 92 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
| FALSE | evaluated 2579062 times by 89 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) { | 192354-2579062 |
59 | QObject *rv = nullptr; | - |
60 | property.readProperty(object, &rv); | - |
61 | returnexecuted 192354 times by 92 tests: return QV4::QObjectWrapper::wrap(v4, rv); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
QV4::QObjectWrapper::wrap(v4, rv);executed 192354 times by 92 tests: return QV4::QObjectWrapper::wrap(v4, rv); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
| 192354 |
62 | } else if (property.isQList()TRUE | evaluated 15802 times by 22 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2563260 times by 89 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) { | 15802-2563260 |
63 | returnexecuted 15802 times by 22 tests: return QmlListWrapper::create(v4, object, property.coreIndex(), property.propType()); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
QmlListWrapper::create(v4, object, property.coreIndex(), property.propType());executed 15802 times by 22 tests: return QmlListWrapper::create(v4, object, property.coreIndex(), property.propType()); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 15802 |
64 | } else if (property.propType() == QMetaType::QRealTRUE | evaluated 764324 times by 49 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- ...
| FALSE | evaluated 1798936 times by 88 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) { | 764324-1798936 |
65 | qreal v = 0; | - |
66 | property.readProperty(object, &v); | - |
67 | returnexecuted 764324 times by 49 tests: return QV4::Encode(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- ...
QV4::Encode(v);executed 764324 times by 49 tests: return QV4::Encode(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickgridview
- ...
| 764324 |
68 | } else if (property.propType() == QMetaType::IntTRUE | evaluated 1339103 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- ...
| FALSE | evaluated 459833 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- ...
|
|| property.isEnum()TRUE | evaluated 50 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquicklayouts
| FALSE | evaluated 459783 times by 78 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- ...
|
) { | 50-1339103 |
69 | int v = 0; | - |
70 | property.readProperty(object, &v); | - |
71 | returnexecuted 1339153 times by 59 tests: return QV4::Encode(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- ...
QV4::Encode(v);executed 1339153 times by 59 tests: return QV4::Encode(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- ...
| 1339153 |
72 | } else if (property.propType() == QMetaType::BoolTRUE | evaluated 106249 times by 50 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- ...
| FALSE | evaluated 353534 times by 71 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
|
) { | 106249-353534 |
73 | bool v = false; | - |
74 | property.readProperty(object, &v); | - |
75 | returnexecuted 106249 times by 50 tests: return QV4::Encode(v); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- ...
QV4::Encode(v);executed 106249 times by 50 tests: return QV4::Encode(v); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- ...
| 106249 |
76 | } else if (property.propType() == QMetaType::QStringTRUE | evaluated 68757 times by 44 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfontloader
- ...
| FALSE | evaluated 284777 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 68757-284777 |
77 | QString v; | - |
78 | property.readProperty(object, &v); | - |
79 | returnexecuted 68757 times by 44 tests: return v4->newString(v)->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfontloader
- ...
v4->newString(v)->asReturnedValue();executed 68757 times by 44 tests: return v4->newString(v)->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfontloader
- ...
| 68757 |
80 | } else if (property.propType() == QMetaType::UIntTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
| FALSE | evaluated 284773 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 4-284773 |
81 | uint v = 0; | - |
82 | property.readProperty(object, &v); | - |
83 | returnexecuted 4 times by 2 tests: return QV4::Encode(v); Executed by:- tst_qqmlecmascript
- tst_qquickitem2
QV4::Encode(v);executed 4 times by 2 tests: return QV4::Encode(v); Executed by:- tst_qqmlecmascript
- tst_qquickitem2
| 4 |
84 | } else if (property.propType() == QMetaType::FloatTRUE | never evaluated | FALSE | evaluated 284773 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 0-284773 |
85 | float v = 0; | - |
86 | property.readProperty(object, &v); | - |
87 | return never executed: return QV4::Encode(v); QV4::Encode(v);never executed: return QV4::Encode(v); | 0 |
88 | } else if (property.propType() == QMetaType::DoubleTRUE | never evaluated | FALSE | evaluated 284773 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 0-284773 |
89 | double v = 0; | - |
90 | property.readProperty(object, &v); | - |
91 | return never executed: return QV4::Encode(v); QV4::Encode(v);never executed: return QV4::Encode(v); | 0 |
92 | } else if (property.isV4Handle()TRUE | never evaluated | FALSE | evaluated 284773 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 0-284773 |
93 | QQmlV4Handle handle; | - |
94 | property.readProperty(object, &handle); | - |
95 | return never executed: return handle; handle;never executed: return handle; | 0 |
96 | } else if (property.propType() == qMetaTypeId<QJSValue>()TRUE | evaluated 84 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquicktext
| FALSE | evaluated 284689 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
|
) { | 84-284689 |
97 | QJSValue v; | - |
98 | property.readProperty(object, &v); | - |
99 | returnexecuted 84 times by 2 tests: return QJSValuePrivate::convertedToValue(v4, v); Executed by:- tst_qqmlecmascript
- tst_qquicktext
QJSValuePrivate::convertedToValue(v4, v);executed 84 times by 2 tests: return QJSValuePrivate::convertedToValue(v4, v); Executed by:- tst_qqmlecmascript
- tst_qquicktext
| 84 |
100 | } else if (property.isQVariant()TRUE | evaluated 263165 times by 31 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickshortcut
- ...
| FALSE | evaluated 21524 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
|
) { | 21524-263165 |
101 | QVariant v; | - |
102 | property.readProperty(object, &v); | - |
103 | | - |
104 | if (QQmlValueTypeFactory::isValueType(v.userType())TRUE | evaluated 258717 times by 26 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- ...
| FALSE | evaluated 4448 times by 21 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 4448-258717 |
105 | if (constTRUE | evaluated 246 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 258471 times by 25 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(v.userType())TRUE | evaluated 246 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 258471 times by 25 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 246-258471 |
106 | returnexecuted 246 times by 4 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType()); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType());executed 246 times by 4 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, v.userType()); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 246 |
107 | }executed 258471 times by 25 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 258471 |
108 | | - |
109 | returnexecuted 262919 times by 30 tests: return scope.engine->fromVariant(v); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickshortcut
- tst_qquicktext
- ...
scope.engine->fromVariant(v);executed 262919 times by 30 tests: return scope.engine->fromVariant(v); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickshortcut
- tst_qquicktext
- ...
| 262919 |
110 | } else if (QQmlValueTypeFactory::isValueType(property.propType())TRUE | evaluated 5560 times by 37 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 15964 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) { | 5560-15964 |
111 | if (constTRUE | evaluated 4902 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 658 times by 10 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
|
QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(property.propType())TRUE | evaluated 4902 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 658 times by 10 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
|
) | 658-4902 |
112 | returnexecuted 4902 times by 32 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickmousearea
- ...
QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType());executed 4902 times by 32 tests: return QV4::QQmlValueTypeWrapper::create(v4, object, property.coreIndex(), valueTypeMetaObject, property.propType()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickmousearea
- ...
| 4902 |
113 | }executed 658 times by 10 tests: end of block Executed by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
else { | 658 |
114 | | - |
115 | | - |
116 | bool succeeded = false; | - |
117 | QV4::ScopedValue retn(scope, QV4::SequencePrototype::newSequence(v4, property.propType(), object, property.coreIndex(), !property.isWritable(), &succeeded)); | - |
118 | if (succeededTRUE | evaluated 9930 times by 13 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 6034 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
|
) | 6034-9930 |
119 | returnexecuted 9930 times by 13 tests: return retn->asReturnedValue(); Executed by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
retn->asReturnedValue();executed 9930 times by 13 tests: return retn->asReturnedValue(); Executed by:- tst_qqmlapplicationengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 9930 |
120 | | - |
121 | }executed 6034 times by 29 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
| 6034 |
122 | | - |
123 | if (property.propType() == QMetaType::UnknownTypeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 6688 times by 38 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
|
) { | 4-6688 |
124 | QMetaProperty p = object->metaObject()->property(property.coreIndex()); | - |
125 | QMessageLogger(__FILE__, 199, __PRETTY_FUNCTION__).warning("QMetaProperty::read: Unable to handle unregistered datatype '%s' for property " | - |
126 | "'%s::%s'", p.typeName(), object->metaObject()->className(), p.name()); | - |
127 | returnexecuted 4 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 4 times by 1 test: return QV4::Encode::undefined(); | 4 |
128 | } else { | - |
129 | QVariant v(property.propType(), (void *)nullptr); | - |
130 | property.readProperty(object, v.data()); | - |
131 | returnexecuted 6688 times by 38 tests: return scope.engine->fromVariant(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
scope.engine->fromVariant(v);executed 6688 times by 38 tests: return scope.engine->fromVariant(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| 6688 |
132 | } | - |
133 | } | - |
134 | | - |
135 | void QObjectWrapper::initializeBindings(ExecutionEngine *engine) | - |
136 | { | - |
137 | engine->functionPrototype()->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "connect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "connect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 11448 times by 151 tests: return qstring_literal_temp; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
qstring_literal_temp;executed 11448 times by 151 tests: return qstring_literal_temp; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
}()), method_connect); | 11448 |
138 | engine->functionPrototype()->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "disconnect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "disconnect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 11448 times by 151 tests: return qstring_literal_temp; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
qstring_literal_temp;executed 11448 times by 151 tests: return qstring_literal_temp; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
}()), method_disconnect); | 11448 |
139 | }executed 11448 times by 151 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| 11448 |
140 | | - |
141 | QQmlPropertyData *QObjectWrapper::findProperty(ExecutionEngine *engine, QQmlContextData *qmlContext, String *name, RevisionMode revisionMode, QQmlPropertyData *local) const | - |
142 | { | - |
143 | QObject *o = d()->object(); | - |
144 | returnexecuted 5340877 times by 98 tests: return findProperty(engine, o, qmlContext, name, revisionMode, local); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
findProperty(engine, o, qmlContext, name, revisionMode, local);executed 5340877 times by 98 tests: return findProperty(engine, o, qmlContext, name, revisionMode, local); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 5340877 |
145 | } | - |
146 | | - |
147 | QQmlPropertyData *QObjectWrapper::findProperty(ExecutionEngine *engine, QObject *o, QQmlContextData *qmlContext, String *name, RevisionMode revisionMode, QQmlPropertyData *local) | - |
148 | { | - |
149 | (void)revisionMode;; | - |
150 | | - |
151 | QQmlData *ddata = QQmlData::get(o, false); | - |
152 | QQmlPropertyData *result = nullptr; | - |
153 | if (ddataTRUE | evaluated 11523717 times by 100 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 91343 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- ...
|
&& ddata->propertyCacheTRUE | evaluated 11509246 times by 100 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 14471 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qquickaccessible
- tst_qquickdrag
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_signalspy
|
) | 14471-11523717 |
154 | result = ddata->propertyCache->property(name, o, qmlContext);executed 11509246 times by 100 tests: result = ddata->propertyCache->property(name, o, qmlContext); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 11509246 |
155 | else | - |
156 | result = QQmlPropertyCache::property(engine->jsEngine(), o, name, qmlContext, *local);executed 105814 times by 31 tests: result = QQmlPropertyCache::property(engine->jsEngine(), o, name, qmlContext, *local); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickpathview
- ...
| 105814 |
157 | returnexecuted 11615060 times by 100 tests: return result; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
result;executed 11615060 times by 100 tests: return result; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 11615060 |
158 | } | - |
159 | | - |
160 | ReturnedValue QObjectWrapper::getProperty(ExecutionEngine *engine, QObject *object, QQmlPropertyData *property, bool captureRequired) | - |
161 | { | - |
162 | QQmlData::flushPendingBinding(object, QQmlPropertyIndex(property->coreIndex())); | - |
163 | | - |
164 | if (property->isFunction()TRUE | evaluated 178227 times by 62 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| FALSE | evaluated 2819785 times by 118 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
&& !property->isVarProperty()TRUE | evaluated 178227 times by 62 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| FALSE | never evaluated |
) { | 0-2819785 |
165 | if (property->isVMEFunction()TRUE | evaluated 110753 times by 30 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 67474 times by 56 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
) { | 67474-110753 |
166 | QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object); | - |
167 | ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 241)); | - |
168 | returnexecuted 110753 times by 30 tests: return vmemo->vmeMethod(property->coreIndex()); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- ...
vmemo->vmeMethod(property->coreIndex());executed 110753 times by 30 tests: return vmemo->vmeMethod(property->coreIndex()); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 110753 |
169 | } else if (property->isV4Function()TRUE | evaluated 12430 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 55044 times by 51 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) { | 12430-55044 |
170 | Scope scope(engine); | - |
171 | ScopedContext global(scope, engine->qmlContext()); | - |
172 | if (!globalTRUE | evaluated 2 times by 1 test | FALSE | evaluated 12428 times by 32 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- ...
|
) | 2-12428 |
173 | global = engine->rootContext();executed 2 times by 1 test: global = engine->rootContext(); | 2 |
174 | returnexecuted 12430 times by 33 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
QV4::QObjectMethod::create(global, object, property->coreIndex());executed 12430 times by 33 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 12430 |
175 | } else if (property->isSignalHandler()TRUE | evaluated 14 times by 1 test | FALSE | evaluated 55030 times by 51 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) { | 14-55030 |
176 | QmlSignalHandler::initProto(engine); | - |
177 | returnexecuted 14 times by 1 test: return engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue(); engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue();executed 14 times by 1 test: return engine->memoryManager->allocate<QV4::QmlSignalHandler>(object, property->coreIndex())->asReturnedValue(); | 14 |
178 | } else { | - |
179 | ExecutionContext *global = engine->rootContext(); | - |
180 | returnexecuted 55030 times by 51 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex()); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
QV4::QObjectMethod::create(global, object, property->coreIndex());executed 55030 times by 51 tests: return QV4::QObjectMethod::create(global, object, property->coreIndex()); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 55030 |
181 | } | - |
182 | } | - |
183 | | - |
184 | QQmlEnginePrivate *ep = engine->qmlEngine()TRUE | evaluated 2819377 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
| FALSE | evaluated 408 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmllistmodelworkerscript
|
? QQmlEnginePrivate::get(engine->qmlEngine()) : nullptr; | 408-2819377 |
185 | | - |
186 | if (captureRequiredTRUE | evaluated 2818661 times by 118 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 1124 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltimer
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickparticlesystem
- tst_qquickvisualdatamodel
|
&& epTRUE | evaluated 2818253 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
| FALSE | evaluated 408 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmllistmodelworkerscript
|
&& ep->propertyCaptureTRUE | evaluated 1219752 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| FALSE | evaluated 1598501 times by 66 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- ...
|
&& !property->isConstant()TRUE | evaluated 1197326 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| FALSE | evaluated 22426 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
|
) | 408-2818661 |
187 | ep->propertyCapture->captureProperty(object, property->coreIndex(), property->notifyIndex());executed 1197326 times by 110 tests: ep->propertyCapture->captureProperty(object, property->coreIndex(), property->notifyIndex()); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 1197326 |
188 | | - |
189 | if (property->isVarProperty()TRUE | evaluated 48369 times by 22 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 2771416 times by 118 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 48369-2771416 |
190 | QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object); | - |
191 | ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 265)); | - |
192 | returnexecuted 48369 times by 22 tests: return vmemo->vmeProperty(property->coreIndex()); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
vmemo->vmeProperty(property->coreIndex());executed 48369 times by 22 tests: return vmemo->vmeProperty(property->coreIndex()); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 48369 |
193 | } else { | - |
194 | returnexecuted 2771416 times by 118 tests: return loadProperty(engine, object, *property); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
loadProperty(engine, object, *property);executed 2771416 times by 118 tests: return loadProperty(engine, object, *property); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2771416 |
195 | } | - |
196 | } | - |
197 | | - |
198 | ReturnedValue QObjectWrapper::getQmlProperty(QQmlContextData *qmlContext, String *name, QObjectWrapper::RevisionMode revisionMode, | - |
199 | bool *hasProperty, bool includeImports) const | - |
200 | { | - |
201 | if (QQmlData::wasDeleted(d()->object())TRUE | never evaluated | FALSE | evaluated 5340963 times by 99 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-5340963 |
202 | if (hasPropertyTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
203 | * never executed: *hasProperty = false; hasProperty = false;never executed: *hasProperty = false; | 0 |
204 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
205 | } | - |
206 | | - |
207 | ExecutionEngine *v4 = engine(); | - |
208 | | - |
209 | if (name->equals(v4->id_destroy())TRUE | evaluated 244 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| FALSE | evaluated 5340719 times by 98 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
|| name->equals(v4->id_toString())TRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | evaluated 5340611 times by 98 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 108-5340719 |
210 | int index = name->equals(v4->id_destroy())TRUE | evaluated 244 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| FALSE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
|
? QV4::QObjectMethod::DestroyMethod : QV4::QObjectMethod::ToStringMethod; | 108-244 |
211 | if (hasPropertyTRUE | never evaluated | FALSE | evaluated 352 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
|
) | 0-352 |
212 | * never executed: *hasProperty = true; hasProperty = true;never executed: *hasProperty = true; | 0 |
213 | ExecutionContext *global = v4->rootContext(); | - |
214 | returnexecuted 352 times by 14 tests: return QV4::QObjectMethod::create(global, d()->object(), index); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
QV4::QObjectMethod::create(global, d()->object(), index);executed 352 times by 14 tests: return QV4::QObjectMethod::create(global, d()->object(), index); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| 352 |
215 | } | - |
216 | | - |
217 | QQmlPropertyData local; | - |
218 | QQmlPropertyData *result = findProperty(v4, qmlContext, name, revisionMode, &local); | - |
219 | | - |
220 | if (!resultTRUE | evaluated 4418376 times by 81 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- ...
| FALSE | evaluated 922235 times by 85 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
) { | 922235-4418376 |
221 | if (includeImportsTRUE | evaluated 60060 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 4358316 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
&& name->startsWithUpper()TRUE | evaluated 59324 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 736 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickdraghandler
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 736-4358316 |
222 | | - |
223 | if (qmlContextTRUE | evaluated 59318 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 6 times by 1 test |
&& qmlContext->imports) { | 6-59318 |
224 | QQmlTypeNameCache::Result r = qmlContext->imports->query(name); | - |
225 | | - |
226 | if (hasPropertyTRUE | never evaluated | FALSE | evaluated 59318 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 0-59318 |
227 | * never executed: *hasProperty = true; hasProperty = true;never executed: *hasProperty = true; | 0 |
228 | | - |
229 | if (r.isValid()TRUE | evaluated 59310 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 8 times by 1 test |
) { | 8-59310 |
230 | if (r.scriptIndex != -1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 59306 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 4-59306 |
231 | returnexecuted 4 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 4 times by 1 test: return QV4::Encode::undefined(); | 4 |
232 | } else if (r.type.isValid()TRUE | evaluated 59296 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 10 times by 1 test |
) { | 10-59296 |
233 | returnexecuted 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
QQmlTypeWrapper::create(v4, d()->object(),executed 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 59296 |
234 | r.type, Heap::QQmlTypeWrapper::ExcludeEnums);executed 59296 times by 11 tests: return QQmlTypeWrapper::create(v4, d()->object(), r.type, Heap::QQmlTypeWrapper::ExcludeEnums); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 59296 |
235 | } else if (r.importNamespaceTRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
) { | 0-10 |
236 | returnexecuted 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums); QQmlTypeWrapper::create(v4, d()->object(),executed 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums); | 10 |
237 | qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums);executed 10 times by 1 test: return QQmlTypeWrapper::create(v4, d()->object(), qmlContext->imports, r.importNamespace, Heap::QQmlTypeWrapper::ExcludeEnums); | 10 |
238 | } | - |
239 | ((!"Unreachable") ? static_cast<void>(0) : qt_assert("!\"Unreachable\"", __FILE__, 313)); | - |
240 | } never executed: end of block | 0 |
241 | }executed 8 times by 1 test: end of block | 8 |
242 | }executed 14 times by 2 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 14 |
243 | returnexecuted 4359066 times by 81 tests: return QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- ...
QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty);executed 4359066 times by 81 tests: return QV4::Object::virtualGet(this, name->propertyKey(), this, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- ...
| 4359066 |
244 | } | - |
245 | | - |
246 | QQmlData *ddata = QQmlData::get(d()->object(), false); | - |
247 | | - |
248 | if (revisionMode == QV4::QObjectWrapper::CheckRevisionTRUE | never evaluated | FALSE | evaluated 922235 times by 85 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
&& result->hasRevision()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-922235 |
249 | if (ddataTRUE | never evaluated | FALSE | never evaluated |
&& ddata->propertyCacheTRUE | never evaluated | FALSE | never evaluated |
&& !ddata->propertyCache->isAllowedInRevision(result)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
250 | if (hasPropertyTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
251 | * never executed: *hasProperty = false; hasProperty = false;never executed: *hasProperty = false; | 0 |
252 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
253 | } | - |
254 | } never executed: end of block | 0 |
255 | | - |
256 | if (hasPropertyTRUE | evaluated 32 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| FALSE | evaluated 922203 times by 85 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
) | 32-922203 |
257 | *executed 32 times by 4 tests: *hasProperty = true; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
hasProperty = true;executed 32 times by 4 tests: *hasProperty = true; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| 32 |
258 | | - |
259 | returnexecuted 922235 times by 85 tests: return getProperty(v4, d()->object(), result); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
getProperty(v4, d()->object(), result);executed 922235 times by 85 tests: return getProperty(v4, d()->object(), result); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
| 922235 |
260 | } | - |
261 | | - |
262 | ReturnedValue QObjectWrapper::getProperty(ExecutionEngine *engine, QObject *object, int propertyIndex, bool captureRequired) | - |
263 | { | - |
264 | if (QQmlData::wasDeleted(object)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 387974 times by 101 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
|
) | 6-387974 |
265 | returnexecuted 6 times by 1 test: return QV4::Encode::null(); QV4::Encode::null();executed 6 times by 1 test: return QV4::Encode::null(); | 6 |
266 | QQmlData *ddata = QQmlData::get(object, false); | - |
267 | if (!ddataTRUE | never evaluated | FALSE | evaluated 387974 times by 101 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
|
) | 0-387974 |
268 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
269 | | - |
270 | if (__builtin_expect(!!(!ddata->propertyCache), false)TRUE | never evaluated | FALSE | evaluated 387974 times by 101 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
|
) { | 0-387974 |
271 | ddata->propertyCache = QQmlEnginePrivate::get(engine)->cache(object->metaObject()); | - |
272 | ddata->propertyCache->addref(); | - |
273 | } never executed: end of block | 0 |
274 | | - |
275 | QQmlPropertyCache *cache = ddata->propertyCache; | - |
276 | ((cache) ? static_cast<void>(0) : qt_assert("cache", __FILE__, 350)); | - |
277 | QQmlPropertyData *property = cache->property(propertyIndex); | - |
278 | ((property) ? static_cast<void>(0) : qt_assert("property", __FILE__, 352)); | - |
279 | returnexecuted 387974 times by 101 tests: return getProperty(engine, object, property, captureRequired); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
getProperty(engine, object, property, captureRequired);executed 387974 times by 101 tests: return getProperty(engine, object, property, captureRequired); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
| 387974 |
280 | } | - |
281 | | - |
282 | ReturnedValue QObjectWrapper::getQmlProperty(QV4::ExecutionEngine *engine, QQmlContextData *qmlContext, QObject *object, String *name, QObjectWrapper::RevisionMode revisionMode, bool *hasProperty) | - |
283 | { | - |
284 | if (QQmlData::wasDeleted(object)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 6274187 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
) { | 4-6274187 |
285 | if (hasPropertyTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-4 |
286 | *executed 4 times by 1 test: *hasProperty = false; hasProperty = false;executed 4 times by 1 test: *hasProperty = false; | 4 |
287 | returnexecuted 4 times by 1 test: return QV4::Encode::null(); QV4::Encode::null();executed 4 times by 1 test: return QV4::Encode::null(); | 4 |
288 | } | - |
289 | | - |
290 | if (name->equals(engine->id_destroy())TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickparticlesystem
| FALSE | evaluated 6274183 times by 83 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
|| name->equals(engine->id_toString())TRUE | never evaluated | FALSE | evaluated 6274183 times by 83 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
) { | 0-6274183 |
291 | int index = name->equals(engine->id_destroy())TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickparticlesystem
| FALSE | never evaluated |
? QV4::QObjectMethod::DestroyMethod : QV4::QObjectMethod::ToStringMethod; | 0-4 |
292 | if (hasPropertyTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickparticlesystem
| FALSE | never evaluated |
) | 0-4 |
293 | *executed 4 times by 2 tests: *hasProperty = true; Executed by:- tst_qqmlecmascript
- tst_qquickparticlesystem
hasProperty = true;executed 4 times by 2 tests: *hasProperty = true; Executed by:- tst_qqmlecmascript
- tst_qquickparticlesystem
| 4 |
294 | ExecutionContext *global = engine->rootContext(); | - |
295 | returnexecuted 4 times by 2 tests: return QV4::QObjectMethod::create(global, object, index); Executed by:- tst_qqmlecmascript
- tst_qquickparticlesystem
QV4::QObjectMethod::create(global, object, index);executed 4 times by 2 tests: return QV4::QObjectMethod::create(global, object, index); Executed by:- tst_qqmlecmascript
- tst_qquickparticlesystem
| 4 |
296 | } | - |
297 | | - |
298 | QQmlData *ddata = QQmlData::get(object, false); | - |
299 | QQmlPropertyData local; | - |
300 | QQmlPropertyData *result = findProperty(engine, object, qmlContext, name, revisionMode, &local); | - |
301 | | - |
302 | if (resultTRUE | evaluated 1682495 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| FALSE | evaluated 4591688 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
) { | 1682495-4591688 |
303 | if (revisionMode == QV4::QObjectWrapper::CheckRevisionTRUE | evaluated 1540477 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- ...
| FALSE | evaluated 142018 times by 27 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickopenglinfo
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- ...
|
&& result->hasRevision()TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
| FALSE | evaluated 1540429 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- ...
|
) { | 48-1540477 |
304 | if (ddataTRUE | evaluated 48 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
| FALSE | never evaluated |
&& ddata->propertyCacheTRUE | evaluated 48 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
| FALSE | never evaluated |
&& !ddata->propertyCache->isAllowedInRevision(result)TRUE | evaluated 44 times by 1 test | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
|
) { | 0-48 |
305 | if (hasPropertyTRUE | evaluated 44 times by 1 test | FALSE | never evaluated |
) | 0-44 |
306 | *executed 44 times by 1 test: *hasProperty = false; hasProperty = false;executed 44 times by 1 test: *hasProperty = false; | 44 |
307 | returnexecuted 44 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 44 times by 1 test: return QV4::Encode::undefined(); | 44 |
308 | } | - |
309 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickitem2
| 4 |
310 | | - |
311 | if (hasPropertyTRUE | evaluated 1540833 times by 65 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| FALSE | evaluated 141618 times by 19 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickopenglinfo
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) | 141618-1540833 |
312 | *executed 1540833 times by 65 tests: *hasProperty = true; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
hasProperty = true;executed 1540833 times by 65 tests: *hasProperty = true; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| 1540833 |
313 | | - |
314 | returnexecuted 1682451 times by 68 tests: return getProperty(engine, object, result); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
getProperty(engine, object, result);executed 1682451 times by 68 tests: return getProperty(engine, object, result); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| 1682451 |
315 | } else { | - |
316 | | - |
317 | if (!ddataTRUE | evaluated 2482 times by 13 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
| FALSE | evaluated 4589206 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
|| (ddata->jsWrapper.isUndefined()TRUE | evaluated 230890 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| FALSE | evaluated 4358316 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
&& | 2482-4589206 |
318 | (ddata->jsEngineId == 0TRUE | evaluated 230890 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| FALSE | never evaluated |
|| | 0-230890 |
319 | !ddata->hasTaintedV4ObjectTRUE | never evaluated | FALSE | never evaluated |
))) { | 0 |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | QV4::Object *proto = QObjectWrapper::defaultPrototype(engine); | - |
325 | returnexecuted 233372 times by 19 tests: return proto->get(name, hasProperty); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
proto->get(name, hasProperty);executed 233372 times by 19 tests: return proto->get(name, hasProperty); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_scenegraph
| 233372 |
326 | } | - |
327 | }executed 4358316 times by 79 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 4358316 |
328 | | - |
329 | | - |
330 | | - |
331 | ((ddata) ? static_cast<void>(0) : qt_assert("ddata", __FILE__, 405)); | - |
332 | | - |
333 | QV4::Scope scope(engine); | - |
334 | QV4::Scoped<QObjectWrapper> wrapper(scope, wrap(engine, object)); | - |
335 | if (!wrapperTRUE | never evaluated | FALSE | evaluated 4358316 times by 79 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
|
) { | 0-4358316 |
336 | if (hasPropertyTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
337 | * never executed: *hasProperty = false; hasProperty = false;never executed: *hasProperty = false; | 0 |
338 | return never executed: return QV4::Encode::null(); QV4::Encode::null();never executed: return QV4::Encode::null(); | 0 |
339 | } | - |
340 | returnexecuted 4358316 times by 79 tests: return wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty);executed 4358316 times by 79 tests: return wrapper->getQmlProperty(qmlContext, name, revisionMode, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 4358316 |
341 | } | - |
342 | | - |
343 | | - |
344 | bool QObjectWrapper::setQmlProperty(ExecutionEngine *engine, QQmlContextData *qmlContext, QObject *object, String *name, | - |
345 | QObjectWrapper::RevisionMode revisionMode, const Value &value) | - |
346 | { | - |
347 | if (QQmlData::wasDeleted(object)TRUE | never evaluated | FALSE | evaluated 35750 times by 66 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 0-35750 |
348 | return never executed: return false; false;never executed: return false; | 0 |
349 | | - |
350 | QQmlPropertyData local; | - |
351 | QQmlPropertyData *result = QQmlPropertyCache::property(engine->jsEngine(), object, name, qmlContext, local); | - |
352 | if (!resultTRUE | evaluated 1772 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 33978 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) | 1772-33978 |
353 | returnexecuted 1772 times by 22 tests: return false; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickwidget
false;executed 1772 times by 22 tests: return false; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickwidget
| 1772 |
354 | | - |
355 | if (revisionMode == QV4::QObjectWrapper::CheckRevisionTRUE | evaluated 1338 times by 24 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 32640 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
|
&& result->hasRevision()TRUE | never evaluated | FALSE | evaluated 1338 times by 24 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 0-32640 |
356 | QQmlData *ddata = QQmlData::get(object); | - |
357 | if (ddataTRUE | never evaluated | FALSE | never evaluated |
&& ddata->propertyCacheTRUE | never evaluated | FALSE | never evaluated |
&& !ddata->propertyCache->isAllowedInRevision(result)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
358 | return never executed: return false; false;never executed: return false; | 0 |
359 | } never executed: end of block | 0 |
360 | | - |
361 | setProperty(engine, object, result, value); | - |
362 | returnexecuted 33978 times by 65 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
true;executed 33978 times by 65 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 33978 |
363 | } | - |
364 | | - |
365 | void QObjectWrapper::setProperty(ExecutionEngine *engine, QObject *object, QQmlPropertyData *property, const Value &value) | - |
366 | { | - |
367 | if (!property->isWritable()TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickitem2
- tst_qquickpathview
| FALSE | evaluated 45791 times by 78 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& !property->isQList()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 8 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickitem2
- tst_qquickpathview
|
) { | 8-45791 |
368 | QString error = QLatin1String("Cannot assign to read-only property \"") + | - |
369 | property->name(object) + QLatin1Char('\"'); | - |
370 | engine->throwTypeError(error); | - |
371 | return;executed 10 times by 1 test: return; | 10 |
372 | } | - |
373 | | - |
374 | QQmlBinding *newBinding = nullptr; | - |
375 | QV4::Scope scope(engine); | - |
376 | QV4::ScopedFunctionObject f(scope, value); | - |
377 | if (fTRUE | evaluated 88 times by 8 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
| FALSE | evaluated 45711 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 88-45711 |
378 | if (!f->isBinding()TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 74 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
|
) { | 14-74 |
379 | if (!property->isVarProperty()TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 2 times by 1 test |
&& property->propType() != qMetaTypeId<QJSValue>()TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 2 times by 1 test |
) { | 2-12 |
380 | | - |
381 | QString error = QLatin1String("Cannot assign JavaScript function to "); | - |
382 | if (!QMetaType::typeName(property->propType())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) | 2-8 |
383 | error += QLatin1String("[unknown property type]");executed 2 times by 1 test: error += QLatin1String("[unknown property type]"); | 2 |
384 | else | - |
385 | error += QLatin1String(QMetaType::typeName(property->propType()));executed 8 times by 2 tests: error += QLatin1String(QMetaType::typeName(property->propType())); Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 8 |
386 | scope.engine->throwError(error); | - |
387 | return;executed 10 times by 2 tests: return; Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 10 |
388 | } | - |
389 | }executed 4 times by 1 test: end of block else { | 4 |
390 | | - |
391 | QQmlContextData *callingQmlContext = scope.engine->callingQmlContext(); | - |
392 | | - |
393 | QV4::Scoped<QQmlBindingFunction> bindingFunction(scope, (const Value &)f); | - |
394 | | - |
395 | QV4::ScopedFunctionObject f(scope, bindingFunction->bindingFunction()); | - |
396 | QV4::ScopedContext ctx(scope, bindingFunction->scope()); | - |
397 | newBinding = QQmlBinding::create(property, f->function(), object, callingQmlContext, ctx); | - |
398 | newBinding->setSourceLocation(bindingFunction->currentLocation()); | - |
399 | if (f->isBoundFunction()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 70 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
|
) | 4-70 |
400 | newBinding->setBoundFunction(static_cast<QV4::BoundFunction *>(f.getPointer()));executed 4 times by 1 test: newBinding->setBoundFunction(static_cast<QV4::BoundFunction *>(f.getPointer())); | 4 |
401 | newBinding->setTarget(object, *property, nullptr); | - |
402 | }executed 74 times by 7 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
| 74 |
403 | } | - |
404 | | - |
405 | if (newBindingTRUE | evaluated 74 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
| FALSE | evaluated 45715 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 74-45715 |
406 | QQmlPropertyPrivate::setBinding(newBinding); | - |
407 | }executed 74 times by 7 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
else { | 74 |
408 | if (__builtin_expect(!!(lcBindingRemoval().isInfoEnabled()), false)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 45713 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 2-45713 |
409 | if (auto binding = QQmlPropertyPrivate::binding(object, QQmlPropertyIndex(property->coreIndex()))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
410 | ((!binding->isValueTypeProxy()) ? static_cast<void>(0) : qt_assert("!binding->isValueTypeProxy()", __FILE__, 484)); | - |
411 | const auto qmlBinding = static_cast<const QQmlBinding*>(binding); | - |
412 | const auto stackFrame = engine->currentStackFrame; | - |
413 | for (bool qt_category_enabled = lcBindingRemoval().isInfoEnabled(); qt_category_enabledTRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
; qt_category_enabled = false) QMessageLogger(executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
414 | | 2 |
415 | | 2 |
416 | | 2 |
417 | __FILE__executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
418 | ,executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
419 | | 2 |
420 | | 2 |
421 | | 2 |
422 | 491executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
423 | , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData())executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
424 | | 2 |
425 | | 2 |
426 | | 2 |
427 | ;executed 2 times by 1 test: QMessageLogger( __FILE__ , 491 , __PRETTY_FUNCTION__, lcBindingRemoval().categoryName()).info("Overwriting binding on %s::%s at %s:%d that was initially bound at %s", object->metaObject()->className(), QtPrivate::asString(property->name(object)).toLocal8Bit().constData(), QtPrivate::asString(stackFrame->source()).toLocal8Bit().constData(), stackFrame->lineNumber(), QtPrivate::asString(qmlBinding->expressionIdentifier()).toLocal8Bit().constData()) ; | 2 |
428 | }executed 2 times by 1 test: end of block | 2 |
429 | }executed 2 times by 1 test: end of block | 2 |
430 | QQmlPropertyPrivate::removeBinding(object, QQmlPropertyIndex(property->coreIndex())); | - |
431 | }executed 45715 times by 77 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 45715 |
432 | | - |
433 | if (!newBindingTRUE | evaluated 45715 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | evaluated 74 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
|
&& property->isVarProperty()TRUE | evaluated 2828 times by 17 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickmousearea
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 42887 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 74-45715 |
434 | | - |
435 | QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object); | - |
436 | ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 500)); | - |
437 | vmemo->setVMEProperty(property->coreIndex(), value); | - |
438 | return;executed 2828 times by 17 tests: return; Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickmousearea
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 2828 |
439 | } | - |
440 | if (value.isNull()TRUE | evaluated 114 times by 9 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdroparea
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
| FALSE | evaluated 42847 times by 78 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& property->isQObject()TRUE | evaluated 40 times by 6 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickdroparea
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
| FALSE | evaluated 74 times by 4 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
|
) { | 40-42847 |
441 | QObject* o = nullptr; int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
442 | }executed 40 times by 6 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickdroparea
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
else if (value.isUndefined()TRUE | evaluated 534 times by 11 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickrectangle
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | evaluated 42387 times by 77 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& property->isResettable()TRUE | evaluated 30 times by 7 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickdrag
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickrectangle
- tst_qquickvisualdatamodel
| FALSE | evaluated 504 times by 5 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdroparea
- tst_qquickworkerscript
|
) { | 30-42387 |
443 | void *a[] = { nullptr }; | - |
444 | QMetaObject::metacall(object, QMetaObject::ResetProperty, property->coreIndex(), a); | - |
445 | }executed 30 times by 7 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickdrag
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickrectangle
- tst_qquickvisualdatamodel
else if (value.isUndefined()TRUE | evaluated 504 times by 5 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdroparea
- tst_qquickworkerscript
| FALSE | evaluated 42387 times by 77 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& property->propType() == qMetaTypeId<QVariant>()TRUE | evaluated 486 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdroparea
- tst_qquickworkerscript
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) { | 18-42387 |
446 | QVariant o = QVariant(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
447 | }executed 486 times by 4 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickdroparea
- tst_qquickworkerscript
else if (value.isUndefined()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 42387 times by 77 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& property->propType() == QMetaType::QJsonValueTRUE | evaluated 2 times by 1 test | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) { | 2-42387 |
448 | QJsonValue o = QJsonValue(QJsonValue::Undefined); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
449 | }executed 2 times by 1 test: end of block else if (!newBindingTRUE | evaluated 42329 times by 76 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | evaluated 74 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
|
&& property->propType() == qMetaTypeId<QJSValue>()TRUE | evaluated 16 times by 1 test | FALSE | evaluated 42313 times by 76 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 2-42329 |
450 | QJSValue o = QJSValue(scope.engine, value.asReturnedValue()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
451 | }executed 16 times by 1 test: end of block else if (value.isUndefined()TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 42373 times by 77 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
&& property->propType() != qMetaTypeId<QQmlScriptString>()TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | never evaluated |
) { | 0-42373 |
452 | QString error = QLatin1String("Cannot assign [undefined] to "); | - |
453 | if (!QMetaType::typeName(property->propType())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) | 4-10 |
454 | error += QLatin1String("[unknown property type]");executed 4 times by 1 test: error += QLatin1String("[unknown property type]"); | 4 |
455 | else | - |
456 | error += QLatin1String(QMetaType::typeName(property->propType()));executed 10 times by 2 tests: error += QLatin1String(QMetaType::typeName(property->propType())); Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 10 |
457 | scope.engine->throwError(error); | - |
458 | return;executed 14 times by 2 tests: return; Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 14 |
459 | } else if (value.as<FunctionObject>()TRUE | evaluated 74 times by 7 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
| FALSE | evaluated 42299 times by 76 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 74-42299 |
460 | | - |
461 | }executed 74 times by 7 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquickloader
else if (property->propType() == QMetaType::IntTRUE | evaluated 16474 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 25825 times by 72 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
|
&& value.isNumber()TRUE | evaluated 16466 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 8 times by 1 test |
) { | 8-25825 |
462 | int o = value.asDouble(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
463 | }executed 16466 times by 44 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
else if (property->propType() == QMetaType::QRealTRUE | evaluated 13250 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlsettings
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickcustomaffector
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquicksmoothedanimation
- tst_qquickstates
- ...
| FALSE | evaluated 12583 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
|
&& value.isNumber()TRUE | evaluated 13250 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlsettings
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickcustomaffector
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquicksmoothedanimation
- tst_qquickstates
- ...
| FALSE | never evaluated |
) { | 0-16466 |
464 | qreal o = qreal(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
465 | }executed 13250 times by 27 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlsettings
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickcustomaffector
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquicksmoothedanimation
- tst_qquickstates
- ...
else if (property->propType() == QMetaType::FloatTRUE | evaluated 2 times by 1 test | FALSE | evaluated 12581 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
|
&& value.isNumber()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-13250 |
466 | float o = float(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
467 | }executed 2 times by 1 test: end of block else if (property->propType() == QMetaType::DoubleTRUE | never evaluated | FALSE | evaluated 12581 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- ...
|
&& value.isNumber()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-12581 |
468 | double o = double(value.asDouble()); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
469 | } never executed: end of block else if (property->propType() == QMetaType::QStringTRUE | evaluated 3188 times by 36 testsEvaluated by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 9393 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
&& value.isString()TRUE | evaluated 3184 times by 36 testsEvaluated by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 4 times by 1 test |
) { | 0-9393 |
470 | QString o = value.toQStringNoThrow(); int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
471 | }executed 3184 times by 36 tests: end of block Executed by:- tst_examples
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
else if (property->isVarProperty()TRUE | never evaluated | FALSE | evaluated 9397 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) { | 0-9397 |
472 | QQmlVMEMetaObject *vmemo = QQmlVMEMetaObject::get(object); | - |
473 | ((vmemo) ? static_cast<void>(0) : qt_assert("vmemo", __FILE__, 545)); | - |
474 | vmemo->setVMEProperty(property->coreIndex(), value); | - |
475 | } never executed: end of block else if (property->propType() == qMetaTypeId<QQmlScriptString>()TRUE | never evaluated | FALSE | evaluated 9397 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
&& (value.isUndefined()TRUE | never evaluated | FALSE | never evaluated |
|| value.isPrimitive()TRUE | never evaluated | FALSE | never evaluated |
)) { | 0-9397 |
476 | QQmlScriptString ss(value.toQStringNoThrow(), nullptr , object); | - |
477 | if (value.isNumber()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
478 | ss.d->numberValue = value.toNumber(); | - |
479 | ss.d->isNumberLiteral = true; | - |
480 | } never executed: end of block else if (value.isString()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
481 | ss.d->script = QV4::CompiledData::Binding::escapedString(ss.d->script); | - |
482 | ss.d->isStringLiteral = true; | - |
483 | } never executed: end of block | 0 |
484 | QQmlScriptString o = ss; int status = -1; int flags = 0; void *argv[] = { &o, 0, &status, &flags }; QMetaObject::metacall(object, QMetaObject::WriteProperty, property->coreIndex(), argv);; | - |
485 | } never executed: end of block else { | 0 |
486 | QVariant v; | - |
487 | if (property->isQList()TRUE | evaluated 8 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickitem2
- tst_qquickpathview
| FALSE | evaluated 9389 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) | 8-9389 |
488 | v = scope.engine->toVariant(value, qMetaTypeId<QList<QObject *> >());executed 8 times by 4 tests: v = scope.engine->toVariant(value, qMetaTypeId<QList<QObject *> >()); Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickitem2
- tst_qquickpathview
| 8 |
489 | else | - |
490 | v = scope.engine->toVariant(value, property->propType());executed 9389 times by 65 tests: v = scope.engine->toVariant(value, property->propType()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 9389 |
491 | | - |
492 | QQmlContextData *callingQmlContext = scope.engine->callingQmlContext(); | - |
493 | if (!QQmlPropertyPrivate::write(object, *property, v, callingQmlContext)TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 9363 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) { | 34-9363 |
494 | const char *valueType = nullptr; | - |
495 | if (v.userType() == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 34 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) valueType = "null";never executed: valueType = "null"; | 0-34 |
496 | else valueType = QMetaType::typeName(v.userType());executed 34 times by 2 tests: valueType = QMetaType::typeName(v.userType()); Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 34 |
497 | | - |
498 | const char *targetTypeName = QMetaType::typeName(property->propType()); | - |
499 | if (!targetTypeNameTRUE | evaluated 2 times by 1 test | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
) | 2-32 |
500 | targetTypeName = "an unregistered type";executed 2 times by 1 test: targetTypeName = "an unregistered type"; | 2 |
501 | | - |
502 | QString error = QLatin1String("Cannot assign ") + | - |
503 | QLatin1String(valueType) + | - |
504 | QLatin1String(" to ") + | - |
505 | QLatin1String(targetTypeName); | - |
506 | scope.engine->throwError(error); | - |
507 | return;executed 34 times by 2 tests: return; Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
| 34 |
508 | } | - |
509 | }executed 9363 times by 65 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 9363 |
510 | } | - |
511 | | - |
512 | ReturnedValue QObjectWrapper::wrap_slowPath(ExecutionEngine *engine, QObject *object) | - |
513 | { | - |
514 | ((!QQmlData::wasDeleted(object)) ? static_cast<void>(0) : qt_assert("!QQmlData::wasDeleted(object)", __FILE__, 586)); | - |
515 | | - |
516 | QQmlData *ddata = QQmlData::get(object, true); | - |
517 | if (!ddataTRUE | never evaluated | FALSE | evaluated 535474 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
|
) | 0-535474 |
518 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
519 | | - |
520 | Scope scope(engine); | - |
521 | | - |
522 | if (ddata->jsWrapper.isUndefined()TRUE | evaluated 535470 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
|
&& | 4-535470 |
523 | (ddata->jsEngineId == engine->m_engineIdTRUE | never evaluated | FALSE | evaluated 535470 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
|
|| | 0-535470 |
524 | ddata->jsEngineId == 0TRUE | evaluated 535466 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| FALSE | evaluated 4 times by 1 test |
|| | 4-535466 |
525 | !ddata->hasTaintedV4ObjectTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
)) { | 0-4 |
526 | | - |
527 | QV4::ScopedValue rv(scope, create(engine, object)); | - |
528 | ddata->jsWrapper.set(scope.engine, rv); | - |
529 | ddata->jsEngineId = engine->m_engineId; | - |
530 | returnexecuted 535470 times by 141 tests: return rv->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
rv->asReturnedValue();executed 535470 times by 141 tests: return rv->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| 535470 |
531 | | - |
532 | } else { | - |
533 | | - |
534 | | - |
535 | ScopedObject alternateWrapper(scope, (Object *)nullptr); | - |
536 | if (engine->m_multiplyWrappedQObjectsTRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
|
&& ddata->hasTaintedV4ObjectTRUE | never evaluated | FALSE | never evaluated |
) | 0-4 |
537 | alternateWrapper = engine->m_multiplyWrappedQObjects->value(object); never executed: alternateWrapper = engine->m_multiplyWrappedQObjects->value(object); | 0 |
538 | | - |
539 | | - |
540 | | - |
541 | if (ddata->jsWrapper.isUndefined()TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
|
&& !alternateWrapperTRUE | never evaluated | FALSE | never evaluated |
) { | 0-4 |
542 | QV4::ScopedValue result(scope, create(engine, object)); | - |
543 | ddata->jsWrapper.set(scope.engine, result); | - |
544 | ddata->jsEngineId = engine->m_engineId; | - |
545 | return never executed: return result->asReturnedValue(); result->asReturnedValue();never executed: return result->asReturnedValue(); | 0 |
546 | } | - |
547 | | - |
548 | if (!alternateWrapperTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | never evaluated |
) { | 0-4 |
549 | alternateWrapper = create(engine, object); | - |
550 | if (!engine->m_multiplyWrappedQObjectsTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | never evaluated |
) | 0-4 |
551 | engine->m_multiplyWrappedQObjects = new MultiplyWrappedQObjectMap;executed 4 times by 2 tests: engine->m_multiplyWrappedQObjects = new MultiplyWrappedQObjectMap; Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 4 |
552 | engine->m_multiplyWrappedQObjects->insert(object, alternateWrapper->d()); | - |
553 | ddata->hasTaintedV4Object = true; | - |
554 | }executed 4 times by 2 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 4 |
555 | | - |
556 | returnexecuted 4 times by 2 tests: return alternateWrapper.asReturnedValue(); Executed by:- tst_qjsengine
- tst_qqmlecmascript
alternateWrapper.asReturnedValue();executed 4 times by 2 tests: return alternateWrapper.asReturnedValue(); Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 4 |
557 | } | - |
558 | } | - |
559 | | - |
560 | void QObjectWrapper::markWrapper(QObject *object, MarkStack *markStack) | - |
561 | { | - |
562 | if (QQmlData::wasDeleted(object)TRUE | never evaluated | FALSE | evaluated 79473 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 0-79473 |
563 | return; never executed: return; | 0 |
564 | | - |
565 | QQmlData *ddata = QQmlData::get(object); | - |
566 | if (!ddataTRUE | evaluated 1829 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| FALSE | evaluated 77644 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 1829-77644 |
567 | return;executed 1829 times by 6 tests: return; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1829 |
568 | | - |
569 | if (ddata->jsEngineId == markStack->engine->m_engineIdTRUE | evaluated 65558 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 12086 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 12086-65558 |
570 | ddata->jsWrapper.markOnce(markStack);executed 65558 times by 18 tests: ddata->jsWrapper.markOnce(markStack); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 65558 |
571 | else if (markStack->engine->m_multiplyWrappedQObjectsTRUE | never evaluated | FALSE | evaluated 12086 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
&& ddata->hasTaintedV4ObjectTRUE | never evaluated | FALSE | never evaluated |
) | 0-12086 |
572 | markStack->engine->m_multiplyWrappedQObjects->mark(object, markStack); never executed: markStack->engine->m_multiplyWrappedQObjects->mark(object, markStack); | 0 |
573 | }executed 77644 times by 18 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 77644 |
574 | | - |
575 | void QObjectWrapper::setProperty(ExecutionEngine *engine, int propertyIndex, const Value &value) | - |
576 | { | - |
577 | setProperty(engine, d()->object(), propertyIndex, value); | - |
578 | } never executed: end of block | 0 |
579 | | - |
580 | void QObjectWrapper::setProperty(ExecutionEngine *engine, QObject *object, int propertyIndex, const Value &value) | - |
581 | { | - |
582 | ((propertyIndex < 0xffff) ? static_cast<void>(0) : qt_assert("propertyIndex < 0xffff", __FILE__, 654)); | - |
583 | ((propertyIndex >= 0) ? static_cast<void>(0) : qt_assert("propertyIndex >= 0", __FILE__, 655)); | - |
584 | | - |
585 | if (QQmlData::wasDeleted(object)TRUE | never evaluated | FALSE | evaluated 11831 times by 57 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) | 0-11831 |
586 | return; never executed: return; | 0 |
587 | QQmlData *ddata = QQmlData::get(object, false); | - |
588 | if (!ddataTRUE | never evaluated | FALSE | evaluated 11831 times by 57 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) | 0-11831 |
589 | return; never executed: return; | 0 |
590 | | - |
591 | QQmlPropertyCache *cache = ddata->propertyCache; | - |
592 | ((cache) ? static_cast<void>(0) : qt_assert("cache", __FILE__, 664)); | - |
593 | QQmlPropertyData *property = cache->property(propertyIndex); | - |
594 | ((property) ? static_cast<void>(0) : qt_assert("property", __FILE__, 666)); | - |
595 | returnexecuted 11831 times by 57 tests: return setProperty(engine, object, property, value); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
setProperty(engine, object, property, value);executed 11831 times by 57 tests: return setProperty(engine, object, property, value); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 11831 |
596 | } | - |
597 | | - |
598 | bool QObjectWrapper::virtualIsEqualTo(Managed *a, Managed *b) | - |
599 | { | - |
600 | ((a->as<QV4::QObjectWrapper>()) ? static_cast<void>(0) : qt_assert("a->as<QV4::QObjectWrapper>()", __FILE__, 672)); | - |
601 | QV4::QObjectWrapper *qobjectWrapper = static_cast<QV4::QObjectWrapper *>(a); | - |
602 | QV4::Object *o = b->as<Object>(); | - |
603 | if (oTRUE | evaluated 32 times by 3 testsEvaluated by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
| FALSE | never evaluated |
) { | 0-32 |
604 | if (QV4::QQmlTypeWrapper *qmlTypeWrapper = o->as<QV4::QQmlTypeWrapper>()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
|
) | 6-26 |
605 | returnexecuted 6 times by 1 test: return qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object(); qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object();executed 6 times by 1 test: return qmlTypeWrapper->toVariant().value<QObject*>() == qobjectWrapper->object(); | 6 |
606 | }executed 26 times by 3 tests: end of block Executed by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
| 26 |
607 | | - |
608 | returnexecuted 26 times by 3 tests: return false; Executed by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
false;executed 26 times by 3 tests: return false; Executed by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
| 26 |
609 | } | - |
610 | | - |
611 | ReturnedValue QObjectWrapper::create(ExecutionEngine *engine, QObject *object) | - |
612 | { | - |
613 | if (QJSEngine *jsEngine = engine->jsEngine()TRUE | evaluated 534410 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| FALSE | evaluated 1064 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
|
) { | 1064-534410 |
614 | if (QQmlPropertyCache *cache = QQmlData::ensurePropertyCache(jsEngine, object)TRUE | evaluated 533648 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| FALSE | evaluated 762 times by 10 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_signalspy
|
) { | 762-533648 |
615 | ReturnedValue result = QV4::Encode::null(); | - |
616 | void *args[] = { &result, &engine }; | - |
617 | if (cache->callJSFactoryMethod(object, args)TRUE | evaluated 449556 times by 126 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| FALSE | evaluated 84092 times by 118 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
|
) | 84092-449556 |
618 | returnexecuted 449556 times by 126 tests: return result; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
result;executed 449556 times by 126 tests: return result; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
| 449556 |
619 | }executed 84092 times by 118 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| 84092 |
620 | }executed 84854 times by 118 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| 84854 |
621 | returnexecuted 85918 times by 118 tests: return (engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
(engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue();executed 85918 times by 118 tests: return (engine->memoryManager->allocate<QV4::QObjectWrapper>(object))->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| 85918 |
622 | } | - |
623 | | - |
624 | QV4::ReturnedValue QObjectWrapper::virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty) | - |
625 | { | - |
626 | if (!id.isString()TRUE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | evaluated 982617 times by 87 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
|
) | 52-982617 |
627 | returnexecuted 52 times by 3 tests: return Object::virtualGet(m, id, receiver, hasProperty); Executed by:- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
Object::virtualGet(m, id, receiver, hasProperty);executed 52 times by 3 tests: return Object::virtualGet(m, id, receiver, hasProperty); Executed by:- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| 52 |
628 | | - |
629 | const QObjectWrapper *that = static_cast<const QObjectWrapper*>(m); | - |
630 | Scope scope(that); | - |
631 | ScopedString n(scope, id.asStringOrSymbol()); | - |
632 | QQmlContextData *qmlContext = that->engine()->callingQmlContext(); | - |
633 | returnexecuted 982617 times by 87 tests: return that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true);executed 982617 times by 87 tests: return that->getQmlProperty(qmlContext, n, IgnoreRevision, hasProperty, true); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- ...
| 982617 |
634 | } | - |
635 | | - |
636 | bool QObjectWrapper::virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver) | - |
637 | { | - |
638 | if (!id.isString()TRUE | never evaluated | FALSE | evaluated 31472 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) | 0-31472 |
639 | return never executed: return Object::virtualPut(m, id, value, receiver); Object::virtualPut(m, id, value, receiver);never executed: return Object::virtualPut(m, id, value, receiver); | 0 |
640 | | - |
641 | Scope scope(m); | - |
642 | QObjectWrapper *that = static_cast<QObjectWrapper*>(m); | - |
643 | ScopedString name(scope, id.asStringOrSymbol()); | - |
644 | | - |
645 | if (scope.engine->hasExceptionTRUE | never evaluated | FALSE | evaluated 31472 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
|| QQmlData::wasDeleted(that->d()->object())TRUE | never evaluated | FALSE | evaluated 31472 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
|
) | 0-31472 |
646 | return never executed: return false; false;never executed: return false; | 0 |
647 | | - |
648 | QQmlContextData *qmlContext = scope.engine->callingQmlContext(); | - |
649 | if (!setQmlProperty(scope.engine, qmlContext, that->d()->object(), name, QV4::QObjectWrapper::IgnoreRevision, value)TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
| FALSE | evaluated 31460 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
|
) { | 12-31460 |
650 | QQmlData *ddata = QQmlData::get(that->d()->object()); | - |
651 | | - |
652 | | - |
653 | if (ddataTRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
| FALSE | never evaluated |
&& ddata->contextTRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
| FALSE | evaluated 2 times by 1 test |
) { | 0-12 |
654 | QString error = QLatin1String("Cannot assign to non-existent property \"") + | - |
655 | name->toQString() + QLatin1Char('\"'); | - |
656 | scope.engine->throwError(error); | - |
657 | returnexecuted 10 times by 3 tests: return false; Executed by:- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
false;executed 10 times by 3 tests: return false; Executed by:- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
| 10 |
658 | } else { | - |
659 | returnexecuted 2 times by 1 test: return QV4::Object::virtualPut(m, id, value, receiver); QV4::Object::virtualPut(m, id, value, receiver);executed 2 times by 1 test: return QV4::Object::virtualPut(m, id, value, receiver); | 2 |
660 | } | - |
661 | } | - |
662 | | - |
663 | returnexecuted 31460 times by 58 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
true;executed 31460 times by 58 tests: return true; Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 31460 |
664 | } | - |
665 | | - |
666 | PropertyAttributes QObjectWrapper::virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p) | - |
667 | { | - |
668 | if (id.isString()TRUE | evaluated 266 times by 6 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-266 |
669 | QObjectWrapper *that = static_cast<QObjectWrapper*>(m); | - |
670 | const QObject *thatObject = that->d()->object(); | - |
671 | if (!QQmlData::wasDeleted(thatObject)TRUE | evaluated 266 times by 6 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-266 |
672 | Scope scope(m); | - |
673 | ScopedString n(scope, id.asStringOrSymbol()); | - |
674 | QQmlContextData *qmlContext = scope.engine->callingQmlContext(); | - |
675 | QQmlPropertyData local; | - |
676 | if (that->findProperty(scope.engine, qmlContext, n, IgnoreRevision, &local)TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| FALSE | evaluated 234 times by 5 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
| 32-234 |
677 | || n->equals(scope.engine->id_destroy())TRUE | never evaluated | FALSE | evaluated 234 times by 5 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
|| n->equals(scope.engine->id_toString())TRUE | never evaluated | FALSE | evaluated 234 times by 5 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
) { | 0-234 |
678 | if (pTRUE | evaluated 30 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| FALSE | evaluated 2 times by 1 test |
) { | 2-30 |
679 | | - |
680 | bool hasProperty; | - |
681 | p->value = that->getQmlProperty(qmlContext, n, IgnoreRevision, &hasProperty, true); | - |
682 | }executed 30 times by 4 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| 30 |
683 | returnexecuted 32 times by 4 tests: return QV4::Attr_Data; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
QV4::Attr_Data;executed 32 times by 4 tests: return QV4::Attr_Data; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
| 32 |
684 | } | - |
685 | }executed 234 times by 5 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 234 |
686 | }executed 234 times by 5 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 234 |
687 | | - |
688 | returnexecuted 234 times by 5 tests: return QV4::Object::virtualGetOwnProperty(m, id, p); Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
QV4::Object::virtualGetOwnProperty(m, id, p);executed 234 times by 5 tests: return QV4::Object::virtualGetOwnProperty(m, id, p); Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 234 |
689 | } | - |
690 | | - |
691 | void QObjectWrapper::virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *p, PropertyAttributes *attributes) | - |
692 | { | - |
693 | | - |
694 | static const int destroyedIdx1 = QObject::staticMetaObject.indexOfSignal("destroyed(QObject*)"); | - |
695 | static const int destroyedIdx2 = QObject::staticMetaObject.indexOfSignal("destroyed()"); | - |
696 | static const int deleteLaterIdx = QObject::staticMetaObject.indexOfSlot("deleteLater()"); | - |
697 | | - |
698 | name->setM(nullptr); | - |
699 | *index = | - |
700 | (0x7fffffff * 2U + 1U) | - |
701 | ; | - |
702 | | - |
703 | QObjectWrapper *that = static_cast<QObjectWrapper*>(m); | - |
704 | | - |
705 | QObject *thatObject = that->d()->object(); | - |
706 | if (thatObjectTRUE | evaluated 5392 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
&& !QQmlData::wasDeleted(thatObject)TRUE | evaluated 5392 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-5392 |
707 | const QMetaObject *mo = thatObject->metaObject(); | - |
708 | | - |
709 | const bool preventDestruction = mo->superClass()TRUE | evaluated 5392 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
|| mo == &QObject::staticMetaObjectTRUE | never evaluated | FALSE | never evaluated |
; | 0-5392 |
710 | const int propertyCount = mo->propertyCount(); | - |
711 | if (it->arrayIndex < static_cast<uint>(propertyCount)TRUE | evaluated 1860 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 3532 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 1860-3532 |
712 | ExecutionEngine *thatEngine = that->engine(); | - |
713 | Scope scope(thatEngine); | - |
714 | const QMetaProperty property = mo->property(it->arrayIndex); | - |
715 | ScopedString propName(scope, thatEngine->newString(QString::fromUtf8(property.name()))); | - |
716 | name->setM(propName->d()); | - |
717 | ++it->arrayIndex; | - |
718 | *attributes = QV4::Attr_Data; | - |
719 | | - |
720 | QQmlPropertyData local; | - |
721 | local.load(property); | - |
722 | p->value = that->getProperty(thatEngine, thatObject, &local); | - |
723 | return;executed 1860 times by 7 tests: return; Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1860 |
724 | } | - |
725 | const int methodCount = mo->methodCount(); | - |
726 | while (it->arrayIndex < static_cast<uint>(propertyCount + methodCount)TRUE | evaluated 3722 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 40 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 40-3722 |
727 | const int index = it->arrayIndex - propertyCount; | - |
728 | const QMetaMethod method = mo->method(index); | - |
729 | ++it->arrayIndex; | - |
730 | if (method.access() == QMetaMethod::PrivateTRUE | evaluated 110 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 3612 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
|| (preventDestructionTRUE | evaluated 3612 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
&& (index == deleteLaterIdxTRUE | evaluated 40 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 3572 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
|| index == destroyedIdx1TRUE | evaluated 40 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 3532 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
|| index == destroyedIdx2TRUE | evaluated 40 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 3492 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
))) | 0-3612 |
731 | continue;executed 230 times by 7 tests: continue; Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 230 |
732 | ExecutionEngine *thatEngine = that->engine(); | - |
733 | Scope scope(thatEngine); | - |
734 | ScopedString methodName(scope, thatEngine->newString(QString::fromUtf8(method.name()))); | - |
735 | name->setM(methodName->d()); | - |
736 | *attributes = QV4::Attr_Data; | - |
737 | | - |
738 | QQmlPropertyData local; | - |
739 | local.load(method); | - |
740 | p->value = that->getProperty(thatEngine, thatObject, &local); | - |
741 | return;executed 3492 times by 7 tests: return; Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 3492 |
742 | } | - |
743 | }executed 40 times by 7 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 40 |
744 | QV4::Object::virtualAdvanceIterator(m, it, name, index, p, attributes); | - |
745 | }executed 40 times by 7 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 40 |
746 | | - |
747 | namespace QV4 { | - |
748 | | - |
749 | struct QObjectSlotDispatcher : public QtPrivate::QSlotObjectBase | - |
750 | { | - |
751 | QV4::PersistentValue function; | - |
752 | QV4::PersistentValue thisObject; | - |
753 | int signalIndex; | - |
754 | | - |
755 | QObjectSlotDispatcher() | - |
756 | : QtPrivate::QSlotObjectBase(&impl) | - |
757 | , signalIndex(-1) | - |
758 | {}executed 78 times by 5 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 78 |
759 | | - |
760 | static void impl(int which, QSlotObjectBase *this_, QObject *r, void **metaArgs, bool *ret) | - |
761 | { | - |
762 | switch (which) { | - |
763 | caseexecuted 78 times by 5 tests: case Destroy: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
Destroy:executed 78 times by 5 tests: case Destroy: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
{ | 78 |
764 | delete static_cast<QObjectSlotDispatcher*>(this_); | - |
765 | } | - |
766 | break;executed 78 times by 5 tests: break; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 78 |
767 | caseexecuted 70 times by 4 tests: case Call: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
Call:executed 70 times by 4 tests: case Call: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
{ | 70 |
768 | QObjectSlotDispatcher *This = static_cast<QObjectSlotDispatcher*>(this_); | - |
769 | QV4::ExecutionEngine *v4 = This->function.engine(); | - |
770 | | - |
771 | | - |
772 | | - |
773 | if (!v4TRUE | evaluated 2 times by 1 test | FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
|
) | 2-68 |
774 | break;executed 2 times by 1 test: break; | 2 |
775 | | - |
776 | QQmlMetaObject::ArgTypeStorage storage; | - |
777 | int *argsTypes = QQmlMetaObject(r).methodParameterTypes(This->signalIndex, &storage, nullptr); | - |
778 | | - |
779 | int argCount = argsTypesTRUE | evaluated 68 times by 4 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
| FALSE | never evaluated |
? argsTypes[0]:0; | 0-68 |
780 | | - |
781 | QV4::Scope scope(v4); | - |
782 | QV4::ScopedFunctionObject f(scope, This->function.value()); | - |
783 | | - |
784 | QV4::JSCallData jsCallData(scope, argCount); | - |
785 | *jsCallData->thisObject = This->thisObject.isUndefined()TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
| FALSE | evaluated 16 times by 1 test |
? v4->globalObject->asReturnedValue() : This->thisObject.value(); | 16-52 |
786 | for (int ii = 0; ii < argCountTRUE | evaluated 188 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
| FALSE | evaluated 68 times by 4 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
|
; ++ii) { | 68-188 |
787 | int type = argsTypes[ii + 1]; | - |
788 | if (type == qMetaTypeId<QVariant>()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 186 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
|
) { | 2-186 |
789 | jsCallData->args[ii] = v4->fromVariant(*((QVariant *)metaArgs[ii + 1])); | - |
790 | }executed 2 times by 1 test: end of block else { | 2 |
791 | jsCallData->args[ii] = v4->fromVariant(QVariant(type, metaArgs[ii + 1])); | - |
792 | }executed 186 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
| 186 |
793 | } | - |
794 | | - |
795 | f->call(jsCallData); | - |
796 | if (scope.hasException()TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 58 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
|
) { | 10-58 |
797 | QQmlError error = v4->catchExceptionAsQmlError(); | - |
798 | if (error.description().isEmpty()TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
|
) { | 0-10 |
799 | QV4::ScopedString name(scope, f->name()); | - |
800 | error.setDescription(([]() noexcept -> QString { enum { Size = sizeof(u"" "Unknown exception occurred during evaluation of connected function: %1")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Unknown exception occurred during evaluation of connected function: %1" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(name->toQString())); | 0 |
801 | } never executed: end of block | 0 |
802 | if (QQmlEngine *qmlEngine = v4->qmlEngine()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-8 |
803 | QQmlEnginePrivate::get(qmlEngine)->warning(error); | - |
804 | }executed 8 times by 1 test: end of block else { | 8 |
805 | QMessageLogger(error.url().toString().toLatin1().constData(), | - |
806 | error.line(), nullptr).warning().noquote() | - |
807 | << error.toString(); | - |
808 | }executed 2 times by 1 test: end of block | 2 |
809 | } | - |
810 | } | - |
811 | break;executed 68 times by 4 tests: break; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
| 68 |
812 | caseexecuted 12 times by 1 test: case Compare: Compare:executed 12 times by 1 test: case Compare: { | 12 |
813 | QObjectSlotDispatcher *connection = static_cast<QObjectSlotDispatcher*>(this_); | - |
814 | if (connection->function.isUndefined()TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) { | 0-12 |
815 | *ret = false; | - |
816 | return; never executed: return; | 0 |
817 | } | - |
818 | | - |
819 | | - |
820 | | - |
821 | | - |
822 | QV4::ExecutionEngine *v4 = reinterpret_cast<QV4::ExecutionEngine*>(metaArgs[0]); | - |
823 | if (v4 != connection->function.engine()TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) { | 0-12 |
824 | *ret = false; | - |
825 | return; never executed: return; | 0 |
826 | } | - |
827 | | - |
828 | QV4::Scope scope(v4); | - |
829 | QV4::ScopedValue function(scope, *reinterpret_cast<QV4::Value*>(metaArgs[1])); | - |
830 | QV4::ScopedValue thisObject(scope, *reinterpret_cast<QV4::Value*>(metaArgs[2])); | - |
831 | QObject *receiverToDisconnect = reinterpret_cast<QObject*>(metaArgs[3]); | - |
832 | int slotIndexToDisconnect = *reinterpret_cast<int*>(metaArgs[4]); | - |
833 | | - |
834 | if (slotIndexToDisconnect != -1TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) { | 0-12 |
835 | | - |
836 | if (connection->thisObject.isUndefined() == thisObject->isUndefined()TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
837 | (connection->thisObject.isUndefined()TRUE | never evaluated | FALSE | never evaluated |
|| RuntimeHelpers::strictEqual(*connection->thisObject.valueRef(), thisObject)TRUE | never evaluated | FALSE | never evaluated |
)) { | 0 |
838 | | - |
839 | QV4::ScopedFunctionObject f(scope, connection->function.value()); | - |
840 | QPair<QObject *, int> connectedFunctionData = QObjectMethod::extractQtMethod(f); | - |
841 | if (connectedFunctionData.first == receiverToDisconnectTRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
842 | connectedFunctionData.second == slotIndexToDisconnectTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
843 | *ret = true; | - |
844 | return; never executed: return; | 0 |
845 | } | - |
846 | } never executed: end of block | 0 |
847 | } never executed: end of block else { | 0 |
848 | | - |
849 | if (RuntimeHelpers::strictEqual(*connection->function.valueRef(), function)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& | 2-10 |
850 | connection->thisObject.isUndefined() == thisObject->isUndefined()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& | 2-8 |
851 | (connection->thisObject.isUndefined()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 2 times by 1 test |
|| RuntimeHelpers::strictEqual(*connection->thisObject.valueRef(), thisObject)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
)) { | 0-6 |
852 | *ret = true; | - |
853 | return;executed 8 times by 1 test: return; | 8 |
854 | } | - |
855 | }executed 4 times by 1 test: end of block | 4 |
856 | | - |
857 | *ret = false; | - |
858 | } | - |
859 | break;executed 4 times by 1 test: break; | 4 |
860 | case never executed: case NumOperations: NumOperations:never executed: case NumOperations: | 0 |
861 | break; never executed: break; | 0 |
862 | } | - |
863 | }executed 152 times by 5 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
; | 152 |
864 | }; | - |
865 | | - |
866 | } | - |
867 | | - |
868 | ReturnedValue QObjectWrapper::method_connect(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc) | - |
869 | { | - |
870 | QV4::Scope scope(b); | - |
871 | | - |
872 | if (argc == 0TRUE | never evaluated | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
) | 0-78 |
873 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: no arguments given")); | 0 |
874 | | - |
875 | QPair<QObject *, int> signalInfo = extractQtSignal(*thisObject); | - |
876 | QObject *signalObject = signalInfo.first; | - |
877 | int signalIndex = signalInfo.second; | - |
878 | | - |
879 | if (signalIndex < 0TRUE | never evaluated | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
) | 0-78 |
880 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal")); | 0 |
881 | | - |
882 | if (!signalObjectTRUE | never evaluated | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
) | 0-78 |
883 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: cannot connect to deleted QObject")); | 0 |
884 | | - |
885 | if (signalObject->metaObject()->method(signalIndex).methodType() != QMetaMethod::SignalTRUE | never evaluated | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
) | 0-78 |
886 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: this object is not a signal")); | 0 |
887 | | - |
888 | QV4::ScopedFunctionObject f(scope); | - |
889 | QV4::ScopedValue object (scope, QV4::Encode::undefined()); | - |
890 | | - |
891 | if (argc == 1TRUE | evaluated 68 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | evaluated 10 times by 1 test |
) { | 10-68 |
892 | f = argv[0]; | - |
893 | }executed 68 times by 5 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
else if (argc >= 2TRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
) { | 0-68 |
894 | object = argv[0]; | - |
895 | f = argv[1]; | - |
896 | }executed 10 times by 1 test: end of block | 10 |
897 | | - |
898 | if (!fTRUE | never evaluated | FALSE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
) | 0-78 |
899 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target is not a function")); | 0 |
900 | | - |
901 | if (!object->isUndefined()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 68 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
|
&& !object->isObject()TRUE | never evaluated | FALSE | evaluated 10 times by 1 test |
) | 0-68 |
902 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object")); scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.connect: target this is not an object")); | 0 |
903 | | - |
904 | QV4::QObjectSlotDispatcher *slot = new QV4::QObjectSlotDispatcher; | - |
905 | slot->signalIndex = signalIndex; | - |
906 | | - |
907 | slot->thisObject.set(scope.engine, object); | - |
908 | slot->function.set(scope.engine, f); | - |
909 | | - |
910 | if (QQmlData *ddata = QQmlData::get(signalObject)TRUE | evaluated 78 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | never evaluated |
) { | 0-78 |
911 | if (QQmlPropertyCache *propertyCache = ddata->propertyCacheTRUE | evaluated 74 times by 5 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| FALSE | evaluated 4 times by 1 test |
) { | 4-74 |
912 | QQmlPropertyPrivate::flushSignal(signalObject, propertyCache->methodIndexToSignalIndex(signalIndex)); | - |
913 | }executed 74 times by 5 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 74 |
914 | }executed 78 times by 5 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 78 |
915 | QObjectPrivate::connect(signalObject, signalIndex, slot, Qt::AutoConnection); | - |
916 | | - |
917 | returnexecuted 78 times by 5 tests: return QV4::Encode::undefined(); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
QV4::Encode::undefined();executed 78 times by 5 tests: return QV4::Encode::undefined(); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_signalspy
| 78 |
918 | } | - |
919 | | - |
920 | ReturnedValue QObjectWrapper::method_disconnect(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc) | - |
921 | { | - |
922 | QV4::Scope scope(b); | - |
923 | | - |
924 | if (argc == 0TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
925 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: no arguments given")); | 0 |
926 | | - |
927 | QPair<QObject *, int> signalInfo = extractQtSignal(*thisObject); | - |
928 | QObject *signalObject = signalInfo.first; | - |
929 | int signalIndex = signalInfo.second; | - |
930 | | - |
931 | if (signalIndex == -1TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
932 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal")); | 0 |
933 | | - |
934 | if (!signalObjectTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
935 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: cannot disconnect from deleted QObject")); | 0 |
936 | | - |
937 | if (signalIndex < 0TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
|| signalObject->metaObject()->method(signalIndex).methodType() != QMetaMethod::SignalTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
938 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: this object is not a signal")); | 0 |
939 | | - |
940 | QV4::ScopedFunctionObject functionValue(scope); | - |
941 | QV4::ScopedValue functionThisValue(scope, QV4::Encode::undefined()); | - |
942 | | - |
943 | if (argc == 1TRUE | evaluated 10 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-10 |
944 | functionValue = argv[0]; | - |
945 | }executed 10 times by 1 test: end of block else if (argc >= 2TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-10 |
946 | functionThisValue = argv[0]; | - |
947 | functionValue = argv[1]; | - |
948 | }executed 2 times by 1 test: end of block | 2 |
949 | | - |
950 | if (!functionValueTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
) | 0-12 |
951 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target is not a function")); | 0 |
952 | | - |
953 | if (!functionThisValue->isUndefined()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 10 times by 1 test |
&& !functionThisValue->isObject()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-10 |
954 | return never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object")); scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object"));never executed: return scope.engine->throwError(QString::fromUtf8("Function.prototype.disconnect: target this is not an object")); | 0 |
955 | | - |
956 | QPair<QObject *, int> functionData = QObjectMethod::extractQtMethod(functionValue); | - |
957 | | - |
958 | void *a[] = { | - |
959 | scope.engine, | - |
960 | functionValue.ptr, | - |
961 | functionThisValue.ptr, | - |
962 | functionData.first, | - |
963 | &functionData.second | - |
964 | }; | - |
965 | | - |
966 | QObjectPrivate::disconnect(signalObject, signalIndex, reinterpret_cast<void**>(&a)); | - |
967 | | - |
968 | returnexecuted 12 times by 1 test: return QV4::Encode::undefined(); QV4::Encode::undefined();executed 12 times by 1 test: return QV4::Encode::undefined(); | 12 |
969 | } | - |
970 | | - |
971 | static void markChildQObjectsRecursively(QObject *parent, QV4::MarkStack *markStack) | - |
972 | { | - |
973 | const QObjectList &children = parent->children(); | - |
974 | for (int i = 0; i < children.count()TRUE | evaluated 52087 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 109502 times by 21 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
; ++i) { | 52087-109502 |
975 | QObject *child = children.at(i); | - |
976 | if (!childTRUE | never evaluated | FALSE | evaluated 52087 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 0-52087 |
977 | continue; never executed: continue; | 0 |
978 | QObjectWrapper::markWrapper(child, markStack); | - |
979 | markChildQObjectsRecursively(child, markStack); | - |
980 | }executed 52087 times by 17 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 52087 |
981 | }executed 109502 times by 21 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 109502 |
982 | | - |
983 | void Heap::QObjectWrapper::markObjects(Heap::Base *that, QV4::MarkStack *markStack) | - |
984 | { | - |
985 | QObjectWrapper *This = static_cast<QObjectWrapper *>(that); | - |
986 | | - |
987 | if (QObject *o = This->object()TRUE | evaluated 99266 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_examples
- tst_qquickgridview
|
) { | 16-99266 |
988 | QQmlVMEMetaObject *vme = QQmlVMEMetaObject::get(o); | - |
989 | if (vmeTRUE | evaluated 8371 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 90895 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 8371-90895 |
990 | vme->mark(markStack);executed 8371 times by 18 tests: vme->mark(markStack); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 8371 |
991 | | - |
992 | | - |
993 | | - |
994 | | - |
995 | | - |
996 | if (!o->parent()TRUE | evaluated 57415 times by 21 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| FALSE | evaluated 41851 times by 20 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
|
) | 41851-57415 |
997 | markChildQObjectsRecursively(o, markStack);executed 57415 times by 21 tests: markChildQObjectsRecursively(o, markStack); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 57415 |
998 | }executed 99266 times by 22 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 99266 |
999 | | - |
1000 | Object::markObjects(that, markStack); | - |
1001 | }executed 99282 times by 22 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 99282 |
1002 | | - |
1003 | void QObjectWrapper::destroyObject(bool lastCall) | - |
1004 | { | - |
1005 | Heap::QObjectWrapper *h = d(); | - |
1006 | if (!h->internalClassTRUE | never evaluated | FALSE | evaluated 535996 times by 141 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
|
) | 0-535996 |
1007 | return; never executed: return; | 0 |
1008 | | - |
1009 | if (h->object()TRUE | evaluated 60412 times by 58 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- ...
| FALSE | evaluated 475584 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
|
) { | 60412-475584 |
1010 | QQmlData *ddata = QQmlData::get(h->object(), false); | - |
1011 | if (ddataTRUE | evaluated 60412 times by 58 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- ...
| FALSE | never evaluated |
) { | 0-60412 |
1012 | if (!h->object()->parent()TRUE | evaluated 51023 times by 56 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- ...
| FALSE | evaluated 9389 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickimageprovider
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpath
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
&& !ddata->indestructibleTRUE | evaluated 940 times by 17 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
| FALSE | evaluated 50083 times by 53 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
|
) { | 940-51023 |
1013 | if (ddataTRUE | evaluated 940 times by 17 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
| FALSE | never evaluated |
&& ddata->ownContext) { | 0-940 |
1014 | ((ddata->ownContext == ddata->context) ? static_cast<void>(0) : qt_assert("ddata->ownContext == ddata->context", __FILE__, 1084)); | - |
1015 | ddata->ownContext->emitDestruction(); | - |
1016 | ddata->ownContext = nullptr; | - |
1017 | ddata->context = nullptr; | - |
1018 | }executed 312 times by 8 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlqt
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
| 312 |
1019 | | - |
1020 | ddata->isQueuedForDeletion = true; | - |
1021 | if (lastCallTRUE | evaluated 604 times by 13 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| FALSE | evaluated 336 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickitem
- tst_qquicklayouts
- tst_qquickrepeater
|
) | 336-604 |
1022 | delete h->object();executed 604 times by 13 tests: delete h->object(); Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
| 604 |
1023 | else | - |
1024 | h->object()->deleteLater();executed 336 times by 9 tests: h->object()->deleteLater(); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickitem
- tst_qquicklayouts
- tst_qquickrepeater
| 336 |
1025 | } else { | - |
1026 | | - |
1027 | | - |
1028 | ddata->jsWrapper.clear(); | - |
1029 | if (lastCallTRUE | evaluated 59418 times by 55 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| FALSE | evaluated 54 times by 1 test |
&& ddata->propertyCacheTRUE | evaluated 58010 times by 55 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| FALSE | evaluated 1408 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
|
) { | 54-59418 |
1030 | ddata->propertyCache->release(); | - |
1031 | ddata->propertyCache = nullptr; | - |
1032 | }executed 58010 times by 55 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| 58010 |
1033 | }executed 59472 times by 55 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- ...
| 59472 |
1034 | } | - |
1035 | }executed 60412 times by 58 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- ...
| 60412 |
1036 | | - |
1037 | h->~Data(); | - |
1038 | }executed 535996 times by 141 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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
- ...
| 535996 |
1039 | | - |
1040 | | - |
1041 | const QV4::VTable QObjectWrapper::static_vtbl = { (std::is_same<QObjectWrapper::SuperClass, Object>::value) ? nullptr : &QObjectWrapper::SuperClass::static_vtbl, (sizeof(QObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QObjectWrapper::Data) + (QObjectWrapper::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QObjectWrapper::IsExecutionContext, QObjectWrapper::IsString, QObjectWrapper::IsObject, QObjectWrapper::IsFunctionObject, QObjectWrapper::IsErrorObject, QObjectWrapper::IsArrayData, QObjectWrapper::IsStringOrSymbol, QObjectWrapper::MyType, { 0, 0, 0, 0 }, "QObjectWrapper", QObjectWrapper::virtualDestroy, QObjectWrapper::Data::markObjects, QObjectWrapper::virtualIsEqualTo, QObjectWrapper::virtualGet, QObjectWrapper::virtualPut, QObjectWrapper::virtualDeleteProperty, QObjectWrapper::virtualHasProperty, QObjectWrapper::virtualGetOwnProperty, QObjectWrapper::virtualDefineOwnProperty, QObjectWrapper::virtualIsExtensible, QObjectWrapper::virtualPreventExtensions, QObjectWrapper::virtualGetPrototypeOf, QObjectWrapper::virtualSetPrototypeOf, QObjectWrapper::virtualGetLength, QObjectWrapper::virtualAdvanceIterator, QObjectWrapper::virtualInstanceOf, QObjectWrapper::virtualCall, QObjectWrapper::virtualCallAsConstructor, }; | - |
1042 | | - |
1043 | namespace { | - |
1044 | | - |
1045 | template<typename A, typename B, typename C, typename D, typename E, | - |
1046 | typename F, typename G, typename H> | - |
1047 | class MaxSizeOf8 { | - |
1048 | template<typename Z, typename X> | - |
1049 | struct SMax { | - |
1050 | char dummy[sizeof(Z) > sizeof(X) ? sizeof(Z) : sizeof(X)]; | - |
1051 | }; | - |
1052 | public: | - |
1053 | static const size_t Size = sizeof(SMax<A, SMax<B, SMax<C, SMax<D, SMax<E, SMax<F, SMax<G, H> > > > > > >); | - |
1054 | }; | - |
1055 | | - |
1056 | struct CallArgument { | - |
1057 | inline CallArgument(); | - |
1058 | inline ~CallArgument(); | - |
1059 | inline void *dataPtr(); | - |
1060 | | - |
1061 | inline void initAsType(int type); | - |
1062 | inline void fromValue(int type, ExecutionEngine *, const QV4::Value &); | - |
1063 | inline ReturnedValue toValue(ExecutionEngine *); | - |
1064 | | - |
1065 | private: | - |
1066 | CallArgument(const CallArgument &); | - |
1067 | | - |
1068 | inline void cleanup(); | - |
1069 | | - |
1070 | template <class T, class M> | - |
1071 | void fromContainerValue(const QV4::Object *object, int type, M CallArgument::*member, bool &queryEngine); | - |
1072 | | - |
1073 | union { | - |
1074 | float floatValue; | - |
1075 | double doubleValue; | - |
1076 | quint32 intValue; | - |
1077 | bool boolValue; | - |
1078 | QObject *qobjectPtr; | - |
1079 | std::vector<int> *stdVectorIntPtr; | - |
1080 | std::vector<qreal> *stdVectorRealPtr; | - |
1081 | std::vector<bool> *stdVectorBoolPtr; | - |
1082 | std::vector<QString> *stdVectorQStringPtr; | - |
1083 | std::vector<QUrl> *stdVectorQUrlPtr; | - |
1084 | std::vector<QModelIndex> *stdVectorQModelIndexPtr; | - |
1085 | | - |
1086 | char allocData[MaxSizeOf8<QVariant, | - |
1087 | QString, | - |
1088 | QList<QObject *>, | - |
1089 | QJSValue, | - |
1090 | QQmlV4Handle, | - |
1091 | QJsonArray, | - |
1092 | QJsonObject, | - |
1093 | QJsonValue>::Size]; | - |
1094 | qint64 q_for_alignment; | - |
1095 | }; | - |
1096 | | - |
1097 | | - |
1098 | union { | - |
1099 | QString *qstringPtr; | - |
1100 | QByteArray *qbyteArrayPtr; | - |
1101 | QVariant *qvariantPtr; | - |
1102 | QList<QObject *> *qlistPtr; | - |
1103 | QJSValue *qjsValuePtr; | - |
1104 | QQmlV4Handle *handlePtr; | - |
1105 | QJsonArray *jsonArrayPtr; | - |
1106 | QJsonObject *jsonObjectPtr; | - |
1107 | QJsonValue *jsonValuePtr; | - |
1108 | }; | - |
1109 | | - |
1110 | int type; | - |
1111 | }; | - |
1112 | } | - |
1113 | | - |
1114 | static QV4::ReturnedValue CallMethod(const QQmlObjectOrGadget &object, int index, int returnType, int argCount, | - |
1115 | int *argTypes, QV4::ExecutionEngine *engine, QV4::CallData *callArgs, | - |
1116 | QMetaObject::Call callType = QMetaObject::InvokeMetaMethod) | - |
1117 | { | - |
1118 | if (argCount > 0TRUE | evaluated 44605 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | evaluated 7075 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- ...
|
) { | 7075-44605 |
1119 | | - |
1120 | QVarLengthArray<CallArgument, 9> args(argCount + 1); | - |
1121 | args[0].initAsType(returnType); | - |
1122 | for (int ii = 0; ii < argCountTRUE | evaluated 66024 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | evaluated 44605 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
; ++ii) | 44605-66024 |
1123 | args[ii + 1].fromValue(argTypes[ii], engine, callArgs->args[ii]);executed 66024 times by 29 tests: args[ii + 1].fromValue(argTypes[ii], engine, callArgs->args[ii]); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 66024 |
1124 | QVarLengthArray<void *, 9> argData(args.count()); | - |
1125 | for (int ii = 0; ii < args.count()TRUE | evaluated 110629 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | evaluated 44605 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
; ++ii) | 44605-110629 |
1126 | argData[ii] = args[ii].dataPtr();executed 110629 times by 29 tests: argData[ii] = args[ii].dataPtr(); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 110629 |
1127 | | - |
1128 | object.metacall(callType, index, argData.data()); | - |
1129 | | - |
1130 | returnexecuted 44605 times by 29 tests: return args[0].toValue(engine); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
args[0].toValue(engine);executed 44605 times by 29 tests: return args[0].toValue(engine); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 44605 |
1131 | | - |
1132 | } else if (returnType != QMetaType::VoidTRUE | evaluated 4398 times by 16 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
| FALSE | evaluated 2677 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmultipointtoucharea
- tst_qquickrepeater
- ...
|
) { | 2677-4398 |
1133 | | - |
1134 | CallArgument arg; | - |
1135 | arg.initAsType(returnType); | - |
1136 | | - |
1137 | void *args[] = { arg.dataPtr() }; | - |
1138 | | - |
1139 | object.metacall(callType, index, args); | - |
1140 | | - |
1141 | returnexecuted 4398 times by 16 tests: return arg.toValue(engine); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
arg.toValue(engine);executed 4398 times by 16 tests: return arg.toValue(engine); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
| 4398 |
1142 | | - |
1143 | } else { | - |
1144 | | - |
1145 | void *args[] = { nullptr }; | - |
1146 | object.metacall(callType, index, args); | - |
1147 | returnexecuted 2677 times by 32 tests: return Encode::undefined(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmultipointtoucharea
- tst_qquickrepeater
- ...
Encode::undefined();executed 2677 times by 32 tests: return Encode::undefined(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmultipointtoucharea
- tst_qquickrepeater
- ...
| 2677 |
1148 | | - |
1149 | } | - |
1150 | } | - |
1151 | | - |
1152 | | - |
1153 | | - |
1154 | | - |
1155 | | - |
1156 | | - |
1157 | | - |
1158 | static int MatchScore(const QV4::Value &actual, int conversionType) | - |
1159 | { | - |
1160 | if (actual.isNumber()TRUE | evaluated 286 times by 8 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 1270 times by 7 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 286-1270 |
1161 | switch (conversionType) { | - |
1162 | caseexecuted 26 times by 2 tests: case QMetaType::Double: Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
QMetaType::Double:executed 26 times by 2 tests: case QMetaType::Double: Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 26 |
1163 | returnexecuted 26 times by 2 tests: return 0; Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
0;executed 26 times by 2 tests: return 0; Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 26 |
1164 | case never executed: case QMetaType::Float: QMetaType::Float:never executed: case QMetaType::Float: | 0 |
1165 | return never executed: return 1; 1;never executed: return 1; | 0 |
1166 | case never executed: case QMetaType::LongLong: QMetaType::LongLong:never executed: case QMetaType::LongLong: | 0 |
1167 | case never executed: case QMetaType::ULongLong: QMetaType::ULongLong:never executed: case QMetaType::ULongLong: | 0 |
1168 | return never executed: return 2; 2;never executed: return 2; | 0 |
1169 | case never executed: case QMetaType::Long: QMetaType::Long:never executed: case QMetaType::Long: | 0 |
1170 | case never executed: case QMetaType::ULong: QMetaType::ULong:never executed: case QMetaType::ULong: | 0 |
1171 | return never executed: return 3; 3;never executed: return 3; | 0 |
1172 | caseexecuted 236 times by 6 tests: case QMetaType::Int: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquicklayouts
- tst_qquickpathview
QMetaType::Int:executed 236 times by 6 tests: case QMetaType::Int: Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquicklayouts
- tst_qquickpathview
| 236 |
1173 | case never executed: case QMetaType::UInt: QMetaType::UInt:never executed: case QMetaType::UInt: | 0 |
1174 | returnexecuted 236 times by 6 tests: return 4; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquicklayouts
- tst_qquickpathview
4;executed 236 times by 6 tests: return 4; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquicklayouts
- tst_qquickpathview
| 236 |
1175 | case never executed: case QMetaType::Short: QMetaType::Short:never executed: case QMetaType::Short: | 0 |
1176 | case never executed: case QMetaType::UShort: QMetaType::UShort:never executed: case QMetaType::UShort: | 0 |
1177 | return never executed: return 5; 5;never executed: return 5; | 0 |
1178 | break; dead code: break; | - |
1179 | case never executed: case QMetaType::Char: QMetaType::Char:never executed: case QMetaType::Char: | 0 |
1180 | case never executed: case QMetaType::UChar: QMetaType::UChar:never executed: case QMetaType::UChar: | 0 |
1181 | return never executed: return 6; 6;never executed: return 6; | 0 |
1182 | caseexecuted 4 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 4 times by 1 test: case QMetaType::QJsonValue: | 4 |
1183 | returnexecuted 4 times by 1 test: return 5; 5;executed 4 times by 1 test: return 5; | 4 |
1184 | defaultexecuted 20 times by 2 tests: default: Executed by:- tst_qjsengine
- tst_qqmlecmascript
:executed 20 times by 2 tests: default: Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 20 |
1185 | returnexecuted 20 times by 2 tests: return 10; Executed by:- tst_qjsengine
- tst_qqmlecmascript
10;executed 20 times by 2 tests: return 10; Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 20 |
1186 | } | - |
1187 | } else if (actual.isString()TRUE | evaluated 66 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 1204 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 66-1204 |
1188 | switch (conversionType) { | - |
1189 | caseexecuted 42 times by 2 tests: case QMetaType::QString: Executed by:- tst_qjsengine
- tst_qqmlecmascript
QMetaType::QString:executed 42 times by 2 tests: case QMetaType::QString: Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 42 |
1190 | returnexecuted 42 times by 2 tests: return 0; Executed by:- tst_qjsengine
- tst_qqmlecmascript
0;executed 42 times by 2 tests: return 0; Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 42 |
1191 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
1192 | returnexecuted 2 times by 1 test: return 5; 5;executed 2 times by 1 test: return 5; | 2 |
1193 | defaultexecuted 22 times by 2 tests: default: Executed by:- tst_qjsengine
- tst_qqmlecmascript
:executed 22 times by 2 tests: default: Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 22 |
1194 | returnexecuted 22 times by 2 tests: return 10; Executed by:- tst_qjsengine
- tst_qqmlecmascript
10;executed 22 times by 2 tests: return 10; Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 22 |
1195 | } | - |
1196 | } else if (actual.isBoolean()TRUE | never evaluated | FALSE | evaluated 1204 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 0-1204 |
1197 | switch (conversionType) { | - |
1198 | case never executed: case QMetaType::Bool: QMetaType::Bool:never executed: case QMetaType::Bool: | 0 |
1199 | return never executed: return 0; 0;never executed: return 0; | 0 |
1200 | case never executed: case QMetaType::QJsonValue: QMetaType::QJsonValue:never executed: case QMetaType::QJsonValue: | 0 |
1201 | return never executed: return 5; 5;never executed: return 5; | 0 |
1202 | default never executed: default: :never executed: default: | 0 |
1203 | return never executed: return 10; 10;never executed: return 10; | 0 |
1204 | } | - |
1205 | } else if (actual.as<DateObject>()TRUE | never evaluated | FALSE | evaluated 1204 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 0-1204 |
1206 | switch (conversionType) { | - |
1207 | case never executed: case QMetaType::QDateTime: QMetaType::QDateTime:never executed: case QMetaType::QDateTime: | 0 |
1208 | return never executed: return 0; 0;never executed: return 0; | 0 |
1209 | case never executed: case QMetaType::QDate: QMetaType::QDate:never executed: case QMetaType::QDate: | 0 |
1210 | return never executed: return 1; 1;never executed: return 1; | 0 |
1211 | case never executed: case QMetaType::QTime: QMetaType::QTime:never executed: case QMetaType::QTime: | 0 |
1212 | return never executed: return 2; 2;never executed: return 2; | 0 |
1213 | default never executed: default: :never executed: default: | 0 |
1214 | return never executed: return 10; 10;never executed: return 10; | 0 |
1215 | } | - |
1216 | } else if (actual.as<QV4::RegExpObject>()TRUE | never evaluated | FALSE | evaluated 1204 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 0-1204 |
1217 | switch (conversionType) { | - |
1218 | case never executed: case QMetaType::QRegExp: QMetaType::QRegExp:never executed: case QMetaType::QRegExp: | 0 |
1219 | return never executed: return 0; 0;never executed: return 0; | 0 |
1220 | default never executed: default: :never executed: default: | 0 |
1221 | return never executed: return 10; 10;never executed: return 10; | 0 |
1222 | } | - |
1223 | } else if (actual.as<ArrayBuffer>()TRUE | never evaluated | FALSE | evaluated 1204 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 0-1204 |
1224 | switch (conversionType) { | - |
1225 | case never executed: case QMetaType::QByteArray: QMetaType::QByteArray:never executed: case QMetaType::QByteArray: | 0 |
1226 | return never executed: return 0; 0;never executed: return 0; | 0 |
1227 | default never executed: default: :never executed: default: | 0 |
1228 | return never executed: return 10; 10;never executed: return 10; | 0 |
1229 | } | - |
1230 | } else if (actual.as<ArrayObject>()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 1194 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 10-1194 |
1231 | switch (conversionType) { | - |
1232 | caseexecuted 2 times by 1 test: case QMetaType::QJsonArray: QMetaType::QJsonArray:executed 2 times by 1 test: case QMetaType::QJsonArray: | 2 |
1233 | returnexecuted 2 times by 1 test: return 3; 3;executed 2 times by 1 test: return 3; | 2 |
1234 | case never executed: case QMetaType::QStringList: QMetaType::QStringList:never executed: case QMetaType::QStringList: | 0 |
1235 | case never executed: case QMetaType::QVariantList: QMetaType::QVariantList:never executed: case QMetaType::QVariantList: | 0 |
1236 | return never executed: return 5; 5;never executed: return 5; | 0 |
1237 | case never executed: case QMetaType::QVector4D: QMetaType::QVector4D:never executed: case QMetaType::QVector4D: | 0 |
1238 | case never executed: case QMetaType::QMatrix4x4: QMetaType::QMatrix4x4:never executed: case QMetaType::QMatrix4x4: | 0 |
1239 | return never executed: return 6; 6;never executed: return 6; | 0 |
1240 | case never executed: case QMetaType::QVector3D: QMetaType::QVector3D:never executed: case QMetaType::QVector3D: | 0 |
1241 | return never executed: return 7; 7;never executed: return 7; | 0 |
1242 | defaultexecuted 8 times by 1 test: default: :executed 8 times by 1 test: default: | 8 |
1243 | returnexecuted 8 times by 1 test: return 10; 10;executed 8 times by 1 test: return 10; | 8 |
1244 | } | - |
1245 | } else if (actual.isNull()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1192 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 2-1192 |
1246 | switch (conversionType) { | - |
1247 | case never executed: case QMetaType::Nullptr: QMetaType::Nullptr:never executed: case QMetaType::Nullptr: | 0 |
1248 | case never executed: case QMetaType::VoidStar: QMetaType::VoidStar:never executed: case QMetaType::VoidStar: | 0 |
1249 | case never executed: case QMetaType::QObjectStar: QMetaType::QObjectStar:never executed: case QMetaType::QObjectStar: | 0 |
1250 | caseexecuted 2 times by 1 test: case QMetaType::QJsonValue: QMetaType::QJsonValue:executed 2 times by 1 test: case QMetaType::QJsonValue: | 2 |
1251 | returnexecuted 2 times by 1 test: return 0; 0;executed 2 times by 1 test: return 0; | 2 |
1252 | default never executed: default: :never executed: default: { | 0 |
1253 | const char *typeName = QMetaType::typeName(conversionType); | - |
1254 | if (typeNameTRUE | never evaluated | FALSE | never evaluated |
&& typeName[strlen(typeName) - 1] == '*'TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1255 | return never executed: return 0; 0;never executed: return 0; | 0 |
1256 | else | - |
1257 | return never executed: return 10; 10;never executed: return 10; | 0 |
1258 | } | - |
1259 | } | - |
1260 | } else if (constTRUE | evaluated 1182 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
| FALSE | evaluated 10 times by 1 test |
QV4::Object *obj = actual.as<QV4::Object>()TRUE | evaluated 1182 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
| FALSE | evaluated 10 times by 1 test |
) { | 10-1182 |
1261 | if (obj->as<QV4::VariantObject>()TRUE | never evaluated | FALSE | evaluated 1182 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
|
) { | 0-1182 |
1262 | if (conversionType == qMetaTypeId<QVariant>()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1263 | return never executed: return 0; 0;never executed: return 0; | 0 |
1264 | if (obj->engine()->toVariant(actual, -1).userType() == conversionTypeTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1265 | return never executed: return 0; 0;never executed: return 0; | 0 |
1266 | else | - |
1267 | return never executed: return 10; 10;never executed: return 10; | 0 |
1268 | } | - |
1269 | | - |
1270 | if (obj->as<QObjectWrapper>()TRUE | evaluated 1018 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitemparticle
- tst_qquicklayouts
| FALSE | evaluated 164 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
|
) { | 164-1018 |
1271 | switch (conversionType) { | - |
1272 | caseexecuted 2 times by 1 test: case QMetaType::QObjectStar: QMetaType::QObjectStar:executed 2 times by 1 test: case QMetaType::QObjectStar: | 2 |
1273 | returnexecuted 2 times by 1 test: return 0; 0;executed 2 times by 1 test: return 0; | 2 |
1274 | defaultexecuted 1016 times by 2 tests: default: Executed by:- tst_qquickitemparticle
- tst_qquicklayouts
:executed 1016 times by 2 tests: default: Executed by:- tst_qquickitemparticle
- tst_qquicklayouts
| 1016 |
1275 | returnexecuted 1016 times by 2 tests: return 10; Executed by:- tst_qquickitemparticle
- tst_qquicklayouts
10;executed 1016 times by 2 tests: return 10; Executed by:- tst_qquickitemparticle
- tst_qquicklayouts
| 1016 |
1276 | } | - |
1277 | } | - |
1278 | | - |
1279 | if (obj->as<QV4::QQmlValueTypeWrapper>()TRUE | evaluated 150 times by 3 testsEvaluated by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 14 times by 1 test |
) { | 14-150 |
1280 | if (obj->engine()->toVariant(actual, -1).userType() == conversionTypeTRUE | evaluated 104 times by 3 testsEvaluated by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
|
) | 46-104 |
1281 | returnexecuted 104 times by 3 tests: return 0; Executed by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
0;executed 104 times by 3 tests: return 0; Executed by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 104 |
1282 | returnexecuted 46 times by 2 tests: return 10; Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
10;executed 46 times by 2 tests: return 10; Executed by:- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 46 |
1283 | } else if (conversionType == QMetaType::QJsonObjectTRUE | evaluated 2 times by 1 test | FALSE | evaluated 12 times by 1 test |
) { | 2-12 |
1284 | returnexecuted 2 times by 1 test: return 5; 5;executed 2 times by 1 test: return 5; | 2 |
1285 | } else if (conversionType == qMetaTypeId<QJSValue>()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 10 times by 1 test |
) { | 2-10 |
1286 | returnexecuted 2 times by 1 test: return 0; 0;executed 2 times by 1 test: return 0; | 2 |
1287 | } else { | - |
1288 | returnexecuted 10 times by 1 test: return 10; 10;executed 10 times by 1 test: return 10; | 10 |
1289 | } | - |
1290 | | - |
1291 | } else { | - |
1292 | returnexecuted 10 times by 1 test: return 10; 10;executed 10 times by 1 test: return 10; | 10 |
1293 | } | - |
1294 | } | - |
1295 | | - |
1296 | static inline int QMetaObject_methods(const QMetaObject *metaObject) | - |
1297 | { | - |
1298 | struct Private | - |
1299 | { | - |
1300 | int revision; | - |
1301 | int className; | - |
1302 | int classInfoCount, classInfoData; | - |
1303 | int methodCount, methodData; | - |
1304 | }; | - |
1305 | | - |
1306 | return never executed: return reinterpret_cast<const Private *>(metaObject->d.data)->methodCount; reinterpret_cast<const Private *>(metaObject->d.data)->methodCount;never executed: return reinterpret_cast<const Private *>(metaObject->d.data)->methodCount; | 0 |
1307 | } | - |
1308 | | - |
1309 | | - |
1310 | | - |
1311 | | - |
1312 | static const QQmlPropertyData * RelatedMethod(const QQmlObjectOrGadget &object, | - |
1313 | const QQmlPropertyData *current, | - |
1314 | QQmlPropertyData &dummy, | - |
1315 | const QQmlPropertyCache *propertyCache) | - |
1316 | { | - |
1317 | if (!current->isOverload()TRUE | evaluated 1046 times by 8 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 1248 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
|
) | 1046-1248 |
1318 | returnexecuted 1046 times by 8 tests: return nullptr; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
nullptr;executed 1046 times by 8 tests: return nullptr; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| 1046 |
1319 | | - |
1320 | ((!current->overrideIndexIsProperty()) ? static_cast<void>(0) : qt_assert("!current->overrideIndexIsProperty()", __FILE__, 1390)); | - |
1321 | | - |
1322 | if (propertyCacheTRUE | evaluated 1248 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | never evaluated |
) { | 0-1248 |
1323 | returnexecuted 1248 times by 12 tests: return propertyCache->method(current->overrideIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
propertyCache->method(current->overrideIndex());executed 1248 times by 12 tests: return propertyCache->method(current->overrideIndex()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| 1248 |
1324 | } else { | - |
1325 | const QMetaObject *mo = object.metaObject(); | - |
1326 | int methodOffset = mo->methodCount() - QMetaObject_methods(mo); | - |
1327 | | - |
1328 | while (methodOffset > current->overrideIndex()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1329 | mo = mo->superClass(); | - |
1330 | methodOffset -= QMetaObject_methods(mo); | - |
1331 | } never executed: end of block | 0 |
1332 | | - |
1333 | | - |
1334 | | - |
1335 | if (&dummy == currentTRUE | never evaluated | FALSE | never evaluated |
&& dummy.coreIndex() == current->overrideIndex()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1336 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
1337 | | - |
1338 | QMetaMethod method = mo->method(current->overrideIndex()); | - |
1339 | dummy.load(method); | - |
1340 | | - |
1341 | | - |
1342 | QByteArray methodName = method.name(); | - |
1343 | for (int ii = current->overrideIndex() - 1; ii >= methodOffsetTRUE | never evaluated | FALSE | never evaluated |
; --ii) { | 0 |
1344 | if (methodName == mo->method(ii).name()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1345 | dummy.setOverload(true); | - |
1346 | dummy.setOverrideIndexIsProperty(0); | - |
1347 | dummy.setOverrideIndex(ii); | - |
1348 | return never executed: return &dummy; &dummy;never executed: return &dummy; | 0 |
1349 | } | - |
1350 | } never executed: end of block | 0 |
1351 | | - |
1352 | return never executed: return &dummy; &dummy;never executed: return &dummy; | 0 |
1353 | } | - |
1354 | } | - |
1355 | | - |
1356 | static QV4::ReturnedValue CallPrecise(const QQmlObjectOrGadget &object, const QQmlPropertyData &data, | - |
1357 | QV4::ExecutionEngine *engine, QV4::CallData *callArgs, | - |
1358 | QMetaObject::Call callType = QMetaObject::InvokeMetaMethod) | - |
1359 | { | - |
1360 | QByteArray unknownTypeError; | - |
1361 | | - |
1362 | int returnType = object.methodReturnType(data, &unknownTypeError); | - |
1363 | | - |
1364 | if (returnType == QMetaType::UnknownTypeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 51686 times by 49 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- ...
|
) { | 2-51686 |
1365 | returnexecuted 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError)); engine->throwError(QLatin1String("Unknown method return type: ")executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError)); | 2 |
1366 | + QLatin1String(unknownTypeError));executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method return type: ") + QLatin1String(unknownTypeError)); | 2 |
1367 | } | - |
1368 | | - |
1369 | if (data.hasArguments()TRUE | evaluated 44611 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | evaluated 7075 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- ...
|
) { | 7075-44611 |
1370 | | - |
1371 | int *args = nullptr; | - |
1372 | QQmlMetaObject::ArgTypeStorage storage; | - |
1373 | | - |
1374 | if (data.isConstructor()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 44605 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) | 6-44605 |
1375 | args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes(executed 6 times by 1 test: args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes( data.coreIndex(), &storage, &unknownTypeError); | 6 |
1376 | data.coreIndex(), &storage, &unknownTypeError);executed 6 times by 1 test: args = static_cast<const QQmlStaticMetaObject&>(object).constructorParameterTypes( data.coreIndex(), &storage, &unknownTypeError); | 6 |
1377 | else | - |
1378 | args = object.methodParameterTypes(data.coreIndex(), &storage, &unknownTypeError);executed 44605 times by 29 tests: args = object.methodParameterTypes(data.coreIndex(), &storage, &unknownTypeError); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 44605 |
1379 | | - |
1380 | if (!argsTRUE | evaluated 2 times by 1 test | FALSE | evaluated 44609 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) { | 2-44609 |
1381 | returnexecuted 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError)); engine->throwError(QLatin1String("Unknown method parameter type: ")executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError)); | 2 |
1382 | + QLatin1String(unknownTypeError));executed 2 times by 1 test: return engine->throwError(QLatin1String("Unknown method parameter type: ") + QLatin1String(unknownTypeError)); | 2 |
1383 | } | - |
1384 | | - |
1385 | if (args[0] > callArgs->argc()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 44605 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) { | 4-44605 |
1386 | QString error = QLatin1String("Insufficient arguments"); | - |
1387 | returnexecuted 4 times by 1 test: return engine->throwError(error); engine->throwError(error);executed 4 times by 1 test: return engine->throwError(error); | 4 |
1388 | } | - |
1389 | | - |
1390 | returnexecuted 44605 times by 29 tests: return CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType);executed 44605 times by 29 tests: return CallMethod(object, data.coreIndex(), returnType, args[0], args + 1, engine, callArgs, callType); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 44605 |
1391 | | - |
1392 | } else { | - |
1393 | | - |
1394 | returnexecuted 7075 times by 40 tests: return CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- ...
CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType);executed 7075 times by 40 tests: return CallMethod(object, data.coreIndex(), returnType, 0, nullptr, engine, callArgs, callType); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfocusscope
- tst_qquickgridview
- ...
| 7075 |
1395 | | - |
1396 | } | - |
1397 | } | - |
1398 | static QV4::ReturnedValue CallOverloaded(const QQmlObjectOrGadget &object, const QQmlPropertyData &data, | - |
1399 | QV4::ExecutionEngine *engine, QV4::CallData *callArgs, const QQmlPropertyCache *propertyCache, | - |
1400 | QMetaObject::Call callType = QMetaObject::InvokeMetaMethod) | - |
1401 | { | - |
1402 | int argumentCount = callArgs->argc(); | - |
1403 | | - |
1404 | QQmlPropertyData best; | - |
1405 | int bestParameterScore = 0x7fffffff; | - |
1406 | int bestMatchScore = 0x7fffffff; | - |
1407 | | - |
1408 | QQmlPropertyData dummy; | - |
1409 | const QQmlPropertyData *attempt = &data; | - |
1410 | | - |
1411 | QV4::Scope scope(engine); | - |
1412 | QV4::ScopedValue v(scope); | - |
1413 | | - |
1414 | do { | - |
1415 | QQmlMetaObject::ArgTypeStorage storage; | - |
1416 | int methodArgumentCount = 0; | - |
1417 | int *methodArgTypes = nullptr; | - |
1418 | if (attempt->hasArguments()TRUE | evaluated 2358 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 3724 times by 9 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 2358-3724 |
1419 | int *args = object.methodParameterTypes(attempt->coreIndex(), &storage, nullptr); | - |
1420 | if (!argsTRUE | never evaluated | FALSE | evaluated 2358 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
|
) | 0-2358 |
1421 | continue; never executed: continue; | 0 |
1422 | | - |
1423 | methodArgumentCount = args[0]; | - |
1424 | methodArgTypes = args + 1; | - |
1425 | }executed 2358 times by 12 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| 2358 |
1426 | | - |
1427 | if (methodArgumentCount > argumentCountTRUE | evaluated 1016 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquickpathview
| FALSE | evaluated 5066 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
|
) | 1016-5066 |
1428 | continue;executed 1016 times by 9 tests: continue; Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquickpathview
| 1016 |
1429 | | - |
1430 | int methodParameterScore = argumentCount - methodArgumentCount; | - |
1431 | if (methodParameterScore > bestParameterScoreTRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
| FALSE | evaluated 5052 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
|
) | 14-5052 |
1432 | continue;executed 14 times by 3 tests: continue; Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
| 14 |
1433 | | - |
1434 | int methodMatchScore = 0; | - |
1435 | for (int ii = 0; ii < methodArgumentCountTRUE | evaluated 1540 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 5052 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
|
; ++ii) | 1540-5052 |
1436 | methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);executed 1540 times by 9 tests: methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| 1540 |
1437 | | - |
1438 | if (bestParameterScore > methodParameterScoreTRUE | evaluated 4952 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| FALSE | evaluated 100 times by 4 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
|
|| bestMatchScore > methodMatchScoreTRUE | evaluated 40 times by 4 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
|
) { | 40-4952 |
1439 | best = *attempt; | - |
1440 | bestParameterScore = methodParameterScore; | - |
1441 | bestMatchScore = methodMatchScore; | - |
1442 | }executed 4992 times by 15 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| 4992 |
1443 | | - |
1444 | if (bestParameterScore == 0TRUE | evaluated 4930 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| FALSE | evaluated 122 times by 6 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquicklayouts
|
&& bestMatchScore == 0TRUE | evaluated 3800 times by 12 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 1130 times by 9 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
|
) | 122-4930 |
1445 | break;executed 3800 times by 12 tests: break; Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| 3800 |
1446 | | - |
1447 | }executed 1252 times by 9 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
while ((TRUE | evaluated 1238 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 1044 times by 8 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
|
attempt = RelatedMethod(object, attempt, dummy, propertyCache)) != nullptrTRUE | evaluated 1238 times by 12 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
| FALSE | evaluated 1044 times by 8 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
|
); | 1044-1252 |
1448 | | - |
1449 | if (best.isValid()TRUE | evaluated 4842 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| FALSE | evaluated 2 times by 1 test |
) { | 2-4842 |
1450 | returnexecuted 4842 times by 15 tests: return CallPrecise(object, best, engine, callArgs, callType); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
CallPrecise(object, best, engine, callArgs, callType);executed 4842 times by 15 tests: return CallPrecise(object, best, engine, callArgs, callType); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| 4842 |
1451 | } else { | - |
1452 | QString error = QLatin1String("Unable to determine callable overload. Candidates are:"); | - |
1453 | const QQmlPropertyData *candidate = &data; | - |
1454 | while (candidateTRUE | evaluated 12 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-12 |
1455 | error += QLatin1String("\n ") + | - |
1456 | QString::fromUtf8(object.metaObject()->method(candidate->coreIndex()) | - |
1457 | .methodSignature()); | - |
1458 | candidate = RelatedMethod(object, candidate, dummy, propertyCache); | - |
1459 | }executed 12 times by 1 test: end of block | 12 |
1460 | | - |
1461 | returnexecuted 2 times by 1 test: return engine->throwError(error); engine->throwError(error);executed 2 times by 1 test: return engine->throwError(error); | 2 |
1462 | } | - |
1463 | } | - |
1464 | | - |
1465 | CallArgument::CallArgument() | - |
1466 | : type(QVariant::Invalid) | - |
1467 | { | - |
1468 | }executed 115027 times by 34 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
| 115027 |
1469 | | - |
1470 | CallArgument::~CallArgument() | - |
1471 | { | - |
1472 | cleanup(); | - |
1473 | }executed 115027 times by 34 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
| 115027 |
1474 | | - |
1475 | void CallArgument::cleanup() | - |
1476 | { | - |
1477 | if (type == QMetaType::QStringTRUE | evaluated 24670 times by 19 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
| FALSE | evaluated 90357 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 24670-90357 |
1478 | qstringPtr->~QString(); | - |
1479 | }executed 24670 times by 19 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
else if (type == QMetaType::QByteArrayTRUE | never evaluated | FALSE | evaluated 90357 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 0-90357 |
1480 | qbyteArrayPtr->~QByteArray(); | - |
1481 | } never executed: end of block else if (type == -1TRUE | evaluated 4099 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_quicktestmainwithsetup
| FALSE | evaluated 86258 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
|| type == QMetaType::QVariantTRUE | evaluated 3138 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| FALSE | evaluated 83120 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 0-86258 |
1482 | qvariantPtr->~QVariant(); | - |
1483 | }executed 7237 times by 19 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
else if (type == qMetaTypeId<QJSValue>()TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquicklayouts
| FALSE | evaluated 83064 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 56-83064 |
1484 | qjsValuePtr->~QJSValue(); | - |
1485 | }executed 56 times by 3 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
- tst_qquicklayouts
else if (type == qMetaTypeId<QList<QObject *> >()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 83060 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 4-83060 |
1486 | qlistPtr->~QList<QObject *>(); | - |
1487 | }executed 4 times by 1 test: end of block else if (type == QMetaType::QJsonArrayTRUE | evaluated 4 times by 1 test | FALSE | evaluated 83056 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 4-83056 |
1488 | jsonArrayPtr->~QJsonArray(); | - |
1489 | }executed 4 times by 1 test: end of block else if (type == QMetaType::QJsonObjectTRUE | evaluated 4 times by 1 test | FALSE | evaluated 83052 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 4-83052 |
1490 | jsonObjectPtr->~QJsonObject(); | - |
1491 | }executed 4 times by 1 test: end of block else if (type == QMetaType::QJsonValueTRUE | evaluated 18 times by 1 test | FALSE | evaluated 83034 times by 30 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) { | 4-83034 |
1492 | jsonValuePtr->~QJsonValue(); | - |
1493 | }executed 18 times by 1 test: end of block | 18 |
1494 | }executed 115027 times by 34 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
| 115027 |
1495 | | - |
1496 | void *CallArgument::dataPtr() | - |
1497 | { | - |
1498 | if (type == -1TRUE | evaluated 4099 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_quicktestmainwithsetup
| FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 4099-110928 |
1499 | returnexecuted 4099 times by 15 tests: return qvariantPtr->data(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_quicktestmainwithsetup
qvariantPtr->data();executed 4099 times by 15 tests: return qvariantPtr->data(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_quicktestmainwithsetup
| 4099 |
1500 | else if (type == qMetaTypeId<std::vector<int>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1501 | return never executed: return stdVectorIntPtr; stdVectorIntPtr;never executed: return stdVectorIntPtr; | 0 |
1502 | else if (type == qMetaTypeId<std::vector<qreal>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1503 | return never executed: return stdVectorRealPtr; stdVectorRealPtr;never executed: return stdVectorRealPtr; | 0 |
1504 | else if (type == qMetaTypeId<std::vector<bool>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1505 | return never executed: return stdVectorBoolPtr; stdVectorBoolPtr;never executed: return stdVectorBoolPtr; | 0 |
1506 | else if (type == qMetaTypeId<std::vector<QString>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1507 | return never executed: return stdVectorQStringPtr; stdVectorQStringPtr;never executed: return stdVectorQStringPtr; | 0 |
1508 | else if (type == qMetaTypeId<std::vector<QUrl>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1509 | return never executed: return stdVectorQUrlPtr; stdVectorQUrlPtr;never executed: return stdVectorQUrlPtr; | 0 |
1510 | else if (type == qMetaTypeId<std::vector<QModelIndex>>()TRUE | never evaluated | FALSE | evaluated 110928 times by 33 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 0-110928 |
1511 | return never executed: return stdVectorQModelIndexPtr; stdVectorQModelIndexPtr;never executed: return stdVectorQModelIndexPtr; | 0 |
1512 | else if (type != 0TRUE | evaluated 97474 times by 32 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
| FALSE | evaluated 13454 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) | 13454-97474 |
1513 | returnexecuted 97474 times by 32 tests: return (void *)&allocData; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
(void *)&allocData;executed 97474 times by 32 tests: return (void *)&allocData; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
| 97474 |
1514 | returnexecuted 13454 times by 22 tests: return nullptr; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
nullptr;executed 13454 times by 22 tests: return nullptr; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
| 13454 |
1515 | } | - |
1516 | | - |
1517 | void CallArgument::initAsType(int callType) | - |
1518 | { | - |
1519 | if (type != 0TRUE | never evaluated | FALSE | evaluated 49003 times by 34 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
|
) { cleanup(); type = 0; }never executed: end of block | 0-49003 |
1520 | if (callType == QMetaType::UnknownTypeTRUE | never evaluated | FALSE | evaluated 49003 times by 34 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
|
|| callType == QMetaType::VoidTRUE | evaluated 13454 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
| FALSE | evaluated 35549 times by 27 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
) return;executed 13454 times by 22 tests: return; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
| 0-49003 |
1521 | | - |
1522 | if (callType == qMetaTypeId<QJSValue>()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 35541 times by 27 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
) { | 8-35541 |
1523 | qjsValuePtr = new (&allocData) QJSValue(); | - |
1524 | type = callType; | - |
1525 | }executed 8 times by 2 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
else if (callType == QMetaType::IntTRUE | evaluated 2032 times by 7 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
| FALSE | evaluated 33509 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
|| | 8-33509 |
1526 | callType == QMetaType::UIntTRUE | never evaluated | FALSE | evaluated 33509 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
|| | 0-33509 |
1527 | callType == QMetaType::BoolTRUE | evaluated 2066 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 31443 times by 24 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
|| | 2066-31443 |
1528 | callType == QMetaType::DoubleTRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| FALSE | evaluated 31413 times by 24 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
|| | 30-31413 |
1529 | callType == QMetaType::FloatTRUE | never evaluated | FALSE | evaluated 31413 times by 24 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
) { | 0-31413 |
1530 | type = callType; | - |
1531 | }executed 4128 times by 11 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
else if (callType == QMetaType::QObjectStarTRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 31383 times by 23 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
) { | 30-31383 |
1532 | qobjectPtr = nullptr; | - |
1533 | type = callType; | - |
1534 | }executed 30 times by 2 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
else if (callType == QMetaType::QStringTRUE | evaluated 214 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| FALSE | evaluated 31169 times by 20 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
) { | 30-31169 |
1535 | qstringPtr = new (&allocData) QString(); | - |
1536 | type = callType; | - |
1537 | }executed 214 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
else if (callType == QMetaType::QVariantTRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickpathview
- tst_qquickvisualdatamodel
| FALSE | evaluated 31157 times by 19 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
) { | 12-31157 |
1538 | type = callType; | - |
1539 | qvariantPtr = new (&allocData) QVariant(); | - |
1540 | }executed 12 times by 3 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickpathview
- tst_qquickvisualdatamodel
else if (callType == qMetaTypeId<QList<QObject *> >()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 31153 times by 19 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
|
) { | 4-31153 |
1541 | type = callType; | - |
1542 | qlistPtr = new (&allocData) QList<QObject *>(); | - |
1543 | }executed 4 times by 1 test: end of block else if (callType == qMetaTypeId<QQmlV4Handle>()TRUE | evaluated 30154 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
| FALSE | evaluated 999 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
|
) { | 4-30154 |
1544 | type = callType; | - |
1545 | handlePtr = new (&allocData) QQmlV4Handle; | - |
1546 | }executed 30154 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
else if (callType == QMetaType::QJsonArrayTRUE | never evaluated | FALSE | evaluated 999 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
|
) { | 0-30154 |
1547 | type = callType; | - |
1548 | jsonArrayPtr = new (&allocData) QJsonArray(); | - |
1549 | } never executed: end of block else if (callType == QMetaType::QJsonObjectTRUE | never evaluated | FALSE | evaluated 999 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
|
) { | 0-999 |
1550 | type = callType; | - |
1551 | jsonObjectPtr = new (&allocData) QJsonObject(); | - |
1552 | } never executed: end of block else if (callType == QMetaType::QJsonValueTRUE | never evaluated | FALSE | evaluated 999 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
|
) { | 0-999 |
1553 | type = callType; | - |
1554 | jsonValuePtr = new (&allocData) QJsonValue(); | - |
1555 | } never executed: end of block else { | 0 |
1556 | type = -1; | - |
1557 | qvariantPtr = new (&allocData) QVariant(callType, (void *)nullptr); | - |
1558 | }executed 999 times by 9 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| 999 |
1559 | } | - |
1560 | | - |
1561 | | - |
1562 | template <class T, class M> | - |
1563 | void CallArgument::fromContainerValue(const QV4::Object *object, int callType, M CallArgument::*member, bool &queryEngine) | - |
1564 | { | - |
1565 | if (objectTRUE | evaluated 16 times by 1 test | FALSE | never evaluated |
&& object->isListType()TRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
) { | 0-16 |
1566 | T* ptr = static_cast<T*>(QV4::SequencePrototype::getRawContainerPtr(object, callType)); | - |
1567 | if (ptrTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1568 | (this->*member) = ptr; | - |
1569 | type = callType; | - |
1570 | queryEngine = false; | - |
1571 | } never executed: end of block | 0 |
1572 | } never executed: end of block | 0 |
1573 | }executed 16 times by 1 test: end of block | 16 |
1574 | | - |
1575 | | - |
1576 | void CallArgument::fromValue(int callType, QV4::ExecutionEngine *engine, const QV4::Value &value) | - |
1577 | { | - |
1578 | if (type != 0TRUE | never evaluated | FALSE | evaluated 66024 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) { | 0-66024 |
1579 | cleanup(); | - |
1580 | type = 0; | - |
1581 | } never executed: end of block | 0 |
1582 | | - |
1583 | QV4::Scope scope(engine); | - |
1584 | | - |
1585 | bool queryEngine = false; | - |
1586 | if (callType == qMetaTypeId<QJSValue>()TRUE | evaluated 48 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquicklayouts
| FALSE | evaluated 65976 times by 29 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) { | 48-65976 |
1587 | qjsValuePtr = new (&allocData) QJSValue(scope.engine, value.asReturnedValue()); | - |
1588 | type = qMetaTypeId<QJSValue>(); | - |
1589 | }executed 48 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquicklayouts
else if (callType == QMetaType::IntTRUE | evaluated 32012 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 33964 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) { | 48-33964 |
1590 | intValue = quint32(value.toInt32()); | - |
1591 | type = callType; | - |
1592 | }executed 32012 times by 22 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
else if (callType == QMetaType::UIntTRUE | evaluated 2 times by 1 test | FALSE | evaluated 33962 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) { | 2-33962 |
1593 | intValue = quint32(value.toUInt32()); | - |
1594 | type = callType; | - |
1595 | }executed 2 times by 1 test: end of block else if (callType == QMetaType::BoolTRUE | evaluated 1834 times by 3 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 32128 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) { | 2-32128 |
1596 | boolValue = value.toBoolean(); | - |
1597 | type = callType; | - |
1598 | }executed 1834 times by 3 tests: end of block Executed by:- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
else if (callType == QMetaType::DoubleTRUE | evaluated 1060 times by 7 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquicklayouts
- tst_qquicklistview
| FALSE | evaluated 31068 times by 21 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) { | 1060-31068 |
1599 | doubleValue = double(value.toNumber()); | - |
1600 | type = callType; | - |
1601 | }executed 1060 times by 7 tests: end of block Executed by:- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquicklayouts
- tst_qquicklistview
else if (callType == QMetaType::FloatTRUE | never evaluated | FALSE | evaluated 31068 times by 21 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) { | 0-31068 |
1602 | floatValue = float(value.toNumber()); | - |
1603 | type = callType; | - |
1604 | } never executed: end of block else if (callType == QMetaType::QStringTRUE | evaluated 24456 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
| FALSE | evaluated 6612 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
|
) { | 0-24456 |
1605 | if (value.isNull()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24454 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
|| value.isUndefined()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24452 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
|
) | 2-24454 |
1606 | qstringPtr = new (&allocData) QString();executed 4 times by 1 test: qstringPtr = new (&allocData) QString(); | 4 |
1607 | else | - |
1608 | qstringPtr = new (&allocData) QString(value.toQStringNoThrow());executed 24452 times by 15 tests: qstringPtr = new (&allocData) QString(value.toQStringNoThrow()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
| 24452 |
1609 | type = callType; | - |
1610 | }executed 24456 times by 15 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_quicktestmainwithsetup
else if (callType == QMetaType::QObjectStarTRUE | evaluated 54 times by 1 test | FALSE | evaluated 6558 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
|
) { | 54-24456 |
1611 | qobjectPtr = nullptr; | - |
1612 | if (constTRUE | evaluated 44 times by 1 test | FALSE | evaluated 10 times by 1 test |
QV4::QObjectWrapper *qobjectWrapper = value.as<QV4::QObjectWrapper>()TRUE | evaluated 44 times by 1 test | FALSE | evaluated 10 times by 1 test |
) | 10-44 |
1613 | qobjectPtr = qobjectWrapper->object();executed 44 times by 1 test: qobjectPtr = qobjectWrapper->object(); | 44 |
1614 | else if (constTRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 1 test |
QV4::QQmlTypeWrapper *qmlTypeWrapper = value.as<QV4::QQmlTypeWrapper>()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 2-8 |
1615 | queryEngine = qmlTypeWrapper->isSingleton();executed 2 times by 1 test: queryEngine = qmlTypeWrapper->isSingleton(); | 2 |
1616 | type = callType; | - |
1617 | }executed 54 times by 1 test: end of block else if (callType == qMetaTypeId<QVariant>()TRUE | evaluated 3126 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
| FALSE | evaluated 3432 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 54-3432 |
1618 | qvariantPtr = new (&allocData) QVariant(scope.engine->toVariant(value, -1)); | - |
1619 | type = callType; | - |
1620 | }executed 3126 times by 6 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
else if (callType == qMetaTypeId<QList<QObject*> >()TRUE | never evaluated | FALSE | evaluated 3432 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 0-3432 |
1621 | qlistPtr = new (&allocData) QList<QObject *>(); | - |
1622 | QV4::ScopedArrayObject array(scope, value); | - |
1623 | if (arrayTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1624 | Scoped<QV4::QObjectWrapper> qobjectWrapper(scope); | - |
1625 | | - |
1626 | uint length = array->getLength(); | - |
1627 | for (uint ii = 0; ii < lengthTRUE | never evaluated | FALSE | never evaluated |
; ++ii) { | 0 |
1628 | QObject *o = nullptr; | - |
1629 | qobjectWrapper = array->get(ii); | - |
1630 | if (!!qobjectWrapperTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1631 | o = qobjectWrapper->object(); never executed: o = qobjectWrapper->object(); | 0 |
1632 | qlistPtr->append(o); | - |
1633 | } never executed: end of block | 0 |
1634 | } never executed: end of block else { | 0 |
1635 | QObject *o = nullptr; | - |
1636 | if (constTRUE | never evaluated | FALSE | never evaluated |
QV4::QObjectWrapper *qobjectWrapper = value.as<QV4::QObjectWrapper>()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1637 | o = qobjectWrapper->object(); never executed: o = qobjectWrapper->object(); | 0 |
1638 | qlistPtr->append(o); | - |
1639 | } never executed: end of block | 0 |
1640 | type = callType; | - |
1641 | } never executed: end of block else if (callType == qMetaTypeId<QQmlV4Handle>()TRUE | evaluated 308 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
| FALSE | evaluated 3124 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 0-3124 |
1642 | handlePtr = new (&allocData) QQmlV4Handle(value.asReturnedValue()); | - |
1643 | type = callType; | - |
1644 | }executed 308 times by 2 tests: end of block Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
else if (callType == QMetaType::QJsonArrayTRUE | evaluated 4 times by 1 test | FALSE | evaluated 3120 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 4-3120 |
1645 | QV4::ScopedArrayObject a(scope, value); | - |
1646 | jsonArrayPtr = new (&allocData) QJsonArray(QV4::JsonObject::toJsonArray(a)); | - |
1647 | type = callType; | - |
1648 | }executed 4 times by 1 test: end of block else if (callType == QMetaType::QJsonObjectTRUE | evaluated 4 times by 1 test | FALSE | evaluated 3116 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 4-3116 |
1649 | QV4::ScopedObject o(scope, value); | - |
1650 | jsonObjectPtr = new (&allocData) QJsonObject(QV4::JsonObject::toJsonObject(o)); | - |
1651 | type = callType; | - |
1652 | }executed 4 times by 1 test: end of block else if (callType == QMetaType::QJsonValueTRUE | evaluated 18 times by 1 test | FALSE | evaluated 3098 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 4-3098 |
1653 | jsonValuePtr = new (&allocData) QJsonValue(QV4::JsonObject::toJsonValue(value)); | - |
1654 | type = callType; | - |
1655 | }executed 18 times by 1 test: end of block else if (callType == QMetaType::VoidTRUE | never evaluated | FALSE | evaluated 3098 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 0-3098 |
1656 | *qvariantPtr = QVariant(); | - |
1657 | | - |
1658 | } never executed: end of block else if (callType == qMetaTypeId<std::vector<int>>()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 3090 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
| 0-3090 |
1659 | || callType == qMetaTypeId<std::vector<qreal>>()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 3082 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
| 8-3082 |
1660 | || callType == qMetaTypeId<std::vector<bool>>()TRUE | never evaluated | FALSE | evaluated 3082 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
| 0-3082 |
1661 | || callType == qMetaTypeId<std::vector<QString>>()TRUE | never evaluated | FALSE | evaluated 3082 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
| 0-3082 |
1662 | || callType == qMetaTypeId<std::vector<QUrl>>()TRUE | never evaluated | FALSE | evaluated 3082 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
| 0-3082 |
1663 | || callType == qMetaTypeId<std::vector<QModelIndex>>()TRUE | never evaluated | FALSE | evaluated 3082 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 0-3082 |
1664 | queryEngine = true; | - |
1665 | const QV4::Object* object = value.as<QV4::Object>(); | - |
1666 | if (callType == qMetaTypeId<std::vector<int>>()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { | 8 |
1667 | stdVectorIntPtr = nullptr; | - |
1668 | fromContainerValue<std::vector<int>>(object, callType, &CallArgument::stdVectorIntPtr, queryEngine); | - |
1669 | }executed 8 times by 1 test: end of block else if (callType == qMetaTypeId<std::vector<qreal>>()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) { | 0-8 |
1670 | stdVectorRealPtr = nullptr; | - |
1671 | fromContainerValue<std::vector<qreal>>(object, callType, &CallArgument::stdVectorRealPtr, queryEngine); | - |
1672 | }executed 8 times by 1 test: end of block else if (callType == qMetaTypeId<std::vector<bool>>()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-8 |
1673 | stdVectorBoolPtr = nullptr; | - |
1674 | fromContainerValue<std::vector<bool>>(object, callType, &CallArgument::stdVectorBoolPtr, queryEngine); | - |
1675 | } never executed: end of block else if (callType == qMetaTypeId<std::vector<QString>>()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1676 | stdVectorQStringPtr = nullptr; | - |
1677 | fromContainerValue<std::vector<QString>>(object, callType, &CallArgument::stdVectorQStringPtr, queryEngine); | - |
1678 | } never executed: end of block else if (callType == qMetaTypeId<std::vector<QUrl>>()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1679 | stdVectorQUrlPtr = nullptr; | - |
1680 | fromContainerValue<std::vector<QUrl>>(object, callType, &CallArgument::stdVectorQUrlPtr, queryEngine); | - |
1681 | } never executed: end of block else if (callType == qMetaTypeId<std::vector<QModelIndex>>()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1682 | stdVectorQModelIndexPtr = nullptr; | - |
1683 | fromContainerValue<std::vector<QModelIndex>>(object, callType, &CallArgument::stdVectorQModelIndexPtr, queryEngine); | - |
1684 | } never executed: end of block | 0 |
1685 | | - |
1686 | }executed 16 times by 1 test: end of block else { | 16 |
1687 | queryEngine = true; | - |
1688 | }executed 3082 times by 11 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| 3082 |
1689 | | - |
1690 | if (queryEngineTRUE | evaluated 3100 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 62924 times by 27 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
|
) { | 3100-62924 |
1691 | qvariantPtr = new (&allocData) QVariant(); | - |
1692 | type = -1; | - |
1693 | | - |
1694 | QQmlEnginePrivate *ep = engine->qmlEngine()TRUE | evaluated 3100 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | never evaluated |
? QQmlEnginePrivate::get(engine->qmlEngine()) : nullptr; | 0-3100 |
1695 | QVariant v = scope.engine->toVariant(value, callType); | - |
1696 | | - |
1697 | if (v.userType() == callTypeTRUE | evaluated 270 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickitem
| FALSE | evaluated 2830 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
|
) { | 270-2830 |
1698 | *qvariantPtr = v; | - |
1699 | }executed 270 times by 6 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickitem
else if (v.canConvert(callType)TRUE | evaluated 2816 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
|
) { | 14-2816 |
1700 | *qvariantPtr = v; | - |
1701 | qvariantPtr->convert(callType); | - |
1702 | }executed 2816 times by 6 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_quicktestmainwithsetup
else { | 2816 |
1703 | QQmlMetaObject mo = epTRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| FALSE | never evaluated |
? ep->rawMetaObjectForType(callType) : QQmlMetaObject(); | 0-14 |
1704 | if (!mo.isNull()TRUE | never evaluated | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
|
) { | 0-14 |
1705 | QObject *obj = ep->toQObject(v); | - |
1706 | | - |
1707 | if (obj != nullptrTRUE | never evaluated | FALSE | never evaluated |
&& !QQmlMetaObject::canConvert(obj, mo)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1708 | obj = nullptr; never executed: obj = nullptr; | 0 |
1709 | | - |
1710 | *qvariantPtr = QVariant(callType, &obj); | - |
1711 | } never executed: end of block else { | 0 |
1712 | *qvariantPtr = QVariant(callType, (void *)nullptr); | - |
1713 | }executed 14 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| 14 |
1714 | } | - |
1715 | } | - |
1716 | }executed 66024 times by 29 tests: end of block Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 66024 |
1717 | | - |
1718 | QV4::ReturnedValue CallArgument::toValue(QV4::ExecutionEngine *engine) | - |
1719 | { | - |
1720 | QV4::Scope scope(engine); | - |
1721 | | - |
1722 | if (type == qMetaTypeId<QJSValue>()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 48995 times by 34 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- ...
|
) { | 8-48995 |
1723 | returnexecuted 8 times by 2 tests: return QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr); Executed by:- tst_qjsengine
- tst_qqmlecmascript
QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr);executed 8 times by 2 tests: return QJSValuePrivate::convertedToValue(scope.engine, *qjsValuePtr); Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 8 |
1724 | } else if (type == QMetaType::IntTRUE | evaluated 2032 times by 7 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
| FALSE | evaluated 46963 times by 32 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
) { | 2032-46963 |
1725 | returnexecuted 2032 times by 7 tests: return QV4::Encode(int(intValue)); Executed by:- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
QV4::Encode(int(intValue));executed 2032 times by 7 tests: return QV4::Encode(int(intValue)); Executed by:- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
| 2032 |
1726 | } else if (type == QMetaType::UIntTRUE | never evaluated | FALSE | evaluated 46963 times by 32 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
) { | 0-46963 |
1727 | return never executed: return QV4::Encode((uint)intValue); QV4::Encode((uint)intValue);never executed: return QV4::Encode((uint)intValue); | 0 |
1728 | } else if (type == QMetaType::BoolTRUE | evaluated 2066 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| FALSE | evaluated 44897 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 2066-44897 |
1729 | returnexecuted 2066 times by 8 tests: return QV4::Encode(boolValue); Executed by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
QV4::Encode(boolValue);executed 2066 times by 8 tests: return QV4::Encode(boolValue); Executed by:- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_quicktestmainwithsetup
| 2066 |
1730 | } else if (type == QMetaType::DoubleTRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| FALSE | evaluated 44867 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 30-44867 |
1731 | returnexecuted 30 times by 2 tests: return QV4::Encode(doubleValue); Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
QV4::Encode(doubleValue);executed 30 times by 2 tests: return QV4::Encode(doubleValue); Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
| 30 |
1732 | } else if (type == QMetaType::FloatTRUE | never evaluated | FALSE | evaluated 44867 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 0-44867 |
1733 | return never executed: return QV4::Encode(floatValue); QV4::Encode(floatValue);never executed: return QV4::Encode(floatValue); | 0 |
1734 | } else if (type == QMetaType::QStringTRUE | evaluated 214 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| FALSE | evaluated 44653 times by 28 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- ...
|
) { | 214-44653 |
1735 | returnexecuted 214 times by 8 tests: return QV4::Encode(engine->newString(*qstringPtr)); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
QV4::Encode(engine->newString(*qstringPtr));executed 214 times by 8 tests: return QV4::Encode(engine->newString(*qstringPtr)); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| 214 |
1736 | } else if (type == QMetaType::QByteArrayTRUE | never evaluated | FALSE | evaluated 44653 times by 28 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- ...
|
) { | 0-44653 |
1737 | return never executed: return QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr)); QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr));never executed: return QV4::Encode(engine->newArrayBuffer(*qbyteArrayPtr)); | 0 |
1738 | } else if (type == QMetaType::QObjectStarTRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 44623 times by 28 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- ...
|
) { | 30-44623 |
1739 | QObject *object = qobjectPtr; | - |
1740 | if (objectTRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlecmascript
| FALSE | never evaluated |
) | 0-30 |
1741 | QQmlData::get(object, true)->setImplicitDestructible();executed 30 times by 2 tests: QQmlData::get(object, true)->setImplicitDestructible(); Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 30 |
1742 | returnexecuted 30 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, object); Executed by:- tst_qjsengine
- tst_qqmlecmascript
QV4::QObjectWrapper::wrap(scope.engine, object);executed 30 times by 2 tests: return QV4::QObjectWrapper::wrap(scope.engine, object); Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 30 |
1743 | } else if (type == qMetaTypeId<QList<QObject *> >()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 44619 times by 28 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- ...
|
) { | 4-44619 |
1744 | | - |
1745 | | - |
1746 | QList<QObject *> &list = *qlistPtr; | - |
1747 | QV4::ScopedArrayObject array(scope, scope.engine->newArrayObject()); | - |
1748 | array->arrayReserve(list.count()); | - |
1749 | QV4::ScopedValue v(scope); | - |
1750 | for (int ii = 0; ii < list.count()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 4 times by 1 test |
; ++ii) | 4-8 |
1751 | array->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(scope.engine, list.at(ii))));executed 8 times by 1 test: array->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(scope.engine, list.at(ii)))); | 8 |
1752 | array->setArrayLengthUnchecked(list.count()); | - |
1753 | returnexecuted 4 times by 1 test: return array.asReturnedValue(); array.asReturnedValue();executed 4 times by 1 test: return array.asReturnedValue(); | 4 |
1754 | } else if (type == qMetaTypeId<QQmlV4Handle>()TRUE | evaluated 30154 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
| FALSE | evaluated 14465 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) { | 14465-30154 |
1755 | returnexecuted 30154 times by 13 tests: return *handlePtr; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
*handlePtr;executed 30154 times by 13 tests: return *handlePtr; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
| 30154 |
1756 | } else if (type == QMetaType::QJsonArrayTRUE | never evaluated | FALSE | evaluated 14465 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) { | 0-14465 |
1757 | return never executed: return QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr); QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr);never executed: return QV4::JsonObject::fromJsonArray(scope.engine, *jsonArrayPtr); | 0 |
1758 | } else if (type == QMetaType::QJsonObjectTRUE | never evaluated | FALSE | evaluated 14465 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) { | 0-14465 |
1759 | return never executed: return QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr); QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr);never executed: return QV4::JsonObject::fromJsonObject(scope.engine, *jsonObjectPtr); | 0 |
1760 | } else if (type == QMetaType::QJsonValueTRUE | never evaluated | FALSE | evaluated 14465 times by 25 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) { | 0-14465 |
1761 | return never executed: return QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr); QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr);never executed: return QV4::JsonObject::fromJsonValue(scope.engine, *jsonValuePtr); | 0 |
1762 | } else if (type == -1TRUE | evaluated 999 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| FALSE | evaluated 13466 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
|| type == qMetaTypeId<QVariant>()TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickpathview
- tst_qquickvisualdatamodel
| FALSE | evaluated 13454 times by 22 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
|
) { | 12-13466 |
1763 | QVariant value = *qvariantPtr; | - |
1764 | QV4::ScopedValue rv(scope, scope.engine->fromVariant(value)); | - |
1765 | QV4::Scoped<QV4::QObjectWrapper> qobjectWrapper(scope, rv); | - |
1766 | if (!!qobjectWrapperTRUE | evaluated 621 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| FALSE | evaluated 390 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 390-621 |
1767 | if (QObject *object = qobjectWrapper->object()TRUE | evaluated 621 times by 4 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| FALSE | never evaluated |
) | 0-621 |
1768 | QQmlData::get(object, true)->setImplicitDestructible();executed 621 times by 4 tests: QQmlData::get(object, true)->setImplicitDestructible(); Executed by:- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| 621 |
1769 | }executed 621 times by 4 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| 621 |
1770 | returnexecuted 1011 times by 11 tests: return rv->asReturnedValue(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
rv->asReturnedValue();executed 1011 times by 11 tests: return rv->asReturnedValue(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1011 |
1771 | } else { | - |
1772 | returnexecuted 13454 times by 22 tests: return QV4::Encode::undefined(); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
QV4::Encode::undefined();executed 13454 times by 22 tests: return QV4::Encode::undefined(); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_testfiltering
| 13454 |
1773 | } | - |
1774 | } | - |
1775 | | - |
1776 | ReturnedValue QObjectMethod::create(ExecutionContext *scope, QObject *object, int index) | - |
1777 | { | - |
1778 | Scope valueScope(scope); | - |
1779 | Scoped<QObjectMethod> method(valueScope, valueScope.engine->memoryManager->allocate<QObjectMethod>(scope)); | - |
1780 | method->d()->setObject(object); | - |
1781 | | - |
1782 | if (QQmlData *ddata = QQmlData::get(object)TRUE | evaluated 67816 times by 62 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
| FALSE | never evaluated |
) | 0-67816 |
1783 | method->d()->setPropertyCache(ddata->propertyCache);executed 67816 times by 62 tests: method->d()->setPropertyCache(ddata->propertyCache); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
| 67816 |
1784 | | - |
1785 | method->d()->index = index; | - |
1786 | returnexecuted 67816 times by 62 tests: return method.asReturnedValue(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
method.asReturnedValue();executed 67816 times by 62 tests: return method.asReturnedValue(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
| 67816 |
1787 | } | - |
1788 | | - |
1789 | ReturnedValue QObjectMethod::create(ExecutionContext *scope, const QQmlValueTypeWrapper *valueType, int index) | - |
1790 | { | - |
1791 | Scope valueScope(scope); | - |
1792 | Scoped<QObjectMethod> method(valueScope, valueScope.engine->memoryManager->allocate<QObjectMethod>(scope)); | - |
1793 | method->d()->setPropertyCache(valueType->d()->propertyCache()); | - |
1794 | method->d()->index = index; | - |
1795 | method->d()->valueTypeWrapper.set(valueScope.engine, valueType->d()); | - |
1796 | returnexecuted 344 times by 5 tests: return method.asReturnedValue(); Executed by:- tst_examples
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
method.asReturnedValue();executed 344 times by 5 tests: return method.asReturnedValue(); Executed by:- tst_examples
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| 344 |
1797 | } | - |
1798 | | - |
1799 | void Heap::QObjectMethod::init(QV4::ExecutionContext *scope) | - |
1800 | { | - |
1801 | Heap::FunctionObject::init(scope); | - |
1802 | }executed 68160 times by 62 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltranslation
- ...
| 68160 |
1803 | | - |
1804 | const QMetaObject *Heap::QObjectMethod::metaObject() | - |
1805 | { | - |
1806 | if (propertyCache()) | - |
1807 | return propertyCache()->createMetaObject(); | - |
1808 | return object()->metaObject(); | - |
1809 | } | - |
1810 | | - |
1811 | QV4::ReturnedValue QObjectMethod::method_toString(QV4::ExecutionEngine *engine) const | - |
1812 | { | - |
1813 | QString result; | - |
1814 | if (constTRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | never evaluated |
QMetaObject *metaObject = d()->metaObject()TRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | never evaluated |
) { | 0-108 |
1815 | | - |
1816 | result += QString::fromUtf8(metaObject->className()) + | - |
1817 | QLatin1String("(0x") + QString::number((quintptr)d()->object(),16); | - |
1818 | | - |
1819 | if (d()->object()TRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | never evaluated |
) { | 0-108 |
1820 | QString objectName = d()->object()->objectName(); | - |
1821 | if (!objectName.isEmpty()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | evaluated 90 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
|
) | 18-90 |
1822 | result += QLatin1String(", \"") + objectName + QLatin1Char('\"');executed 18 times by 2 tests: result += QLatin1String(", \"") + objectName + QLatin1Char('\"'); Executed by:- tst_qqmlecmascript
- tst_qquickdraghandler
| 18 |
1823 | }executed 108 times by 4 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| 108 |
1824 | | - |
1825 | result += QLatin1Char(')'); | - |
1826 | }executed 108 times by 4 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
else { | 108 |
1827 | result = QLatin1String("null"); | - |
1828 | } never executed: end of block | 0 |
1829 | | - |
1830 | returnexecuted 108 times by 4 tests: return engine->newString(result)->asReturnedValue(); Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
engine->newString(result)->asReturnedValue();executed 108 times by 4 tests: return engine->newString(result)->asReturnedValue(); Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| 108 |
1831 | } | - |
1832 | | - |
1833 | QV4::ReturnedValue QObjectMethod::method_destroy(QV4::ExecutionEngine *engine, const Value *args, int argc) const | - |
1834 | { | - |
1835 | if (!d()->object()TRUE | never evaluated | FALSE | evaluated 246 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
|
) | 0-246 |
1836 | return never executed: return Encode::undefined(); Encode::undefined();never executed: return Encode::undefined(); | 0 |
1837 | if (QQmlData::keepAliveDuringGarbageCollection(d()->object())TRUE | evaluated 10 times by 1 test | FALSE | evaluated 236 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
|
) | 10-236 |
1838 | returnexecuted 10 times by 1 test: return engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())); engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 10 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 10 times by 1 test: return qstring_literal_temp; }()));executed 10 times by 1 test: return engine->throwError(([]() noexcept -> QString { enum { Size = sizeof(u"" "Invalid attempt to destroy() an indestructible object")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid attempt to destroy() an indestructible object" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())); | 10 |
1839 | | - |
1840 | int delay = 0; | - |
1841 | if (argc > 0TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
| FALSE | evaluated 230 times by 11 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
|
) | 6-230 |
1842 | delay = args[0].toUInt32();executed 6 times by 2 tests: delay = args[0].toUInt32(); Executed by:- tst_examples
- tst_qqmlecmascript
| 6 |
1843 | | - |
1844 | if (delay > 0TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
| FALSE | evaluated 230 times by 11 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
|
) | 6-230 |
1845 | QTimer::singleShot(delay, d()->object(), qFlagLocation("1""deleteLater()" "\0" __FILE__ ":" "1929"));executed 6 times by 2 tests: QTimer::singleShot(delay, d()->object(), qFlagLocation("1""deleteLater()" "\0" __FILE__ ":" "1929")); Executed by:- tst_examples
- tst_qqmlecmascript
| 6 |
1846 | else | - |
1847 | d()->object()->deleteLater();executed 230 times by 11 tests: d()->object()->deleteLater(); Executed by:- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| 230 |
1848 | | - |
1849 | returnexecuted 236 times by 12 tests: return Encode::undefined(); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
Encode::undefined();executed 236 times by 12 tests: return Encode::undefined(); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| 236 |
1850 | } | - |
1851 | | - |
1852 | ReturnedValue QObjectMethod::virtualCall(const FunctionObject *m, const Value *thisObject, const Value *argv, int argc) | - |
1853 | { | - |
1854 | const QObjectMethod *This = static_cast<const QObjectMethod*>(m); | - |
1855 | returnexecuted 64330 times by 60 tests: return This->callInternal(thisObject, argv, argc); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
This->callInternal(thisObject, argv, argc);executed 64330 times by 60 tests: return This->callInternal(thisObject, argv, argc); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
| 64330 |
1856 | } | - |
1857 | | - |
1858 | ReturnedValue QObjectMethod::callInternal(const Value *thisObject, const Value *argv, int argc) const | - |
1859 | { | - |
1860 | ExecutionEngine *v4 = engine(); | - |
1861 | if (d()->index == DestroyMethodTRUE | evaluated 246 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| FALSE | evaluated 64084 times by 56 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
) | 246-64084 |
1862 | returnexecuted 246 times by 12 tests: return method_destroy(v4, argv, argc); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
method_destroy(v4, argv, argc);executed 246 times by 12 tests: return method_destroy(v4, argv, argc); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| 246 |
1863 | else if (d()->index == ToStringMethodTRUE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| FALSE | evaluated 63976 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) | 108-63976 |
1864 | returnexecuted 108 times by 4 tests: return method_toString(v4); Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
method_toString(v4);executed 108 times by 4 tests: return method_toString(v4); Executed by:- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickdraghandler
| 108 |
1865 | | - |
1866 | QQmlObjectOrGadget object(d()->object()); | - |
1867 | if (!d()->object()TRUE | evaluated 344 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| FALSE | evaluated 63632 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) { | 344-63632 |
1868 | if (!d()->valueTypeWrapperTRUE | never evaluated | FALSE | evaluated 344 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
|
) | 0-344 |
1869 | return never executed: return Encode::undefined(); Encode::undefined();never executed: return Encode::undefined(); | 0 |
1870 | | - |
1871 | object = QQmlObjectOrGadget(d()->propertyCache(), d()->valueTypeWrapper->gadgetPtr); | - |
1872 | }executed 344 times by 5 tests: end of block Executed by:- tst_examples
- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
| 344 |
1873 | | - |
1874 | QQmlPropertyData method; | - |
1875 | | - |
1876 | if (d()->propertyCache()TRUE | evaluated 61124 times by 53 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 2852 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
|
) { | 2852-61124 |
1877 | QQmlPropertyData *data = d()->propertyCache()->method(d()->index); | - |
1878 | if (!dataTRUE | never evaluated | FALSE | evaluated 61124 times by 53 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
) | 0-61124 |
1879 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
1880 | method = *data; | - |
1881 | }executed 61124 times by 53 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
else { | 61124 |
1882 | const QMetaObject *mo = d()->object()->metaObject(); | - |
1883 | const QMetaMethod moMethod = mo->method(d()->index); | - |
1884 | method.load(moMethod); | - |
1885 | | - |
1886 | if (method.coreIndex() == -1TRUE | never evaluated | FALSE | evaluated 2852 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
|
) | 0-2852 |
1887 | return never executed: return QV4::Encode::undefined(); QV4::Encode::undefined();never executed: return QV4::Encode::undefined(); | 0 |
1888 | | - |
1889 | | - |
1890 | QByteArray methodName = moMethod.name(); | - |
1891 | const int methodOffset = mo->methodOffset(); | - |
1892 | for (int ii = d()->index - 1; ii >= methodOffsetTRUE | evaluated 12876 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
| FALSE | evaluated 2852 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
|
; --ii) { | 2852-12876 |
1893 | if (methodName == mo->method(ii).name()TRUE | never evaluated | FALSE | evaluated 12876 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistmodelworkerscript
|
) { | 0-12876 |
1894 | method.setOverload(true); | - |
1895 | method.setOverrideIndexIsProperty(0); | - |
1896 | method.setOverrideIndex(ii); | - |
1897 | break; never executed: break; | 0 |
1898 | } | - |
1899 | }executed 12876 times by 2 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodelworkerscript
| 12876 |
1900 | }executed 2852 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
| 2852 |
1901 | | - |
1902 | Scope scope(v4); | - |
1903 | JSCallData cData(scope, argc, argv, thisObject); | - |
1904 | CallData *callData = cData.callData(); | - |
1905 | | - |
1906 | if (method.isV4Function()TRUE | evaluated 12294 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 51682 times by 49 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- ...
|
) { | 12294-51682 |
1907 | QV4::ScopedValue rv(scope, QV4::Primitive::undefinedValue()); | - |
1908 | QQmlV4Function func(callData, rv, v4); | - |
1909 | QQmlV4Function *funcptr = &func; | - |
1910 | | - |
1911 | void *args[] = { nullptr, &funcptr }; | - |
1912 | object.metacall(QMetaObject::InvokeMetaMethod, method.coreIndex(), args); | - |
1913 | | - |
1914 | returnexecuted 12294 times by 31 tests: return rv->asReturnedValue(); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
rv->asReturnedValue();executed 12294 times by 31 tests: return rv->asReturnedValue(); Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 12294 |
1915 | } | - |
1916 | | - |
1917 | if (!method.isOverload()TRUE | evaluated 46838 times by 47 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- ...
| FALSE | evaluated 4844 times by 15 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
|
) { | 4844-46838 |
1918 | returnexecuted 46838 times by 47 tests: return CallPrecise(object, method, v4, callData); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- ...
CallPrecise(object, method, v4, callData);executed 46838 times by 47 tests: return CallPrecise(object, method, v4, callData); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- ...
| 46838 |
1919 | } else { | - |
1920 | returnexecuted 4844 times by 15 tests: return CallOverloaded(object, method, v4, callData, d()->propertyCache()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
CallOverloaded(object, method, v4, callData, d()->propertyCache());executed 4844 times by 15 tests: return CallOverloaded(object, method, v4, callData, d()->propertyCache()); Executed by:- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquickpathview
- tst_quicktestmainwithsetup
| 4844 |
1921 | } | - |
1922 | } | - |
1923 | | - |
1924 | const QV4::VTable QObjectMethod::static_vtbl = { (std::is_same<QObjectMethod::SuperClass, Object>::value) ? nullptr : &QObjectMethod::SuperClass::static_vtbl, (sizeof(QObjectMethod::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QObjectMethod::Data) + (QObjectMethod::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QObjectMethod::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QObjectMethod::IsExecutionContext, QObjectMethod::IsString, QObjectMethod::IsObject, QObjectMethod::IsFunctionObject, QObjectMethod::IsErrorObject, QObjectMethod::IsArrayData, QObjectMethod::IsStringOrSymbol, QObjectMethod::MyType, { 0, 0, 0, 0 }, "QObjectMethod", QObjectMethod::virtualDestroy, QObjectMethod::Data::markObjects, QObjectMethod::virtualIsEqualTo, QObjectMethod::virtualGet, QObjectMethod::virtualPut, QObjectMethod::virtualDeleteProperty, QObjectMethod::virtualHasProperty, QObjectMethod::virtualGetOwnProperty, QObjectMethod::virtualDefineOwnProperty, QObjectMethod::virtualIsExtensible, QObjectMethod::virtualPreventExtensions, QObjectMethod::virtualGetPrototypeOf, QObjectMethod::virtualSetPrototypeOf, QObjectMethod::virtualGetLength, QObjectMethod::virtualAdvanceIterator, QObjectMethod::virtualInstanceOf, QObjectMethod::virtualCall, QObjectMethod::virtualCallAsConstructor, }; | - |
1925 | | - |
1926 | | - |
1927 | void Heap::QMetaObjectWrapper::init(const QMetaObject *metaObject) | - |
1928 | { | - |
1929 | FunctionObject::init(); | - |
1930 | this->metaObject = metaObject; | - |
1931 | constructors = nullptr; | - |
1932 | constructorCount = 0; | - |
1933 | }executed 6 times by 1 test: end of block | 6 |
1934 | | - |
1935 | void Heap::QMetaObjectWrapper::destroy() | - |
1936 | { | - |
1937 | delete[] constructors; | - |
1938 | }executed 6 times by 1 test: end of block | 6 |
1939 | | - |
1940 | void Heap::QMetaObjectWrapper::ensureConstructorsCache() { | - |
1941 | | - |
1942 | const int count = metaObject->constructorCount(); | - |
1943 | if (constructorCount != countTRUE | evaluated 2 times by 1 test | FALSE | evaluated 6 times by 1 test |
) { | 2-6 |
1944 | delete[] constructors; | - |
1945 | constructorCount = count; | - |
1946 | if (count == 0TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
1947 | constructors = nullptr; | - |
1948 | return; never executed: return; | 0 |
1949 | } | - |
1950 | constructors = new QQmlPropertyData[count]; | - |
1951 | | - |
1952 | for (int i = 0; i < countTRUE | evaluated 8 times by 1 test | FALSE | evaluated 2 times by 1 test |
; ++i) { | 2-8 |
1953 | QMetaMethod method = metaObject->constructor(i); | - |
1954 | QQmlPropertyData &d = constructors[i]; | - |
1955 | d.load(method); | - |
1956 | d.setCoreIndex(i); | - |
1957 | }executed 8 times by 1 test: end of block | 8 |
1958 | }executed 2 times by 1 test: end of block | 2 |
1959 | }executed 8 times by 1 test: end of block | 8 |
1960 | | - |
1961 | | - |
1962 | ReturnedValue QMetaObjectWrapper::create(ExecutionEngine *engine, const QMetaObject* metaObject) { | - |
1963 | | - |
1964 | QV4::Scope scope(engine); | - |
1965 | Scoped<QMetaObjectWrapper> mo(scope, engine->memoryManager->allocate<QV4::QMetaObjectWrapper>(metaObject)->asReturnedValue()); | - |
1966 | mo->init(engine); | - |
1967 | returnexecuted 6 times by 1 test: return mo->asReturnedValue(); mo->asReturnedValue();executed 6 times by 1 test: return mo->asReturnedValue(); | 6 |
1968 | } | - |
1969 | | - |
1970 | void QMetaObjectWrapper::init(ExecutionEngine *) { | - |
1971 | const QMetaObject & mo = *d()->metaObject; | - |
1972 | | - |
1973 | for (int i = 0; i < mo.enumeratorCount()TRUE | evaluated 12 times by 1 test | FALSE | evaluated 6 times by 1 test |
; i++) { | 6-12 |
1974 | QMetaEnum Enum = mo.enumerator(i); | - |
1975 | for (int k = 0; k < Enum.keyCount()TRUE | evaluated 36 times by 1 test | FALSE | evaluated 12 times by 1 test |
; k++) { | 12-36 |
1976 | const char* key = Enum.key(k); | - |
1977 | const int value = Enum.value(k); | - |
1978 | defineReadonlyProperty(QLatin1String(key), Primitive::fromInt32(value)); | - |
1979 | }executed 36 times by 1 test: end of block | 36 |
1980 | }executed 12 times by 1 test: end of block | 12 |
1981 | }executed 6 times by 1 test: end of block | 6 |
1982 | | - |
1983 | ReturnedValue QMetaObjectWrapper::virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *) | - |
1984 | { | - |
1985 | const QMetaObjectWrapper *This = static_cast<const QMetaObjectWrapper*>(f); | - |
1986 | returnexecuted 8 times by 1 test: return This->constructInternal(argv, argc); This->constructInternal(argv, argc);executed 8 times by 1 test: return This->constructInternal(argv, argc); | 8 |
1987 | } | - |
1988 | | - |
1989 | ReturnedValue QMetaObjectWrapper::constructInternal(const Value *argv, int argc) const | - |
1990 | { | - |
1991 | | - |
1992 | d()->ensureConstructorsCache(); | - |
1993 | | - |
1994 | ExecutionEngine *v4 = engine(); | - |
1995 | const QMetaObject* mo = d()->metaObject; | - |
1996 | if (d()->constructorCount == 0TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) { | 0-8 |
1997 | return never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor")); v4->throwTypeError(QLatin1String(mo->className())never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor")); | 0 |
1998 | + QLatin1String(" has no invokable constructor")); never executed: return v4->throwTypeError(QLatin1String(mo->className()) + QLatin1String(" has no invokable constructor")); | 0 |
1999 | } | - |
2000 | | - |
2001 | Scope scope(v4); | - |
2002 | Scoped<QObjectWrapper> object(scope); | - |
2003 | JSCallData cData(scope, argc, argv); | - |
2004 | CallData *callData = cData.callData(); | - |
2005 | | - |
2006 | if (d()->constructorCount == 1TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) { | 0-8 |
2007 | object = callConstructor(d()->constructors[0], v4, callData); | - |
2008 | } never executed: end of block | 0 |
2009 | else { | - |
2010 | object = callOverloadedConstructor(v4, callData); | - |
2011 | }executed 8 times by 1 test: end of block | 8 |
2012 | Scoped<QMetaObjectWrapper> metaObject(scope, this); | - |
2013 | object->defineDefaultProperty(v4->id_constructor(), metaObject); | - |
2014 | object->setPrototypeOf(const_cast<QMetaObjectWrapper*>(this)); | - |
2015 | returnexecuted 8 times by 1 test: return object.asReturnedValue(); object.asReturnedValue();executed 8 times by 1 test: return object.asReturnedValue(); | 8 |
2016 | | - |
2017 | } | - |
2018 | | - |
2019 | ReturnedValue QMetaObjectWrapper::callConstructor(const QQmlPropertyData &data, QV4::ExecutionEngine *engine, QV4::CallData *callArgs) const { | - |
2020 | | - |
2021 | const QMetaObject* mo = d()->metaObject; | - |
2022 | const QQmlStaticMetaObject object(mo); | - |
2023 | return never executed: return CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance); CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance);never executed: return CallPrecise(object, data, engine, callArgs, QMetaObject::CreateInstance); | 0 |
2024 | } | - |
2025 | | - |
2026 | | - |
2027 | ReturnedValue QMetaObjectWrapper::callOverloadedConstructor(QV4::ExecutionEngine *engine, QV4::CallData *callArgs) const { | - |
2028 | const int numberOfConstructors = d()->constructorCount; | - |
2029 | const int argumentCount = callArgs->argc(); | - |
2030 | const QQmlStaticMetaObject object(d()->metaObject); | - |
2031 | | - |
2032 | QQmlPropertyData best; | - |
2033 | int bestParameterScore = 0x7fffffff; | - |
2034 | int bestMatchScore = 0x7fffffff; | - |
2035 | | - |
2036 | QV4::Scope scope(engine); | - |
2037 | QV4::ScopedValue v(scope); | - |
2038 | | - |
2039 | for (int i = 0; i < numberOfConstructorsTRUE | evaluated 24 times by 1 test | FALSE | evaluated 4 times by 1 test |
; i++) { | 4-24 |
2040 | const QQmlPropertyData & attempt = d()->constructors[i]; | - |
2041 | QQmlMetaObject::ArgTypeStorage storage; | - |
2042 | int methodArgumentCount = 0; | - |
2043 | int *methodArgTypes = nullptr; | - |
2044 | if (attempt.hasArguments()TRUE | evaluated 16 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { | 8-16 |
2045 | int *args = object.constructorParameterTypes(attempt.coreIndex(), &storage, nullptr); | - |
2046 | if (!argsTRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
2047 | continue; never executed: continue; | 0 |
2048 | | - |
2049 | methodArgumentCount = args[0]; | - |
2050 | methodArgTypes = args + 1; | - |
2051 | }executed 16 times by 1 test: end of block | 16 |
2052 | | - |
2053 | if (methodArgumentCount > argumentCountTRUE | evaluated 2 times by 1 test | FALSE | evaluated 22 times by 1 test |
) | 2-22 |
2054 | continue;executed 2 times by 1 test: continue; | 2 |
2055 | | - |
2056 | int methodParameterScore = argumentCount - methodArgumentCount; | - |
2057 | if (methodParameterScore > bestParameterScoreTRUE | never evaluated | FALSE | evaluated 22 times by 1 test |
) | 0-22 |
2058 | continue; never executed: continue; | 0 |
2059 | | - |
2060 | int methodMatchScore = 0; | - |
2061 | for (int ii = 0; ii < methodArgumentCountTRUE | evaluated 16 times by 1 test | FALSE | evaluated 22 times by 1 test |
; ++ii) | 16-22 |
2062 | methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]);executed 16 times by 1 test: methodMatchScore += MatchScore((v = callArgs->args[ii]), methodArgTypes[ii]); | 16 |
2063 | | - |
2064 | if (bestParameterScore > methodParameterScoreTRUE | evaluated 16 times by 1 test | FALSE | evaluated 6 times by 1 test |
|| bestMatchScore > methodMatchScoreTRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-16 |
2065 | best = attempt; | - |
2066 | bestParameterScore = methodParameterScore; | - |
2067 | bestMatchScore = methodMatchScore; | - |
2068 | }executed 20 times by 1 test: end of block | 20 |
2069 | | - |
2070 | if (bestParameterScore == 0TRUE | evaluated 12 times by 1 test | FALSE | evaluated 10 times by 1 test |
&& bestMatchScore == 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 4-12 |
2071 | break;executed 4 times by 1 test: break; | 4 |
2072 | }executed 18 times by 1 test: end of block ; | 18 |
2073 | | - |
2074 | if (best.isValid()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) { | 0-8 |
2075 | returnexecuted 8 times by 1 test: return CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance); CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance);executed 8 times by 1 test: return CallPrecise(object, best, engine, callArgs, QMetaObject::CreateInstance); | 8 |
2076 | } else { | - |
2077 | QString error = QLatin1String("Unable to determine callable overload. Candidates are:"); | - |
2078 | for (int i = 0; i < numberOfConstructorsTRUE | never evaluated | FALSE | never evaluated |
; i++) { | 0 |
2079 | const QQmlPropertyData & candidate = d()->constructors[i]; | - |
2080 | error += QLatin1String("\n ") + | - |
2081 | QString::fromUtf8(d()->metaObject->constructor(candidate.coreIndex()) | - |
2082 | .methodSignature()); | - |
2083 | } never executed: end of block | 0 |
2084 | | - |
2085 | return never executed: return engine->throwError(error); engine->throwError(error);never executed: return engine->throwError(error); | 0 |
2086 | } | - |
2087 | } | - |
2088 | | - |
2089 | bool QMetaObjectWrapper::virtualIsEqualTo(Managed *a, Managed *b) | - |
2090 | { | - |
2091 | ((a->as<QMetaObjectWrapper>()) ? static_cast<void>(0) : qt_assert("a->as<QMetaObjectWrapper>()", __FILE__, 2175)); | - |
2092 | QMetaObjectWrapper *aMetaObject = a->as<QMetaObjectWrapper>(); | - |
2093 | QMetaObjectWrapper *bMetaObject = b->as<QMetaObjectWrapper>(); | - |
2094 | if (!bMetaObjectTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
2095 | return never executed: return true; true;never executed: return true; | 0 |
2096 | returnexecuted 2 times by 1 test: return aMetaObject->metaObject() == bMetaObject->metaObject(); aMetaObject->metaObject() == bMetaObject->metaObject();executed 2 times by 1 test: return aMetaObject->metaObject() == bMetaObject->metaObject(); | 2 |
2097 | } | - |
2098 | | - |
2099 | const QV4::VTable QMetaObjectWrapper::static_vtbl = { (std::is_same<QMetaObjectWrapper::SuperClass, Object>::value) ? nullptr : &QMetaObjectWrapper::SuperClass::static_vtbl, (sizeof(QMetaObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QMetaObjectWrapper::Data) + (QMetaObjectWrapper::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QMetaObjectWrapper::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QMetaObjectWrapper::IsExecutionContext, QMetaObjectWrapper::IsString, QMetaObjectWrapper::IsObject, QMetaObjectWrapper::IsFunctionObject, QMetaObjectWrapper::IsErrorObject, QMetaObjectWrapper::IsArrayData, QMetaObjectWrapper::IsStringOrSymbol, QMetaObjectWrapper::MyType, { 0, 0, 0, 0 }, "QMetaObjectWrapper", QMetaObjectWrapper::virtualDestroy, QMetaObjectWrapper::Data::markObjects, QMetaObjectWrapper::virtualIsEqualTo, QMetaObjectWrapper::virtualGet, QMetaObjectWrapper::virtualPut, QMetaObjectWrapper::virtualDeleteProperty, QMetaObjectWrapper::virtualHasProperty, QMetaObjectWrapper::virtualGetOwnProperty, QMetaObjectWrapper::virtualDefineOwnProperty, QMetaObjectWrapper::virtualIsExtensible, QMetaObjectWrapper::virtualPreventExtensions, QMetaObjectWrapper::virtualGetPrototypeOf, QMetaObjectWrapper::virtualSetPrototypeOf, QMetaObjectWrapper::virtualGetLength, QMetaObjectWrapper::virtualAdvanceIterator, QMetaObjectWrapper::virtualInstanceOf, QMetaObjectWrapper::virtualCall, QMetaObjectWrapper::virtualCallAsConstructor, }; | - |
2100 | | - |
2101 | | - |
2102 | | - |
2103 | | - |
2104 | void Heap::QmlSignalHandler::init(QObject *object, int signalIndex) | - |
2105 | { | - |
2106 | Object::init(); | - |
2107 | this->signalIndex = signalIndex; | - |
2108 | setObject(object); | - |
2109 | }executed 14 times by 1 test: end of block | 14 |
2110 | | - |
2111 | const QV4::VTable QmlSignalHandler::static_vtbl = { (std::is_same<QmlSignalHandler::SuperClass, Object>::value) ? nullptr : &QmlSignalHandler::SuperClass::static_vtbl, (sizeof(QmlSignalHandler::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(QmlSignalHandler::Data) + (QmlSignalHandler::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(QmlSignalHandler::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), QmlSignalHandler::IsExecutionContext, QmlSignalHandler::IsString, QmlSignalHandler::IsObject, QmlSignalHandler::IsFunctionObject, QmlSignalHandler::IsErrorObject, QmlSignalHandler::IsArrayData, QmlSignalHandler::IsStringOrSymbol, QmlSignalHandler::MyType, { 0, 0, 0, 0 }, "QmlSignalHandler", QmlSignalHandler::virtualDestroy, QmlSignalHandler::Data::markObjects, QmlSignalHandler::virtualIsEqualTo, QmlSignalHandler::virtualGet, QmlSignalHandler::virtualPut, QmlSignalHandler::virtualDeleteProperty, QmlSignalHandler::virtualHasProperty, QmlSignalHandler::virtualGetOwnProperty, QmlSignalHandler::virtualDefineOwnProperty, QmlSignalHandler::virtualIsExtensible, QmlSignalHandler::virtualPreventExtensions, QmlSignalHandler::virtualGetPrototypeOf, QmlSignalHandler::virtualSetPrototypeOf, QmlSignalHandler::virtualGetLength, QmlSignalHandler::virtualAdvanceIterator, QmlSignalHandler::virtualInstanceOf, QmlSignalHandler::virtualCall, QmlSignalHandler::virtualCallAsConstructor, }; | - |
2112 | | - |
2113 | void QmlSignalHandler::initProto(ExecutionEngine *engine) | - |
2114 | { | - |
2115 | if (engine->signalHandlerPrototype()->d_unchecked()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 6 times by 1 test |
) | 6-8 |
2116 | return;executed 8 times by 1 test: return; | 8 |
2117 | | - |
2118 | Scope scope(engine); | - |
2119 | ScopedObject o(scope, engine->newObject()); | - |
2120 | QV4::ScopedString connect(scope, engine->newIdentifier(([]() noexcept -> QString { enum { Size = sizeof(u"" "connect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "connect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 6 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 6 times by 1 test: return qstring_literal_temp; }()))); | 6 |
2121 | QV4::ScopedString disconnect(scope, engine->newIdentifier(([]() noexcept -> QString { enum { Size = sizeof(u"" "disconnect")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "disconnect" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 6 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 6 times by 1 test: return qstring_literal_temp; }()))); | 6 |
2122 | o->put(connect, QV4::ScopedValue(scope, engine->functionPrototype()->get(connect))); | - |
2123 | o->put(disconnect, QV4::ScopedValue(scope, engine->functionPrototype()->get(disconnect))); | - |
2124 | | - |
2125 | engine->jsObjects[QV4::ExecutionEngine::SignalHandlerProto] = o->d(); | - |
2126 | }executed 6 times by 1 test: end of block | 6 |
2127 | | - |
2128 | void MultiplyWrappedQObjectMap::insert(QObject *key, Heap::Object *value) | - |
2129 | { | - |
2130 | QV4::WeakValue v; | - |
2131 | v.set(value->internalClass->engine, value); | - |
2132 | QHash<QObject*, QV4::WeakValue>::insert(key, v); | - |
2133 | connect(key, qFlagLocation("2""destroyed(QObject*)" "\0" __FILE__ ":" "2217"), this, qFlagLocation("1""removeDestroyedObject(QObject*)" "\0" __FILE__ ":" "2217")); | - |
2134 | }executed 4 times by 2 tests: end of block Executed by:- tst_qjsengine
- tst_qqmlecmascript
| 4 |
2135 | | - |
2136 | | - |
2137 | | - |
2138 | MultiplyWrappedQObjectMap::Iterator MultiplyWrappedQObjectMap::erase(MultiplyWrappedQObjectMap::Iterator it) | - |
2139 | { | - |
2140 | disconnect(it.key(), qFlagLocation("2""destroyed(QObject*)" "\0" __FILE__ ":" "2224"), this, qFlagLocation("1""removeDestroyedObject(QObject*)" "\0" __FILE__ ":" "2224")); | - |
2141 | return never executed: return QHash<QObject*, QV4::WeakValue>::erase(it); QHash<QObject*, QV4::WeakValue>::erase(it);never executed: return QHash<QObject*, QV4::WeakValue>::erase(it); | 0 |
2142 | } | - |
2143 | | - |
2144 | void MultiplyWrappedQObjectMap::remove(QObject *key) | - |
2145 | { | - |
2146 | Iterator it = find(key); | - |
2147 | if (it == end()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2148 | return; never executed: return; | 0 |
2149 | erase(it); | - |
2150 | } never executed: end of block | 0 |
2151 | | - |
2152 | void MultiplyWrappedQObjectMap::mark(QObject *key, MarkStack *markStack) | - |
2153 | { | - |
2154 | Iterator it = find(key); | - |
2155 | if (it == end()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2156 | return; never executed: return; | 0 |
2157 | it->markOnce(markStack); | - |
2158 | } never executed: end of block | 0 |
2159 | | - |
2160 | void MultiplyWrappedQObjectMap::removeDestroyedObject(QObject *object) | - |
2161 | { | - |
2162 | QHash<QObject*, QV4::WeakValue>::remove(object); | - |
2163 | } never executed: end of block | 0 |
2164 | | - |
2165 | | - |
2166 | | - |
| | |