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 "qv4object_p.h" | - |
41 | #include "qv4objectproto_p.h" | - |
42 | #include "qv4stringobject_p.h" | - |
43 | #include "qv4argumentsobject_p.h" | - |
44 | #include <private/qv4mm_p.h> | - |
45 | #include "qv4lookup_p.h" | - |
46 | #include "qv4scopedvalue_p.h" | - |
47 | #include "qv4memberdata_p.h" | - |
48 | #include "qv4objectiterator_p.h" | - |
49 | #include "qv4identifier_p.h" | - |
50 | #include "qv4string_p.h" | - |
51 | #include "qv4identifiertable_p.h" | - |
52 | #include "qv4jscall_p.h" | - |
53 | #include "qv4symbol_p.h" | - |
54 | | - |
55 | #include <stdint.h> | - |
56 | | - |
57 | using namespace QV4; | - |
58 | | - |
59 | DEFINE_OBJECT_VTABLE(Object); | - |
60 | | - |
61 | void Object::setInternalClass(Heap::InternalClass *ic) | - |
62 | { | - |
63 | d()->internalClass.set(engine(), ic); | - |
64 | if (ic->isUsedAsProto)TRUE | evaluated 6852803 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 127977590 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 6852803-127977590 |
65 | ic->updateProtoUsage(d());executed 6852673 times by 153 tests: ic->updateProtoUsage(d()); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 6852673 |
66 | Q_ASSERT(ic && ic->vtable); | - |
67 | uint nInline = d()->vtable()->nInlineProperties; | - |
68 | if (ic->size <= nInline)TRUE | evaluated 20084572 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 114975956 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 20084572-114975956 |
69 | return;executed 20078813 times by 153 tests: return; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 20078813 |
70 | bool hasMD = d()->memberData != nullptr; | - |
71 | uint requiredSize = ic->size - nInline; | - |
72 | if (!(hasMD && requiredSize) || (hasMD && d()->memberData->values.size < requiredSize))TRUE | evaluated 76732956 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 38499137 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
TRUE | evaluated 76788634 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | never evaluated |
TRUE | evaluated 76830726 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | never evaluated |
TRUE | evaluated 10288043 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 66536161 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 0-76830726 |
73 | d()->memberData.set(ic->engine, MemberData::allocate(ic->engine, requiredSize, d()->memberData));executed 48686142 times by 153 tests: d()->memberData.set(ic->engine, MemberData::allocate(ic->engine, requiredSize, d()->memberData)); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 48686142 |
74 | }executed 114794704 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 114794704 |
75 | | - |
76 | void Object::getProperty(uint index, Property *p, PropertyAttributes *attrs) const | - |
77 | { | - |
78 | p->value = *propertyData(index); | - |
79 | *attrs = internalClass()->propertyData.at(index); | - |
80 | if (attrs->isAccessor())TRUE | evaluated 1451 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 2422 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 1451-2422 |
81 | p->set = *propertyData(index + SetterOffset);executed 1448 times by 3 tests: p->set = *propertyData(index + SetterOffset); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 1448 |
82 | }executed 3871 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 3871 |
83 | | - |
84 | void Object::setProperty(uint index, const Property *p) | - |
85 | { | - |
86 | setProperty(index, p->value); | - |
87 | if (internalClass()->propertyData.at(index).isAccessor())TRUE | evaluated 1332 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 990 times by 1 test |
| 990-1332 |
88 | setProperty(index + SetterOffset, p->set);executed 1332 times by 3 tests: setProperty(index + SetterOffset, p->set); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 1332 |
89 | }executed 2324 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 2324 |
90 | | - |
91 | void Heap::Object::setUsedAsProto() | - |
92 | { | - |
93 | internalClass.set(internalClass->engine, internalClass->asProtoClass()); | - |
94 | }executed 13705208 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 13705208 |
95 | | - |
96 | ReturnedValue Object::getValue(const Value &thisObject, const Value &v, PropertyAttributes attrs) | - |
97 | { | - |
98 | if (!attrs.isAccessor())TRUE | evaluated 11249756 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 72974 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 72974-11249756 |
99 | return v.asReturnedValue();executed 11241713 times by 153 tests: return v.asReturnedValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 11241713 |
100 | const QV4::FunctionObject *f = v.as<FunctionObject>(); | - |
101 | if (!f)TRUE | evaluated 887 times by 1 test | FALSE | evaluated 72094 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 887-72094 |
102 | return Encode::undefined();executed 886 times by 1 test: return Encode::undefined(); | 886 |
103 | | - |
104 | Scope scope(f->engine()); | - |
105 | JSCallData jsCallData(scope); | - |
106 | *jsCallData->thisObject = thisObject; | - |
107 | return f->call(jsCallData);executed 72083 times by 22 tests: return f->call(jsCallData); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 72083 |
108 | } | - |
109 | | - |
110 | bool Object::putValue(uint memberIndex, const Value &value) | - |
111 | { | - |
112 | Heap::InternalClass *ic = internalClass(); | - |
113 | if (ic->engine->hasException)TRUE | evaluated 192 times by 1 test | FALSE | evaluated 73130598 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 192-73130598 |
114 | return false;executed 192 times by 1 test: return false; | 192 |
115 | | - |
116 | PropertyAttributes attrs = ic->propertyData[memberIndex]; | - |
117 | | - |
118 | if (attrs.isAccessor()) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 73310322 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 8-73310322 |
119 | const FunctionObject *set = propertyData(memberIndex + SetterOffset)->as<FunctionObject>(); | - |
120 | if (set) {TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
121 | Scope scope(ic->engine); | - |
122 | ScopedFunctionObject setter(scope, set); | - |
123 | JSCallData jsCallData(scope, 1); | - |
124 | jsCallData->args[0] = value; | - |
125 | *jsCallData->thisObject = this; | - |
126 | setter->call(jsCallData); | - |
127 | return !ic->engine->hasException;executed 8 times by 1 test: return !ic->engine->hasException; | 8 |
128 | } | - |
129 | return false; never executed: return false; | 0 |
130 | } | - |
131 | | - |
132 | if (!attrs.isWritable())TRUE | evaluated 48 times by 1 test | FALSE | evaluated 73256617 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 48-73256617 |
133 | return false;executed 48 times by 1 test: return false; | 48 |
134 | | - |
135 | setProperty(memberIndex, value); | - |
136 | return true;executed 72988678 times by 21 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 72988678 |
137 | } | - |
138 | | - |
139 | void Object::defineDefaultProperty(const QString &name, const Value &value, PropertyAttributes attributes) | - |
140 | { | - |
141 | ExecutionEngine *e = engine(); | - |
142 | Scope scope(e); | - |
143 | ScopedString s(scope, e->newIdentifier(name)); | - |
144 | defineDefaultProperty(s, value, attributes); | - |
145 | }executed 5464196 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 5464196 |
146 | | - |
147 | void Object::defineDefaultProperty(const QString &name, VTable::Call code, | - |
148 | int argumentCount, PropertyAttributes attributes) | - |
149 | { | - |
150 | ExecutionEngine *e = engine(); | - |
151 | Scope scope(e); | - |
152 | ScopedString s(scope, e->newIdentifier(name)); | - |
153 | ScopedFunctionObject function(scope, FunctionObject::createBuiltinFunction(e, s, code, argumentCount)); | - |
154 | defineDefaultProperty(s, function, attributes); | - |
155 | }executed 27451029 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 27451029 |
156 | | - |
157 | void Object::defineDefaultProperty(StringOrSymbol *nameOrSymbol, VTable::Call code, | - |
158 | int argumentCount, PropertyAttributes attributes) | - |
159 | { | - |
160 | ExecutionEngine *e = engine(); | - |
161 | Scope scope(e); | - |
162 | ScopedFunctionObject function(scope, FunctionObject::createBuiltinFunction(e, nameOrSymbol, code, argumentCount)); | - |
163 | defineDefaultProperty(nameOrSymbol, function, attributes); | - |
164 | }executed 2773281 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 2773281 |
165 | | - |
166 | void Object::defineAccessorProperty(const QString &name, VTable::Call getter, VTable::Call setter) | - |
167 | { | - |
168 | ExecutionEngine *e = engine(); | - |
169 | Scope scope(e); | - |
170 | ScopedString s(scope, e->newIdentifier(name)); | - |
171 | defineAccessorProperty(s, getter, setter); | - |
172 | }executed 2981640 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 2981640 |
173 | | - |
174 | void Object::defineAccessorProperty(StringOrSymbol *name, VTable::Call getter, VTable::Call setter) | - |
175 | { | - |
176 | ExecutionEngine *v4 = engine(); | - |
177 | QV4::Scope scope(v4); | - |
178 | ScopedProperty p(scope); | - |
179 | QString n = name->toQString(); | - |
180 | if (n.at(0) == QLatin1Char('@'))TRUE | evaluated 99042 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 3078226 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 99042-3078226 |
181 | n = QChar::fromLatin1('[') + n.midRef(1) + QChar::fromLatin1(']');executed 98787 times by 153 tests: n = QChar::fromLatin1('[') + n.midRef(1) + QChar::fromLatin1(']'); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 98787 |
182 | if (getter) {TRUE | evaluated 3175685 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | never evaluated |
| 0-3175685 |
183 | ScopedString getName(scope, v4->newString(QString::fromLatin1("get ") + n)); | - |
184 | p->setGetter(ScopedFunctionObject(scope, FunctionObject::createBuiltinFunction(v4, getName, getter, 0))); | - |
185 | } else {executed 3173733 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 3173733 |
186 | p->setGetter(nullptr); | - |
187 | } never executed: end of block | 0 |
188 | if (setter) {TRUE | evaluated 120582 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 3053440 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 120582-3053440 |
189 | ScopedString setName(scope, v4->newString(QString::fromLatin1("set ") + n)); | - |
190 | p->setSetter(ScopedFunctionObject(scope, FunctionObject::createBuiltinFunction(v4, setName, setter, 0))); | - |
191 | } else {executed 120867 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 120867 |
192 | p->setSetter(nullptr); | - |
193 | }executed 3055105 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 3055105 |
194 | insertMember(name, p, QV4::Attr_Accessor|QV4::Attr_NotEnumerable); | - |
195 | }executed 3177337 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 3177337 |
196 | | - |
197 | | - |
198 | | - |
199 | void Object::defineReadonlyProperty(const QString &name, const Value &value) | - |
200 | { | - |
201 | QV4::ExecutionEngine *e = engine(); | - |
202 | Scope scope(e); | - |
203 | ScopedString s(scope, e->newIdentifier(name)); | - |
204 | defineReadonlyProperty(s, value); | - |
205 | }executed 5060458 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 5060458 |
206 | | - |
207 | void Object::defineReadonlyProperty(String *name, const Value &value) | - |
208 | { | - |
209 | insertMember(name, value, Attr_ReadOnly); | - |
210 | }executed 8225193 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 8225193 |
211 | | - |
212 | void Object::defineReadonlyConfigurableProperty(const QString &name, const Value &value) | - |
213 | { | - |
214 | QV4::ExecutionEngine *e = engine(); | - |
215 | Scope scope(e); | - |
216 | ScopedString s(scope, e->newIdentifier(name)); | - |
217 | defineReadonlyConfigurableProperty(s, value); | - |
218 | } never executed: end of block | 0 |
219 | | - |
220 | void Object::defineReadonlyConfigurableProperty(StringOrSymbol *name, const Value &value) | - |
221 | { | - |
222 | insertMember(name, value, Attr_ReadOnly_ButConfigurable); | - |
223 | }executed 77645463 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 77645463 |
224 | | - |
225 | void Object::addSymbolSpecies() | - |
226 | { | - |
227 | Scope scope(engine()); | - |
228 | ScopedProperty p(scope); | - |
229 | p->setGetter(scope.engine->getSymbolSpecies()); | - |
230 | p->setSetter(nullptr); | - |
231 | insertMember(scope.engine->symbol_species(), p, QV4::Attr_Accessor|QV4::Attr_NotWritable|QV4::Attr_NotEnumerable); | - |
232 | }executed 593890 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 593890 |
233 | | - |
234 | void Heap::Object::markObjects(Heap::Base *b, MarkStack *stack) | - |
235 | { | - |
236 | Base::markObjects(b, stack); | - |
237 | Object *o = static_cast<Object *>(b); | - |
238 | if (o->memberData)TRUE | evaluated 3607823 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
| FALSE | evaluated 668438 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
|
| 668438-3607823 |
239 | o->memberData->mark(stack);executed 3607824 times by 26 tests: o->memberData->mark(stack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
| 3607824 |
240 | if (o->arrayData)TRUE | evaluated 13122 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 4262956 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
|
| 13122-4262956 |
241 | o->arrayData->mark(stack);executed 13122 times by 11 tests: o->arrayData->mark(stack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_testfiltering
| 13122 |
242 | uint nInline = o->vtable()->nInlineProperties; | - |
243 | Value *v = reinterpret_cast<Value *>(o) + o->vtable()->inlinePropertyOffset; | - |
244 | const Value *end = v + nInline; | - |
245 | while (v < end) {TRUE | evaluated 7161029 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
| FALSE | evaluated 4275621 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
|
| 4275621-7161029 |
246 | v->mark(stack); | - |
247 | ++v; | - |
248 | }executed 7160727 times by 26 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
| 7160727 |
249 | }executed 4275651 times by 26 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- 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_qv4mm
- tst_scenegraph
- ...
| 4275651 |
250 | | - |
251 | void Object::insertMember(StringOrSymbol *s, const Property *p, PropertyAttributes attributes) | - |
252 | { | - |
253 | uint idx; | - |
254 | PropertyKey key = s->toPropertyKey(); | - |
255 | Heap::InternalClass::addMember(this, key, attributes, &idx); | - |
256 | | - |
257 | if (attributes.isAccessor()) {TRUE | evaluated 3982803 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 124764525 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 3982803-124764525 |
258 | setProperty(idx + GetterOffset, p->value); | - |
259 | setProperty(idx + SetterOffset, p->set); | - |
260 | } else {executed 3984699 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 3984699 |
261 | setProperty(idx, p->value); | - |
262 | }executed 124594896 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 124594896 |
263 | } | - |
264 | | - |
265 | void Object::setPrototypeUnchecked(const Object *p) | - |
266 | { | - |
267 | setInternalClass(internalClass()->changePrototype(p ? p->d() : nullptr)); | - |
268 | }executed 22671 times by 4 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
| 22671 |
269 | | - |
270 | | - |
271 | PropertyIndex Object::getValueOrSetter(PropertyKey id, PropertyAttributes *attrs) | - |
272 | { | - |
273 | if (id.isArrayIndex()) {TRUE | evaluated 32479 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| FALSE | evaluated 1041812 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 32479-1041812 |
274 | uint index = id.asArrayIndex(); | - |
275 | Heap::Object *o = d(); | - |
276 | while (o) {TRUE | evaluated 63241 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| FALSE | evaluated 32418 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
|
| 32418-63241 |
277 | if (o->arrayData) {TRUE | evaluated 116 times by 1 test | FALSE | evaluated 63138 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
|
| 116-63138 |
278 | uint idx = o->arrayData->mappedIndex(index); | - |
279 | if (idx != UINT_MAX) {TRUE | evaluated 72 times by 1 test | FALSE | evaluated 44 times by 1 test |
| 44-72 |
280 | *attrs = o->arrayData->attributes(index); | - |
281 | return { o->arrayData , o->arrayData->values.values + (attrs->isAccessor() ? idx + SetterOffset : idx) };executed 72 times by 1 test: return { o->arrayData , o->arrayData->values.values + (attrs->isAccessor() ? idx + SetterOffset : idx) }; | 72 |
282 | } | - |
283 | }executed 44 times by 1 test: end of block | 44 |
284 | if (o->vtable()->type == Type_StringObject) {TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 63163 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
|
| 20-63163 |
285 | if (index < static_cast<const Heap::StringObject *>(o)->length()) {TRUE | never evaluated | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 0-20 |
286 | | - |
287 | | - |
288 | *attrs = (Attr_NotWritable|Attr_NotConfigurable); | - |
289 | return { reinterpret_cast<Heap::ArrayData *>(0x1), nullptr }; never executed: return { reinterpret_cast<Heap::ArrayData *>(0x1), nullptr }; | 0 |
290 | } | - |
291 | }executed 20 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 20 |
292 | o = o->prototype(); | - |
293 | }executed 63180 times by 29 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| 63180 |
294 | } else {executed 32417 times by 29 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| 32417 |
295 | Heap::Object *o = d(); | - |
296 | while (o) {TRUE | evaluated 1466461 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 940327 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 940327-1466461 |
297 | uint idx = o->internalClass->find(id); | - |
298 | if (idx < UINT_MAX) {TRUE | evaluated 101966 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| FALSE | evaluated 1367183 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 101966-1367183 |
299 | *attrs = o->internalClass->propertyData[idx]; | - |
300 | return o->writablePropertyData(attrs->isAccessor() ? idx + SetterOffset : idx );executed 101996 times by 10 tests: return o->writablePropertyData(attrs->isAccessor() ? idx + SetterOffset : idx ); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 101996 |
301 | } | - |
302 | | - |
303 | o = o->prototype(); | - |
304 | }executed 1366302 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1366302 |
305 | }executed 940520 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 940520 |
306 | *attrs = Attr_Invalid; | - |
307 | return { nullptr, nullptr };executed 972272 times by 152 tests: return { nullptr, nullptr }; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 972272 |
308 | } | - |
309 | | - |
310 | ReturnedValue Object::virtualCallAsConstructor(const FunctionObject *f, const Value *, int, const Value *) | - |
311 | { | - |
312 | return f->engine()->throwTypeError(); never executed: return f->engine()->throwTypeError(); | 0 |
313 | } | - |
314 | | - |
315 | ReturnedValue Object::virtualCall(const FunctionObject *f, const Value *, const Value *, int) | - |
316 | { | - |
317 | return f->engine()->throwTypeError(); never executed: return f->engine()->throwTypeError(); | 0 |
318 | } | - |
319 | | - |
320 | ReturnedValue Object::virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty) | - |
321 | { | - |
322 | if (id.isArrayIndex())TRUE | evaluated 27552927 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 18087287 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 18087287-27552927 |
323 | return static_cast<const Object *>(m)->internalGetIndexed(id.asArrayIndex(), receiver, hasProperty);executed 27554266 times by 53 tests: return static_cast<const Object *>(m)->internalGetIndexed(id.asArrayIndex(), receiver, hasProperty); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 27554266 |
324 | Scope scope(m); | - |
325 | Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol()); | - |
326 | return static_cast<const Object *>(m)->internalGet(name, receiver, hasProperty);executed 18074976 times by 153 tests: return static_cast<const Object *>(m)->internalGet(name, receiver, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 18074976 |
327 | } | - |
328 | | - |
329 | bool Object::virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver) | - |
330 | { | - |
331 | return static_cast<Object *>(m)->internalPut(id, value, receiver);executed 1113135 times by 152 tests: return static_cast<Object *>(m)->internalPut(id, value, receiver); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1113135 |
332 | } | - |
333 | | - |
334 | bool Object::virtualDeleteProperty(Managed *m, PropertyKey id) | - |
335 | { | - |
336 | return static_cast<Object *>(m)->internalDeleteProperty(id);executed 10914 times by 10 tests: return static_cast<Object *>(m)->internalDeleteProperty(id); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 10914 |
337 | } | - |
338 | | - |
339 | void Object::virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *pd, PropertyAttributes *attrs) | - |
340 | { | - |
341 | Object *o = static_cast<Object *>(m); | - |
342 | name->setM(nullptr); | - |
343 | *index = UINT_MAX; | - |
344 | | - |
345 | if (o->arrayData()) {TRUE | evaluated 7796 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 94161 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 7796-94161 |
346 | if (!it->arrayIndex)TRUE | evaluated 2193 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 5586 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
|
| 2193-5586 |
347 | it->arrayNode = o->sparseBegin();executed 2214 times by 11 tests: it->arrayNode = o->sparseBegin(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 2214 |
348 | | - |
349 | | - |
350 | if (it->arrayNode) {TRUE | evaluated 1086 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 6712 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
|
| 1086-6712 |
351 | while (it->arrayNode != o->sparseEnd()) {TRUE | evaluated 948 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 505 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 505-948 |
352 | int k = it->arrayNode->key(); | - |
353 | uint pidx = it->arrayNode->value; | - |
354 | Heap::SparseArrayData *sa = o->d()->arrayData.cast<Heap::SparseArrayData>(); | - |
355 | const Property *p = reinterpret_cast<const Property *>(sa->values.data() + pidx); | - |
356 | it->arrayNode = it->arrayNode->nextNode(); | - |
357 | PropertyAttributes a = sa->attrs ? sa->attrs[pidx] : Attr_Data;TRUE | evaluated 934 times by 1 test | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 12-934 |
358 | if (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable()) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 936 times by 1 test |
TRUE | evaluated 574 times by 1 test | FALSE | evaluated 366 times by 1 test |
| 8-936 |
359 | it->arrayIndex = k + 1; | - |
360 | *index = k; | - |
361 | *attrs = a; | - |
362 | pd->copy(p, a); | - |
363 | return;executed 583 times by 2 tests: return; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 583 |
364 | } | - |
365 | }executed 367 times by 1 test: end of block | 367 |
366 | it->arrayNode = nullptr; | - |
367 | it->arrayIndex = UINT_MAX; | - |
368 | }executed 505 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 505 |
369 | | - |
370 | while (it->arrayIndex < o->d()->arrayData->values.size) {TRUE | evaluated 5925 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 2127 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
|
| 2127-5925 |
371 | Heap::SimpleArrayData *sa = o->d()->arrayData.cast<Heap::SimpleArrayData>(); | - |
372 | const Value &val = sa->data(it->arrayIndex); | - |
373 | PropertyAttributes a = o->arrayData()->attributes(it->arrayIndex); | - |
374 | ++it->arrayIndex; | - |
375 | if (!val.isEmpty()TRUE | evaluated 5471 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 460 times by 1 test |
| 460-5471 |
376 | && (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable())) {TRUE | evaluated 134 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalueiterator
- tst_qqmlecmascript
| FALSE | evaluated 5351 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
|
TRUE | evaluated 4937 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 384 times by 1 test |
| 134-5351 |
377 | *index = it->arrayIndex - 1; | - |
378 | *attrs = a; | - |
379 | pd->value = val; | - |
380 | return;executed 5063 times by 11 tests: return; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 5063 |
381 | } | - |
382 | }executed 845 times by 1 test: end of block | 845 |
383 | }executed 2128 times by 12 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 2128 |
384 | | - |
385 | while (it->memberIndex < o->internalClass()->size) {TRUE | evaluated 316461 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- ...
| FALSE | evaluated 45147 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 45147-316461 |
386 | PropertyKey n = o->internalClass()->nameMap.at(it->memberIndex); | - |
387 | if (!n.isStringOrSymbol() || !n.asStringOrSymbol()->internalClass->vtable->isString) {TRUE | evaluated 21646 times by 24 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 294861 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- ...
|
TRUE | evaluated 6885 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 287991 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- ...
|
| 6885-294861 |
388 | | - |
389 | | - |
390 | ++it->memberIndex; | - |
391 | continue;executed 28527 times by 24 tests: continue; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 28527 |
392 | } | - |
393 | | - |
394 | int idx = it->memberIndex; | - |
395 | PropertyAttributes a = o->internalClass()->propertyData[it->memberIndex]; | - |
396 | ++it->memberIndex; | - |
397 | if (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable()) {TRUE | evaluated 4646 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| FALSE | evaluated 283374 times by 32 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
TRUE | evaluated 46540 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
| FALSE | evaluated 236806 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
|
| 4646-283374 |
398 | name->setM(n.asStringOrSymbol()); | - |
399 | *attrs = a; | - |
400 | pd->value = *o->propertyData(idx); | - |
401 | if (a.isAccessor())TRUE | evaluated 688 times by 1 test | FALSE | evaluated 50498 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
| 688-50498 |
402 | pd->set = *o->propertyData(idx + SetterOffset);executed 688 times by 1 test: pd->set = *o->propertyData(idx + SetterOffset); | 688 |
403 | return;executed 51175 times by 29 tests: return; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 51175 |
404 | } | - |
405 | }executed 236815 times by 25 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 236815 |
406 | | - |
407 | *attrs = PropertyAttributes(); | - |
408 | }executed 45130 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 45130 |
409 | | - |
410 | | - |
411 | ReturnedValue Object::internalGet(StringOrSymbol *name, const Value *receiver, bool *hasProperty) const | - |
412 | { | - |
413 | PropertyKey id = name->toPropertyKey(); | - |
414 | | - |
415 | Q_ASSERT(!id.isArrayIndex()); | - |
416 | | - |
417 | Heap::Object *o = d(); | - |
418 | while (o) {TRUE | evaluated 29665668 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 7030049 times by 92 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 7030049-29665668 |
419 | uint idx = o->internalClass->find(id); | - |
420 | if (idx < UINT_MAX) {TRUE | evaluated 11191567 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 18637144 times by 92 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
| 11191567-18637144 |
421 | if (hasProperty)TRUE | evaluated 5191800 times by 69 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- 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
- ...
| FALSE | evaluated 5960671 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 5191800-5960671 |
422 | *hasProperty = true;executed 5191779 times by 69 tests: *hasProperty = true; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- 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
- ...
| 5191779 |
423 | return Object::getValue(*receiver, *o->propertyData(idx), o->internalClass->propertyData.at(idx));executed 11157460 times by 153 tests: return Object::getValue(*receiver, *o->propertyData(idx), o->internalClass->propertyData.at(idx)); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 11157460 |
424 | } | - |
425 | | - |
426 | o = o->prototype(); | - |
427 | }executed 18612454 times by 92 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 18612454 |
428 | | - |
429 | if (hasProperty)TRUE | evaluated 6982617 times by 88 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- ...
| FALSE | evaluated 47415 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- ...
|
| 47415-6982617 |
430 | *hasProperty = false;executed 6982617 times by 88 tests: *hasProperty = false; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- ...
| 6982617 |
431 | return Encode::undefined();executed 7030037 times by 92 tests: return Encode::undefined(); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 7030037 |
432 | } | - |
433 | | - |
434 | ReturnedValue Object::internalGetIndexed(uint index, const Value *receiver, bool *hasProperty) const | - |
435 | { | - |
436 | PropertyAttributes attrs; | - |
437 | Scope scope(engine()); | - |
438 | ScopedObject o(scope, this); | - |
439 | ScopedProperty pd(scope); | - |
440 | bool exists = false; | - |
441 | while (o) {TRUE | evaluated 81937823 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 27353312 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
|
| 27353312-81937823 |
442 | if (o->arrayData() && o->arrayData()->getProperty(index, pd, &attrs)) {TRUE | evaluated 27533913 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 54616522 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qquickgridview
- tst_qv4debugger
|
TRUE | evaluated 177828 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 27379059 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
|
| 177828-54616522 |
443 | exists = true; | - |
444 | break;executed 177799 times by 53 tests: break; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 177799 |
445 | } | - |
446 | if (o->isStringObject()) {TRUE | evaluated 666 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
| FALSE | evaluated 81753752 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
|
| 666-81753752 |
447 | ScopedString str(scope, static_cast<StringObject *>(o.getPointer())->getIndex(index)); | - |
448 | if (str) {TRUE | evaluated 637 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
| FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 28-637 |
449 | attrs = (Attr_NotWritable|Attr_NotConfigurable); | - |
450 | if (hasProperty)TRUE | evaluated 447 times by 1 test | FALSE | evaluated 190 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
|
| 190-447 |
451 | *hasProperty = true;executed 447 times by 1 test: *hasProperty = true; | 447 |
452 | return str.asReturnedValue();executed 637 times by 3 tests: return str.asReturnedValue(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
| 637 |
453 | } | - |
454 | }executed 28 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 28 |
455 | o = o->getPrototypeOf(); | - |
456 | }executed 81683779 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
| 81683779 |
457 | | - |
458 | if (exists) {TRUE | evaluated 177766 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 27355135 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
|
| 177766-27355135 |
459 | if (hasProperty)TRUE | evaluated 24773 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 153062 times by 53 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 24773-153062 |
460 | *hasProperty = true;executed 24777 times by 8 tests: *hasProperty = true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 24777 |
461 | return Object::getValue(*receiver, pd->value, attrs);executed 177789 times by 53 tests: return Object::getValue(*receiver, pd->value, attrs); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 177789 |
462 | } | - |
463 | | - |
464 | if (hasProperty)TRUE | evaluated 27353256 times by 1 test | FALSE | evaluated 4777 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
|
| 4777-27353256 |
465 | *hasProperty = false;executed 27355221 times by 1 test: *hasProperty = false; | 27355221 |
466 | return Encode::undefined();executed 27360350 times by 5 tests: return Encode::undefined(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickgridview
- tst_qv4debugger
| 27360350 |
467 | } | - |
468 | | - |
469 | | - |
470 | | - |
471 | bool Object::internalPut(PropertyKey id, const Value &value, Value *receiver) | - |
472 | { | - |
473 | ExecutionEngine *engine = this->engine(); | - |
474 | if (engine->hasException)TRUE | evaluated 40 times by 1 test | FALSE | evaluated 1113957 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 40-1113957 |
475 | return false;executed 40 times by 1 test: return false; | 40 |
476 | | - |
477 | uint index = id.asArrayIndex(); | - |
478 | Scope scope(engine); | - |
479 | | - |
480 | PropertyAttributes attrs; | - |
481 | PropertyIndex propertyIndex{nullptr, nullptr}; | - |
482 | | - |
483 | if (index != UINT_MAX) {TRUE | evaluated 35456 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| FALSE | evaluated 1077401 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 35456-1077401 |
484 | if (arrayData())TRUE | evaluated 32456 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 3005 times by 13 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
|
| 3005-32456 |
485 | propertyIndex = arrayData()->getValueOrSetter(index, &attrs);executed 32456 times by 25 tests: propertyIndex = arrayData()->getValueOrSetter(index, &attrs); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 32456 |
486 | | - |
487 | if (propertyIndex.isNull() && isStringObject()) {TRUE | evaluated 32715 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| FALSE | evaluated 2732 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
TRUE | evaluated 70 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 32647 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
|
| 70-32715 |
488 | if (index < static_cast<StringObject *>(this)->length())TRUE | evaluated 26 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 44 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 26-44 |
489 | | - |
490 | return false;executed 26 times by 2 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 26 |
491 | }executed 44 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 44 |
492 | } else {executed 35423 times by 29 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| 35423 |
493 | uint member = internalClass()->find(id); | - |
494 | if (member < UINT_MAX) {TRUE | evaluated 36802 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 1042226 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 36802-1042226 |
495 | attrs = internalClass()->propertyData[member]; | - |
496 | propertyIndex = d()->writablePropertyData(attrs.isAccessor() ? member + SetterOffset : member); | - |
497 | }executed 36792 times by 21 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 36792 |
498 | }executed 1077855 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1077855 |
499 | | - |
500 | | - |
501 | if (!propertyIndex.isNull()) {TRUE | evaluated 39531 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 1073639 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 39531-1073639 |
502 | if (attrs.isAccessor()) {TRUE | evaluated 2617 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
| FALSE | evaluated 36912 times by 20 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 2617-36912 |
503 | if (propertyIndex->as<FunctionObject>())TRUE | evaluated 2496 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
| FALSE | evaluated 110 times by 1 test |
| 110-2496 |
504 | goto cont;executed 2496 times by 5 tests: goto cont; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlitemmodels
| 2496 |
505 | return false;executed 110 times by 1 test: return false; | 110 |
506 | } else if (!attrs.isWritable())TRUE | evaluated 5031 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| FALSE | evaluated 31881 times by 20 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 5031-31881 |
507 | return false;executed 5022 times by 4 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| 5022 |
508 | else if (isArrayObject() && id == engine->id_length()->propertyKey()) {TRUE | evaluated 1950 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 29921 times by 20 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
TRUE | evaluated 308 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 1644 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 308-29921 |
509 | bool ok; | - |
510 | uint l = value.asArrayLength(&ok); | - |
511 | if (!ok) {TRUE | never evaluated | FALSE | evaluated 307 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 0-307 |
512 | engine->throwRangeError(value); | - |
513 | return false; never executed: return false; | 0 |
514 | } | - |
515 | ok = setArrayLength(l); | - |
516 | if (!ok)TRUE | never evaluated | FALSE | evaluated 308 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 0-308 |
517 | return false; never executed: return false; | 0 |
518 | } else {executed 308 times by 7 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 308 |
519 | propertyIndex.set(engine, value); | - |
520 | }executed 31572 times by 20 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 31572 |
521 | return true;executed 31881 times by 20 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 31881 |
522 | } else if (!getPrototypeOf()) {TRUE | evaluated 500 times by 1 test | FALSE | evaluated 1073450 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 500-1073450 |
523 | if (!isExtensible())TRUE | never evaluated | FALSE | evaluated 499 times by 1 test |
| 0-499 |
524 | return false; never executed: return false; | 0 |
525 | } else {executed 499 times by 1 test: end of block | 499 |
526 | | - |
527 | propertyIndex = ScopedObject(scope, getPrototypeOf())->getValueOrSetter(id, &attrs); | - |
528 | if (!propertyIndex.isNull()) {TRUE | evaluated 101828 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| FALSE | evaluated 972064 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 101828-972064 |
529 | if (attrs.isAccessor()) {TRUE | evaluated 17614 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| FALSE | evaluated 84071 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
|
| 17614-84071 |
530 | if (!propertyIndex->as<FunctionObject>())TRUE | evaluated 36 times by 1 test | FALSE | evaluated 17578 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
|
| 36-17578 |
531 | return false;executed 36 times by 1 test: return false; | 36 |
532 | } else if (!isExtensible() || !attrs.isWritable()) {executed 17578 times by 9 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
TRUE | never evaluated | FALSE | evaluated 83834 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
|
TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlxmlhttprequest
| FALSE | evaluated 83842 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlconsole
|
| 0-83842 |
533 | return false;executed 40 times by 3 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlxmlhttprequest
| 40 |
534 | } | - |
535 | } else if (!isExtensible()) {executed 101321 times by 10 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
TRUE | evaluated 118 times by 1 test | FALSE | evaluated 971593 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 118-971593 |
536 | return false;executed 118 times by 1 test: return false; | 118 |
537 | } | - |
538 | }executed 1072901 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1072901 |
539 | | - |
540 | cont:code before this statement executed 1073316 times by 152 tests: cont: Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1073316 |
541 | | - |
542 | | - |
543 | if (!propertyIndex.isNull() && attrs.isAccessor()) {TRUE | evaluated 104115 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| FALSE | evaluated 971585 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
TRUE | evaluated 20076 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| FALSE | evaluated 84056 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlconsole
|
| 20076-971585 |
544 | Q_ASSERT(propertyIndex->as<FunctionObject>()); | - |
545 | | - |
546 | Scope scope(engine); | - |
547 | ScopedFunctionObject setter(scope, *propertyIndex); | - |
548 | JSCallData jsCallData(scope, 1); | - |
549 | jsCallData->args[0] = value; | - |
550 | *jsCallData->thisObject = *receiver; | - |
551 | setter->call(jsCallData); | - |
552 | return !engine->hasException;executed 20082 times by 11 tests: return !engine->hasException; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlxmlhttprequest
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 20082 |
553 | } | - |
554 | | - |
555 | if (index != UINT_MAX) {TRUE | evaluated 32656 times by 29 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| FALSE | evaluated 1022274 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 32656-1022274 |
556 | arraySet(index, value); | - |
557 | } else {executed 32651 times by 29 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- ...
| 32651 |
558 | Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol()); | - |
559 | insertMember(name, value); | - |
560 | }executed 1023715 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1023715 |
561 | return true;executed 1056624 times by 152 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1056624 |
562 | } | - |
563 | | - |
564 | | - |
565 | bool Object::internalDeleteProperty(PropertyKey id) | - |
566 | { | - |
567 | if (internalClass()->engine->hasException)TRUE | never evaluated | FALSE | evaluated 10929 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 0-10929 |
568 | return false; never executed: return false; | 0 |
569 | | - |
570 | if (id.isArrayIndex()) {TRUE | evaluated 2463 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 8484 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
|
| 2463-8484 |
571 | uint index = id.asArrayIndex(); | - |
572 | Scope scope(engine()); | - |
573 | if (scope.engine->hasException)TRUE | never evaluated | FALSE | evaluated 2456 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 0-2456 |
574 | return false; never executed: return false; | 0 |
575 | | - |
576 | Scoped<ArrayData> ad(scope, arrayData()); | - |
577 | if (!ad || ad->vtable()->del(this, index))TRUE | evaluated 40 times by 1 test | FALSE | evaluated 2423 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
TRUE | evaluated 1711 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 707 times by 1 test |
| 40-2423 |
578 | return true;executed 1751 times by 8 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1751 |
579 | | - |
580 | return false;executed 709 times by 1 test: return false; | 709 |
581 | } | - |
582 | | - |
583 | uint memberIdx = internalClass()->find(id); | - |
584 | if (memberIdx != UINT_MAX) {TRUE | evaluated 8322 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
| FALSE | evaluated 144 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
|
| 144-8322 |
585 | if (internalClass()->propertyData[memberIdx].isConfigurable()) {TRUE | evaluated 6274 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickgridview
| FALSE | evaluated 2060 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlxmlhttprequest
|
| 2060-6274 |
586 | Heap::InternalClass::removeMember(this, id); | - |
587 | return true;executed 6283 times by 5 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickgridview
| 6283 |
588 | } | - |
589 | return false;executed 2060 times by 3 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlxmlhttprequest
| 2060 |
590 | } | - |
591 | | - |
592 | return true;executed 144 times by 5 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| 144 |
593 | } | - |
594 | | - |
595 | bool Object::internalDefineOwnProperty(ExecutionEngine *engine, uint index, StringOrSymbol *member, const Property *p, PropertyAttributes attrs) | - |
596 | { | - |
597 | | - |
598 | if (attrs.isEmpty())TRUE | evaluated 36 times by 1 test | FALSE | evaluated 5075 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 36-5075 |
599 | return true;executed 36 times by 1 test: return true; | 36 |
600 | | - |
601 | Scope scope(engine); | - |
602 | ScopedProperty current(scope); | - |
603 | PropertyAttributes cattrs; | - |
604 | if (member) {TRUE | evaluated 3296 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 1788 times by 1 test |
| 1788-3296 |
605 | getProperty(index, current, &cattrs); | - |
606 | cattrs = internalClass()->propertyData[index]; | - |
607 | } else if (arrayData()) {executed 3291 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
TRUE | evaluated 1788 times by 1 test | FALSE | never evaluated |
| 0-3291 |
608 | arrayData()->getProperty(index, current, &cattrs); | - |
609 | cattrs = arrayData()->attributes(index); | - |
610 | }executed 1785 times by 1 test: end of block | 1785 |
611 | | - |
612 | | - |
613 | if (p->isSubset(attrs, current, cattrs))TRUE | evaluated 304 times by 1 test | FALSE | evaluated 4765 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 304-4765 |
614 | return true;executed 304 times by 1 test: return true; | 304 |
615 | | - |
616 | | - |
617 | if (!cattrs.isConfigurable()) {TRUE | evaluated 1316 times by 1 test | FALSE | evaluated 3453 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 1316-3453 |
618 | if (attrs.isConfigurable())TRUE | evaluated 330 times by 1 test | FALSE | evaluated 987 times by 1 test |
| 330-987 |
619 | return false;executed 330 times by 1 test: return false; | 330 |
620 | if (attrs.hasEnumerable() && attrs.isEnumerable() != cattrs.isEnumerable())TRUE | evaluated 158 times by 1 test | FALSE | evaluated 829 times by 1 test |
TRUE | evaluated 158 times by 1 test | FALSE | never evaluated |
| 0-829 |
621 | return false;executed 158 times by 1 test: return false; | 158 |
622 | }executed 829 times by 1 test: end of block | 829 |
623 | | - |
624 | | - |
625 | if (attrs.isGeneric() || current->value.isEmpty())TRUE | evaluated 408 times by 1 test | FALSE | evaluated 3869 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
TRUE | never evaluated | FALSE | evaluated 3869 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 0-3869 |
626 | goto accept;executed 409 times by 1 test: goto accept; | 409 |
627 | | - |
628 | | - |
629 | if (cattrs.isData() != attrs.isData()) {TRUE | evaluated 1181 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 2700 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 1181-2700 |
630 | | - |
631 | if (!cattrs.isConfigurable())TRUE | evaluated 168 times by 1 test | FALSE | evaluated 1012 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 168-1012 |
632 | return false;executed 168 times by 1 test: return false; | 168 |
633 | if (cattrs.isData()) {TRUE | evaluated 909 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 104 times by 1 test |
| 104-909 |
634 | | - |
635 | cattrs.setType(PropertyAttributes::Accessor); | - |
636 | cattrs.clearWritable(); | - |
637 | if (!member) {TRUE | evaluated 555 times by 1 test | FALSE | evaluated 354 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 354-555 |
638 | | - |
639 | initSparseArray(); | - |
640 | Q_ASSERT(arrayData()); | - |
641 | setArrayAttributes(index, cattrs); | - |
642 | }executed 553 times by 1 test: end of block | 553 |
643 | current->setGetter(nullptr); | - |
644 | current->setSetter(nullptr); | - |
645 | } else {executed 909 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 909 |
646 | | - |
647 | cattrs.setType(PropertyAttributes::Data); | - |
648 | cattrs.setWritable(false); | - |
649 | if (!member) {TRUE | evaluated 20 times by 1 test | FALSE | evaluated 84 times by 1 test |
| 20-84 |
650 | | - |
651 | setArrayAttributes(index, cattrs); | - |
652 | }executed 20 times by 1 test: end of block | 20 |
653 | current->value = Primitive::undefinedValue(); | - |
654 | }executed 104 times by 1 test: end of block | 104 |
655 | } else if (cattrs.isData() && attrs.isData()) { TRUE | evaluated 1354 times by 1 test | FALSE | evaluated 1345 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
TRUE | evaluated 1354 times by 1 test | FALSE | never evaluated |
| 0-1354 |
656 | if (!cattrs.isConfigurable() && !cattrs.isWritable()) {TRUE | evaluated 367 times by 1 test | FALSE | evaluated 986 times by 1 test |
TRUE | evaluated 294 times by 1 test | FALSE | evaluated 72 times by 1 test |
| 72-986 |
657 | if (attrs.isWritable() || !current->value.sameValue(p->value))TRUE | evaluated 70 times by 1 test | FALSE | evaluated 223 times by 1 test |
TRUE | evaluated 224 times by 1 test | FALSE | never evaluated |
| 0-224 |
658 | return false;executed 293 times by 1 test: return false; | 293 |
659 | } never executed: end of block | 0 |
660 | } else { executed 1057 times by 1 test: end of block | 1057 |
661 | Q_ASSERT(cattrs.isAccessor() && attrs.isAccessor()); | - |
662 | if (!cattrs.isConfigurable()) {TRUE | evaluated 294 times by 1 test | FALSE | evaluated 1045 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 294-1045 |
663 | if (!p->value.isEmpty() && current->value.rawValue() != p->value.rawValue())TRUE | evaluated 160 times by 1 test | FALSE | evaluated 135 times by 1 test |
TRUE | evaluated 128 times by 1 test | FALSE | evaluated 32 times by 1 test |
| 32-160 |
664 | return false;executed 128 times by 1 test: return false; | 128 |
665 | if (!p->set.isEmpty() && current->set.rawValue() != p->set.rawValue())TRUE | evaluated 139 times by 1 test | FALSE | evaluated 28 times by 1 test |
TRUE | evaluated 132 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-139 |
666 | return false;executed 132 times by 1 test: return false; | 132 |
667 | }executed 36 times by 1 test: end of block | 36 |
668 | }executed 1077 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 1077 |
669 | | - |
670 | accept:code before this statement executed 3147 times by 3 tests: accept: Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 3147 |
671 | | - |
672 | current->merge(cattrs, p, attrs); | - |
673 | if (member) {TRUE | evaluated 2315 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 1243 times by 1 test |
| 1243-2315 |
674 | Heap::InternalClass::changeMember(this, member->propertyKey(), cattrs); | - |
675 | setProperty(index, current); | - |
676 | } else {executed 2322 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 2322 |
677 | setArrayAttributes(index, cattrs); | - |
678 | arrayData()->setProperty(scope.engine, index, current); | - |
679 | }executed 1250 times by 1 test: end of block | 1250 |
680 | return true;executed 3568 times by 3 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 3568 |
681 | } | - |
682 | | - |
683 | void Object::copyArrayData(Object *other) | - |
684 | { | - |
685 | Q_ASSERT(isArrayObject()); | - |
686 | Scope scope(engine()); | - |
687 | | - |
688 | if (other->protoHasArray() || ArgumentsObject::isNonStrictArgumentsObject(other) ||TRUE | evaluated 16 times by 1 test | FALSE | evaluated 198 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
TRUE | never evaluated | FALSE | evaluated 198 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
| 0-198 |
689 | (other->arrayType() == Heap::ArrayData::Sparse && other->arrayData()->attrs)) {TRUE | never evaluated | FALSE | evaluated 198 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-198 |
690 | uint len = other->getLength(); | - |
691 | Q_ASSERT(len); | - |
692 | | - |
693 | ScopedValue v(scope); | - |
694 | for (uint i = 0; i < len; ++i) {TRUE | evaluated 36 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 16-36 |
695 | arraySet(i, (v = other->get(i))); | - |
696 | }executed 36 times by 1 test: end of block | 36 |
697 | } else if (!other->arrayData()) {executed 16 times by 1 test: end of block TRUE | evaluated 160 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 16-160 |
698 | ; | - |
699 | } else {executed 160 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 160 |
700 | Q_ASSERT(!arrayData() && other->arrayData()); | - |
701 | ArrayData::realloc(this, static_cast<ArrayData::Type>(other->d()->arrayData->type), | - |
702 | other->d()->arrayData->values.alloc, false); | - |
703 | if (other->arrayType() == Heap::ArrayData::Sparse) {TRUE | never evaluated | FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 0-38 |
704 | Heap::ArrayData *od = other->d()->arrayData; | - |
705 | Heap::ArrayData *dd = d()->arrayData; | - |
706 | dd->sparse = new SparseArray(*od->sparse); | - |
707 | } else { never executed: end of block | 0 |
708 | Heap::ArrayData *dd = d()->arrayData; | - |
709 | dd->values.size = other->d()->arrayData->values.size; | - |
710 | dd->offset = other->d()->arrayData->offset; | - |
711 | }executed 38 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 38 |
712 | | - |
713 | memcpy(d()->arrayData->values.values, other->d()->arrayData->values.values, other->d()->arrayData->values.alloc*sizeof(Value)); | - |
714 | }executed 38 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 38 |
715 | setArrayLengthUnchecked(other->getLength()); | - |
716 | }executed 213 times by 3 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 213 |
717 | | - |
718 | qint64 Object::virtualGetLength(const Managed *m) | - |
719 | { | - |
720 | Scope scope(static_cast<const Object *>(m)->engine()); | - |
721 | ScopedValue v(scope, static_cast<Object *>(const_cast<Managed *>(m))->get(scope.engine->id_length())); | - |
722 | return v->toLength();executed 6496 times by 3 tests: return v->toLength(); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlitemmodels
| 6496 |
723 | } | - |
724 | | - |
725 | | - |
726 | ReturnedValue Object::virtualInstanceOf(const Object *typeObject, const Value &var) | - |
727 | { | - |
728 | QV4::ExecutionEngine *engine = typeObject->internalClass()->engine; | - |
729 | | - |
730 | | - |
731 | const FunctionObject *function = typeObject->as<FunctionObject>(); | - |
732 | if (!function)TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 4242379 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
|
| 18-4242379 |
733 | return engine->throwTypeError();executed 18 times by 2 tests: return engine->throwTypeError(); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 18 |
734 | | - |
735 | Heap::FunctionObject *f = function->d(); | - |
736 | if (function->isBoundFunction())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4309502 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
|
| 4-4309502 |
737 | f = function->cast<BoundFunction>()->target();executed 4 times by 1 test: f = function->cast<BoundFunction>()->target(); | 4 |
738 | | - |
739 | | - |
740 | const Object *lhs = var.as<Object>(); | - |
741 | if (!lhs)TRUE | evaluated 94 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 4302019 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
|
| 94-4302019 |
742 | return Encode(false);executed 92 times by 2 tests: return Encode(false); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 92 |
743 | | - |
744 | | - |
745 | const Object *o = f->protoProperty(); | - |
746 | if (!o) TRUE | evaluated 40 times by 1 test | FALSE | evaluated 4302505 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
|
| 40-4302505 |
747 | return engine->throwTypeError();executed 40 times by 1 test: return engine->throwTypeError(); | 40 |
748 | | - |
749 | Heap::Object *v = lhs->d(); | - |
750 | | - |
751 | | - |
752 | while (v) {TRUE | evaluated 4311291 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
| FALSE | never evaluated |
| 0-4311291 |
753 | | - |
754 | v = v->prototype(); | - |
755 | | - |
756 | | - |
757 | if (!v)TRUE | evaluated 242 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickanimationcontroller
| FALSE | evaluated 4282216 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
|
| 242-4282216 |
758 | break; executed 242 times by 3 tests: break; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickanimationcontroller
| 242 |
759 | | - |
760 | | - |
761 | else if (o->d() == v)TRUE | evaluated 4312629 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
| FALSE | evaluated 622 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickanimationcontroller
|
| 622-4312629 |
762 | return Encode(true);executed 4308609 times by 10 tests: return Encode(true); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
| 4308609 |
763 | }executed 622 times by 4 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickanimationcontroller
| 622 |
764 | | - |
765 | return Encode(false);executed 242 times by 3 tests: return Encode(false); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickanimationcontroller
| 242 |
766 | } | - |
767 | | - |
768 | bool Object::virtualHasProperty(const Managed *m, PropertyKey id) | - |
769 | { | - |
770 | Scope scope(m->engine()); | - |
771 | ScopedObject o(scope, m); | - |
772 | ScopedProperty p(scope); | - |
773 | while (o) {TRUE | evaluated 224810 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| FALSE | evaluated 90694 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
| 90694-224810 |
774 | if (o->getOwnProperty(id, p) != Attr_Invalid)TRUE | evaluated 36530 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
| FALSE | evaluated 188496 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
| 36530-188496 |
775 | return true;executed 36529 times by 9 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
| 36529 |
776 | | - |
777 | o = o->getPrototypeOf(); | - |
778 | }executed 188428 times by 8 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 188428 |
779 | | - |
780 | return false;executed 90695 times by 8 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 90695 |
781 | } | - |
782 | | - |
783 | PropertyAttributes Object::virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p) | - |
784 | { | - |
785 | PropertyAttributes attrs; | - |
786 | Object *o = static_cast<Object *>(m); | - |
787 | if (id.isArrayIndex()) {TRUE | evaluated 7806 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
| FALSE | evaluated 788049 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 7806-788049 |
788 | uint index = id.asArrayIndex(); | - |
789 | if (o->arrayData()) {TRUE | evaluated 6319 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 1512 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
|
| 1512-6319 |
790 | if (o->arrayData()->getProperty(index, p, &attrs))TRUE | evaluated 5304 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 1008 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 1008-5304 |
791 | return attrs;executed 5301 times by 3 tests: return attrs; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 5301 |
792 | }executed 1006 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 1006 |
793 | } else {executed 2519 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
| 2519 |
794 | Q_ASSERT(id.asStringOrSymbol()); | - |
795 | | - |
796 | uint member = o->internalClass()->find(id); | - |
797 | if (member < UINT_MAX) {TRUE | evaluated 74847 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlvaluetypes
- tst_qquicklayouts
| FALSE | evaluated 714914 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 74847-714914 |
798 | attrs = o->internalClass()->propertyData[member]; | - |
799 | if (p) {TRUE | evaluated 57860 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlvaluetypes
| FALSE | evaluated 17010 times by 4 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquicklayouts
|
| 17010-57860 |
800 | p->value = *o->propertyData(member); | - |
801 | if (attrs.isAccessor())TRUE | evaluated 4282 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 53497 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlvaluetypes
|
| 4282-53497 |
802 | p->set = *o->propertyData(member + SetterOffset);executed 4279 times by 2 tests: p->set = *o->propertyData(member + SetterOffset); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 4279 |
803 | }executed 57798 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlvaluetypes
| 57798 |
804 | return attrs;executed 74814 times by 6 tests: return attrs; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlvaluetypes
- tst_qquicklayouts
| 74814 |
805 | } | - |
806 | }executed 714702 times by 21 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 714702 |
807 | | - |
808 | return Attr_Invalid;executed 717179 times by 22 tests: return Attr_Invalid; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 717179 |
809 | } | - |
810 | | - |
811 | bool Object::virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs) | - |
812 | { | - |
813 | Object *o = static_cast<Object *>(m); | - |
814 | Scope scope(o); | - |
815 | | - |
816 | if (id.isArrayIndex()) {TRUE | evaluated 11086 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 542957 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 11086-542957 |
817 | uint index = id.asArrayIndex(); | - |
818 | | - |
819 | bool hasProperty = false; | - |
820 | | - |
821 | if (o->arrayData()) {TRUE | evaluated 5679 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 5396 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 5396-5679 |
822 | hasProperty = o->arrayData()->mappedIndex(index) != UINT_MAX; | - |
823 | if (!hasProperty && o->isStringObject())TRUE | evaluated 3865 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 1801 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 3856 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 0-3865 |
824 | hasProperty = (index < static_cast<StringObject *>(o)->length()); never executed: hasProperty = (index < static_cast<StringObject *>(o)->length()); | 0 |
825 | }executed 5659 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 5659 |
826 | | - |
827 | if (!hasProperty) {TRUE | evaluated 9274 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 1802 times by 1 test |
| 1802-9274 |
828 | if (!o->isExtensible())TRUE | evaluated 12 times by 1 test | FALSE | evaluated 9254 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 12-9254 |
829 | return false;executed 12 times by 1 test: return false; | 12 |
830 | | - |
831 | ScopedProperty pp(scope); | - |
832 | pp->copy(p, attrs); | - |
833 | pp->fullyPopulated(&attrs); | - |
834 | if (attrs == Attr_Data) {TRUE | evaluated 5979 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 3302 times by 1 test |
| 3302-5979 |
835 | ScopedValue v(scope, pp->value); | - |
836 | o->arraySet(index, v); | - |
837 | } else {executed 5961 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 5961 |
838 | o->arraySet(index, pp, attrs); | - |
839 | }executed 3294 times by 1 test: end of block | 3294 |
840 | return true;executed 9259 times by 2 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 9259 |
841 | } | - |
842 | | - |
843 | return o->internalDefineOwnProperty(scope.engine, index, nullptr, p, attrs);executed 1801 times by 1 test: return o->internalDefineOwnProperty(scope.engine, index, nullptr, p, attrs); | 1801 |
844 | } | - |
845 | | - |
846 | uint memberIndex = o->internalClass()->find(id); | - |
847 | Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol()); | - |
848 | | - |
849 | if (memberIndex == UINT_MAX) {TRUE | evaluated 539224 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 3316 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 3316-539224 |
850 | if (!o->isExtensible())TRUE | evaluated 458 times by 1 test | FALSE | evaluated 538702 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
| 458-538702 |
851 | return false;executed 458 times by 1 test: return false; | 458 |
852 | | - |
853 | ScopedProperty pd(scope); | - |
854 | pd->copy(p, attrs); | - |
855 | pd->fullyPopulated(&attrs); | - |
856 | o->insertMember(name, pd, attrs); | - |
857 | return true;executed 539657 times by 21 tests: return true; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- 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_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 539657 |
858 | } | - |
859 | | - |
860 | return o->internalDefineOwnProperty(scope.engine, memberIndex, name, p, attrs);executed 3316 times by 3 tests: return o->internalDefineOwnProperty(scope.engine, memberIndex, name, p, attrs); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 3316 |
861 | } | - |
862 | | - |
863 | bool Object::virtualIsExtensible(const Managed *m) | - |
864 | { | - |
865 | return m->d()->internalClass->extensible;executed 1606561 times by 153 tests: return m->d()->internalClass->extensible; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1606561 |
866 | } | - |
867 | | - |
868 | bool Object::virtualPreventExtensions(Managed *m) | - |
869 | { | - |
870 | Q_ASSERT(m->isObject()); | - |
871 | Object *o = static_cast<Object *>(m); | - |
872 | o->setInternalClass(o->internalClass()->nonExtensible()); | - |
873 | return true;executed 860 times by 1 test: return true; | 860 |
874 | } | - |
875 | | - |
876 | Heap::Object *Object::virtualGetPrototypeOf(const Managed *m) | - |
877 | { | - |
878 | return m->internalClass()->prototype;executed 92939895 times by 153 tests: return m->internalClass()->prototype; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 92939895 |
879 | } | - |
880 | | - |
881 | bool Object::virtualSetPrototypeOf(Managed *m, const Object *proto) | - |
882 | { | - |
883 | Q_ASSERT(m->isObject()); | - |
884 | Object *o = static_cast<Object *>(m); | - |
885 | Heap::Object *current = o->internalClass()->prototype; | - |
886 | Heap::Object *protod = proto ? proto->d() : nullptr;TRUE | evaluated 1943977 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 120 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
|
| 120-1943977 |
887 | if (current == protod)TRUE | evaluated 1990 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 1942504 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 1990-1942504 |
888 | return true;executed 1991 times by 10 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| 1991 |
889 | if (!o->internalClass()->extensible)TRUE | evaluated 24 times by 1 test | FALSE | evaluated 1943279 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 24-1943279 |
890 | return false;executed 24 times by 1 test: return false; | 24 |
891 | Heap::Object *p = protod; | - |
892 | while (p) {TRUE | evaluated 4801875 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| FALSE | evaluated 1943494 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 1943494-4801875 |
893 | if (p == o->d())TRUE | evaluated 42 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
| FALSE | evaluated 4803391 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 42-4803391 |
894 | return false;executed 42 times by 2 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 42 |
895 | if (p->vtable()->getPrototypeOf != Object::staticVTable()->getPrototypeOf)TRUE | evaluated 56 times by 1 test | FALSE | evaluated 4803454 times by 153 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
|
| 56-4803454 |
896 | break;executed 56 times by 1 test: break; | 56 |
897 | p = p->prototype(); | - |
898 | }executed 4803160 times by 153 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 4803160 |
899 | o->setInternalClass(o->internalClass()->changePrototype(protod)); | - |
900 | return true;executed 1944657 times by 153 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- 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
- ...
| 1944657 |
901 | } | - |
902 | | - |
903 | bool Object::setArrayLength(uint newLen) | - |
904 | { | - |
905 | Q_ASSERT(isArrayObject()); | - |
906 | if (!internalClass()->propertyData[Heap::ArrayObject::LengthPropertyIndex].isWritable())TRUE | never evaluated | FALSE | evaluated 1199 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 0-1199 |
907 | return false; never executed: return false; | 0 |
908 | uint oldLen = getLength(); | - |
909 | bool ok = true; | - |
910 | if (newLen < oldLen) {TRUE | evaluated 660 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 540 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 540-660 |
911 | if (arrayData()) {TRUE | evaluated 643 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 16 times by 1 test |
| 16-643 |
912 | uint l = arrayData()->vtable()->truncate(this, newLen); | - |
913 | if (l != newLen)TRUE | evaluated 110 times by 1 test | FALSE | evaluated 533 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 110-533 |
914 | ok = false;executed 110 times by 1 test: ok = false; | 110 |
915 | newLen = l; | - |
916 | }executed 643 times by 7 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 643 |
917 | } else {executed 659 times by 7 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 659 |
918 | if (newLen >= 0x100000)TRUE | evaluated 28 times by 1 test | FALSE | evaluated 512 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 28-512 |
919 | initSparseArray();executed 28 times by 1 test: initSparseArray(); | 28 |
920 | }executed 540 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 540 |
921 | setArrayLengthUnchecked(newLen); | - |
922 | return ok;executed 1198 times by 7 tests: return ok; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1198 |
923 | } | - |
924 | | - |
925 | void Object::initSparseArray() | - |
926 | { | - |
927 | if (arrayType() == Heap::ArrayData::Sparse)TRUE | evaluated 4424 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 2742 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
|
| 2742-4424 |
928 | return;executed 4423 times by 2 tests: return; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 4423 |
929 | | - |
930 | ArrayData::realloc(this, Heap::ArrayData::Sparse, 0, false); | - |
931 | }executed 2742 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 2742 |
932 | | - |
933 | | - |
934 | DEFINE_OBJECT_VTABLE(ArrayObject); | - |
935 | | - |
936 | void Heap::ArrayObject::init(const QStringList &list) | - |
937 | { | - |
938 | Object::init(); | - |
939 | commonInit(); | - |
940 | Scope scope(internalClass->engine); | - |
941 | ScopedObject a(scope, this); | - |
942 | | - |
943 | | - |
944 | | - |
945 | | - |
946 | | - |
947 | int len = list.count(); | - |
948 | a->arrayReserve(len); | - |
949 | ScopedValue v(scope); | - |
950 | for (int ii = 0; ii < len; ++ii)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8 |
951 | a->arrayPut(ii, (v = scope.engine->newString(list.at(ii))));executed 8 times by 1 test: a->arrayPut(ii, (v = scope.engine->newString(list.at(ii)))); | 8 |
952 | a->setArrayLengthUnchecked(len); | - |
953 | }executed 8 times by 1 test: end of block | 8 |
954 | | - |
955 | qint64 ArrayObject::virtualGetLength(const Managed *m) | - |
956 | { | - |
957 | const ArrayObject *a = static_cast<const ArrayObject *>(m); | - |
958 | return a->propertyData(Heap::ArrayObject::LengthPropertyIndex)->toLength();executed 252028 times by 55 tests: return a->propertyData(Heap::ArrayObject::LengthPropertyIndex)->toLength(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 252028 |
959 | } | - |
960 | | - |
961 | QStringList ArrayObject::toQStringList() const | - |
962 | { | - |
963 | QStringList result; | - |
964 | | - |
965 | QV4::ExecutionEngine *engine = internalClass()->engine; | - |
966 | Scope scope(engine); | - |
967 | ScopedValue v(scope); | - |
968 | | - |
969 | uint length = getLength(); | - |
970 | for (uint i = 0; i < length; ++i) {TRUE | evaluated 50 times by 1 test | FALSE | evaluated 26 times by 1 test |
| 26-50 |
971 | v = const_cast<ArrayObject *>(this)->get(i); | - |
972 | result.append(v->toQStringNoThrow()); | - |
973 | }executed 50 times by 1 test: end of block | 50 |
974 | return result;executed 26 times by 1 test: return result; | 26 |
975 | } | - |
976 | | - |
977 | bool ArrayObject::virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs) | - |
978 | { | - |
979 | Q_ASSERT(m->isArrayObject()); | - |
980 | ArrayObject *a = static_cast<ArrayObject *>(m); | - |
981 | | - |
982 | if (id.isArrayIndex()) {TRUE | evaluated 2657 times by 1 test | FALSE | evaluated 937 times by 1 test |
| 937-2657 |
983 | uint index = id.asArrayIndex(); | - |
984 | uint len = a->getLength(); | - |
985 | if (index >= len && !a->internalClass()->propertyData[Heap::ArrayObject::LengthPropertyIndex].isWritable())TRUE | evaluated 1307 times by 1 test | FALSE | evaluated 1349 times by 1 test |
TRUE | evaluated 16 times by 1 test | FALSE | evaluated 1298 times by 1 test |
| 16-1349 |
986 | return false;executed 16 times by 1 test: return false; | 16 |
987 | | - |
988 | bool succeeded = Object::virtualDefineOwnProperty(m, id, p, attrs); | - |
989 | if (!succeeded)TRUE | evaluated 235 times by 1 test | FALSE | evaluated 2409 times by 1 test |
| 235-2409 |
990 | return false;executed 235 times by 1 test: return false; | 235 |
991 | | - |
992 | if (index >= len)TRUE | evaluated 1286 times by 1 test | FALSE | evaluated 1121 times by 1 test |
| 1121-1286 |
993 | a->setArrayLengthUnchecked(index + 1);executed 1282 times by 1 test: a->setArrayLengthUnchecked(index + 1); | 1282 |
994 | | - |
995 | return true;executed 2407 times by 1 test: return true; | 2407 |
996 | } | - |
997 | | - |
998 | ExecutionEngine *engine = m->engine(); | - |
999 | if (id == engine->id_length()->propertyKey()) {TRUE | evaluated 576 times by 1 test | FALSE | evaluated 362 times by 1 test |
| 362-576 |
1000 | Scope scope(engine); | - |
1001 | Q_ASSERT(Heap::ArrayObject::LengthPropertyIndex == a->internalClass()->find(engine->id_length()->propertyKey())); | - |
1002 | ScopedProperty lp(scope); | - |
1003 | PropertyAttributes cattrs; | - |
1004 | a->getProperty(Heap::ArrayObject::LengthPropertyIndex, lp, &cattrs); | - |
1005 | if (attrs.isEmpty() || p->isSubset(attrs, lp, cattrs))TRUE | evaluated 12 times by 1 test | FALSE | evaluated 564 times by 1 test |
TRUE | evaluated 24 times by 1 test | FALSE | evaluated 538 times by 1 test |
| 12-564 |
1006 | return true;executed 36 times by 1 test: return true; | 36 |
1007 | if (!cattrs.isWritable() || attrs.type() == PropertyAttributes::Accessor || attrs.isConfigurable() || attrs.isEnumerable())TRUE | evaluated 24 times by 1 test | FALSE | evaluated 516 times by 1 test |
TRUE | evaluated 8 times by 1 test | FALSE | evaluated 509 times by 1 test |
TRUE | evaluated 8 times by 1 test | FALSE | evaluated 501 times by 1 test |
TRUE | evaluated 8 times by 1 test | FALSE | evaluated 493 times by 1 test |
| 8-516 |
1008 | return false;executed 47 times by 1 test: return false; | 47 |
1009 | bool succeeded = true; | - |
1010 | if (attrs.type() == PropertyAttributes::Data) {TRUE | evaluated 425 times by 1 test | FALSE | evaluated 68 times by 1 test |
| 68-425 |
1011 | bool ok; | - |
1012 | uint l = p->value.asArrayLength(&ok); | - |
1013 | if (!ok) {TRUE | evaluated 109 times by 1 test | FALSE | evaluated 315 times by 1 test |
| 109-315 |
1014 | ScopedValue v(scope, p->value); | - |
1015 | engine->throwRangeError(v); | - |
1016 | return false;executed 111 times by 1 test: return false; | 111 |
1017 | } | - |
1018 | succeeded = a->setArrayLength(l); | - |
1019 | }executed 315 times by 1 test: end of block | 315 |
1020 | if (attrs.hasWritable() && !attrs.isWritable()) {TRUE | evaluated 104 times by 1 test | FALSE | evaluated 280 times by 1 test |
TRUE | evaluated 96 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8-280 |
1021 | cattrs.setWritable(false); | - |
1022 | Heap::InternalClass::changeMember(a, engine->id_length()->propertyKey(), cattrs); | - |
1023 | }executed 96 times by 1 test: end of block | 96 |
1024 | if (!succeeded)TRUE | evaluated 88 times by 1 test | FALSE | evaluated 295 times by 1 test |
| 88-295 |
1025 | return false;executed 88 times by 1 test: return false; | 88 |
1026 | return true;executed 295 times by 1 test: return true; | 295 |
1027 | } | - |
1028 | return Object::virtualDefineOwnProperty(m, id, p, attrs);executed 362 times by 1 test: return Object::virtualDefineOwnProperty(m, id, p, attrs); | 362 |
1029 | } | - |
| | |