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 "qv4qmlcontext_p.h" | - |
41 | #include <private/qv8engine_p.h> | - |
42 | | - |
43 | #include <private/qqmlengine_p.h> | - |
44 | #include <private/qqmlcontext_p.h> | - |
45 | | - |
46 | #include <private/qv4engine_p.h> | - |
47 | #include <private/qv4value_p.h> | - |
48 | #include <private/qv4objectproto_p.h> | - |
49 | #include <private/qv4mm_p.h> | - |
50 | #include <private/qv4function_p.h> | - |
51 | #include <private/qv4compileddata_p.h> | - |
52 | #include <private/qqmltypewrapper_p.h> | - |
53 | #include <private/qqmllistwrapper_p.h> | - |
54 | #include <private/qqmljavascriptexpression_p.h> | - |
55 | #include <private/qjsvalue_p.h> | - |
56 | #include <private/qv4qobjectwrapper_p.h> | - |
57 | | - |
58 | QT_BEGIN_NAMESPACE | - |
59 | | - |
60 | using namespace QV4; | - |
61 | | - |
62 | DEFINE_OBJECT_VTABLE(QQmlContextWrapper); | - |
63 | DEFINE_MANAGED_VTABLE(QmlContext); | - |
64 | | - |
65 | void Heap::QQmlContextWrapper::init(QQmlContextData *context, QObject *scopeObject) | - |
66 | { | - |
67 | Object::init(); | - |
68 | readOnly = true; | - |
69 | isNullWrapper = false; | - |
70 | this->context = new QQmlContextDataRef(context); | - |
71 | this->scopeObject.init(scopeObject); | - |
72 | }executed 1559519 times by 129 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 1559519 |
73 | | - |
74 | void Heap::QQmlContextWrapper::destroy() | - |
75 | { | - |
76 | delete context; | - |
77 | scopeObject.destroy(); | - |
78 | Object::destroy(); | - |
79 | }executed 1559467 times by 129 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 1559467 |
80 | | - |
81 | ReturnedValue QQmlContextWrapper::virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty) | - |
82 | { | - |
83 | Q_ASSERT(m->as<QQmlContextWrapper>()); | - |
84 | | - |
85 | if (!id.isString())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2432472 times by 86 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-2432472 |
86 | return Object::virtualGet(m, id, receiver, hasProperty);executed 4 times by 1 test: return Object::virtualGet(m, id, receiver, hasProperty); | 4 |
87 | | - |
88 | const QQmlContextWrapper *resource = static_cast<const QQmlContextWrapper *>(m); | - |
89 | QV4::ExecutionEngine *v4 = resource->engine(); | - |
90 | QV4::Scope scope(v4); | - |
91 | | - |
92 | if (resource->d()->isNullWrapper)TRUE | evaluated 45048 times by 5 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| FALSE | evaluated 2387424 times by 86 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
- ...
|
| 45048-2387424 |
93 | return Object::virtualGet(m, id, receiver, hasProperty);executed 45048 times by 5 tests: return Object::virtualGet(m, id, receiver, hasProperty); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 45048 |
94 | | - |
95 | if (v4->callingQmlContext() != *resource->d()->context)TRUE | evaluated 424 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2387000 times by 86 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
- ...
|
| 424-2387000 |
96 | return Object::virtualGet(m, id, receiver, hasProperty);executed 424 times by 13 tests: return Object::virtualGet(m, id, receiver, hasProperty); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 424 |
97 | | - |
98 | bool hasProp = false; | - |
99 | ScopedValue result(scope, Object::virtualGet(m, id, receiver, &hasProp)); | - |
100 | if (hasProp) {TRUE | evaluated 344 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2386656 times by 86 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
- ...
|
| 344-2386656 |
101 | if (hasProperty)TRUE | evaluated 342 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2 times by 1 test |
| 2-342 |
102 | *hasProperty = hasProp;executed 342 times by 8 tests: *hasProperty = hasProp; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 342 |
103 | return result->asReturnedValue();executed 344 times by 8 tests: return result->asReturnedValue(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 344 |
104 | } | - |
105 | | - |
106 | | - |
107 | | - |
108 | QQmlContextData *context = resource->getContext(); | - |
109 | QQmlContextData *expressionContext = context; | - |
110 | | - |
111 | if (!context) {TRUE | never evaluated | FALSE | evaluated 2386656 times by 86 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-2386656 |
112 | if (hasProperty)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
113 | *hasProperty = true; never executed: *hasProperty = true; | 0 |
114 | return result->asReturnedValue(); never executed: return result->asReturnedValue(); | 0 |
115 | } | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | QObject *scopeObject = resource->getScopeObject(); | - |
126 | | - |
127 | ScopedString name(scope, id.asStringOrSymbol()); | - |
128 | if (context->imports && name->startsWithUpper()) {TRUE | evaluated 311617 times by 67 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- ...
| FALSE | evaluated 2072309 times by 76 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- 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_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 311617-2072309 |
129 | | - |
130 | QQmlTypeNameCache::Result r = context->imports->query(name, QQmlImport::AllowRecursion); | - |
131 | | - |
132 | if (r.isValid()) {TRUE | evaluated 90634 times by 44 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- ...
| FALSE | evaluated 220983 times by 54 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 90634-220983 |
133 | if (hasProperty)TRUE | evaluated 90634 times by 44 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- ...
| FALSE | never evaluated |
| 0-90634 |
134 | *hasProperty = true;executed 90634 times by 44 tests: *hasProperty = true; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- ...
| 90634 |
135 | if (r.scriptIndex != -1) {TRUE | evaluated 418 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 90216 times by 42 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgraphicsinfo
- ...
|
| 418-90216 |
136 | QV4::ScopedObject scripts(scope, context->importedScripts.valueRef()); | - |
137 | if (scripts)TRUE | evaluated 416 times by 13 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2 times by 1 test |
| 2-416 |
138 | return scripts->get(r.scriptIndex);executed 416 times by 13 tests: return scripts->get(r.scriptIndex); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 416 |
139 | return QV4::Encode::null();executed 2 times by 1 test: return QV4::Encode::null(); | 2 |
140 | } else if (r.type.isValid()) {TRUE | evaluated 89902 times by 38 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- ...
| FALSE | evaluated 314 times by 5 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickscreen
|
| 314-89902 |
141 | return QQmlTypeWrapper::create(v4, scopeObject, r.type);executed 89902 times by 38 tests: return QQmlTypeWrapper::create(v4, scopeObject, r.type); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- ...
| 89902 |
142 | } else if (r.importNamespace) {TRUE | evaluated 314 times by 5 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickscreen
| FALSE | never evaluated |
| 0-314 |
143 | return QQmlTypeWrapper::create(v4, scopeObject, context->imports, r.importNamespace);executed 314 times by 5 tests: return QQmlTypeWrapper::create(v4, scopeObject, context->imports, r.importNamespace); Executed by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickscreen
| 314 |
144 | } | - |
145 | Q_ASSERT(!"Unreachable"); | - |
146 | } never executed: end of block | 0 |
147 | | - |
148 | | - |
149 | }executed 220983 times by 54 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 220983 |
150 | | - |
151 | QQmlEnginePrivate *ep = QQmlEnginePrivate::get(v4->qmlEngine()); | - |
152 | | - |
153 | while (context) {TRUE | evaluated 4778912 times by 83 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
- ...
| FALSE | evaluated 225871 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
| 225871-4778912 |
154 | | - |
155 | const QV4::IdentifierHash &properties = context->propertyNames(); | - |
156 | if (properties.count()) {TRUE | evaluated 2617610 times by 69 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
| FALSE | evaluated 2161302 times by 78 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmlpropertymap
- ...
|
| 2161302-2617610 |
157 | int propertyIdx = properties.value(name); | - |
158 | | - |
159 | if (propertyIdx != -1) {TRUE | evaluated 529714 times by 50 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- ...
| FALSE | evaluated 2087896 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 529714-2087896 |
160 | | - |
161 | if (propertyIdx < context->idValueCount) {TRUE | evaluated 195649 times by 39 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | evaluated 334065 times by 30 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
| 195649-334065 |
162 | | - |
163 | if (ep->propertyCapture)TRUE | evaluated 32610 times by 28 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 163039 times by 25 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qv4debugger
- tst_scenegraph
|
| 32610-163039 |
164 | ep->propertyCapture->captureProperty(&context->idValues[propertyIdx].bindings);executed 32610 times by 28 tests: ep->propertyCapture->captureProperty(&context->idValues[propertyIdx].bindings); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 32610 |
165 | if (hasProperty)TRUE | evaluated 195649 times by 39 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | never evaluated |
| 0-195649 |
166 | *hasProperty = true;executed 195649 times by 39 tests: *hasProperty = true; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- ...
| 195649 |
167 | return QV4::QObjectWrapper::wrap(v4, context->idValues[propertyIdx]);executed 195649 times by 39 tests: return QV4::QObjectWrapper::wrap(v4, context->idValues[propertyIdx]); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfontloader
- ...
| 195649 |
168 | } else { | - |
169 | | - |
170 | QQmlContextPrivate *cp = context->asQQmlContextPrivate(); | - |
171 | | - |
172 | if (ep->propertyCapture)TRUE | evaluated 99797 times by 23 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 234268 times by 18 testsEvaluated by:- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_quicktestmainwithsetup
- tst_scenegraph
|
| 99797-234268 |
173 | ep->propertyCapture->captureProperty(context->asQQmlContext(), -1, propertyIdx + cp->notifyIndex);executed 99797 times by 23 tests: ep->propertyCapture->captureProperty(context->asQQmlContext(), -1, propertyIdx + cp->notifyIndex); Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 99797 |
174 | | - |
175 | const QVariant &value = cp->propertyValues.at(propertyIdx); | - |
176 | if (hasProperty)TRUE | evaluated 334065 times by 30 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | never evaluated |
| 0-334065 |
177 | *hasProperty = true;executed 334065 times by 30 tests: *hasProperty = true; Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 334065 |
178 | if (value.userType() == qMetaTypeId<QList<QObject*> >()) {TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 334057 times by 30 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
| 8-334057 |
179 | QQmlListProperty<QObject> prop(context->asQQmlContext(), (void*) qintptr(propertyIdx), | - |
180 | QQmlContextPrivate::context_count, | - |
181 | QQmlContextPrivate::context_at); | - |
182 | return QmlListWrapper::create(v4, prop, qMetaTypeId<QQmlListProperty<QObject> >());executed 8 times by 2 tests: return QmlListWrapper::create(v4, prop, qMetaTypeId<QQmlListProperty<QObject> >()); Executed by:- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8 |
183 | } else { | - |
184 | return scope.engine->fromVariant(cp->propertyValues.at(propertyIdx));executed 334057 times by 30 tests: return scope.engine->fromVariant(cp->propertyValues.at(propertyIdx)); Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 334057 |
185 | } | - |
186 | } | - |
187 | } | - |
188 | }executed 2087896 times by 63 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_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 2087896 |
189 | | - |
190 | | - |
191 | if (scopeObject) {TRUE | evaluated 2195492 times by 80 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
- ...
| FALSE | evaluated 2053706 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmlqt
- ...
|
| 2053706-2195492 |
192 | bool hasProp = false; | - |
193 | QV4::ScopedValue result(scope, QV4::QObjectWrapper::getQmlProperty(v4, context, scopeObject, | - |
194 | name, QV4::QObjectWrapper::CheckRevision, &hasProp)); | - |
195 | if (hasProp) {TRUE | evaluated 85764 times by 41 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
| FALSE | evaluated 2109728 times by 78 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
- ...
|
| 85764-2109728 |
196 | if (hasProperty)TRUE | evaluated 85764 times by 41 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
| FALSE | never evaluated |
| 0-85764 |
197 | *hasProperty = true;executed 85764 times by 41 tests: *hasProperty = true; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
| 85764 |
198 | return result->asReturnedValue();executed 85764 times by 41 tests: return result->asReturnedValue(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
| 85764 |
199 | } | - |
200 | }executed 2109728 times by 78 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
- ...
| 2109728 |
201 | scopeObject = nullptr; | - |
202 | | - |
203 | | - |
204 | | - |
205 | if (context->contextObject) {TRUE | evaluated 3936667 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
- ...
| FALSE | evaluated 226767 times by 64 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
| 226767-3936667 |
206 | bool hasProp = false; | - |
207 | result = QV4::QObjectWrapper::getQmlProperty(v4, context, context->contextObject, name, QV4::QObjectWrapper::CheckRevision, &hasProp); | - |
208 | if (hasProp) {TRUE | evaluated 1454673 times by 43 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- ...
| FALSE | evaluated 2481994 times by 77 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmlpropertymap
- ...
|
| 1454673-2481994 |
209 | if (hasProperty)TRUE | evaluated 1454673 times by 43 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- ...
| FALSE | never evaluated |
| 0-1454673 |
210 | *hasProperty = true;executed 1454673 times by 43 tests: *hasProperty = true; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- ...
| 1454673 |
211 | return result->asReturnedValue();executed 1454673 times by 43 tests: return result->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- ...
| 1454673 |
212 | } | - |
213 | }executed 2481994 times by 77 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmlpropertymap
- ...
| 2481994 |
214 | | - |
215 | context = context->parent; | - |
216 | }executed 2708761 times by 77 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmlpropertymap
- ...
| 2708761 |
217 | | - |
218 | | - |
219 | | - |
220 | result = v4->globalObject->get(name, &hasProp); | - |
221 | if (hasProp) {TRUE | evaluated 225707 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| FALSE | evaluated 164 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
| 164-225707 |
222 | if (hasProperty)TRUE | evaluated 225707 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| FALSE | never evaluated |
| 0-225707 |
223 | *hasProperty = hasProp;executed 225707 times by 63 tests: *hasProperty = hasProp; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| 225707 |
224 | return result->asReturnedValue();executed 225707 times by 63 tests: return result->asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| 225707 |
225 | } | - |
226 | | - |
227 | expressionContext->unresolvedNames = true; | - |
228 | | - |
229 | return Encode::undefined();executed 164 times by 11 tests: return Encode::undefined(); Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 164 |
230 | } | - |
231 | | - |
232 | bool QQmlContextWrapper::virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver) | - |
233 | { | - |
234 | Q_ASSERT(m->as<QQmlContextWrapper>()); | - |
235 | | - |
236 | if (id.isSymbol() || id.isArrayIndex())TRUE | never evaluated | FALSE | evaluated 43908 times by 37 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- ...
|
TRUE | never evaluated | FALSE | evaluated 43908 times by 37 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- ...
|
| 0-43908 |
237 | return Object::virtualPut(m, id, value, receiver); never executed: return Object::virtualPut(m, id, value, receiver); | 0 |
238 | | - |
239 | QQmlContextWrapper *resource = static_cast<QQmlContextWrapper *>(m); | - |
240 | ExecutionEngine *v4 = resource->engine(); | - |
241 | QV4::Scope scope(v4); | - |
242 | if (scope.hasException())TRUE | never evaluated | FALSE | evaluated 43908 times by 37 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- ...
|
| 0-43908 |
243 | return false; never executed: return false; | 0 |
244 | QV4::Scoped<QQmlContextWrapper> wrapper(scope, resource); | - |
245 | | - |
246 | uint member = wrapper->internalClass()->find(id); | - |
247 | if (member < UINT_MAX)TRUE | evaluated 41404 times by 15 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 2504 times by 27 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- 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
- ...
|
| 2504-41404 |
248 | return wrapper->putValue(member, value);executed 41404 times by 15 tests: return wrapper->putValue(member, value); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 41404 |
249 | | - |
250 | if (wrapper->d()->isNullWrapper) {TRUE | evaluated 1158 times by 5 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| FALSE | evaluated 1346 times by 25 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- 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
|
| 1158-1346 |
251 | if (wrapper && wrapper->d()->readOnly) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 1152 times by 5 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
|
| 6-1152 |
252 | QString error = QLatin1String("Invalid write to global property \"") + id.toQString() + | - |
253 | QLatin1Char('"'); | - |
254 | ScopedString e(scope, v4->newString(error)); | - |
255 | v4->throwError(e); | - |
256 | return false;executed 6 times by 1 test: return false; | 6 |
257 | } | - |
258 | | - |
259 | return Object::virtualPut(m, id, value, receiver);executed 1152 times by 5 tests: return Object::virtualPut(m, id, value, receiver); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 1152 |
260 | } | - |
261 | | - |
262 | | - |
263 | | - |
264 | QQmlContextData *context = wrapper->getContext(); | - |
265 | QQmlContextData *expressionContext = context; | - |
266 | | - |
267 | if (!context)TRUE | never evaluated | FALSE | evaluated 1346 times by 25 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- 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-1346 |
268 | return false; never executed: return false; | 0 |
269 | | - |
270 | | - |
271 | | - |
272 | QObject *scopeObject = wrapper->getScopeObject(); | - |
273 | ScopedString name(scope, id.asStringOrSymbol()); | - |
274 | | - |
275 | while (context) {TRUE | evaluated 2480 times by 25 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- 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 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlexpression
|
| 8-2480 |
276 | const QV4::IdentifierHash &properties = context->propertyNames(); | - |
277 | | - |
278 | if (properties.count() && properties.value(name) != -1)TRUE | evaluated 956 times by 19 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
| FALSE | evaluated 1524 times by 17 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
TRUE | never evaluated | FALSE | evaluated 956 times by 19 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickshortcut
- tst_qquickstates
- tst_qquickvisualdatamodel
|
| 0-1524 |
279 | return false; never executed: return false; | 0 |
280 | | - |
281 | | - |
282 | if (scopeObject &&TRUE | evaluated 1264 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 1216 times by 7 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
| 1216-1264 |
283 | QV4::QObjectWrapper::setQmlProperty(v4, context, scopeObject, name, QV4::QObjectWrapper::CheckRevision, value))TRUE | evaluated 556 times by 7 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickstates
- tst_qquickvisualdatamodel
| FALSE | evaluated 708 times by 20 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- 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
|
| 556-708 |
284 | return true;executed 556 times by 7 tests: return true; Executed by:- tst_qmlcachegen
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickstates
- tst_qquickvisualdatamodel
| 556 |
285 | scopeObject = nullptr; | - |
286 | | - |
287 | | - |
288 | if (context->contextObject &&TRUE | evaluated 1834 times by 20 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- 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 90 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlexpression
|
| 90-1834 |
289 | QV4::QObjectWrapper::setQmlProperty(v4, context, context->contextObject, name, QV4::QObjectWrapper::CheckRevision, value))TRUE | evaluated 782 times by 20 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- 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 1052 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
| 782-1052 |
290 | return true;executed 782 times by 20 tests: return true; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- 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
| 782 |
291 | | - |
292 | context = context->parent; | - |
293 | }executed 1142 times by 7 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 1142 |
294 | | - |
295 | expressionContext->unresolvedNames = true; | - |
296 | | - |
297 | if (wrapper->d()->readOnly) {TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlexpression
| FALSE | never evaluated |
| 0-8 |
298 | QString error = QLatin1String("Invalid write to global property \"") + name->toQString() + | - |
299 | QLatin1Char('"'); | - |
300 | v4->throwError(error); | - |
301 | return false;executed 8 times by 2 tests: return false; Executed by:- tst_qqmlecmascript
- tst_qqmlexpression
| 8 |
302 | } | - |
303 | | - |
304 | return Object::virtualPut(m, id, value, receiver); never executed: return Object::virtualPut(m, id, value, receiver); | 0 |
305 | } | - |
306 | | - |
307 | void Heap::QmlContext::init(QV4::ExecutionContext *outerContext, QV4::QQmlContextWrapper *qml) | - |
308 | { | - |
309 | Heap::ExecutionContext::init(Heap::ExecutionContext::Type_QmlContext); | - |
310 | outer.set(internalClass->engine, outerContext->d()); | - |
311 | | - |
312 | this->activation.set(internalClass->engine, qml->d()); | - |
313 | }executed 1559519 times by 129 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 1559519 |
314 | | - |
315 | Heap::QmlContext *QmlContext::createWorkerContext(ExecutionContext *parent, const QUrl &source, Value *sendFunction) | - |
316 | { | - |
317 | Scope scope(parent); | - |
318 | | - |
319 | QQmlContextData *context = new QQmlContextData; | - |
320 | context->baseUrl = source; | - |
321 | context->baseUrlString = source.toString(); | - |
322 | context->isInternal = true; | - |
323 | context->isJSContext = true; | - |
324 | | - |
325 | Scoped<QQmlContextWrapper> qml(scope, scope.engine->memoryManager->allocate<QQmlContextWrapper>(context, (QObject*)nullptr)); | - |
326 | qml->d()->isNullWrapper = true; | - |
327 | | - |
328 | qml->setReadOnly(false); | - |
329 | QV4::ScopedObject api(scope, scope.engine->newObject()); | - |
330 | api->put(QV4::ScopedString(scope, scope.engine->newString(QStringLiteral("sendMessage"))), *sendFunction);executed 1152 times by 5 tests: return qstring_literal_temp; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 1152 |
331 | qml->QV4::Object::put(QV4::ScopedString(scope, scope.engine->newString(QStringLiteral("WorkerScript"))), api);executed 1152 times by 5 tests: return qstring_literal_temp; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 1152 |
332 | qml->setReadOnly(true); | - |
333 | | - |
334 | Heap::QmlContext *c = scope.engine->memoryManager->alloc<QmlContext>(parent, qml); | - |
335 | Q_ASSERT(c->vtable() == staticVTable()); | - |
336 | return c;executed 1152 times by 5 tests: return c; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 1152 |
337 | } | - |
338 | | - |
339 | Heap::QmlContext *QmlContext::create(ExecutionContext *parent, QQmlContextData *context, QObject *scopeObject) | - |
340 | { | - |
341 | Scope scope(parent); | - |
342 | | - |
343 | Scoped<QQmlContextWrapper> qml(scope, scope.engine->memoryManager->allocate<QQmlContextWrapper>(context, scopeObject)); | - |
344 | Heap::QmlContext *c = scope.engine->memoryManager->alloc<QmlContext>(parent, qml); | - |
345 | Q_ASSERT(c->vtable() == staticVTable()); | - |
346 | return c;executed 1558367 times by 129 tests: return c; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 1558367 |
347 | } | - |
348 | | - |
349 | QT_END_NAMESPACE | - |
| | |