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 | #ifndef QV4_OBJECT_H | - |
40 | #define QV4_OBJECT_H | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | #include "qv4managed_p.h" | - |
54 | #include "qv4memberdata_p.h" | - |
55 | #include "qv4arraydata_p.h" | - |
56 | #include "qv4engine_p.h" | - |
57 | #include "qv4scopedvalue_p.h" | - |
58 | #include "qv4value_p.h" | - |
59 | #include "qv4internalclass_p.h" | - |
60 | #include "qv4string_p.h" | - |
61 | | - |
62 | QT_BEGIN_NAMESPACE | - |
63 | | - |
64 | | - |
65 | namespace QV4 { | - |
66 | | - |
67 | namespace Heap { | - |
68 | | - |
69 | #define ObjectMembers(class, Member) \ | - |
70 | Member(class, Pointer, MemberData *, memberData) \ | - |
71 | Member(class, Pointer, ArrayData *, arrayData) | - |
72 | | - |
73 | DECLARE_EXPORTED_HEAP_OBJECT(Object, Base) { | - |
74 | static void markObjects(Heap::Base *base, MarkStack *stack); | - |
75 | void init() { Base::init(); }executed 48631480 times by 154 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
- ...
| 48631480 |
76 | | - |
77 | const VTable *vtable() const { | - |
78 | return internalClass->vtable;executed 711436234 times by 154 tests: return internalClass->vtable; 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
- ...
| 711436234 |
79 | } | - |
80 | | - |
81 | const Value *inlinePropertyDataWithOffset(uint indexWithOffset) const { | - |
82 | Q_ASSERT(indexWithOffset >= vtable()->inlinePropertyOffset && indexWithOffset < vtable()->inlinePropertyOffset + vtable()->nInlineProperties); | - |
83 | return reinterpret_cast<const Value *>(this) + indexWithOffset;executed 2704044 times by 7 tests: return reinterpret_cast<const Value *>(this) + indexWithOffset; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquickworkerscript
| 2704044 |
84 | } | - |
85 | const Value *inlinePropertyData(uint index) const { | - |
86 | Q_ASSERT(index < vtable()->nInlineProperties); | - |
87 | return reinterpret_cast<const Value *>(this) + vtable()->inlinePropertyOffset + index; never executed: return reinterpret_cast<const Value *>(this) + vtable()->inlinePropertyOffset + index; | 0 |
88 | } | - |
89 | void setInlineProperty(ExecutionEngine *e, uint index, Value v) { | - |
90 | Q_ASSERT(index < vtable()->nInlineProperties); | - |
91 | Value *prop = reinterpret_cast<Value *>(this) + vtable()->inlinePropertyOffset + index; | - |
92 | WriteBarrier::write(e, this, prop->data_ptr(), v.asReturnedValue()); | - |
93 | }executed 30512212 times by 154 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
- ...
| 30512212 |
94 | void setInlineProperty(ExecutionEngine *e, uint index, Heap::Base *b) { | - |
95 | Q_ASSERT(index < vtable()->nInlineProperties); | - |
96 | Value *prop = reinterpret_cast<Value *>(this) + vtable()->inlinePropertyOffset + index; | - |
97 | WriteBarrier::write(e, this, prop->data_ptr(), Value::fromHeapObject(b).asReturnedValue()); | - |
98 | }executed 2676762 times by 154 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
- ...
| 2676762 |
99 | | - |
100 | PropertyIndex writablePropertyData(uint index) { | - |
101 | uint nInline = vtable()->nInlineProperties; | - |
102 | if (index < nInline)TRUE | evaluated 93055 times by 18 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 45527 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 45527-93055 |
103 | return PropertyIndex{ this, reinterpret_cast<Value *>(this) + vtable()->inlinePropertyOffset + index};executed 92995 times by 18 tests: return PropertyIndex{ this, reinterpret_cast<Value *>(this) + vtable()->inlinePropertyOffset + index}; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 92995 |
104 | index -= nInline; | - |
105 | return PropertyIndex{ memberData, memberData->values.values + index };executed 45533 times by 21 tests: return PropertyIndex{ memberData, memberData->values.values + index }; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
| 45533 |
106 | } | - |
107 | | - |
108 | const Value *propertyData(uint index) const { | - |
109 | uint nInline = vtable()->nInlineProperties; | - |
110 | if (index < nInline)TRUE | evaluated 11003192 times by 154 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 21617589 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_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
|
| 11003192-21617589 |
111 | return reinterpret_cast<const Value *>(this) + vtable()->inlinePropertyOffset + index;executed 11015376 times by 154 tests: return reinterpret_cast<const Value *>(this) + vtable()->inlinePropertyOffset + index; 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
- ...
| 11015376 |
112 | index -= nInline; | - |
113 | return memberData->values.data() + index;executed 21657767 times by 153 tests: return memberData->values.data() + index; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| 21657767 |
114 | } | - |
115 | void setProperty(ExecutionEngine *e, uint index, Value v) { | - |
116 | uint nInline = vtable()->nInlineProperties; | - |
117 | if (index < nInline) {TRUE | evaluated 30525847 times by 154 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 185264784 times by 154 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
- ...
|
| 30525847-185264784 |
118 | setInlineProperty(e, index, v); | - |
119 | return;executed 30513139 times by 154 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
- ...
| 30513139 |
120 | } | - |
121 | index -= nInline; | - |
122 | memberData->values.set(e, index, v); | - |
123 | }executed 184874490 times by 154 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
- ...
| 184874490 |
124 | void setProperty(ExecutionEngine *e, uint index, Heap::Base *b) { | - |
125 | uint nInline = vtable()->nInlineProperties; | - |
126 | if (index < nInline) {TRUE | evaluated 2677021 times by 154 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 4498 times by 11 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
|
| 4498-2677021 |
127 | setInlineProperty(e, index, b); | - |
128 | return;executed 2676654 times by 154 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
- ...
| 2676654 |
129 | } | - |
130 | index -= nInline; | - |
131 | memberData->values.set(e, index, b); | - |
132 | }executed 4497 times by 11 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
| 4497 |
133 | | - |
134 | void setUsedAsProto(); | - |
135 | | - |
136 | Heap::Object *prototype() const { return internalClass->prototype; }executed 29306596 times by 154 tests: return 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
- ...
| 29306596 |
137 | }; | - |
138 | | - |
139 | } | - |
140 | | - |
141 | struct Q_QML_EXPORT Object: Managed { | - |
142 | V4_OBJECT2(Object, Object) never executed: end of block never executed: end of block executed 13709857 times by 154 tests: return &static_vtbl; 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
- ...
executed 1337622795 times by 154 tests: return static_cast<QV4::Heap::Object *>(m()); 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
- ...
executed 1336032421 times by 154 tests: return dptr; 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
- ...
| 0-1337622795 |
143 | Q_MANAGED_TYPE(Object) | - |
144 | V4_INTERNALCLASS(Object)executed 3906403 times by 154 tests: return e->internalClasses(QV4::EngineBase::Class_Object); 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
- ...
| 3906403 |
145 | V4_PROTOTYPE(objectPrototype)executed 3661117 times by 154 tests: return e->objectPrototype(); 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
- ...
| 3661117 |
146 | | - |
147 | enum { NInlineProperties = 2 }; | - |
148 | | - |
149 | enum { | - |
150 | IsObject = true, | - |
151 | GetterOffset = 0, | - |
152 | SetterOffset = 1 | - |
153 | }; | - |
154 | | - |
155 | void setInternalClass(Heap::InternalClass *ic); | - |
156 | | - |
157 | const Value *propertyData(uint index) const { return d()->propertyData(index); }executed 15789538 times by 153 tests: return d()->propertyData(index); 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
- ...
| 15789538 |
158 | | - |
159 | Heap::ArrayData *arrayData() const { return d()->arrayData; }executed 109888494 times by 65 tests: return d()->arrayData; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 109888494 |
160 | void setArrayData(ArrayData *a) { d()->arrayData.set(engine(), a->d()); }executed 86798 times by 52 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- 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_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 86798 |
161 | | - |
162 | void getProperty(uint index, Property *p, PropertyAttributes *attrs) const; | - |
163 | void setProperty(uint index, const Property *p); | - |
164 | void setProperty(uint index, Value v) const { d()->setProperty(engine(), index, v); }executed 211460164 times by 154 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
- ...
| 211460164 |
165 | void setProperty(uint index, Heap::Base *b) const { d()->setProperty(engine(), index, b); }executed 2676956 times by 154 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
- ...
| 2676956 |
166 | void setProperty(ExecutionEngine *engine, uint index, Value v) const { d()->setProperty(engine, index, v); }executed 98621 times by 154 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
- ...
| 98621 |
167 | void setProperty(ExecutionEngine *engine, uint index, Heap::Base *b) const { d()->setProperty(engine, index, b); } never executed: end of block | 0 |
168 | | - |
169 | const VTable *vtable() const { return d()->vtable(); }executed 113968732 times by 154 tests: return d()->vtable(); 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
- ...
| 113968732 |
170 | | - |
171 | PropertyAttributes getOwnProperty(PropertyKey id, Property *p = nullptr) { | - |
172 | return vtable()->getOwnProperty(this, id, p);executed 796738 times by 22 tests: return vtable()->getOwnProperty(this, id, p); 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
| 796738 |
173 | } | - |
174 | | - |
175 | PropertyIndex getValueOrSetter(PropertyKey id, PropertyAttributes *attrs); | - |
176 | | - |
177 | bool hasProperty(PropertyKey id) const { | - |
178 | return vtable()->hasProperty(this, id);executed 127088 times by 8 tests: return vtable()->hasProperty(this, id); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
| 127088 |
179 | } | - |
180 | | - |
181 | bool defineOwnProperty(PropertyKey id, const Property *p, PropertyAttributes attrs) { | - |
182 | return vtable()->defineOwnProperty(this, id, p, attrs);executed 555284 times by 21 tests: return vtable()->defineOwnProperty(this, id, p, attrs); 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
| 555284 |
183 | } | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | static ReturnedValue getValue(const Value &thisObject, const Value &v, PropertyAttributes attrs); | - |
189 | ReturnedValue getValue(const Value &v, PropertyAttributes attrs) const { | - |
190 | Scope scope(this->engine()); | - |
191 | ScopedValue t(scope, const_cast<Object *>(this)); | - |
192 | return getValue(t, v, attrs);executed 39929 times by 26 tests: return getValue(t, v, attrs); Executed by:- tst_ecmascripttests
- tst_examples
- 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
- tst_qquickworkerscript
- ...
| 39929 |
193 | } | - |
194 | | - |
195 | bool putValue(uint memberIndex, const Value &value); | - |
196 | | - |
197 | | - |
198 | void defineDefaultProperty(StringOrSymbol *name, const Value &value, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable) { | - |
199 | insertMember(name, value, attributes); | - |
200 | }executed 37600829 times by 154 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
- ...
| 37600829 |
201 | void defineDefaultProperty(const QString &name, const Value &value, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable); | - |
202 | void defineDefaultProperty(const QString &name, VTable::Call code, | - |
203 | int argumentCount = 0, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable); | - |
204 | void defineDefaultProperty(StringOrSymbol *name, VTable::Call code, | - |
205 | int argumentCount = 0, PropertyAttributes attributes = Attr_Data|Attr_NotEnumerable); | - |
206 | void defineAccessorProperty(const QString &name, VTable::Call getter, VTable::Call setter); | - |
207 | void defineAccessorProperty(StringOrSymbol *name, VTable::Call getter, VTable::Call setter); | - |
208 | | - |
209 | void defineReadonlyProperty(const QString &name, const Value &value); | - |
210 | void defineReadonlyProperty(String *name, const Value &value); | - |
211 | | - |
212 | | - |
213 | void defineReadonlyConfigurableProperty(const QString &name, const Value &value); | - |
214 | void defineReadonlyConfigurableProperty(StringOrSymbol *name, const Value &value); | - |
215 | | - |
216 | void addSymbolSpecies(); | - |
217 | | - |
218 | void insertMember(StringOrSymbol *s, const Value &v, PropertyAttributes attributes = Attr_Data) { | - |
219 | Scope scope(engine()); | - |
220 | ScopedProperty p(scope); | - |
221 | p->value = v; | - |
222 | insertMember(s, p, attributes); | - |
223 | }executed 123885805 times by 154 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
- ...
| 123885805 |
224 | void insertMember(StringOrSymbol *s, const Property *p, PropertyAttributes attributes); | - |
225 | | - |
226 | bool isExtensible() const { return vtable()->isExtensible(this); }executed 1607602 times by 154 tests: return vtable()->isExtensible(this); 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
- ...
| 1607602 |
227 | bool preventExtensions() { return vtable()->preventExtensions(this); }executed 912 times by 1 test: return vtable()->preventExtensions(this); | 912 |
228 | Heap::Object *getPrototypeOf() const { return vtable()->getPrototypeOf(this); }executed 92637399 times by 154 tests: return vtable()->getPrototypeOf(this); 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
- ...
| 92637399 |
229 | bool setPrototypeOf(const Object *p) { return vtable()->setPrototypeOf(this, p); }executed 1945849 times by 154 tests: return vtable()->setPrototypeOf(this, p); 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
- ...
| 1945849 |
230 | void setPrototypeUnchecked(const Object *p); | - |
231 | | - |
232 | | - |
233 | | - |
234 | public: | - |
235 | void copyArrayData(Object *other); | - |
236 | | - |
237 | bool setArrayLength(uint newLen); | - |
238 | void setArrayLengthUnchecked(uint l); | - |
239 | | - |
240 | void arraySet(uint index, const Property *p, PropertyAttributes attributes = Attr_Data); | - |
241 | void arraySet(uint index, const Value &value); | - |
242 | | - |
243 | bool arrayPut(uint index, const Value &value) { | - |
244 | return arrayData()->vtable()->put(this, index, value);executed 20698 times by 14 tests: return arrayData()->vtable()->put(this, index, value); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickmultipointtoucharea
- tst_qquickworkerscript
| 20698 |
245 | } | - |
246 | bool arrayPut(uint index, const Value *values, uint n) { | - |
247 | return arrayData()->vtable()->putArray(this, index, values, n);executed 4344 times by 2 tests: return arrayData()->vtable()->putArray(this, index, values, n); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 4344 |
248 | } | - |
249 | void setArrayAttributes(uint i, PropertyAttributes a) { | - |
250 | Q_ASSERT(arrayData()); | - |
251 | if (d()->arrayData->attrs || a != Attr_Data) {TRUE | evaluated 2562 times by 1 test | FALSE | evaluated 3409 times by 1 test |
TRUE | evaluated 3387 times by 1 test | FALSE | evaluated 36 times by 1 test |
| 36-3409 |
252 | ArrayData::ensureAttributes(this); | - |
253 | a.resolve(); | - |
254 | arrayData()->vtable()->setAttribute(this, i, a); | - |
255 | }executed 5939 times by 1 test: end of block | 5939 |
256 | }executed 5974 times by 1 test: end of block | 5974 |
257 | | - |
258 | void push_back(const Value &v); | - |
259 | | - |
260 | ArrayData::Type arrayType() const { | - |
261 | return arrayData() ? static_cast<ArrayData::Type>(d()->arrayData->type) : Heap::ArrayData::Simple;executed 11156 times by 11 tests: return arrayData() ? static_cast<ArrayData::Type>(d()->arrayData->type) : Heap::ArrayData::Simple; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 11156 |
262 | } | - |
263 | | - |
264 | void setArrayType(ArrayData::Type t) { | - |
265 | Q_ASSERT(t != Heap::ArrayData::Simple && t != Heap::ArrayData::Sparse); | - |
266 | arrayCreate(); | - |
267 | d()->arrayData->type = t; | - |
268 | }executed 15978 times by 23 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_quicktestmainwithsetup
- tst_testfiltering
| 15978 |
269 | | - |
270 | inline void arrayReserve(uint n) { | - |
271 | ArrayData::realloc(this, Heap::ArrayData::Simple, n, false); | - |
272 | }executed 19501 times by 31 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
| 19501 |
273 | | - |
274 | void arrayCreate() { | - |
275 | if (!arrayData())TRUE | evaluated 29856 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 43867 times by 26 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_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- ...
|
| 29856-43867 |
276 | ArrayData::realloc(this, Heap::ArrayData::Simple, 0, false);executed 29869 times by 34 tests: ArrayData::realloc(this, Heap::ArrayData::Simple, 0, false); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 29869 |
277 | #ifdef CHECK_SPARSE_ARRAYS | - |
278 | initSparseArray(); | - |
279 | #endif | - |
280 | }executed 73701 times by 40 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcustomaffector
- tst_qquickgridview
- ...
| 73701 |
281 | | - |
282 | void initSparseArray(); | - |
283 | SparseArrayNode *sparseBegin() { return arrayType() == Heap::ArrayData::Sparse ? d()->arrayData->sparse->begin() : nullptr; }executed 2213 times by 11 tests: return arrayType() == Heap::ArrayData::Sparse ? d()->arrayData->sparse->begin() : nullptr; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 2213 |
284 | SparseArrayNode *sparseEnd() { return arrayType() == Heap::ArrayData::Sparse ? d()->arrayData->sparse->end() : nullptr; }executed 1455 times by 2 tests: return arrayType() == Heap::ArrayData::Sparse ? d()->arrayData->sparse->end() : nullptr; Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 1455 |
285 | | - |
286 | inline bool protoHasArray() { | - |
287 | Scope scope(engine()); | - |
288 | ScopedObject p(scope, this); | - |
289 | | - |
290 | while ((p = p->getPrototypeOf()))TRUE | evaluated 416 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| FALSE | evaluated 198 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
| 198-416 |
291 | if (p->arrayData())TRUE | evaluated 16 times by 1 test | FALSE | evaluated 400 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
|
| 16-400 |
292 | return true;executed 16 times by 1 test: return true; | 16 |
293 | | - |
294 | return false;executed 198 times by 3 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 198 |
295 | } | - |
296 | | - |
297 | inline ReturnedValue get(StringOrSymbol *name, bool *hasProperty = nullptr, const Value *receiver = nullptr) const | - |
298 | { if (!receiver) receiver = this; return vtable()->get(this, name->toPropertyKey(), receiver, hasProperty); }executed 9270458 times by 154 tests: receiver = this; 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
- ...
executed 9335457 times by 154 tests: return vtable()->get(this, name->toPropertyKey(), 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
- ...
TRUE | evaluated 9270139 times by 154 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-9335457 |
299 | inline ReturnedValue get(uint idx, bool *hasProperty = nullptr, const Value *receiver = nullptr) const | - |
300 | { if (!receiver) receiver = this; return vtable()->get(this, PropertyKey::fromArrayIndex(idx), receiver, hasProperty); }executed 214413 times by 42 tests: receiver = this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
executed 214428 times by 42 tests: return vtable()->get(this, PropertyKey::fromArrayIndex(idx), receiver, hasProperty); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
TRUE | evaluated 214412 times by 42 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | never evaluated |
| 0-214428 |
301 | QT_DEPRECATED inline ReturnedValue getIndexed(uint idx, bool *hasProperty = nullptr) const | - |
302 | { return get(idx, hasProperty); } never executed: return get(idx, hasProperty); | 0 |
303 | inline ReturnedValue get(PropertyKey id, const Value *receiver = nullptr, bool *hasProperty = nullptr) const | - |
304 | { if (!receiver) receiver = this; return vtable()->get(this, id, receiver, hasProperty); }executed 5642843 times by 92 tests: receiver = this; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
executed 5643320 times by 92 tests: return vtable()->get(this, id, receiver, hasProperty); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
TRUE | evaluated 5642847 times by 92 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 477 times by 1 test |
| 477-5643320 |
305 | | - |
306 | | - |
307 | inline bool put(StringOrSymbol *name, const Value &v, Value *receiver = nullptr) | - |
308 | { if (!receiver) receiver = this; return vtable()->put(this, name->toPropertyKey(), v, receiver); }executed 220711 times by 75 tests: receiver = this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
executed 220761 times by 75 tests: return vtable()->put(this, name->toPropertyKey(), v, receiver); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
TRUE | evaluated 220699 times by 75 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
| FALSE | never evaluated |
| 0-220761 |
309 | inline bool put(uint idx, const Value &v, Value *receiver = nullptr) | - |
310 | { if (!receiver) receiver = this; return vtable()->put(this, PropertyKey::fromArrayIndex(idx), v, receiver); }executed 50451 times by 22 tests: receiver = this; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
executed 50450 times by 22 tests: return vtable()->put(this, PropertyKey::fromArrayIndex(idx), v, receiver); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
TRUE | evaluated 50451 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | never evaluated |
| 0-50451 |
311 | QT_DEPRECATED inline bool putIndexed(uint idx, const Value &v) | - |
312 | { return put(idx, v); } never executed: return put(idx, v); | 0 |
313 | inline bool put(PropertyKey id, const Value &v, Value *receiver = nullptr) | - |
314 | { if (!receiver) receiver = this; return vtable()->put(this, id, v, receiver); }executed 536694 times by 8 tests: receiver = this; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
executed 538181 times by 8 tests: return vtable()->put(this, id, v, receiver); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
TRUE | evaluated 536876 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
| FALSE | evaluated 911 times by 1 test |
| 911-538181 |
315 | | - |
316 | enum ThrowOnFailure { | - |
317 | DoThrowOnRejection, | - |
318 | DoNotThrow | - |
319 | }; | - |
320 | | - |
321 | | - |
322 | | - |
323 | inline bool setIndexed(uint idx, const Value &v, ThrowOnFailure shouldThrow) | - |
324 | { | - |
325 | bool ret = vtable()->put(this, PropertyKey::fromArrayIndex(idx), v, this); | - |
326 | | - |
327 | if (!ret && shouldThrow == ThrowOnFailure::DoThrowOnRejection) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
328 | ExecutionEngine *e = engine(); | - |
329 | if (!e->hasException) { TRUE | never evaluated | FALSE | never evaluated |
| 0 |
330 | QString message = QLatin1String("Cannot assign to read-only property \"") + | - |
331 | QString::number(idx) + QLatin1Char('\"'); | - |
332 | e->throwTypeError(message); | - |
333 | } never executed: end of block | 0 |
334 | } never executed: end of block | 0 |
335 | return ret; never executed: return ret; | 0 |
336 | } | - |
337 | | - |
338 | | - |
339 | inline bool set(StringOrSymbol *name, const Value &v, ThrowOnFailure shouldThrow) | - |
340 | { | - |
341 | bool ret = vtable()->put(this, name->toPropertyKey(), v, this); | - |
342 | | - |
343 | if (!ret && shouldThrow == ThrowOnFailure::DoThrowOnRejection) {TRUE | evaluated 16 times by 1 test | FALSE | evaluated 112011 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
|
TRUE | evaluated 16 times by 1 test | FALSE | never evaluated |
| 0-112011 |
344 | ExecutionEngine *e = engine(); | - |
345 | if (!e->hasException) { TRUE | evaluated 8 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 8 |
346 | QString message = QLatin1String("Cannot assign to read-only property \"") + | - |
347 | name->toQString() + QLatin1Char('\"'); | - |
348 | e->throwTypeError(message); | - |
349 | }executed 8 times by 1 test: end of block | 8 |
350 | }executed 16 times by 1 test: end of block | 16 |
351 | return ret;executed 112056 times by 12 tests: return ret; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 112056 |
352 | } | - |
353 | | - |
354 | bool deleteProperty(PropertyKey id) | - |
355 | { return vtable()->deleteProperty(this, id); }executed 10399 times by 5 tests: return vtable()->deleteProperty(this, id); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
| 10399 |
356 | void advanceIterator(ObjectIterator *it, Value *name, uint *index, Property *p, PropertyAttributes *attributes) | - |
357 | { vtable()->advanceIterator(this, it, name, index, p, attributes); }executed 107750 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
- ...
| 107750 |
358 | qint64 getLength() const { return vtable()->getLength(this); }executed 91183 times by 41 tests: return vtable()->getLength(this); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| 91183 |
359 | ReturnedValue instanceOf(const Value &var) const | - |
360 | { return vtable()->instanceOf(this, var); }executed 74 times by 3 tests: return vtable()->instanceOf(this, var); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquicklayouts
| 74 |
361 | | - |
362 | protected: | - |
363 | static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); | - |
364 | static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); | - |
365 | static ReturnedValue virtualGet(const Managed *m, PropertyKey id, const Value *receiver,bool *hasProperty); | - |
366 | static bool virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver); | - |
367 | static bool virtualDeleteProperty(Managed *m, PropertyKey id); | - |
368 | static bool virtualHasProperty(const Managed *m, PropertyKey id); | - |
369 | static PropertyAttributes virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p); | - |
370 | static bool virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs); | - |
371 | static bool virtualIsExtensible(const Managed *m); | - |
372 | static bool virtualPreventExtensions(Managed *); | - |
373 | static Heap::Object *virtualGetPrototypeOf(const Managed *); | - |
374 | static bool virtualSetPrototypeOf(Managed *, const Object *); | - |
375 | static void virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *p, PropertyAttributes *attributes); | - |
376 | static qint64 virtualGetLength(const Managed *m); | - |
377 | static ReturnedValue virtualInstanceOf(const Object *typeObject, const Value &var); | - |
378 | | - |
379 | private: | - |
380 | bool internalDefineOwnProperty(ExecutionEngine *engine, uint index, StringOrSymbol *member, const Property *p, PropertyAttributes attrs); | - |
381 | ReturnedValue internalGet(StringOrSymbol *name, const Value *receiver, bool *hasProperty) const; | - |
382 | ReturnedValue internalGetIndexed(uint index, const Value *receiver, bool *hasProperty) const; | - |
383 | bool internalPut(PropertyKey id, const Value &value, Value *receiver); | - |
384 | bool internalDeleteProperty(PropertyKey id); | - |
385 | | - |
386 | friend struct ObjectIterator; | - |
387 | friend struct ObjectPrototype; | - |
388 | }; | - |
389 | | - |
390 | namespace Heap { | - |
391 | | - |
392 | struct BooleanObject : Object { | - |
393 | void init() { Object::init(); }executed 98903 times by 154 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
- ...
| 98903 |
394 | void init(bool b) { | - |
395 | Object::init(); | - |
396 | this->b = b; | - |
397 | }executed 3185 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 3185 |
398 | | - |
399 | bool b; | - |
400 | }; | - |
401 | | - |
402 | struct NumberObject : Object { | - |
403 | void init() { Object::init(); }executed 98924 times by 154 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
- ...
| 98924 |
404 | void init(double val) { | - |
405 | Object::init(); | - |
406 | value = val; | - |
407 | }executed 5739 times by 10 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qv4debugger
| 5739 |
408 | | - |
409 | double value; | - |
410 | }; | - |
411 | | - |
412 | struct ArrayObject : Object { | - |
413 | enum { | - |
414 | LengthPropertyIndex = 0 | - |
415 | }; | - |
416 | | - |
417 | void init() { | - |
418 | Object::init(); | - |
419 | commonInit(); | - |
420 | }executed 183567 times by 154 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
- ...
| 183567 |
421 | | - |
422 | void init(const QStringList &list); | - |
423 | | - |
424 | private: | - |
425 | void commonInit() | - |
426 | { setProperty(internalClass->engine, LengthPropertyIndex, Primitive::fromInt32(0)); }executed 183435 times by 154 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
- ...
| 183435 |
427 | }; | - |
428 | | - |
429 | } | - |
430 | | - |
431 | struct BooleanObject: Object { | - |
432 | V4_OBJECT2(BooleanObject, Object)executed 2364 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsvalue
never executed: end of block executed 308939 times by 154 tests: return &static_vtbl; 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
- ...
executed 206154 times by 154 tests: return static_cast<QV4::Heap::BooleanObject *>(m()); 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
- ...
executed 104468 times by 154 tests: return dptr; 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
- ...
| 0-308939 |
433 | Q_MANAGED_TYPE(BooleanObject) | - |
434 | V4_PROTOTYPE(booleanPrototype)executed 3188 times by 2 tests: return e->booleanPrototype(); Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 3188 |
435 | | - |
436 | bool value() const { return d()->b; }executed 2281 times by 2 tests: return d()->b; Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 2281 |
437 | | - |
438 | }; | - |
439 | | - |
440 | struct NumberObject: Object { | - |
441 | V4_OBJECT2(NumberObject, Object) never executed: end of block never executed: end of block executed 313943 times by 154 tests: return &static_vtbl; 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
- ...
executed 209335 times by 154 tests: return static_cast<QV4::Heap::NumberObject *>(m()); 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
- ...
executed 104676 times by 154 tests: return dptr; 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
- ...
| 0-313943 |
442 | Q_MANAGED_TYPE(NumberObject) | - |
443 | V4_PROTOTYPE(numberPrototype)executed 5742 times by 10 tests: return e->numberPrototype(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qv4debugger
| 5742 |
444 | | - |
445 | double value() const { return d()->value; } never executed: return d()->value; | 0 |
446 | }; | - |
447 | | - |
448 | struct ArrayObject: Object { | - |
449 | V4_OBJECT2(ArrayObject, Object) never executed: end of block never executed: end of block executed 546374 times by 154 tests: return &static_vtbl; 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
- ...
executed 283495 times by 59 tests: return static_cast<QV4::Heap::ArrayObject *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
executed 204213 times by 59 tests: return dptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| 0-546374 |
450 | Q_MANAGED_TYPE(ArrayObject) | - |
451 | V4_INTERNALCLASS(ArrayObject)executed 79290 times by 59 tests: return e->internalClasses(QV4::EngineBase::Class_ArrayObject); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| 79290 |
452 | V4_PROTOTYPE(arrayPrototype)executed 79396 times by 59 tests: return e->arrayPrototype(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- ...
| 79396 |
453 | | - |
454 | void init(ExecutionEngine *engine); | - |
455 | | - |
456 | static qint64 virtualGetLength(const Managed *m); | - |
457 | | - |
458 | QStringList toQStringList() const; | - |
459 | protected: | - |
460 | static bool virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs); | - |
461 | | - |
462 | }; | - |
463 | | - |
464 | inline void Object::setArrayLengthUnchecked(uint l) | - |
465 | { | - |
466 | if (isArrayObject())TRUE | evaluated 222328 times by 56 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | never evaluated |
| 0-222328 |
467 | setProperty(Heap::ArrayObject::LengthPropertyIndex, Primitive::fromUInt32(l));executed 222333 times by 56 tests: setProperty(Heap::ArrayObject::LengthPropertyIndex, Primitive::fromUInt32(l)); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 222333 |
468 | }executed 222343 times by 56 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 222343 |
469 | | - |
470 | inline void Object::push_back(const Value &v) | - |
471 | { | - |
472 | arrayCreate(); | - |
473 | | - |
474 | uint idx = getLength(); | - |
475 | arrayReserve(idx + 1); | - |
476 | arrayPut(idx, v); | - |
477 | setArrayLengthUnchecked(idx + 1); | - |
478 | }executed 6614 times by 7 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlxmlhttprequest
- tst_qquickworkerscript
| 6614 |
479 | | - |
480 | inline void Object::arraySet(uint index, const Property *p, PropertyAttributes attributes) | - |
481 | { | - |
482 | | - |
483 | arrayCreate(); | - |
484 | if (attributes.isAccessor() || (index > 0x1000 && index > 2*d()->arrayData->values.alloc)) {TRUE | evaluated 2993 times by 1 test | FALSE | evaluated 691 times by 1 test |
TRUE | evaluated 12 times by 1 test | FALSE | evaluated 679 times by 1 test |
TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
| 0-2993 |
485 | initSparseArray(); | - |
486 | } else {executed 3012 times by 1 test: end of block | 3012 |
487 | arrayData()->vtable()->reallocate(this, index + 1, false); | - |
488 | }executed 683 times by 1 test: end of block | 683 |
489 | setArrayAttributes(index, attributes); | - |
490 | ArrayData::insert(this, index, &p->value, attributes.isAccessor()); | - |
491 | if (isArrayObject() && index >= getLength())TRUE | evaluated 1538 times by 1 test | FALSE | evaluated 2159 times by 1 test |
TRUE | evaluated 1291 times by 1 test | FALSE | evaluated 252 times by 1 test |
| 252-2159 |
492 | setArrayLengthUnchecked(index + 1);executed 1290 times by 1 test: setArrayLengthUnchecked(index + 1); | 1290 |
493 | }executed 3699 times by 1 test: end of block | 3699 |
494 | | - |
495 | | - |
496 | inline void Object::arraySet(uint index, const Value &value) | - |
497 | { | - |
498 | arrayCreate(); | - |
499 | if (index > 0x1000 && index > 2*d()->arrayData->values.alloc) {TRUE | evaluated 212 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 44565 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
- ...
|
TRUE | evaluated 208 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
| FALSE | evaluated 4 times by 1 test |
| 4-44565 |
500 | initSparseArray(); | - |
501 | }executed 208 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 208 |
502 | ArrayData::insert(this, index, &value); | - |
503 | if (isArrayObject() && index >= getLength())TRUE | evaluated 36150 times by 28 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_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickworkerscript
- tst_qtqmlmodules
- ...
| FALSE | evaluated 8661 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquickgridview
|
TRUE | evaluated 13918 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| FALSE | evaluated 22244 times by 20 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_quicktestmainwithsetup
- tst_testfiltering
|
| 8661-36150 |
504 | setArrayLengthUnchecked(index + 1);executed 13910 times by 12 tests: setArrayLengthUnchecked(index + 1); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| 13910 |
505 | }executed 44805 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
- ...
| 44805 |
506 | | - |
507 | | - |
508 | template<> | - |
509 | inline const ArrayObject *Value::as() const { | - |
510 | return isManaged() && m()->internalClass->vtable->type == Managed::Type_ArrayObject ? static_cast<const ArrayObject *>(this) : nullptr;executed 1532792 times by 93 tests: return isManaged() && m()->internalClass->vtable->type == Managed::Type_ArrayObject ? static_cast<const ArrayObject *>(this) : nullptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- ...
| 1532792 |
511 | } | - |
512 | | - |
513 | #ifndef V4_BOOTSTRAP | - |
514 | template<> | - |
515 | inline ReturnedValue value_convert<Object>(ExecutionEngine *e, const Value &v) | - |
516 | { | - |
517 | return v.toObject(e)->asReturnedValue(); never executed: return v.toObject(e)->asReturnedValue(); | 0 |
518 | } | - |
519 | #endif | - |
520 | | - |
521 | } | - |
522 | | - |
523 | QT_END_NAMESPACE | - |
524 | | - |
525 | #endif // QMLJS_OBJECTS_H | - |
| | |