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