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 | #include <qv4engine_p.h> | - |
40 | #include <qv4qmlcontext_p.h> | - |
41 | #include <qv4value_p.h> | - |
42 | #include <qv4object_p.h> | - |
43 | #include <qv4objectproto_p.h> | - |
44 | #include <qv4objectiterator_p.h> | - |
45 | #include <qv4setiterator_p.h> | - |
46 | #include <qv4mapiterator_p.h> | - |
47 | #include <qv4arrayiterator_p.h> | - |
48 | #include <qv4arrayobject_p.h> | - |
49 | #include <qv4booleanobject_p.h> | - |
50 | #include <qv4globalobject_p.h> | - |
51 | #include <qv4errorobject_p.h> | - |
52 | #include <qv4functionobject_p.h> | - |
53 | #include "qv4function_p.h" | - |
54 | #include <qv4mathobject_p.h> | - |
55 | #include <qv4numberobject_p.h> | - |
56 | #include <qv4regexpobject_p.h> | - |
57 | #include <qv4regexp_p.h> | - |
58 | #include "qv4symbol_p.h" | - |
59 | #include "qv4setobject_p.h" | - |
60 | #include "qv4mapobject_p.h" | - |
61 | #include <qv4variantobject_p.h> | - |
62 | #include <qv4runtime_p.h> | - |
63 | #include <private/qv4mm_p.h> | - |
64 | #include <qv4argumentsobject_p.h> | - |
65 | #include <qv4dateobject_p.h> | - |
66 | #include <qv4jsonobject_p.h> | - |
67 | #include <qv4stringobject_p.h> | - |
68 | #include <qv4identifiertable_p.h> | - |
69 | #include "qv4debugging_p.h" | - |
70 | #include "qv4profiling_p.h" | - |
71 | #include "qv4executableallocator_p.h" | - |
72 | #include "qv4iterator_p.h" | - |
73 | #include "qv4stringiterator_p.h" | - |
74 | #include "qv4generatorobject_p.h" | - |
75 | #include "qv4reflect_p.h" | - |
76 | #include "qv4proxy_p.h" | - |
77 | #include "qv4stackframe_p.h" | - |
78 | | - |
79 | #if QT_CONFIG(qml_sequence_object) | - |
80 | #include "qv4sequenceobject_p.h" | - |
81 | #endif | - |
82 | | - |
83 | #include "qv4qobjectwrapper_p.h" | - |
84 | #include "qv4memberdata_p.h" | - |
85 | #include "qv4arraybuffer_p.h" | - |
86 | #include "qv4dataview_p.h" | - |
87 | #include "qv4typedarray_p.h" | - |
88 | #include <private/qv8engine_p.h> | - |
89 | #include <private/qjsvalue_p.h> | - |
90 | #include <private/qqmltypewrapper_p.h> | - |
91 | #include <private/qqmlvaluetypewrapper_p.h> | - |
92 | #include <private/qqmlvaluetype_p.h> | - |
93 | #include <private/qqmllistwrapper_p.h> | - |
94 | #include <private/qqmllist_p.h> | - |
95 | #if QT_CONFIG(qml_locale) | - |
96 | #include <private/qqmllocale_p.h> | - |
97 | #endif | - |
98 | | - |
99 | #include <QtCore/QTextStream> | - |
100 | #include <QDateTime> | - |
101 | | - |
102 | #if USE(PTHREADS) | - |
103 | # include <pthread.h> | - |
104 | #if !defined(Q_OS_INTEGRITY) | - |
105 | # include <sys/resource.h> | - |
106 | #endif | - |
107 | #if HAVE(PTHREAD_NP_H) | - |
108 | # include <pthread_np.h> | - |
109 | #endif | - |
110 | #endif | - |
111 | | - |
112 | #ifdef V4_USE_VALGRIND | - |
113 | #include <valgrind/memcheck.h> | - |
114 | #endif | - |
115 | | - |
116 | QT_BEGIN_NAMESPACE | - |
117 | | - |
118 | using namespace QV4; | - |
119 | | - |
120 | static QBasicAtomicInt engineSerial = Q_BASIC_ATOMIC_INITIALIZER(1); | - |
121 | | - |
122 | ReturnedValue throwTypeError(const FunctionObject *b, const QV4::Value *, const QV4::Value *, int) | - |
123 | { | - |
124 | return b->engine()->throwTypeError();executed 428 times by 1 test: return b->engine()->throwTypeError(); | 428 |
125 | } | - |
126 | | - |
127 | | - |
128 | #ifdef V4_BOOTSTRAP | - |
129 | QJSEngine *ExecutionEngine::jsEngine() const | - |
130 | { | - |
131 | return publicEngine; | - |
132 | } | - |
133 | | - |
134 | QQmlEngine *ExecutionEngine::qmlEngine() const | - |
135 | { | - |
136 | return v8Engine->engine(); | - |
137 | } | - |
138 | #endif // V4_BOOTSTRAP | - |
139 | | - |
140 | qint32 ExecutionEngine::maxCallDepth = -1; | - |
141 | | - |
142 | ExecutionEngine::ExecutionEngine(QJSEngine *jsEngine) | - |
143 | : executableAllocator(new QV4::ExecutableAllocator) | - |
144 | , regExpAllocator(new QV4::ExecutableAllocator) | - |
145 | , bumperPointerAllocator(new WTF::BumpPointerAllocator) | - |
146 | , jsStack(new WTF::PageAllocation) | - |
147 | , gcStack(new WTF::PageAllocation) | - |
148 | , globalCode(nullptr) | - |
149 | , v8Engine(nullptr) | - |
150 | , publicEngine(jsEngine) | - |
151 | , argumentsAccessors(nullptr) | - |
152 | , nArgumentsAccessors(0) | - |
153 | , m_engineId(engineSerial.fetchAndAddOrdered(1)) | - |
154 | , regExpCache(nullptr) | - |
155 | , m_multiplyWrappedQObjects(nullptr) | - |
156 | #if defined(V4_ENABLE_JIT) && !defined(V4_BOOTSTRAP) | - |
157 | , m_canAllocateExecutableMemory(OSAllocator::canAllocateExecutableMemory()) | - |
158 | #endif | - |
159 | { | - |
160 | memoryManager = new QV4::MemoryManager(this); | - |
161 | | - |
162 | if (maxCallDepth == -1) {TRUE | evaluated 337 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 98870 times by 115 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
| 337-98870 |
163 | bool ok = false; | - |
164 | maxCallDepth = qEnvironmentVariableIntValue("QV4_MAX_CALL_DEPTH", &ok); | - |
165 | if (!ok || maxCallDepth <= 0) {TRUE | evaluated 337 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 | never evaluated | FALSE | never evaluated |
| 0-337 |
166 | #ifdef QT_NO_DEBUG | - |
167 | maxCallDepth = 1234; | - |
168 | #else | - |
169 | | - |
170 | maxCallDepth = 200; | - |
171 | #endif | - |
172 | }executed 337 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
- ...
| 337 |
173 | }executed 338 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
- ...
| 338 |
174 | Q_ASSERT(maxCallDepth > 0); | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | *jsStack = WTF::PageAllocation::allocate(JSStackLimit + 256*1024, WTF::OSAllocator::JSVMStackPages, | - |
180 | true, false, | - |
181 | true); | - |
182 | jsStackBase = (Value *)jsStack->base(); | - |
183 | #ifdef V4_USE_VALGRIND | - |
184 | VALGRIND_MAKE_MEM_UNDEFINED(jsStackBase, JSStackLimit + 256*1024); | - |
185 | #endif | - |
186 | | - |
187 | jsStackTop = jsStackBase; | - |
188 | | - |
189 | *gcStack = WTF::PageAllocation::allocate(GCStackLimit, WTF::OSAllocator::JSVMStackPages, | - |
190 | true, false, | - |
191 | true); | - |
192 | | - |
193 | { | - |
194 | bool ok = false; | - |
195 | jitCallCountThreshold = qEnvironmentVariableIntValue("QV4_JIT_CALL_THRESHOLD", &ok); | - |
196 | if (!ok)TRUE | evaluated 55327 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 43881 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qv4assembler
|
| 43881-55327 |
197 | jitCallCountThreshold = 3;executed 55327 times by 152 tests: jitCallCountThreshold = 3; 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
- ...
| 55327 |
198 | if (qEnvironmentVariableIsSet("QV4_FORCE_INTERPRETER"))TRUE | evaluated 87758 times by 1 test | FALSE | evaluated 11450 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
|
| 11450-87758 |
199 | jitCallCountThreshold = std::numeric_limits<int>::max();executed 87758 times by 1 test: jitCallCountThreshold = std::numeric_limits<int>::max(); | 87758 |
200 | } | - |
201 | | - |
202 | exceptionValue = jsAlloca(1); | - |
203 | *exceptionValue = Encode::undefined(); | - |
204 | globalObject = static_cast<Object *>(jsAlloca(1)); | - |
205 | jsObjects = jsAlloca(NJSObjects); | - |
206 | typedArrayPrototype = static_cast<Object *>(jsAlloca(NTypedArrayTypes)); | - |
207 | typedArrayCtors = static_cast<FunctionObject *>(jsAlloca(NTypedArrayTypes)); | - |
208 | jsStrings = jsAlloca(NJSStrings); | - |
209 | jsSymbols = jsAlloca(NJSSymbols); | - |
210 | | - |
211 | | - |
212 | jsStackLimit = jsStackBase + JSStackLimit/sizeof(Value); | - |
213 | | - |
214 | identifierTable = new IdentifierTable(this); | - |
215 | | - |
216 | memset(classes, 0, sizeof(classes)); | - |
217 | classes[Class_Empty] = memoryManager->allocIC<InternalClass>(); | - |
218 | classes[Class_Empty]->init(this); | - |
219 | | - |
220 | classes[Class_MemberData] = classes[Class_Empty]->changeVTable(QV4::MemberData::staticVTable()); | - |
221 | classes[Class_SimpleArrayData] = classes[Class_Empty]->changeVTable(QV4::SimpleArrayData::staticVTable()); | - |
222 | classes[Class_SparseArrayData] = classes[Class_Empty]->changeVTable(QV4::SparseArrayData::staticVTable()); | - |
223 | classes[Class_ExecutionContext] = classes[Class_Empty]->changeVTable(QV4::ExecutionContext::staticVTable()); | - |
224 | classes[Class_CallContext] = classes[Class_Empty]->changeVTable(QV4::CallContext::staticVTable()); | - |
225 | classes[Class_QmlContext] = classes[Class_Empty]->changeVTable(QV4::QmlContext::staticVTable()); | - |
226 | | - |
227 | Scope scope(this); | - |
228 | Scoped<InternalClass> ic(scope); | - |
229 | ic = classes[Class_Empty]->changeVTable(QV4::Object::staticVTable()); | - |
230 | jsObjects[ObjectProto] = memoryManager->allocObject<ObjectPrototype>(ic->d()); | - |
231 | classes[Class_Object] = ic->changePrototype(objectPrototype()->d()); | - |
232 | classes[Class_QmlContextWrapper] = classes[Class_Object]->changeVTable(QV4::QQmlContextWrapper::staticVTable()); | - |
233 | | - |
234 | ic = newInternalClass(QV4::StringObject::staticVTable(), objectPrototype()); | - |
235 | jsObjects[StringProto] = memoryManager->allocObject<StringPrototype>(ic->d(), false); | - |
236 | classes[Class_String] = classes[Class_Empty]->changeVTable(QV4::String::staticVTable())->changePrototype(stringPrototype()->d()); | - |
237 | Q_ASSERT(stringPrototype()->d() && classes[Class_String]->prototype); | - |
238 | | - |
239 | jsObjects[SymbolProto] = memoryManager->allocate<SymbolPrototype>(); | - |
240 | classes[Class_Symbol] = classes[EngineBase::Class_Empty]->changeVTable(QV4::Symbol::staticVTable())->changePrototype(symbolPrototype()->d()); | - |
241 | | - |
242 | jsStrings[String_Empty] = newIdentifier(QString()); | - |
243 | jsStrings[String_undefined] = newIdentifier(QStringLiteral("undefined"));executed 98747 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98747 |
244 | jsStrings[String_null] = newIdentifier(QStringLiteral("null"));executed 98975 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98975 |
245 | jsStrings[String_true] = newIdentifier(QStringLiteral("true"));executed 99020 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99020 |
246 | jsStrings[String_false] = newIdentifier(QStringLiteral("false"));executed 99008 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99008 |
247 | jsStrings[String_boolean] = newIdentifier(QStringLiteral("boolean"));executed 99132 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99132 |
248 | jsStrings[String_number] = newIdentifier(QStringLiteral("number"));executed 99074 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99074 |
249 | jsStrings[String_string] = newIdentifier(QStringLiteral("string"));executed 99141 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99141 |
250 | jsStrings[String_default] = newIdentifier(QStringLiteral("default"));executed 99143 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99143 |
251 | jsStrings[String_symbol] = newIdentifier(QStringLiteral("symbol"));executed 99142 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99142 |
252 | jsStrings[String_object] = newIdentifier(QStringLiteral("object"));executed 99153 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99153 |
253 | jsStrings[String_function] = newIdentifier(QStringLiteral("function"));executed 99158 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99158 |
254 | jsStrings[String_length] = newIdentifier(QStringLiteral("length"));executed 99095 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99095 |
255 | jsStrings[String_prototype] = newIdentifier(QStringLiteral("prototype"));executed 99169 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99169 |
256 | jsStrings[String_constructor] = newIdentifier(QStringLiteral("constructor"));executed 99121 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99121 |
257 | jsStrings[String_arguments] = newIdentifier(QStringLiteral("arguments"));executed 99150 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99150 |
258 | jsStrings[String_caller] = newIdentifier(QStringLiteral("caller"));executed 99152 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99152 |
259 | jsStrings[String_callee] = newIdentifier(QStringLiteral("callee"));executed 99162 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99162 |
260 | jsStrings[String_this] = newIdentifier(QStringLiteral("this"));executed 99173 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99173 |
261 | jsStrings[String___proto__] = newIdentifier(QStringLiteral("__proto__"));executed 99176 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99176 |
262 | jsStrings[String_enumerable] = newIdentifier(QStringLiteral("enumerable"));executed 99111 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99111 |
263 | jsStrings[String_configurable] = newIdentifier(QStringLiteral("configurable"));executed 99168 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99168 |
264 | jsStrings[String_writable] = newIdentifier(QStringLiteral("writable"));executed 99141 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99141 |
265 | jsStrings[String_value] = newIdentifier(QStringLiteral("value"));executed 99167 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99167 |
266 | jsStrings[String_get] = newIdentifier(QStringLiteral("get"));executed 99176 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99176 |
267 | jsStrings[String_set] = newIdentifier(QStringLiteral("set"));executed 99175 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99175 |
268 | jsStrings[String_eval] = newIdentifier(QStringLiteral("eval"));executed 99165 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99165 |
269 | jsStrings[String_uintMax] = newIdentifier(QStringLiteral("4294967295"));executed 99169 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99169 |
270 | jsStrings[String_name] = newIdentifier(QStringLiteral("name"));executed 99082 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99082 |
271 | jsStrings[String_index] = newIdentifier(QStringLiteral("index"));executed 99170 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99170 |
272 | jsStrings[String_input] = newIdentifier(QStringLiteral("input"));executed 99089 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99089 |
273 | jsStrings[String_toString] = newIdentifier(QStringLiteral("toString"));executed 99175 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99175 |
274 | jsStrings[String_destroy] = newIdentifier(QStringLiteral("destroy"));executed 99170 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99170 |
275 | jsStrings[String_valueOf] = newIdentifier(QStringLiteral("valueOf"));executed 99076 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99076 |
276 | jsStrings[String_byteLength] = newIdentifier(QStringLiteral("byteLength"));executed 99053 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99053 |
277 | jsStrings[String_byteOffset] = newIdentifier(QStringLiteral("byteOffset"));executed 99158 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99158 |
278 | jsStrings[String_buffer] = newIdentifier(QStringLiteral("buffer"));executed 98899 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98899 |
279 | jsStrings[String_lastIndex] = newIdentifier(QStringLiteral("lastIndex"));executed 99151 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99151 |
280 | jsStrings[String_next] = newIdentifier(QStringLiteral("next"));executed 99060 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99060 |
281 | jsStrings[String_done] = newIdentifier(QStringLiteral("done"));executed 99162 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99162 |
282 | jsStrings[String_return] = newIdentifier(QStringLiteral("return"));executed 99122 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99122 |
283 | | - |
284 | jsSymbols[Symbol_hasInstance] = Symbol::create(this, QStringLiteral("@Symbol.hasInstance"));executed 99166 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99166 |
285 | jsSymbols[Symbol_isConcatSpreadable] = Symbol::create(this, QStringLiteral("@Symbol.isConcatSpreadable"));executed 98618 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98618 |
286 | jsSymbols[Symbol_iterator] = Symbol::create(this, QStringLiteral("@Symbol.iterator"));executed 98989 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98989 |
287 | jsSymbols[Symbol_match] = Symbol::create(this, QStringLiteral("@Symbol.match"));executed 98751 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98751 |
288 | jsSymbols[Symbol_replace] = Symbol::create(this, QStringLiteral("@Symbol.replace"));executed 99136 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99136 |
289 | jsSymbols[Symbol_search] = Symbol::create(this, QStringLiteral("@Symbol.search"));executed 99003 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99003 |
290 | jsSymbols[Symbol_species] = Symbol::create(this, QStringLiteral("@Symbol.species"));executed 99154 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99154 |
291 | jsSymbols[Symbol_split] = Symbol::create(this, QStringLiteral("@Symbol.split"));executed 99159 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99159 |
292 | jsSymbols[Symbol_toPrimitive] = Symbol::create(this, QStringLiteral("@Symbol.toPrimitive"));executed 99141 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99141 |
293 | jsSymbols[Symbol_toStringTag] = Symbol::create(this, QStringLiteral("@Symbol.toStringTag"));executed 99159 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99159 |
294 | jsSymbols[Symbol_unscopables] = Symbol::create(this, QStringLiteral("@Symbol.unscopables"));executed 99147 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99147 |
295 | jsSymbols[Symbol_revokableProxy] = Symbol::create(this, QStringLiteral("@Proxy.revokableProxy"));executed 98986 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98986 |
296 | | - |
297 | ic = newInternalClass(ArrayPrototype::staticVTable(), objectPrototype()); | - |
298 | Q_ASSERT(ic->d()->prototype); | - |
299 | ic = ic->addMember(id_length()->propertyKey(), Attr_NotConfigurable|Attr_NotEnumerable); | - |
300 | Q_ASSERT(ic->d()->prototype); | - |
301 | jsObjects[ArrayProto] = memoryManager->allocObject<ArrayPrototype>(ic->d()); | - |
302 | classes[Class_ArrayObject] = ic->changePrototype(arrayPrototype()->d()); | - |
303 | jsObjects[PropertyListProto] = memoryManager->allocate<PropertyListPrototype>(); | - |
304 | | - |
305 | Scoped<InternalClass> argsClass(scope); | - |
306 | argsClass = newInternalClass(ArgumentsObject::staticVTable(), objectPrototype()); | - |
307 | argsClass = argsClass->addMember(id_length()->propertyKey(), Attr_NotEnumerable); | - |
308 | argsClass = argsClass->addMember(symbol_iterator()->propertyKey(), Attr_Data|Attr_NotEnumerable); | - |
309 | classes[Class_ArgumentsObject] = argsClass->addMember(id_callee()->propertyKey(), Attr_Data|Attr_NotEnumerable); | - |
310 | argsClass = newInternalClass(StrictArgumentsObject::staticVTable(), objectPrototype()); | - |
311 | argsClass = argsClass->addMember(id_length()->propertyKey(), Attr_NotEnumerable); | - |
312 | argsClass = argsClass->addMember(symbol_iterator()->propertyKey(), Attr_Data|Attr_NotEnumerable); | - |
313 | classes[Class_StrictArgumentsObject] = argsClass->addMember(id_callee()->propertyKey(), Attr_Accessor|Attr_NotConfigurable|Attr_NotEnumerable); | - |
314 | | - |
315 | *static_cast<Value *>(globalObject) = newObject(); | - |
316 | Q_ASSERT(globalObject->d()->vtable()); | - |
317 | initRootContext(); | - |
318 | | - |
319 | ic = newInternalClass(QV4::StringObject::staticVTable(), objectPrototype()); | - |
320 | ic = ic->addMember(id_length()->propertyKey(), Attr_ReadOnly); | - |
321 | classes[Class_StringObject] = ic->changePrototype(stringPrototype()->d()); | - |
322 | Q_ASSERT(classes[Class_StringObject]->find(id_length()->propertyKey()) == Heap::StringObject::LengthPropertyIndex); | - |
323 | | - |
324 | classes[Class_SymbolObject] = newInternalClass(QV4::SymbolObject::staticVTable(), symbolPrototype()); | - |
325 | | - |
326 | jsObjects[NumberProto] = memoryManager->allocate<NumberPrototype>(); | - |
327 | jsObjects[BooleanProto] = memoryManager->allocate<BooleanPrototype>(); | - |
328 | jsObjects[DateProto] = memoryManager->allocate<DatePrototype>(); | - |
329 | | - |
330 | uint index; | - |
331 | ic = newInternalClass(QV4::FunctionPrototype::staticVTable(), objectPrototype()); | - |
332 | ic = ic->addMember(id_prototype()->propertyKey(), Attr_NotEnumerable, &index); | - |
333 | Q_ASSERT(index == Heap::FunctionObject::Index_Prototype); | - |
334 | jsObjects[FunctionProto] = memoryManager->allocObject<FunctionPrototype>(ic->d()); | - |
335 | ic = newInternalClass(FunctionObject::staticVTable(), functionPrototype()); | - |
336 | ic = ic->addMember(id_prototype()->propertyKey(), Attr_NotEnumerable|Attr_NotConfigurable, &index); | - |
337 | Q_ASSERT(index == Heap::FunctionObject::Index_Prototype); | - |
338 | classes[Class_FunctionObject] = ic->d(); | - |
339 | ic = ic->addMember(id_name()->propertyKey(), Attr_ReadOnly, &index); | - |
340 | Q_ASSERT(index == Heap::ScriptFunction::Index_Name); | - |
341 | ic = ic->changeVTable(ScriptFunction::staticVTable()); | - |
342 | ic = ic->addMember(id_length()->propertyKey(), Attr_ReadOnly_ButConfigurable, &index); | - |
343 | Q_ASSERT(index == Heap::ScriptFunction::Index_Length); | - |
344 | classes[Class_ScriptFunction] = ic->d(); | - |
345 | ic = ic->changeVTable(ConstructorFunction::staticVTable()); | - |
346 | classes[Class_ConstructorFunction] = ic->d(); | - |
347 | ic = ic->changeVTable(MemberFunction::staticVTable()); | - |
348 | classes[Class_MemberFunction] = ic->d(); | - |
349 | ic = ic->changeVTable(GeneratorFunction::staticVTable()); | - |
350 | classes[Class_MemberFunction] = ic->d(); | - |
351 | ic = ic->changeVTable(GeneratorFunction::staticVTable()); | - |
352 | classes[Class_GeneratorFunction] = ic->d(); | - |
353 | ic = ic->changeVTable(MemberGeneratorFunction::staticVTable()); | - |
354 | classes[Class_MemberGeneratorFunction] = ic->d(); | - |
355 | classes[Class_ObjectProto] = classes[Class_Object]->addMember(id_constructor()->propertyKey(), Attr_NotEnumerable, &index); | - |
356 | Q_ASSERT(index == Heap::FunctionObject::Index_ProtoConstructor); | - |
357 | | - |
358 | jsObjects[GeneratorProto] = memoryManager->allocObject<GeneratorPrototype>(classes[Class_Object]); | - |
359 | classes[Class_GeneratorObject] = newInternalClass(QV4::GeneratorObject::staticVTable(), generatorPrototype()); | - |
360 | | - |
361 | ScopedString str(scope); | - |
362 | classes[Class_RegExp] = classes[Class_Empty]->changeVTable(QV4::RegExp::staticVTable()); | - |
363 | ic = newInternalClass(QV4::RegExpObject::staticVTable(), objectPrototype()); | - |
364 | ic = ic->addMember(id_lastIndex()->propertyKey(), Attr_NotEnumerable|Attr_NotConfigurable, &index); | - |
365 | Q_ASSERT(index == RegExpObject::Index_LastIndex); | - |
366 | ic = ic->addMember((str = newIdentifier(QStringLiteral("source")))->propertyKey(), Attr_ReadOnly, &index);executed 98924 times by 153 tests: return qstring_literal_temp; 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 |
367 | Q_ASSERT(index == RegExpObject::Index_Source); | - |
368 | ic = ic->addMember((str = newIdentifier(QStringLiteral("global")))->propertyKey(), Attr_ReadOnly, &index);executed 99074 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99074 |
369 | Q_ASSERT(index == RegExpObject::Index_Global); | - |
370 | ic = ic->addMember((str = newIdentifier(QStringLiteral("ignoreCase")))->propertyKey(), Attr_ReadOnly, &index);executed 99119 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99119 |
371 | Q_ASSERT(index == RegExpObject::Index_IgnoreCase); | - |
372 | ic = ic->addMember((str = newIdentifier(QStringLiteral("multiline")))->propertyKey(), Attr_ReadOnly, &index);executed 99075 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99075 |
373 | Q_ASSERT(index == RegExpObject::Index_Multiline); | - |
374 | jsObjects[RegExpProto] = memoryManager->allocObject<RegExpPrototype>(ic->d()); | - |
375 | classes[Class_RegExpObject] = ic->changePrototype(regExpPrototype()->d()); | - |
376 | | - |
377 | ic = classes[Class_ArrayObject]->addMember(id_index()->propertyKey(), Attr_Data, &index); | - |
378 | Q_ASSERT(index == RegExpObject::Index_ArrayIndex); | - |
379 | classes[Class_RegExpExecArray] = ic->addMember(id_input()->propertyKey(), Attr_Data, &index); | - |
380 | Q_ASSERT(index == RegExpObject::Index_ArrayInput); | - |
381 | | - |
382 | ic = newInternalClass(ErrorObject::staticVTable(), nullptr); | - |
383 | ic = ic->addMember((str = newIdentifier(QStringLiteral("stack")))->propertyKey(), Attr_Accessor|Attr_NotConfigurable|Attr_NotEnumerable, &index);executed 98899 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98899 |
384 | Q_ASSERT(index == ErrorObject::Index_Stack); | - |
385 | ic = ic->addMember((str = newIdentifier(QStringLiteral("fileName")))->propertyKey(), Attr_Data|Attr_NotEnumerable, &index);executed 99043 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99043 |
386 | Q_ASSERT(index == ErrorObject::Index_FileName); | - |
387 | ic = ic->addMember((str = newIdentifier(QStringLiteral("lineNumber")))->propertyKey(), Attr_Data|Attr_NotEnumerable, &index);executed 99145 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99145 |
388 | classes[Class_ErrorObject] = ic->d(); | - |
389 | Q_ASSERT(index == ErrorObject::Index_LineNumber); | - |
390 | classes[Class_ErrorObjectWithMessage] = ic->addMember((str = newIdentifier(QStringLiteral("message")))->propertyKey(), Attr_Data|Attr_NotEnumerable, &index);executed 99018 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99018 |
391 | Q_ASSERT(index == ErrorObject::Index_Message); | - |
392 | ic = newInternalClass(ErrorObject::staticVTable(), objectPrototype()); | - |
393 | ic = ic->addMember(id_constructor()->propertyKey(), Attr_Data|Attr_NotEnumerable, &index); | - |
394 | Q_ASSERT(index == ErrorPrototype::Index_Constructor); | - |
395 | ic = ic->addMember((str = newIdentifier(QStringLiteral("message")))->propertyKey(), Attr_Data|Attr_NotEnumerable, &index);executed 99111 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99111 |
396 | Q_ASSERT(index == ErrorPrototype::Index_Message); | - |
397 | classes[Class_ErrorProto] = ic->addMember(id_name()->propertyKey(), Attr_Data|Attr_NotEnumerable, &index); | - |
398 | Q_ASSERT(index == ErrorPrototype::Index_Name); | - |
399 | | - |
400 | classes[Class_ProxyObject] = classes[Class_Empty]->changeVTable(ProxyObject::staticVTable()); | - |
401 | | - |
402 | jsObjects[GetStack_Function] = FunctionObject::createBuiltinFunction(this, str = newIdentifier(QStringLiteral("stack")), ErrorObject::method_get_stack, 0);executed 99055 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99055 |
403 | | - |
404 | jsObjects[ErrorProto] = memoryManager->allocObject<ErrorPrototype>(classes[Class_ErrorProto]); | - |
405 | ic = classes[Class_ErrorProto]->changePrototype(errorPrototype()->d()); | - |
406 | jsObjects[EvalErrorProto] = memoryManager->allocObject<EvalErrorPrototype>(ic->d()); | - |
407 | jsObjects[RangeErrorProto] = memoryManager->allocObject<RangeErrorPrototype>(ic->d()); | - |
408 | jsObjects[ReferenceErrorProto] = memoryManager->allocObject<ReferenceErrorPrototype>(ic->d()); | - |
409 | jsObjects[SyntaxErrorProto] = memoryManager->allocObject<SyntaxErrorPrototype>(ic->d()); | - |
410 | jsObjects[TypeErrorProto] = memoryManager->allocObject<TypeErrorPrototype>(ic->d()); | - |
411 | jsObjects[URIErrorProto] = memoryManager->allocObject<URIErrorPrototype>(ic->d()); | - |
412 | | - |
413 | jsObjects[VariantProto] = memoryManager->allocate<VariantPrototype>(); | - |
414 | Q_ASSERT(variantPrototype()->getPrototypeOf() == objectPrototype()->d()); | - |
415 | | - |
416 | #if QT_CONFIG(qml_sequence_object) | - |
417 | ic = newInternalClass(SequencePrototype::staticVTable(), SequencePrototype::defaultPrototype(this)); | - |
418 | jsObjects[SequenceProto] = ScopedValue(scope, memoryManager->allocObject<SequencePrototype>(ic->d())); | - |
419 | #endif | - |
420 | | - |
421 | ExecutionContext *global = rootContext(); | - |
422 | | - |
423 | jsObjects[Object_Ctor] = memoryManager->allocate<ObjectCtor>(global); | - |
424 | jsObjects[String_Ctor] = memoryManager->allocate<StringCtor>(global); | - |
425 | jsObjects[Symbol_Ctor] = memoryManager->allocate<SymbolCtor>(global); | - |
426 | jsObjects[Number_Ctor] = memoryManager->allocate<NumberCtor>(global); | - |
427 | jsObjects[Boolean_Ctor] = memoryManager->allocate<BooleanCtor>(global); | - |
428 | jsObjects[Array_Ctor] = memoryManager->allocate<ArrayCtor>(global); | - |
429 | jsObjects[Function_Ctor] = memoryManager->allocate<FunctionCtor>(global); | - |
430 | jsObjects[GeneratorFunction_Ctor] = memoryManager->allocate<GeneratorFunctionCtor>(global); | - |
431 | jsObjects[Date_Ctor] = memoryManager->allocate<DateCtor>(global); | - |
432 | jsObjects[RegExp_Ctor] = memoryManager->allocate<RegExpCtor>(global); | - |
433 | jsObjects[Error_Ctor] = memoryManager->allocate<ErrorCtor>(global); | - |
434 | jsObjects[EvalError_Ctor] = memoryManager->allocate<EvalErrorCtor>(global); | - |
435 | jsObjects[RangeError_Ctor] = memoryManager->allocate<RangeErrorCtor>(global); | - |
436 | jsObjects[ReferenceError_Ctor] = memoryManager->allocate<ReferenceErrorCtor>(global); | - |
437 | jsObjects[SyntaxError_Ctor] = memoryManager->allocate<SyntaxErrorCtor>(global); | - |
438 | jsObjects[TypeError_Ctor] = memoryManager->allocate<TypeErrorCtor>(global); | - |
439 | jsObjects[URIError_Ctor] = memoryManager->allocate<URIErrorCtor>(global); | - |
440 | jsObjects[IteratorProto] = memoryManager->allocate<IteratorPrototype>(); | - |
441 | jsObjects[ForInIteratorProto] = memoryManager->allocObject<ForInIteratorPrototype>(newInternalClass(ForInIteratorPrototype::staticVTable(), iteratorPrototype())); | - |
442 | jsObjects[MapIteratorProto] = memoryManager->allocObject<MapIteratorPrototype>(newInternalClass(SetIteratorPrototype::staticVTable(), iteratorPrototype())); | - |
443 | jsObjects[SetIteratorProto] = memoryManager->allocObject<SetIteratorPrototype>(newInternalClass(SetIteratorPrototype::staticVTable(), iteratorPrototype())); | - |
444 | jsObjects[ArrayIteratorProto] = memoryManager->allocObject<ArrayIteratorPrototype>(newInternalClass(ArrayIteratorPrototype::staticVTable(), iteratorPrototype())); | - |
445 | jsObjects[StringIteratorProto] = memoryManager->allocObject<StringIteratorPrototype>(newInternalClass(StringIteratorPrototype::staticVTable(), iteratorPrototype())); | - |
446 | | - |
447 | str = newString(QStringLiteral("get [Symbol.species]"));executed 98914 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98914 |
448 | jsObjects[GetSymbolSpecies] = FunctionObject::createBuiltinFunction(this, str, ArrayPrototype::method_get_species, 0); | - |
449 | | - |
450 | static_cast<ObjectPrototype *>(objectPrototype())->init(this, objectCtor()); | - |
451 | static_cast<StringPrototype *>(stringPrototype())->init(this, stringCtor()); | - |
452 | static_cast<SymbolPrototype *>(symbolPrototype())->init(this, symbolCtor()); | - |
453 | static_cast<NumberPrototype *>(numberPrototype())->init(this, numberCtor()); | - |
454 | static_cast<BooleanPrototype *>(booleanPrototype())->init(this, booleanCtor()); | - |
455 | static_cast<ArrayPrototype *>(arrayPrototype())->init(this, arrayCtor()); | - |
456 | static_cast<PropertyListPrototype *>(propertyListPrototype())->init(this); | - |
457 | static_cast<DatePrototype *>(datePrototype())->init(this, dateCtor()); | - |
458 | static_cast<FunctionPrototype *>(functionPrototype())->init(this, functionCtor()); | - |
459 | static_cast<GeneratorPrototype *>(generatorPrototype())->init(this, generatorFunctionCtor()); | - |
460 | static_cast<RegExpPrototype *>(regExpPrototype())->init(this, regExpCtor()); | - |
461 | static_cast<ErrorPrototype *>(errorPrototype())->init(this, errorCtor()); | - |
462 | static_cast<EvalErrorPrototype *>(evalErrorPrototype())->init(this, evalErrorCtor()); | - |
463 | static_cast<RangeErrorPrototype *>(rangeErrorPrototype())->init(this, rangeErrorCtor()); | - |
464 | static_cast<ReferenceErrorPrototype *>(referenceErrorPrototype())->init(this, referenceErrorCtor()); | - |
465 | static_cast<SyntaxErrorPrototype *>(syntaxErrorPrototype())->init(this, syntaxErrorCtor()); | - |
466 | static_cast<TypeErrorPrototype *>(typeErrorPrototype())->init(this, typeErrorCtor()); | - |
467 | static_cast<URIErrorPrototype *>(uRIErrorPrototype())->init(this, uRIErrorCtor()); | - |
468 | | - |
469 | static_cast<IteratorPrototype *>(iteratorPrototype())->init(this); | - |
470 | static_cast<ForInIteratorPrototype *>(forInIteratorPrototype())->init(this); | - |
471 | static_cast<MapIteratorPrototype *>(mapIteratorPrototype())->init(this); | - |
472 | static_cast<SetIteratorPrototype *>(setIteratorPrototype())->init(this); | - |
473 | static_cast<ArrayIteratorPrototype *>(arrayIteratorPrototype())->init(this); | - |
474 | static_cast<StringIteratorPrototype *>(stringIteratorPrototype())->init(this); | - |
475 | | - |
476 | static_cast<VariantPrototype *>(variantPrototype())->init(); | - |
477 | | - |
478 | #if QT_CONFIG(qml_sequence_object) | - |
479 | sequencePrototype()->cast<SequencePrototype>()->init(); | - |
480 | #endif | - |
481 | | - |
482 | jsObjects[Map_Ctor] = memoryManager->allocate<MapCtor>(global); | - |
483 | jsObjects[MapProto] = memoryManager->allocate<MapPrototype>(); | - |
484 | static_cast<MapPrototype *>(mapPrototype())->init(this, mapCtor()); | - |
485 | | - |
486 | jsObjects[Set_Ctor] = memoryManager->allocate<SetCtor>(global); | - |
487 | jsObjects[SetProto] = memoryManager->allocate<SetPrototype>(); | - |
488 | static_cast<SetPrototype *>(setPrototype())->init(this, setCtor()); | - |
489 | | - |
490 | | - |
491 | | - |
492 | jsObjects[ArrayBuffer_Ctor] = memoryManager->allocate<ArrayBufferCtor>(global); | - |
493 | jsObjects[ArrayBufferProto] = memoryManager->allocate<ArrayBufferPrototype>(); | - |
494 | static_cast<ArrayBufferPrototype *>(arrayBufferPrototype())->init(this, arrayBufferCtor()); | - |
495 | | - |
496 | jsObjects[DataView_Ctor] = memoryManager->allocate<DataViewCtor>(global); | - |
497 | jsObjects[DataViewProto] = memoryManager->allocate<DataViewPrototype>(); | - |
498 | static_cast<DataViewPrototype *>(dataViewPrototype())->init(this, dataViewCtor()); | - |
499 | jsObjects[ValueTypeProto] = (Heap::Base *) nullptr; | - |
500 | jsObjects[SignalHandlerProto] = (Heap::Base *) nullptr; | - |
501 | | - |
502 | jsObjects[IntrinsicTypedArray_Ctor] = memoryManager->allocate<IntrinsicTypedArrayCtor>(global); | - |
503 | jsObjects[IntrinsicTypedArrayProto] = memoryManager->allocate<IntrinsicTypedArrayPrototype>(); | - |
504 | static_cast<IntrinsicTypedArrayPrototype *>(intrinsicTypedArrayPrototype()) | - |
505 | ->init(this, static_cast<IntrinsicTypedArrayCtor *>(intrinsicTypedArrayCtor())); | - |
506 | | - |
507 | for (int i = 0; i < Heap::TypedArray::NTypes; ++i) {TRUE | evaluated 890521 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 99104 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
- ...
|
| 99104-890521 |
508 | static_cast<Value &>(typedArrayCtors[i]) = memoryManager->allocate<TypedArrayCtor>(global, Heap::TypedArray::Type(i)); | - |
509 | static_cast<Value &>(typedArrayPrototype[i]) = memoryManager->allocate<TypedArrayPrototype>(Heap::TypedArray::Type(i)); | - |
510 | typedArrayPrototype[i].as<TypedArrayPrototype>()->init(this, static_cast<TypedArrayCtor *>(typedArrayCtors[i].as<Object>())); | - |
511 | }executed 890887 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
- ...
| 890887 |
512 | | - |
513 | | - |
514 | | - |
515 | | - |
516 | rootContext()->d()->activation.set(scope.engine, globalObject->d()); | - |
517 | Q_ASSERT(globalObject->d()->vtable()); | - |
518 | | - |
519 | globalObject->defineDefaultProperty(QStringLiteral("Object"), *objectCtor());executed 98496 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98496 |
520 | globalObject->defineDefaultProperty(QStringLiteral("String"), *stringCtor());executed 98193 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98193 |
521 | globalObject->defineDefaultProperty(QStringLiteral("Symbol"), *symbolCtor());executed 98676 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98676 |
522 | FunctionObject *numberObject = numberCtor(); | - |
523 | globalObject->defineDefaultProperty(QStringLiteral("Number"), *numberObject);executed 98597 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98597 |
524 | globalObject->defineDefaultProperty(QStringLiteral("Boolean"), *booleanCtor());executed 98636 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98636 |
525 | globalObject->defineDefaultProperty(QStringLiteral("Array"), *arrayCtor());executed 98573 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98573 |
526 | globalObject->defineDefaultProperty(QStringLiteral("Function"), *functionCtor());executed 98744 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98744 |
527 | globalObject->defineDefaultProperty(QStringLiteral("Date"), *dateCtor());executed 98822 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98822 |
528 | globalObject->defineDefaultProperty(QStringLiteral("RegExp"), *regExpCtor());executed 98727 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98727 |
529 | globalObject->defineDefaultProperty(QStringLiteral("Error"), *errorCtor());executed 98659 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98659 |
530 | globalObject->defineDefaultProperty(QStringLiteral("EvalError"), *evalErrorCtor());executed 98045 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98045 |
531 | globalObject->defineDefaultProperty(QStringLiteral("RangeError"), *rangeErrorCtor());executed 98698 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98698 |
532 | globalObject->defineDefaultProperty(QStringLiteral("ReferenceError"), *referenceErrorCtor());executed 98753 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98753 |
533 | globalObject->defineDefaultProperty(QStringLiteral("SyntaxError"), *syntaxErrorCtor());executed 98620 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98620 |
534 | globalObject->defineDefaultProperty(QStringLiteral("TypeError"), *typeErrorCtor());executed 98862 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98862 |
535 | globalObject->defineDefaultProperty(QStringLiteral("URIError"), *uRIErrorCtor());executed 98850 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98850 |
536 | | - |
537 | globalObject->defineDefaultProperty(QStringLiteral("ArrayBuffer"), *arrayBufferCtor());executed 98786 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98786 |
538 | globalObject->defineDefaultProperty(QStringLiteral("DataView"), *dataViewCtor());executed 98564 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98564 |
539 | globalObject->defineDefaultProperty(QStringLiteral("Set"), *setCtor());executed 99071 times by 153 tests: return qstring_literal_temp; 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
- ...
| 99071 |
540 | globalObject->defineDefaultProperty(QStringLiteral("Map"), *mapCtor());executed 98714 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98714 |
541 | | - |
542 | for (int i = 0; i < Heap::TypedArray::NTypes; ++i)TRUE | evaluated 891740 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 98559 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
- ...
|
| 98559-891740 |
543 | globalObject->defineDefaultProperty((str = typedArrayCtors[i].as<FunctionObject>()->name())->toQString(), typedArrayCtors[i]);executed 892129 times by 153 tests: globalObject->defineDefaultProperty((str = typedArrayCtors[i].as<FunctionObject>()->name())->toQString(), typedArrayCtors[i]); 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
- ...
| 892129 |
544 | ScopedObject o(scope); | - |
545 | globalObject->defineDefaultProperty(QStringLiteral("Math"), (o = memoryManager->allocate<MathObject>()));executed 98253 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98253 |
546 | globalObject->defineDefaultProperty(QStringLiteral("JSON"), (o = memoryManager->allocate<JsonObject>()));executed 98746 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98746 |
547 | globalObject->defineDefaultProperty(QStringLiteral("Reflect"), (o = memoryManager->allocate<Reflect>()));executed 98542 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98542 |
548 | globalObject->defineDefaultProperty(QStringLiteral("Proxy"), (o = memoryManager->allocate<Proxy>(rootContext())));executed 98178 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98178 |
549 | | - |
550 | globalObject->defineReadonlyProperty(QStringLiteral("undefined"), Primitive::undefinedValue());executed 98110 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98110 |
551 | globalObject->defineReadonlyProperty(QStringLiteral("NaN"), Primitive::fromDouble(std::numeric_limits<double>::quiet_NaN()));executed 97886 times by 153 tests: return qstring_literal_temp; 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
- ...
| 97886 |
552 | globalObject->defineReadonlyProperty(QStringLiteral("Infinity"), Primitive::fromDouble(Q_INFINITY));executed 98703 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98703 |
553 | | - |
554 | | - |
555 | jsObjects[Eval_Function] = memoryManager->allocate<EvalFunction>(global); | - |
556 | globalObject->defineDefaultProperty(QStringLiteral("eval"), *evalFunction());executed 98330 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98330 |
557 | | - |
558 | | - |
559 | | - |
560 | | - |
561 | { | - |
562 | QString piString(QStringLiteral("parseInt"));executed 98716 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98716 |
563 | QString pfString(QStringLiteral("parseFloat"));executed 98588 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98588 |
564 | Scope scope(this); | - |
565 | ScopedString pi(scope, newIdentifier(piString)); | - |
566 | ScopedString pf(scope, newIdentifier(pfString)); | - |
567 | ScopedFunctionObject parseIntFn(scope, FunctionObject::createBuiltinFunction(this, pi, GlobalFunctions::method_parseInt, 2)); | - |
568 | ScopedFunctionObject parseFloatFn(scope, FunctionObject::createBuiltinFunction(this, pf, GlobalFunctions::method_parseFloat, 1)); | - |
569 | globalObject->defineDefaultProperty(piString, parseIntFn); | - |
570 | globalObject->defineDefaultProperty(pfString, parseFloatFn); | - |
571 | numberObject->defineDefaultProperty(piString, parseIntFn); | - |
572 | numberObject->defineDefaultProperty(pfString, parseFloatFn); | - |
573 | } | - |
574 | | - |
575 | globalObject->defineDefaultProperty(QStringLiteral("isNaN"), GlobalFunctions::method_isNaN, 1);executed 98848 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98848 |
576 | globalObject->defineDefaultProperty(QStringLiteral("isFinite"), GlobalFunctions::method_isFinite, 1);executed 98918 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98918 |
577 | globalObject->defineDefaultProperty(QStringLiteral("decodeURI"), GlobalFunctions::method_decodeURI, 1);executed 98879 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98879 |
578 | globalObject->defineDefaultProperty(QStringLiteral("decodeURIComponent"), GlobalFunctions::method_decodeURIComponent, 1);executed 98898 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98898 |
579 | globalObject->defineDefaultProperty(QStringLiteral("encodeURI"), GlobalFunctions::method_encodeURI, 1);executed 98789 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98789 |
580 | globalObject->defineDefaultProperty(QStringLiteral("encodeURIComponent"), GlobalFunctions::method_encodeURIComponent, 1);executed 98886 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98886 |
581 | globalObject->defineDefaultProperty(QStringLiteral("escape"), GlobalFunctions::method_escape, 1);executed 98933 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98933 |
582 | globalObject->defineDefaultProperty(QStringLiteral("unescape"), GlobalFunctions::method_unescape, 1);executed 98846 times by 153 tests: return qstring_literal_temp; 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
- ...
| 98846 |
583 | | - |
584 | ScopedFunctionObject t(scope, memoryManager->allocate<FunctionObject>(rootContext(), nullptr, ::throwTypeError)); | - |
585 | t->defineReadonlyProperty(id_length(), Primitive::fromInt32(0)); | - |
586 | t->setInternalClass(t->internalClass()->frozen()); | - |
587 | jsObjects[ThrowerObject] = t; | - |
588 | | - |
589 | ScopedProperty pd(scope); | - |
590 | pd->value = thrower(); | - |
591 | pd->set = thrower(); | - |
592 | functionPrototype()->insertMember(id_caller(), pd, Attr_Accessor|Attr_ReadOnly_ButConfigurable); | - |
593 | functionPrototype()->insertMember(id_arguments(), pd, Attr_Accessor|Attr_ReadOnly_ButConfigurable); | - |
594 | }executed 99050 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
- ...
| 99050 |
595 | | - |
596 | ExecutionEngine::~ExecutionEngine() | - |
597 | { | - |
598 | delete m_multiplyWrappedQObjects; | - |
599 | m_multiplyWrappedQObjects = nullptr; | - |
600 | delete identifierTable; | - |
601 | delete memoryManager; | - |
602 | | - |
603 | while (!compilationUnits.isEmpty())TRUE | evaluated 49700 times by 133 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 99194 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
- ...
|
| 49700-99194 |
604 | (*compilationUnits.begin())->unlink();executed 49700 times by 133 tests: (*compilationUnits.begin())->unlink(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 49700 |
605 | | - |
606 | delete bumperPointerAllocator; | - |
607 | delete regExpCache; | - |
608 | delete regExpAllocator; | - |
609 | delete executableAllocator; | - |
610 | jsStack->deallocate(); | - |
611 | delete jsStack; | - |
612 | gcStack->deallocate(); | - |
613 | delete gcStack; | - |
614 | delete [] argumentsAccessors; | - |
615 | }executed 99170 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
- ...
| 99170 |
616 | | - |
617 | ExecutionContext *ExecutionEngine::currentContext() const | - |
618 | { | - |
619 | return static_cast<ExecutionContext *>(¤tStackFrame->jsFrame->context);executed 7424213 times by 132 tests: return static_cast<ExecutionContext *>(¤tStackFrame->jsFrame->context); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- 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
- ...
| 7424213 |
620 | } | - |
621 | | - |
622 | #if QT_CONFIG(qml_debug) | - |
623 | void ExecutionEngine::setDebugger(Debugging::Debugger *debugger) | - |
624 | { | - |
625 | Q_ASSERT(!m_debugger); | - |
626 | m_debugger.reset(debugger); | - |
627 | }executed 110 times by 3 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmlnativeconnector
- tst_qv4debugger
| 110 |
628 | | - |
629 | void ExecutionEngine::setProfiler(Profiling::Profiler *profiler) | - |
630 | { | - |
631 | Q_ASSERT(!m_profiler); | - |
632 | m_profiler.reset(profiler); | - |
633 | }executed 32 times by 3 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlprofilerservice
| 32 |
634 | #endif // QT_CONFIG(qml_debug) | - |
635 | | - |
636 | void ExecutionEngine::initRootContext() | - |
637 | { | - |
638 | Scope scope(this); | - |
639 | Scoped<ExecutionContext> r(scope, memoryManager->allocManaged<ExecutionContext>(sizeof(ExecutionContext::Data))); | - |
640 | r->d_unchecked()->init(Heap::ExecutionContext::Type_GlobalContext); | - |
641 | r->d()->activation.set(this, globalObject->d()); | - |
642 | jsObjects[RootContext] = r; | - |
643 | jsObjects[ScriptContext] = r; | - |
644 | jsObjects[IntegerNull] = Encode((int)0); | - |
645 | }executed 98945 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
- ...
| 98945 |
646 | | - |
647 | Heap::InternalClass *ExecutionEngine::newClass(Heap::InternalClass *other) | - |
648 | { | - |
649 | Heap::InternalClass *ic = memoryManager->allocIC<InternalClass>(); | - |
650 | ic->init(other); | - |
651 | return ic;executed 72187197 times by 153 tests: return ic; 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
- ...
| 72187197 |
652 | } | - |
653 | | - |
654 | Heap::InternalClass *ExecutionEngine::newInternalClass(const VTable *vtable, Object *prototype) | - |
655 | { | - |
656 | Scope scope(this); | - |
657 | Scoped<InternalClass> ic(scope, internalClasses(Class_Empty)->changeVTable(vtable)); | - |
658 | return ic->changePrototype(prototype ? prototype->d() : nullptr);executed 1905106 times by 153 tests: return ic->changePrototype(prototype ? prototype->d() : 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
- ...
| 1905106 |
659 | } | - |
660 | | - |
661 | Heap::Object *ExecutionEngine::newObject() | - |
662 | { | - |
663 | return memoryManager->allocate<Object>();executed 246344 times by 153 tests: return memoryManager->allocate<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
- ...
| 246344 |
664 | } | - |
665 | | - |
666 | Heap::Object *ExecutionEngine::newObject(Heap::InternalClass *internalClass) | - |
667 | { | - |
668 | return memoryManager->allocObject<Object>(internalClass);executed 1696526 times by 153 tests: return memoryManager->allocObject<Object>(internalClass); 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
- ...
| 1696526 |
669 | } | - |
670 | | - |
671 | Heap::String *ExecutionEngine::newString(const QString &s) | - |
672 | { | - |
673 | return memoryManager->allocWithStringData<String>(s.length() * sizeof(QChar), s);executed 89205071 times by 153 tests: return memoryManager->allocWithStringData<String>(s.length() * sizeof(QChar), s); 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
- ...
| 89205071 |
674 | } | - |
675 | | - |
676 | Heap::String *ExecutionEngine::newIdentifier(const QString &text) | - |
677 | { | - |
678 | Scope scope(this); | - |
679 | ScopedString s(scope, memoryManager->allocWithStringData<String>(text.length() * sizeof(QChar), text)); | - |
680 | s->toPropertyKey(); | - |
681 | return s->d();executed 46828501 times by 153 tests: return s->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
- ...
| 46828501 |
682 | } | - |
683 | | - |
684 | Heap::Object *ExecutionEngine::newStringObject(const String *string) | - |
685 | { | - |
686 | return memoryManager->allocate<StringObject>(string);executed 48312 times by 14 tests: return memoryManager->allocate<StringObject>(string); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmltranslation
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
- tst_testfiltering
| 48312 |
687 | } | - |
688 | | - |
689 | Heap::Object *ExecutionEngine::newSymbolObject(const Symbol *symbol) | - |
690 | { | - |
691 | return memoryManager->allocObject<SymbolObject>(classes[Class_SymbolObject], symbol);executed 106 times by 1 test: return memoryManager->allocObject<SymbolObject>(classes[Class_SymbolObject], symbol); | 106 |
692 | } | - |
693 | | - |
694 | Heap::Object *ExecutionEngine::newNumberObject(double value) | - |
695 | { | - |
696 | return memoryManager->allocate<NumberObject>(value);executed 5744 times by 10 tests: return memoryManager->allocate<NumberObject>(value); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qv4debugger
| 5744 |
697 | } | - |
698 | | - |
699 | Heap::Object *ExecutionEngine::newBooleanObject(bool b) | - |
700 | { | - |
701 | return memoryManager->allocate<BooleanObject>(b);executed 3188 times by 2 tests: return memoryManager->allocate<BooleanObject>(b); Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 3188 |
702 | } | - |
703 | | - |
704 | Heap::ArrayObject *ExecutionEngine::newArrayObject(int count) | - |
705 | { | - |
706 | Scope scope(this); | - |
707 | ScopedArrayObject object(scope, memoryManager->allocate<ArrayObject>()); | - |
708 | | - |
709 | if (count) {TRUE | evaluated 357 times by 14 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 26190 times by 34 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
| 357-26190 |
710 | if (count < 0x1000)TRUE | evaluated 357 times by 14 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | never evaluated |
| 0-357 |
711 | object->arrayReserve(count);executed 357 times by 14 tests: object->arrayReserve(count); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 357 |
712 | object->setArrayLengthUnchecked(count); | - |
713 | }executed 357 times by 14 tests: end of block Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
| 357 |
714 | return object->d();executed 26554 times by 38 tests: return object->d(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| 26554 |
715 | } | - |
716 | | - |
717 | Heap::ArrayObject *ExecutionEngine::newArrayObject(const Value *values, int length) | - |
718 | { | - |
719 | Scope scope(this); | - |
720 | ScopedArrayObject a(scope, memoryManager->allocate<ArrayObject>()); | - |
721 | | - |
722 | if (length) {TRUE | evaluated 43192 times by 39 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgridview
- ...
| FALSE | evaluated 9577 times by 23 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickscreen
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_signalspy
- tst_testfiltering
|
| 9577-43192 |
723 | size_t size = sizeof(Heap::ArrayData) + (length-1)*sizeof(Value); | - |
724 | Heap::SimpleArrayData *d = scope.engine->memoryManager->allocManaged<SimpleArrayData>(size); | - |
725 | d->init(); | - |
726 | d->type = Heap::ArrayData::Simple; | - |
727 | d->offset = 0; | - |
728 | d->values.alloc = length; | - |
729 | d->values.size = length; | - |
730 | | - |
731 | | - |
732 | memcpy(&d->values.values, values, length*sizeof(Value)); | - |
733 | a->d()->arrayData.set(this, d); | - |
734 | a->setArrayLengthUnchecked(length); | - |
735 | }executed 43198 times by 39 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgridview
- ...
| 43198 |
736 | return a->d();executed 52794 times by 45 tests: return a->d(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
| 52794 |
737 | } | - |
738 | | - |
739 | Heap::ArrayObject *ExecutionEngine::newArrayObject(const QStringList &list) | - |
740 | { | - |
741 | return memoryManager->allocate<ArrayObject>(list);executed 8 times by 1 test: return memoryManager->allocate<ArrayObject>(list); | 8 |
742 | } | - |
743 | | - |
744 | Heap::ArrayObject *ExecutionEngine::newArrayObject(Heap::InternalClass *internalClass) | - |
745 | { | - |
746 | return memoryManager->allocObject<ArrayObject>(internalClass);executed 5519 times by 2 tests: return memoryManager->allocObject<ArrayObject>(internalClass); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 5519 |
747 | } | - |
748 | | - |
749 | Heap::ArrayBuffer *ExecutionEngine::newArrayBuffer(const QByteArray &array) | - |
750 | { | - |
751 | return memoryManager->allocate<ArrayBuffer>(array);executed 6 times by 3 tests: return memoryManager->allocate<ArrayBuffer>(array); Executed by:- tst_qjsvalue
- tst_qqmlxmlhttprequest
- tst_qquickdroparea
| 6 |
752 | } | - |
753 | | - |
754 | Heap::ArrayBuffer *ExecutionEngine::newArrayBuffer(size_t length) | - |
755 | { | - |
756 | return memoryManager->allocate<ArrayBuffer>(length);executed 21480 times by 2 tests: return memoryManager->allocate<ArrayBuffer>(length); Executed by:- tst_ecmascripttests
- tst_qqmlxmlhttprequest
| 21480 |
757 | } | - |
758 | | - |
759 | | - |
760 | Heap::DateObject *ExecutionEngine::newDateObject(const Value &value) | - |
761 | { | - |
762 | return memoryManager->allocate<DateObject>(value);executed 38083 times by 9 tests: return memoryManager->allocate<DateObject>(value); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| 38083 |
763 | } | - |
764 | | - |
765 | Heap::DateObject *ExecutionEngine::newDateObject(const QDateTime &dt) | - |
766 | { | - |
767 | Scope scope(this); | - |
768 | Scoped<DateObject> object(scope, memoryManager->allocate<DateObject>(dt)); | - |
769 | return object->d();executed 48510 times by 9 tests: return object->d(); Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| 48510 |
770 | } | - |
771 | | - |
772 | Heap::DateObject *ExecutionEngine::newDateObjectFromTime(const QTime &t) | - |
773 | { | - |
774 | Scope scope(this); | - |
775 | Scoped<DateObject> object(scope, memoryManager->allocate<DateObject>(t)); | - |
776 | return object->d();executed 22 times by 1 test: return object->d(); | 22 |
777 | } | - |
778 | | - |
779 | Heap::RegExpObject *ExecutionEngine::newRegExpObject(const QString &pattern, int flags) | - |
780 | { | - |
781 | bool global = (flags & QV4::CompiledData::RegExp::RegExp_Global); | - |
782 | bool ignoreCase = (flags & QV4::CompiledData::RegExp::RegExp_IgnoreCase); | - |
783 | bool multiline = (flags & QV4::CompiledData::RegExp::RegExp_Multiline); | - |
784 | | - |
785 | Scope scope(this); | - |
786 | Scoped<RegExp> re(scope, RegExp::create(this, pattern, ignoreCase, multiline, global)); | - |
787 | return newRegExpObject(re);executed 4 times by 1 test: return newRegExpObject(re); | 4 |
788 | } | - |
789 | | - |
790 | Heap::RegExpObject *ExecutionEngine::newRegExpObject(RegExp *re) | - |
791 | { | - |
792 | return memoryManager->allocate<RegExpObject>(re);executed 1054912 times by 9 tests: return memoryManager->allocate<RegExpObject>(re); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
- tst_qquicklistview
- tst_qquicktextinput
- tst_qquickworkerscript
| 1054912 |
793 | } | - |
794 | | - |
795 | Heap::RegExpObject *ExecutionEngine::newRegExpObject(const QRegExp &re) | - |
796 | { | - |
797 | return memoryManager->allocate<RegExpObject>(re);executed 62 times by 4 tests: return memoryManager->allocate<RegExpObject>(re); Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qquicktextinput
- tst_qquickworkerscript
| 62 |
798 | } | - |
799 | | - |
800 | Heap::Object *ExecutionEngine::newErrorObject(const Value &value) | - |
801 | { | - |
802 | return ErrorObject::create<ErrorObject>(this, value);executed 831 times by 13 tests: return ErrorObject::create<ErrorObject>(this, value); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qtqmlmodules
| 831 |
803 | } | - |
804 | | - |
805 | Heap::Object *ExecutionEngine::newSyntaxErrorObject(const QString &message) | - |
806 | { | - |
807 | return ErrorObject::create<SyntaxErrorObject>(this, message);executed 3906 times by 2 tests: return ErrorObject::create<SyntaxErrorObject>(this, message); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 3906 |
808 | } | - |
809 | | - |
810 | Heap::Object *ExecutionEngine::newSyntaxErrorObject(const QString &message, const QString &fileName, int line, int column) | - |
811 | { | - |
812 | return ErrorObject::create<SyntaxErrorObject>(this, message, fileName, line, column);executed 5972 times by 7 tests: return ErrorObject::create<SyntaxErrorObject>(this, message, fileName, line, column); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 5972 |
813 | } | - |
814 | | - |
815 | | - |
816 | Heap::Object *ExecutionEngine::newReferenceErrorObject(const QString &message) | - |
817 | { | - |
818 | return ErrorObject::create<ReferenceErrorObject>(this, message);executed 7624 times by 16 tests: return ErrorObject::create<ReferenceErrorObject>(this, message); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| 7624 |
819 | } | - |
820 | | - |
821 | Heap::Object *ExecutionEngine::newReferenceErrorObject(const QString &message, const QString &fileName, int line, int column) | - |
822 | { | - |
823 | return ErrorObject::create<ReferenceErrorObject>(this, message, fileName, line, column);executed 54 times by 3 tests: return ErrorObject::create<ReferenceErrorObject>(this, message, fileName, line, column); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 54 |
824 | } | - |
825 | | - |
826 | | - |
827 | Heap::Object *ExecutionEngine::newTypeErrorObject(const QString &message) | - |
828 | { | - |
829 | return ErrorObject::create<TypeErrorObject>(this, message);executed 31102 times by 16 tests: return ErrorObject::create<TypeErrorObject>(this, message); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmltypeloader
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickvisualdatamodel
| 31102 |
830 | } | - |
831 | | - |
832 | Heap::Object *ExecutionEngine::newRangeErrorObject(const QString &message) | - |
833 | { | - |
834 | return ErrorObject::create<RangeErrorObject>(this, message);executed 1340 times by 3 tests: return ErrorObject::create<RangeErrorObject>(this, message); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 1340 |
835 | } | - |
836 | | - |
837 | Heap::Object *ExecutionEngine::newURIErrorObject(const Value &message) | - |
838 | { | - |
839 | return ErrorObject::create<URIErrorObject>(this, message);executed 4257848 times by 1 test: return ErrorObject::create<URIErrorObject>(this, message); | 4257848 |
840 | } | - |
841 | | - |
842 | Heap::Object *ExecutionEngine::newVariantObject(const QVariant &v) | - |
843 | { | - |
844 | return memoryManager->allocate<VariantObject>(v);executed 29803 times by 56 tests: return memoryManager->allocate<VariantObject>(v); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 29803 |
845 | } | - |
846 | | - |
847 | Heap::Object *ExecutionEngine::newForInIteratorObject(Object *o) | - |
848 | { | - |
849 | Scope scope(this); | - |
850 | ScopedObject obj(scope, memoryManager->allocate<ForInIteratorObject>(o)); | - |
851 | return obj->d();executed 9112 times by 14 tests: return obj->d(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalueiterator
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 9112 |
852 | } | - |
853 | | - |
854 | Heap::Object *ExecutionEngine::newMapIteratorObject(Object *o) | - |
855 | { | - |
856 | return memoryManager->allocate<MapIteratorObject>(o->d(), this);executed 140 times by 1 test: return memoryManager->allocate<MapIteratorObject>(o->d(), this); | 140 |
857 | } | - |
858 | | - |
859 | Heap::Object *ExecutionEngine::newSetIteratorObject(Object *o) | - |
860 | { | - |
861 | return memoryManager->allocate<SetIteratorObject>(o->d(), this);executed 125 times by 1 test: return memoryManager->allocate<SetIteratorObject>(o->d(), this); | 125 |
862 | } | - |
863 | | - |
864 | Heap::Object *ExecutionEngine::newArrayIteratorObject(Object *o) | - |
865 | { | - |
866 | return memoryManager->allocate<ArrayIteratorObject>(o->d(), this);executed 10978 times by 1 test: return memoryManager->allocate<ArrayIteratorObject>(o->d(), this); | 10978 |
867 | } | - |
868 | | - |
869 | Heap::QmlContext *ExecutionEngine::qmlContext() const | - |
870 | { | - |
871 | if (!currentStackFrame)TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qqmlcontext
| FALSE | evaluated 5840394 times by 130 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
| 32-5840394 |
872 | return nullptr;executed 32 times by 2 tests: return nullptr; Executed by:- tst_qjsengine
- tst_qqmlcontext
| 32 |
873 | Heap::ExecutionContext *ctx = currentContext()->d(); | - |
874 | | - |
875 | if (ctx->type != Heap::ExecutionContext::Type_QmlContext && !ctx->outer)TRUE | evaluated 22946 times by 25 testsEvaluated by:- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
| FALSE | evaluated 5817448 times by 126 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
|
TRUE | evaluated 686 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 22260 times by 23 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
|
| 686-5817448 |
876 | return nullptr;executed 686 times by 3 tests: return nullptr; Executed by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlecmascript
| 686 |
877 | | - |
878 | while (ctx->outer && ctx->outer->type != Heap::ExecutionContext::Type_GlobalContext)TRUE | evaluated 22618 times by 23 testsEvaluated by:- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
| FALSE | evaluated 5839708 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
| 22618-5839708 |
879 | ctx = ctx->outer;executed 22618 times by 23 tests: ctx = ctx->outer; Executed by:- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
| 22618 |
880 | | - |
881 | Q_ASSERT(ctx); | - |
882 | if (ctx->type != Heap::ExecutionContext::Type_QmlContext)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 5839704 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
| 4-5839704 |
883 | return nullptr;executed 4 times by 1 test: return nullptr; | 4 |
884 | | - |
885 | return static_cast<Heap::QmlContext *>(ctx);executed 5839704 times by 128 tests: return static_cast<Heap::QmlContext *>(ctx); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 5839704 |
886 | } | - |
887 | | - |
888 | QObject *ExecutionEngine::qmlScopeObject() const | - |
889 | { | - |
890 | Heap::QmlContext *ctx = qmlContext(); | - |
891 | if (!ctx)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
892 | return nullptr; never executed: return nullptr; | 0 |
893 | | - |
894 | return ctx->qml()->scopeObject; never executed: return ctx->qml()->scopeObject; | 0 |
895 | } | - |
896 | | - |
897 | QQmlContextData *ExecutionEngine::callingQmlContext() const | - |
898 | { | - |
899 | Heap::QmlContext *ctx = qmlContext(); | - |
900 | if (!ctx)TRUE | evaluated 720 times by 5 testsEvaluated by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| FALSE | evaluated 4694312 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
| 720-4694312 |
901 | return nullptr;executed 720 times by 5 tests: return nullptr; Executed by:- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| 720 |
902 | | - |
903 | return ctx->qml()->context->contextData();executed 4694312 times by 128 tests: return ctx->qml()->context->contextData(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 4694312 |
904 | } | - |
905 | | - |
906 | StackTrace ExecutionEngine::stackTrace(int frameLimit) const | - |
907 | { | - |
908 | Scope scope(const_cast<ExecutionEngine *>(this)); | - |
909 | ScopedString name(scope); | - |
910 | StackTrace stack; | - |
911 | | - |
912 | CppStackFrame *f = currentStackFrame; | - |
913 | while (f && frameLimit) {TRUE | evaluated 4520837 times by 32 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 4483273 times by 31 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
TRUE | evaluated 4582176 times by 32 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 3752 times by 4 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_qv4debugger
|
| 3752-4582176 |
914 | QV4::StackFrame frame; | - |
915 | frame.source = f->source(); | - |
916 | frame.function = f->function(); | - |
917 | frame.line = qAbs(f->lineNumber()); | - |
918 | frame.column = -1; | - |
919 | stack.append(frame); | - |
920 | --frameLimit; | - |
921 | f = f->parent; | - |
922 | }executed 4505347 times by 32 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 4505347 |
923 | | - |
924 | return stack;executed 4481092 times by 32 tests: return stack; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 4481092 |
925 | } | - |
926 | | - |
927 | | - |
928 | | - |
929 | | - |
930 | | - |
931 | | - |
932 | | - |
933 | | - |
934 | static inline char *v4StackTrace(const ExecutionContext *context) | - |
935 | { | - |
936 | QString result; | - |
937 | QTextStream str(&result); | - |
938 | str << "stack=["; | - |
939 | if (context && context->engine()) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
940 | const QVector<StackFrame> stackTrace = context->engine()->stackTrace(20); | - |
941 | for (int i = 0; i < stackTrace.size(); ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
942 | if (i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
943 | str << ','; never executed: str << ','; | 0 |
944 | const QUrl url(stackTrace.at(i).source); | - |
945 | const QString fileName = url.isLocalFile() ? url.toLocalFile() : url.toString();TRUE | never evaluated | FALSE | never evaluated |
| 0 |
946 | str << "frame={level=\"" << i << "\",func=\"" << stackTrace.at(i).function | - |
947 | << "\",file=\"" << fileName << "\",fullname=\"" << fileName | - |
948 | << "\",line=\"" << stackTrace.at(i).line << "\",language=\"js\"}"; | - |
949 | } never executed: end of block | 0 |
950 | } never executed: end of block | 0 |
951 | str << ']'; | - |
952 | return qstrdup(result.toLocal8Bit().constData()); never executed: return qstrdup(result.toLocal8Bit().constData()); | 0 |
953 | } | - |
954 | | - |
955 | extern "C" Q_QML_EXPORT char *qt_v4StackTrace(void *executionContext) | - |
956 | { | - |
957 | return v4StackTrace(reinterpret_cast<const ExecutionContext *>(executionContext)); never executed: return v4StackTrace(reinterpret_cast<const ExecutionContext *>(executionContext)); | 0 |
958 | } | - |
959 | | - |
960 | QUrl ExecutionEngine::resolvedUrl(const QString &file) | - |
961 | { | - |
962 | QUrl src(file); | - |
963 | if (!src.isRelative())TRUE | evaluated 6 times by 1 test | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
|
| 6-24 |
964 | return src;executed 6 times by 1 test: return src; | 6 |
965 | | - |
966 | QUrl base; | - |
967 | CppStackFrame *f = currentStackFrame; | - |
968 | while (f) {TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
| FALSE | never evaluated |
| 0-24 |
969 | if (f->v4Function) {TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
| FALSE | never evaluated |
| 0-24 |
970 | base = f->v4Function->finalUrl(); | - |
971 | break;executed 24 times by 3 tests: break; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
| 24 |
972 | } | - |
973 | f = f->parent; | - |
974 | } never executed: end of block | 0 |
975 | | - |
976 | if (base.isEmpty() && globalCode)TRUE | never evaluated | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-24 |
977 | base = globalCode->finalUrl(); never executed: base = globalCode->finalUrl(); | 0 |
978 | | - |
979 | if (base.isEmpty())TRUE | never evaluated | FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
|
| 0-24 |
980 | return src; never executed: return src; | 0 |
981 | | - |
982 | return base.resolved(src);executed 24 times by 3 tests: return base.resolved(src); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickworkerscript
| 24 |
983 | } | - |
984 | | - |
985 | void ExecutionEngine::requireArgumentsAccessors(int n) | - |
986 | { | - |
987 | if (n <= nArgumentsAccessors)TRUE | evaluated 256 times by 1 test | FALSE | evaluated 193 times by 1 test |
| 193-256 |
988 | return;executed 256 times by 1 test: return; | 256 |
989 | | - |
990 | Scope scope(this); | - |
991 | ScopedFunctionObject get(scope); | - |
992 | ScopedFunctionObject set(scope); | - |
993 | | - |
994 | if (n >= nArgumentsAccessors) {TRUE | evaluated 195 times by 1 test | FALSE | never evaluated |
| 0-195 |
995 | Property *oldAccessors = argumentsAccessors; | - |
996 | int oldSize = nArgumentsAccessors; | - |
997 | nArgumentsAccessors = qMax(8, n); | - |
998 | argumentsAccessors = new Property[nArgumentsAccessors]; | - |
999 | if (oldAccessors) {TRUE | never evaluated | FALSE | evaluated 195 times by 1 test |
| 0-195 |
1000 | memcpy(static_cast<void *>(argumentsAccessors), static_cast<const void *>(oldAccessors), oldSize*sizeof(Property)); | - |
1001 | delete [] oldAccessors; | - |
1002 | } never executed: end of block | 0 |
1003 | ExecutionContext *global = rootContext(); | - |
1004 | for (int i = oldSize; i < nArgumentsAccessors; ++i) {TRUE | evaluated 1565 times by 1 test | FALSE | evaluated 196 times by 1 test |
| 196-1565 |
1005 | argumentsAccessors[i].value = ScopedValue(scope, memoryManager->allocate<ArgumentsGetterFunction>(global, i)); | - |
1006 | argumentsAccessors[i].set = ScopedValue(scope, memoryManager->allocate<ArgumentsSetterFunction>(global, i)); | - |
1007 | }executed 1567 times by 1 test: end of block | 1567 |
1008 | }executed 196 times by 1 test: end of block | 196 |
1009 | }executed 196 times by 1 test: end of block | 196 |
1010 | | - |
1011 | void ExecutionEngine::markObjects(MarkStack *markStack) | - |
1012 | { | - |
1013 | for (int i = 0; i < nArgumentsAccessors; ++i) {TRUE | never evaluated | FALSE | evaluated 8854 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
- ...
|
| 0-8854 |
1014 | const Property &pd = argumentsAccessors[i]; | - |
1015 | if (Heap::FunctionObject *getter = pd.getter())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1016 | getter->mark(markStack); never executed: getter->mark(markStack); | 0 |
1017 | if (Heap::FunctionObject *setter = pd.setter())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1018 | setter->mark(markStack); never executed: setter->mark(markStack); | 0 |
1019 | } never executed: end of block | 0 |
1020 | | - |
1021 | for (int i = 0; i < NClasses; ++i)TRUE | evaluated 274474 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 8854 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
- ...
|
| 8854-274474 |
1022 | if (classes[i])TRUE | evaluated 274474 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 | never evaluated |
| 0-274474 |
1023 | classes[i]->mark(markStack);executed 274474 times by 26 tests: classes[i]->mark(markStack); 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
- ...
| 274474 |
1024 | markStack->drain(); | - |
1025 | | - |
1026 | identifierTable->markObjects(markStack); | - |
1027 | | - |
1028 | for (auto compilationUnit: compilationUnits) { | - |
1029 | compilationUnit->markObjects(markStack); | - |
1030 | markStack->drain(); | - |
1031 | }executed 580342 times by 25 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_scenegraph
- tst_testfiltering
| 580342 |
1032 | }executed 8854 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
- ...
| 8854 |
1033 | | - |
1034 | ReturnedValue ExecutionEngine::throwError(const Value &value) | - |
1035 | { | - |
1036 | | - |
1037 | | - |
1038 | | - |
1039 | | - |
1040 | if (hasException)TRUE | evaluated 3874 times by 1 test | FALSE | evaluated 4272588 times by 31 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
| 3874-4272588 |
1041 | return Encode::undefined();executed 3875 times by 1 test: return Encode::undefined(); | 3875 |
1042 | | - |
1043 | hasException = true; | - |
1044 | *exceptionValue = value; | - |
1045 | QV4::Scope scope(this); | - |
1046 | QV4::Scoped<ErrorObject> error(scope, value); | - |
1047 | if (!!error)TRUE | evaluated 4323633 times by 30 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 16334 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickworkerscript
- tst_qv4debugger
|
| 16334-4323633 |
1048 | exceptionStackTrace = *error->d()->stackTrace;executed 4323597 times by 30 tests: exceptionStackTrace = *error->d()->stackTrace; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 4323597 |
1049 | else | - |
1050 | exceptionStackTrace = stackTrace();executed 16331 times by 7 tests: exceptionStackTrace = stackTrace(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickworkerscript
- tst_qv4debugger
| 16331 |
1051 | | - |
1052 | if (QV4::Debugging::Debugger *debug = debugger())TRUE | evaluated 8 times by 1 test | FALSE | evaluated 4274697 times by 30 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
| 8-4274697 |
1053 | debug->aboutToThrow();executed 8 times by 1 test: debug->aboutToThrow(); | 8 |
1054 | | - |
1055 | return Encode::undefined();executed 4286747 times by 31 tests: return Encode::undefined(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 4286747 |
1056 | } | - |
1057 | | - |
1058 | ReturnedValue ExecutionEngine::catchException(StackTrace *trace) | - |
1059 | { | - |
1060 | Q_ASSERT(hasException); | - |
1061 | if (trace)TRUE | evaluated 761 times by 22 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | evaluated 4290453 times by 16 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
|
| 761-4290453 |
1062 | *trace = exceptionStackTrace;executed 761 times by 22 tests: *trace = exceptionStackTrace; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 761 |
1063 | exceptionStackTrace.clear(); | - |
1064 | hasException = false; | - |
1065 | ReturnedValue res = exceptionValue->asReturnedValue(); | - |
1066 | *exceptionValue = Primitive::emptyValue(); | - |
1067 | return res;executed 4265402 times by 30 tests: return res; Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 4265402 |
1068 | } | - |
1069 | | - |
1070 | ReturnedValue ExecutionEngine::throwError(const QString &message) | - |
1071 | { | - |
1072 | Scope scope(this); | - |
1073 | ScopedValue v(scope, newString(message)); | - |
1074 | v = newErrorObject(v); | - |
1075 | return throwError(v);executed 591 times by 10 tests: return throwError(v); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlqt
- tst_qqmlxmlhttprequest
| 591 |
1076 | } | - |
1077 | | - |
1078 | ReturnedValue ExecutionEngine::throwSyntaxError(const QString &message, const QString &fileName, int line, int column) | - |
1079 | { | - |
1080 | Scope scope(this); | - |
1081 | ScopedObject error(scope, newSyntaxErrorObject(message, fileName, line, column)); | - |
1082 | return throwError(error);executed 5956 times by 7 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 5956 |
1083 | } | - |
1084 | | - |
1085 | ReturnedValue ExecutionEngine::throwSyntaxError(const QString &message) | - |
1086 | { | - |
1087 | Scope scope(this); | - |
1088 | ScopedObject error(scope, newSyntaxErrorObject(message)); | - |
1089 | return throwError(error);executed 3560 times by 2 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 3560 |
1090 | } | - |
1091 | | - |
1092 | | - |
1093 | ReturnedValue ExecutionEngine::throwTypeError() | - |
1094 | { | - |
1095 | Scope scope(this); | - |
1096 | ScopedObject error(scope, newTypeErrorObject(QStringLiteral("Type error")));executed 29102 times by 5 tests: return qstring_literal_temp; Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
| 29102 |
1097 | return throwError(error);executed 29093 times by 5 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquickitem2
| 29093 |
1098 | } | - |
1099 | | - |
1100 | ReturnedValue ExecutionEngine::throwTypeError(const QString &message) | - |
1101 | { | - |
1102 | Scope scope(this); | - |
1103 | ScopedObject error(scope, newTypeErrorObject(message)); | - |
1104 | return throwError(error);executed 1992 times by 16 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmltypeloader
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickvisualdatamodel
| 1992 |
1105 | } | - |
1106 | | - |
1107 | ReturnedValue ExecutionEngine::throwReferenceError(const Value &value) | - |
1108 | { | - |
1109 | Scope scope(this); | - |
1110 | ScopedString s(scope, value.toString(this)); | - |
1111 | QString msg = s->toQString() + QLatin1String(" is not defined"); | - |
1112 | ScopedObject error(scope, newReferenceErrorObject(msg)); | - |
1113 | return throwError(error);executed 7608 times by 15 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| 7608 |
1114 | } | - |
1115 | | - |
1116 | ReturnedValue ExecutionEngine::throwReferenceError(const QString &message, const QString &fileName, int line, int column) | - |
1117 | { | - |
1118 | Scope scope(this); | - |
1119 | QString msg = message; | - |
1120 | ScopedObject error(scope, newReferenceErrorObject(msg, fileName, line, column)); | - |
1121 | return throwError(error);executed 53 times by 3 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
| 53 |
1122 | } | - |
1123 | | - |
1124 | ReturnedValue ExecutionEngine::throwRangeError(const QString &message) | - |
1125 | { | - |
1126 | Scope scope(this); | - |
1127 | ScopedObject error(scope, newRangeErrorObject(message)); | - |
1128 | return throwError(error);executed 1062 times by 2 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 1062 |
1129 | } | - |
1130 | | - |
1131 | ReturnedValue ExecutionEngine::throwRangeError(const Value &value) | - |
1132 | { | - |
1133 | Scope scope(this); | - |
1134 | ScopedString s(scope, value.toString(this)); | - |
1135 | QString msg = s->toQString() + QLatin1String(" out of range"); | - |
1136 | ScopedObject error(scope, newRangeErrorObject(msg)); | - |
1137 | return throwError(error);executed 279 times by 2 tests: return throwError(error); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 279 |
1138 | } | - |
1139 | | - |
1140 | ReturnedValue ExecutionEngine::throwURIError(const Value &msg) | - |
1141 | { | - |
1142 | Scope scope(this); | - |
1143 | ScopedObject error(scope, newURIErrorObject(msg)); | - |
1144 | return throwError(error);executed 4215017 times by 1 test: return throwError(error); | 4215017 |
1145 | } | - |
1146 | | - |
1147 | ReturnedValue ExecutionEngine::throwUnimplemented(const QString &message) | - |
1148 | { | - |
1149 | Scope scope(this); | - |
1150 | ScopedValue v(scope, newString(QLatin1String("Unimplemented ") + message)); | - |
1151 | v = newErrorObject(v); | - |
1152 | return throwError(v); never executed: return throwError(v); | 0 |
1153 | } | - |
1154 | | - |
1155 | | - |
1156 | QQmlError ExecutionEngine::catchExceptionAsQmlError() | - |
1157 | { | - |
1158 | QV4::StackTrace trace; | - |
1159 | QV4::Scope scope(this); | - |
1160 | QV4::ScopedValue exception(scope, catchException(&trace)); | - |
1161 | QQmlError error; | - |
1162 | if (!trace.isEmpty()) {TRUE | evaluated 761 times by 22 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | never evaluated |
| 0-761 |
1163 | QV4::StackFrame frame = trace.constFirst(); | - |
1164 | error.setUrl(QUrl(frame.source)); | - |
1165 | error.setLine(frame.line); | - |
1166 | error.setColumn(frame.column); | - |
1167 | }executed 761 times by 22 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 761 |
1168 | QV4::Scoped<QV4::ErrorObject> errorObj(scope, exception); | - |
1169 | error.setDescription(exception->toQStringNoThrow()); | - |
1170 | return error;executed 761 times by 22 tests: return error; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 761 |
1171 | } | - |
1172 | | - |
1173 | | - |
1174 | | - |
1175 | typedef QSet<QV4::Heap::Object *> V4ObjectSet; | - |
1176 | static QVariant toVariant(QV4::ExecutionEngine *e, const QV4::Value &value, int typeHint, bool createJSValueForObjects, V4ObjectSet *visitedObjects); | - |
1177 | static QObject *qtObjectFromJS(QV4::ExecutionEngine *engine, const QV4::Value &value); | - |
1178 | static QVariant objectToVariant(QV4::ExecutionEngine *e, const QV4::Object *o, V4ObjectSet *visitedObjects = nullptr); | - |
1179 | static bool convertToNativeQObject(QV4::ExecutionEngine *e, const QV4::Value &value, | - |
1180 | const QByteArray &targetType, | - |
1181 | void **result); | - |
1182 | static QV4::ReturnedValue variantListToJS(QV4::ExecutionEngine *v4, const QVariantList &lst); | - |
1183 | static QV4::ReturnedValue variantMapToJS(QV4::ExecutionEngine *v4, const QVariantMap &vmap); | - |
1184 | static QV4::ReturnedValue variantToJS(QV4::ExecutionEngine *v4, const QVariant &value) | - |
1185 | { | - |
1186 | return v4->metaTypeToJS(value.userType(), value.constData());executed 128 times by 2 tests: return v4->metaTypeToJS(value.userType(), value.constData()); Executed by:- tst_qjsengine
- tst_qjsvalue
| 128 |
1187 | } | - |
1188 | | - |
1189 | | - |
1190 | QVariant ExecutionEngine::toVariant(const Value &value, int typeHint, bool createJSValueForObjects) | - |
1191 | { | - |
1192 | return ::toVariant(this, value, typeHint, createJSValueForObjects, nullptr);executed 1468867 times by 102 tests: return ::toVariant(this, value, typeHint, createJSValueForObjects, nullptr); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| 1468867 |
1193 | } | - |
1194 | | - |
1195 | | - |
1196 | static QVariant toVariant(QV4::ExecutionEngine *e, const QV4::Value &value, int typeHint, bool createJSValueForObjects, V4ObjectSet *visitedObjects) | - |
1197 | { | - |
1198 | Q_ASSERT (!value.isEmpty()); | - |
1199 | QV4::Scope scope(e); | - |
1200 | | - |
1201 | if (const QV4::VariantObject *v = value.as<QV4::VariantObject>())TRUE | evaluated 5978 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 1535797 times by 99 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- ...
|
| 5978-1535797 |
1202 | return v->d()->data();executed 5978 times by 33 tests: return v->d()->data(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 5978 |
1203 | | - |
1204 | if (typeHint == QVariant::Bool)TRUE | evaluated 6494 times by 52 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 1529303 times by 94 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- ...
|
| 6494-1529303 |
1205 | return QVariant(value.toBoolean());executed 6494 times by 52 tests: return QVariant(value.toBoolean()); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 6494 |
1206 | | - |
1207 | if (typeHint == QMetaType::QJsonValue)TRUE | evaluated 60 times by 1 test | FALSE | evaluated 1529243 times by 94 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- ...
|
| 60-1529243 |
1208 | return QVariant::fromValue(QV4::JsonObject::toJsonValue(value));executed 60 times by 1 test: return QVariant::fromValue(QV4::JsonObject::toJsonValue(value)); | 60 |
1209 | | - |
1210 | if (typeHint == qMetaTypeId<QJSValue>())TRUE | never evaluated | FALSE | evaluated 1529243 times by 94 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- ...
|
| 0-1529243 |
1211 | return QVariant::fromValue(QJSValue(e, value.asReturnedValue())); never executed: return QVariant::fromValue(QJSValue(e, value.asReturnedValue())); | 0 |
1212 | | - |
1213 | if (value.as<QV4::Object>()) {TRUE | evaluated 69738 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 1459505 times by 80 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 69738-1459505 |
1214 | QV4::ScopedObject object(scope, value); | - |
1215 | if (typeHint == QMetaType::QJsonObjectTRUE | evaluated 28 times by 1 test | FALSE | evaluated 69710 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 28-69710 |
1216 | && !value.as<ArrayObject>() && !value.as<FunctionObject>()) {TRUE | evaluated 26 times by 1 test | FALSE | evaluated 2 times by 1 test |
TRUE | evaluated 26 times by 1 test | FALSE | never evaluated |
| 0-26 |
1217 | return QVariant::fromValue(QV4::JsonObject::toJsonObject(object));executed 26 times by 1 test: return QVariant::fromValue(QV4::JsonObject::toJsonObject(object)); | 26 |
1218 | } else if (QV4::QObjectWrapper *wrapper = object->as<QV4::QObjectWrapper>()) {TRUE | evaluated 39500 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| FALSE | evaluated 30212 times by 55 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- ...
|
| 30212-39500 |
1219 | return qVariantFromValue<QObject *>(wrapper->object());executed 39500 times by 39 tests: return qVariantFromValue<QObject *>(wrapper->object()); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| 39500 |
1220 | } else if (object->as<QV4::QQmlContextWrapper>()) {TRUE | never evaluated | FALSE | evaluated 30212 times by 55 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- ...
|
| 0-30212 |
1221 | return QVariant(); never executed: return QVariant(); | 0 |
1222 | } else if (QV4::QQmlTypeWrapper *w = object->as<QV4::QQmlTypeWrapper>()) {TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlecmascript
| FALSE | evaluated 30198 times by 54 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- ...
|
| 14-30198 |
1223 | return w->toVariant();executed 14 times by 2 tests: return w->toVariant(); Executed by:- tst_qqmlconnections
- tst_qqmlecmascript
| 14 |
1224 | } else if (QV4::QQmlValueTypeWrapper *v = object->as<QV4::QQmlValueTypeWrapper>()) {TRUE | evaluated 1310 times by 21 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_scenegraph
- tst_sharedimage
| FALSE | evaluated 28888 times by 46 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
|
| 1310-28888 |
1225 | return v->toVariant();executed 1310 times by 21 tests: return v->toVariant(); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickitem
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_scenegraph
- tst_sharedimage
| 1310 |
1226 | } else if (QV4::QmlListWrapper *l = object->as<QV4::QmlListWrapper>()) {TRUE | evaluated 44 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qquickanimations
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 28844 times by 45 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- ...
|
| 44-28844 |
1227 | return l->toVariant();executed 44 times by 7 tests: return l->toVariant(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qquickanimations
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 44 |
1228 | #if QT_CONFIG(qml_sequence_object) | - |
1229 | } else if (object->isListType()) {TRUE | evaluated 7650 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 21194 times by 45 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- ...
|
| 7650-21194 |
1230 | return QV4::SequencePrototype::toVariant(object);executed 7650 times by 11 tests: return QV4::SequencePrototype::toVariant(object); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 7650 |
1231 | #endif | - |
1232 | } | - |
1233 | }executed 21194 times by 45 tests: end of block Executed by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- ...
| 21194 |
1234 | | - |
1235 | if (value.as<ArrayObject>()) {TRUE | evaluated 13644 times by 40 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickitem2
- ...
| FALSE | evaluated 1467055 times by 80 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
| 13644-1467055 |
1236 | QV4::ScopedArrayObject a(scope, value); | - |
1237 | if (typeHint == qMetaTypeId<QList<QObject *> >()) {TRUE | evaluated 18 times by 5 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 13626 times by 39 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickitem2
- ...
|
| 18-13626 |
1238 | QList<QObject *> list; | - |
1239 | uint length = a->getLength(); | - |
1240 | QV4::Scoped<QV4::QObjectWrapper> qobjectWrapper(scope); | - |
1241 | for (uint ii = 0; ii < length; ++ii) {TRUE | evaluated 34 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 18 times by 5 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 18-34 |
1242 | qobjectWrapper = a->get(ii); | - |
1243 | if (!!qobjectWrapper) {TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
| 6-28 |
1244 | list << qobjectWrapper->object(); | - |
1245 | } else {executed 28 times by 3 tests: end of block Executed by:- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 28 |
1246 | list << 0; | - |
1247 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickitem2
| 6 |
1248 | } | - |
1249 | | - |
1250 | return qVariantFromValue<QList<QObject*> >(list);executed 18 times by 5 tests: return qVariantFromValue<QList<QObject*> >(list); Executed by:- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 18 |
1251 | } else if (typeHint == QMetaType::QJsonArray) {TRUE | evaluated 24 times by 1 test | FALSE | evaluated 13602 times by 39 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickitem2
- ...
|
| 24-13602 |
1252 | return QVariant::fromValue(QV4::JsonObject::toJsonArray(a));executed 24 times by 1 test: return QVariant::fromValue(QV4::JsonObject::toJsonArray(a)); | 24 |
1253 | } | - |
1254 | | - |
1255 | #if QT_CONFIG(qml_sequence_object) | - |
1256 | bool succeeded = false; | - |
1257 | QVariant retn = QV4::SequencePrototype::toVariant(value, typeHint, &succeeded); | - |
1258 | if (succeeded)TRUE | evaluated 522 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgroupgoal
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquickshape
- tst_qquicktrailemitter
- tst_qquickvisualdatamodel
| FALSE | evaluated 13080 times by 30 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
| 522-13080 |
1259 | return retn;executed 522 times by 14 tests: return retn; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- tst_qquickfriction
- tst_qquickgroupgoal
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquickshape
- tst_qquicktrailemitter
- tst_qquickvisualdatamodel
| 522 |
1260 | #endif | - |
1261 | }executed 13080 times by 30 tests: end of block Executed by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 13080 |
1262 | | - |
1263 | if (value.isUndefined())TRUE | evaluated 1508 times by 23 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 1478627 times by 79 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
| 1508-1478627 |
1264 | return QVariant();executed 1508 times by 23 tests: return QVariant(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcustomparticle
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklayouts
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1508 |
1265 | if (value.isNull())TRUE | evaluated 202 times by 12 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 1478425 times by 79 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
| 202-1478425 |
1266 | return QVariant::fromValue(nullptr);executed 202 times by 12 tests: return QVariant::fromValue(nullptr); Executed by:- tst_examples
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| 202 |
1267 | if (value.isBoolean())TRUE | evaluated 28414 times by 25 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_scenegraph
| FALSE | evaluated 1450011 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
| 28414-1450011 |
1268 | return value.booleanValue();executed 28414 times by 25 tests: return value.booleanValue(); Executed by:- tst_examples
- tst_qjsonbinding
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_scenegraph
| 28414 |
1269 | if (value.isInteger())TRUE | evaluated 1229170 times by 42 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 220841 times by 72 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
|
| 220841-1229170 |
1270 | return value.integerValue();executed 1229170 times by 42 tests: return value.integerValue(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 1229170 |
1271 | if (value.isNumber())TRUE | evaluated 83522 times by 27 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- ...
| FALSE | evaluated 137319 times by 69 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
| 83522-137319 |
1272 | return value.asDouble();executed 83522 times by 27 tests: return value.asDouble(); Executed by:- tst_examples
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- ...
| 83522 |
1273 | if (String *s = value.stringValue()) {TRUE | evaluated 116689 times by 61 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| FALSE | evaluated 20630 times by 36 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
| 20630-116689 |
1274 | const QString &str = s->toQString(); | - |
1275 | | - |
1276 | if (typeHint == QVariant::Char && str.size() == 1)TRUE | never evaluated | FALSE | evaluated 116689 times by 61 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-116689 |
1277 | return str.at(0); never executed: return str.at(0); | 0 |
1278 | return str;executed 116689 times by 61 tests: return str; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- ...
| 116689 |
1279 | } | - |
1280 | #if QT_CONFIG(qml_locale) | - |
1281 | if (const QV4::QQmlLocaleData *ld = value.as<QV4::QQmlLocaleData>())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 20626 times by 36 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
| 4-20626 |
1282 | return *ld->d()->locale;executed 4 times by 1 test: return *ld->d()->locale; | 4 |
1283 | #endif | - |
1284 | if (const QV4::DateObject *d = value.as<DateObject>())TRUE | evaluated 426 times by 8 testsEvaluated by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| FALSE | evaluated 20200 times by 35 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickparticlegroup
- ...
|
| 426-20200 |
1285 | return d->toQDateTime();executed 426 times by 8 tests: return d->toQDateTime(); Executed by:- tst_qjsvalue
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| 426 |
1286 | if (const ArrayBuffer *d = value.as<ArrayBuffer>())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 20198 times by 35 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickparticlegroup
- ...
|
| 2-20198 |
1287 | return d->asByteArray();executed 2 times by 1 test: return d->asByteArray(); | 2 |
1288 | | - |
1289 | | - |
1290 | QV4::ScopedObject o(scope, value); | - |
1291 | Q_ASSERT(o); | - |
1292 | | - |
1293 | if (QV4::RegExpObject *re = o->as<QV4::RegExpObject>())TRUE | evaluated 30 times by 6 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquicklistview
- tst_qquicktextinput
- tst_qquickworkerscript
| FALSE | evaluated 20168 times by 34 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickparticlegroup
- ...
|
| 30-20168 |
1294 | return re->toQRegExp();executed 30 times by 6 tests: return re->toQRegExp(); Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qquicklistview
- tst_qquicktextinput
- tst_qquickworkerscript
| 30 |
1295 | | - |
1296 | if (createJSValueForObjects)TRUE | evaluated 4490 times by 32 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 15678 times by 25 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
|
| 4490-15678 |
1297 | return QVariant::fromValue(QJSValue(scope.engine, o->asReturnedValue()));executed 4490 times by 32 tests: return QVariant::fromValue(QJSValue(scope.engine, o->asReturnedValue())); Executed by:- tst_examples
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 4490 |
1298 | | - |
1299 | return objectToVariant(e, o, visitedObjects);executed 15678 times by 25 tests: return objectToVariant(e, o, visitedObjects); Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 15678 |
1300 | } | - |
1301 | | - |
1302 | static QVariant objectToVariant(QV4::ExecutionEngine *e, const QV4::Object *o, V4ObjectSet *visitedObjects) | - |
1303 | { | - |
1304 | Q_ASSERT(o); | - |
1305 | | - |
1306 | V4ObjectSet recursionGuardSet; | - |
1307 | if (!visitedObjects) {TRUE | evaluated 6668 times by 25 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | evaluated 10326 times by 9 testsEvaluated by:- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
|
| 6668-10326 |
1308 | visitedObjects = &recursionGuardSet; | - |
1309 | } else if (visitedObjects->contains(o->d())) {executed 6668 times by 25 tests: end of block Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
TRUE | evaluated 12 times by 1 test | FALSE | evaluated 10314 times by 9 testsEvaluated by:- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
|
| 12-10314 |
1310 | | - |
1311 | | - |
1312 | | - |
1313 | if (o->as<ArrayObject>())TRUE | evaluated 8 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-8 |
1314 | return QVariantList();executed 8 times by 1 test: return QVariantList(); | 8 |
1315 | return QVariantMap();executed 4 times by 1 test: return QVariantMap(); | 4 |
1316 | } | - |
1317 | visitedObjects->insert(o->d()); | - |
1318 | | - |
1319 | QVariant result; | - |
1320 | | - |
1321 | if (o->as<ArrayObject>()) {TRUE | evaluated 9858 times by 22 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | evaluated 7124 times by 15 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
|
| 7124-9858 |
1322 | QV4::Scope scope(e); | - |
1323 | QV4::ScopedArrayObject a(scope, o->asReturnedValue()); | - |
1324 | QV4::ScopedValue v(scope); | - |
1325 | QVariantList list; | - |
1326 | | - |
1327 | int length = a->getLength(); | - |
1328 | for (int ii = 0; ii < length; ++ii) {TRUE | evaluated 48730 times by 22 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| FALSE | evaluated 9858 times by 22 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
|
| 9858-48730 |
1329 | v = a->get(ii); | - |
1330 | list << ::toVariant(e, v, -1, false, visitedObjects); | - |
1331 | }executed 48730 times by 22 tests: end of block Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 48730 |
1332 | | - |
1333 | result = list; | - |
1334 | } else if (!o->as<FunctionObject>()) {executed 9858 times by 22 tests: end of block Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
TRUE | evaluated 7030 times by 15 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
| FALSE | evaluated 94 times by 1 test |
| 94-9858 |
1335 | QVariantMap map; | - |
1336 | QV4::Scope scope(e); | - |
1337 | QV4::ObjectIterator it(scope, o, QV4::ObjectIterator::EnumerableOnly); | - |
1338 | QV4::ScopedValue name(scope); | - |
1339 | QV4::ScopedValue val(scope); | - |
1340 | while (1) { | - |
1341 | name = it.nextPropertyNameAsString(val); | - |
1342 | if (name->isNull())TRUE | evaluated 7030 times by 15 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
| FALSE | evaluated 24178 times by 14 testsEvaluated by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
|
| 7030-24178 |
1343 | break;executed 7030 times by 15 tests: break; Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
| 7030 |
1344 | | - |
1345 | QString key = name->toQStringNoThrow(); | - |
1346 | map.insert(key, ::toVariant(e, val, -1, false, visitedObjects)); | - |
1347 | }executed 24178 times by 14 tests: end of block Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
| 24178 |
1348 | | - |
1349 | result = map; | - |
1350 | }executed 7030 times by 15 tests: end of block Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
| 7030 |
1351 | | - |
1352 | visitedObjects->remove(o->d()); | - |
1353 | return result;executed 16982 times by 25 tests: return result; Executed by:- tst_examples
- tst_qjsvalue
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
| 16982 |
1354 | } | - |
1355 | | - |
1356 | static QV4::ReturnedValue arrayFromVariantList(QV4::ExecutionEngine *e, const QVariantList &list) | - |
1357 | { | - |
1358 | QV4::Scope scope(e); | - |
1359 | QV4::ScopedArrayObject a(scope, e->newArrayObject()); | - |
1360 | int len = list.count(); | - |
1361 | a->arrayReserve(len); | - |
1362 | QV4::ScopedValue v(scope); | - |
1363 | for (int ii = 0; ii < len; ++ii)TRUE | evaluated 2058 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickworkerscript
| FALSE | evaluated 1060 times by 6 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickpositioners
- tst_qquickworkerscript
|
| 1060-2058 |
1364 | a->arrayPut(ii, (v = scope.engine->fromVariant(list.at(ii))));executed 2058 times by 5 tests: a->arrayPut(ii, (v = scope.engine->fromVariant(list.at(ii)))); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickworkerscript
| 2058 |
1365 | | - |
1366 | a->setArrayLengthUnchecked(len); | - |
1367 | return a.asReturnedValue();executed 1060 times by 6 tests: return a.asReturnedValue(); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickpositioners
- tst_qquickworkerscript
| 1060 |
1368 | } | - |
1369 | | - |
1370 | static QV4::ReturnedValue objectFromVariantMap(QV4::ExecutionEngine *e, const QVariantMap &map) | - |
1371 | { | - |
1372 | QV4::Scope scope(e); | - |
1373 | QV4::ScopedObject o(scope, e->newObject()); | - |
1374 | QV4::ScopedString s(scope); | - |
1375 | QV4::ScopedValue v(scope); | - |
1376 | for (QVariantMap::const_iterator iter = map.begin(), cend = map.end(); iter != cend; ++iter) {TRUE | evaluated 19084 times by 7 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickshortcut
- tst_qquickworkerscript
| FALSE | evaluated 4918 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickworkerscript
|
| 4918-19084 |
1377 | s = e->newString(iter.key()); | - |
1378 | o->put(s, (v = e->fromVariant(iter.value()))); | - |
1379 | }executed 19084 times by 7 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickshortcut
- tst_qquickworkerscript
| 19084 |
1380 | return o.asReturnedValue();executed 4918 times by 8 tests: return o.asReturnedValue(); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickworkerscript
| 4918 |
1381 | } | - |
1382 | | - |
1383 | Q_CORE_EXPORT QString qt_regexp_toCanonical(const QString &, QRegExp::PatternSyntax); | - |
1384 | | - |
1385 | QV4::ReturnedValue QV4::ExecutionEngine::fromVariant(const QVariant &variant) | - |
1386 | { | - |
1387 | int type = variant.userType(); | - |
1388 | const void *ptr = variant.constData(); | - |
1389 | | - |
1390 | if (type < QMetaType::User) {TRUE | evaluated 823975 times by 71 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 9527 times by 39 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- ...
|
| 9527-823975 |
1391 | switch (QMetaType::Type(type)) { | - |
1392 | case QMetaType::UnknownType:executed 286 times by 17 tests: case QMetaType::UnknownType: Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 286 |
1393 | case QMetaType::Void: never executed: case QMetaType::Void: | 0 |
1394 | return QV4::Encode::undefined();executed 286 times by 17 tests: return QV4::Encode::undefined(); Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 286 |
1395 | case QMetaType::Nullptr:executed 12 times by 2 tests: case QMetaType::Nullptr: Executed by:- tst_examples
- tst_qqmlecmascript
| 12 |
1396 | case QMetaType::VoidStar: never executed: case QMetaType::VoidStar: | 0 |
1397 | return QV4::Encode::null();executed 12 times by 2 tests: return QV4::Encode::null(); Executed by:- tst_examples
- tst_qqmlecmascript
| 12 |
1398 | case QMetaType::Bool:executed 16914 times by 22 tests: case QMetaType::Bool: Executed by:- tst_examples
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
| 16914 |
1399 | return QV4::Encode(*reinterpret_cast<const bool*>(ptr));executed 16914 times by 22 tests: return QV4::Encode(*reinterpret_cast<const bool*>(ptr)); Executed by:- tst_examples
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlvaluetypes
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
| 16914 |
1400 | case QMetaType::Int:executed 21314 times by 26 tests: case QMetaType::Int: Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquickvisualdatamodel
- ...
| 21314 |
1401 | return QV4::Encode(*reinterpret_cast<const int*>(ptr));executed 21314 times by 26 tests: return QV4::Encode(*reinterpret_cast<const int*>(ptr)); Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmlvaluetypes
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquickvisualdatamodel
- ...
| 21314 |
1402 | case QMetaType::UInt: never executed: case QMetaType::UInt: | 0 |
1403 | return QV4::Encode(*reinterpret_cast<const uint*>(ptr)); never executed: return QV4::Encode(*reinterpret_cast<const uint*>(ptr)); | 0 |
1404 | case QMetaType::LongLong:executed 2 times by 1 test: case QMetaType::LongLong: | 2 |
1405 | return QV4::Encode((double)*reinterpret_cast<const qlonglong*>(ptr));executed 2 times by 1 test: return QV4::Encode((double)*reinterpret_cast<const qlonglong*>(ptr)); | 2 |
1406 | case QMetaType::ULongLong:executed 20 times by 1 test: case QMetaType::ULongLong: | 20 |
1407 | return QV4::Encode((double)*reinterpret_cast<const qulonglong*>(ptr));executed 20 times by 1 test: return QV4::Encode((double)*reinterpret_cast<const qulonglong*>(ptr)); | 20 |
1408 | case QMetaType::Double:executed 4257 times by 16 tests: case QMetaType::Double: Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qquickcustomaffector
- tst_qquickitem
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktext
- tst_qquickworkerscript
| 4257 |
1409 | return QV4::Encode(*reinterpret_cast<const double*>(ptr));executed 4257 times by 16 tests: return QV4::Encode(*reinterpret_cast<const double*>(ptr)); Executed by:- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qquickcustomaffector
- tst_qquickitem
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktext
- tst_qquickworkerscript
| 4257 |
1410 | case QMetaType::QString:executed 265496 times by 38 tests: case QMetaType::QString: Executed by:- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickapplication
- tst_qquickborderimage
- ...
| 265496 |
1411 | return newString(*reinterpret_cast<const QString*>(ptr))->asReturnedValue();executed 265496 times by 38 tests: return newString(*reinterpret_cast<const QString*>(ptr))->asReturnedValue(); Executed by:- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickapplication
- tst_qquickborderimage
- ...
| 265496 |
1412 | case QMetaType::QByteArray: never executed: case QMetaType::QByteArray: | 0 |
1413 | return newArrayBuffer(*reinterpret_cast<const QByteArray*>(ptr))->asReturnedValue(); never executed: return newArrayBuffer(*reinterpret_cast<const QByteArray*>(ptr))->asReturnedValue(); | 0 |
1414 | case QMetaType::Float: never executed: case QMetaType::Float: | 0 |
1415 | return QV4::Encode(*reinterpret_cast<const float*>(ptr)); never executed: return QV4::Encode(*reinterpret_cast<const float*>(ptr)); | 0 |
1416 | case QMetaType::Short: never executed: case QMetaType::Short: | 0 |
1417 | return QV4::Encode((int)*reinterpret_cast<const short*>(ptr)); never executed: return QV4::Encode((int)*reinterpret_cast<const short*>(ptr)); | 0 |
1418 | case QMetaType::UShort: never executed: case QMetaType::UShort: | 0 |
1419 | return QV4::Encode((int)*reinterpret_cast<const unsigned short*>(ptr)); never executed: return QV4::Encode((int)*reinterpret_cast<const unsigned short*>(ptr)); | 0 |
1420 | case QMetaType::Char:executed 2 times by 1 test: case QMetaType::Char: | 2 |
1421 | return QV4::Encode((int)*reinterpret_cast<const char*>(ptr));executed 2 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const char*>(ptr)); | 2 |
1422 | case QMetaType::UChar:executed 2 times by 1 test: case QMetaType::UChar: | 2 |
1423 | return QV4::Encode((int)*reinterpret_cast<const unsigned char*>(ptr));executed 2 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const unsigned char*>(ptr)); | 2 |
1424 | case QMetaType::QChar:executed 2 times by 1 test: case QMetaType::QChar: | 2 |
1425 | return newString(*reinterpret_cast<const QChar *>(ptr))->asReturnedValue();executed 2 times by 1 test: return newString(*reinterpret_cast<const QChar *>(ptr))->asReturnedValue(); | 2 |
1426 | case QMetaType::QDateTime:executed 312 times by 7 tests: case QMetaType::QDateTime: Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| 312 |
1427 | return QV4::Encode(newDateObject(*reinterpret_cast<const QDateTime *>(ptr)));executed 312 times by 7 tests: return QV4::Encode(newDateObject(*reinterpret_cast<const QDateTime *>(ptr))); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qquickworkerscript
| 312 |
1428 | case QMetaType::QDate:executed 122 times by 2 tests: case QMetaType::QDate: Executed by:- tst_qqmlecmascript
- tst_qqmlqt
| 122 |
1429 | return QV4::Encode(newDateObject(QDateTime(*reinterpret_cast<const QDate *>(ptr), QTime(0, 0, 0), Qt::UTC)));executed 122 times by 2 tests: return QV4::Encode(newDateObject(QDateTime(*reinterpret_cast<const QDate *>(ptr), QTime(0, 0, 0), Qt::UTC))); Executed by:- tst_qqmlecmascript
- tst_qqmlqt
| 122 |
1430 | case QMetaType::QTime:executed 22 times by 1 test: case QMetaType::QTime: | 22 |
1431 | return QV4::Encode(newDateObjectFromTime(*reinterpret_cast<const QTime *>(ptr)));executed 22 times by 1 test: return QV4::Encode(newDateObjectFromTime(*reinterpret_cast<const QTime *>(ptr))); | 22 |
1432 | case QMetaType::QRegExp:executed 8 times by 2 tests: case QMetaType::QRegExp: Executed by:- tst_qquicktextinput
- tst_qquickworkerscript
| 8 |
1433 | return QV4::Encode(newRegExpObject(*reinterpret_cast<const QRegExp *>(ptr)));executed 8 times by 2 tests: return QV4::Encode(newRegExpObject(*reinterpret_cast<const QRegExp *>(ptr))); Executed by:- tst_qquicktextinput
- tst_qquickworkerscript
| 8 |
1434 | case QMetaType::QObjectStar:executed 142522 times by 32 tests: case QMetaType::QObjectStar: Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 142522 |
1435 | return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(ptr));executed 142522 times by 32 tests: return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(ptr)); Executed by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 142522 |
1436 | #if QT_CONFIG(qml_sequence_object) | - |
1437 | case QMetaType::QStringList:executed 2412 times by 9 tests: case QMetaType::QStringList: Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2412 |
1438 | { | - |
1439 | bool succeeded = false; | - |
1440 | QV4::Scope scope(this); | - |
1441 | QV4::ScopedValue retn(scope, QV4::SequencePrototype::fromVariant(this, variant, &succeeded)); | - |
1442 | if (succeeded)TRUE | evaluated 2412 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | never evaluated |
| 0-2412 |
1443 | return retn->asReturnedValue();executed 2412 times by 9 tests: return retn->asReturnedValue(); Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2412 |
1444 | return QV4::Encode(newArrayObject(*reinterpret_cast<const QStringList *>(ptr))); never executed: return QV4::Encode(newArrayObject(*reinterpret_cast<const QStringList *>(ptr))); | 0 |
1445 | } | - |
1446 | #endif | - |
1447 | case QMetaType::QVariantList:executed 1060 times by 6 tests: case QMetaType::QVariantList: Executed by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickpositioners
- tst_qquickworkerscript
| 1060 |
1448 | return arrayFromVariantList(this, *reinterpret_cast<const QVariantList *>(ptr));executed 1060 times by 6 tests: return arrayFromVariantList(this, *reinterpret_cast<const QVariantList *>(ptr)); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlsettings
- tst_qquickpositioners
- tst_qquickworkerscript
| 1060 |
1449 | case QMetaType::QVariantMap:executed 4918 times by 8 tests: case QMetaType::QVariantMap: Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickworkerscript
| 4918 |
1450 | return objectFromVariantMap(this, *reinterpret_cast<const QVariantMap *>(ptr));executed 4918 times by 8 tests: return objectFromVariantMap(this, *reinterpret_cast<const QVariantMap *>(ptr)); Executed by:- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickworkerscript
| 4918 |
1451 | case QMetaType::QJsonValue:executed 62 times by 1 test: case QMetaType::QJsonValue: | 62 |
1452 | return QV4::JsonObject::fromJsonValue(this, *reinterpret_cast<const QJsonValue *>(ptr));executed 62 times by 1 test: return QV4::JsonObject::fromJsonValue(this, *reinterpret_cast<const QJsonValue *>(ptr)); | 62 |
1453 | case QMetaType::QJsonObject:executed 26 times by 1 test: case QMetaType::QJsonObject: | 26 |
1454 | return QV4::JsonObject::fromJsonObject(this, *reinterpret_cast<const QJsonObject *>(ptr));executed 26 times by 1 test: return QV4::JsonObject::fromJsonObject(this, *reinterpret_cast<const QJsonObject *>(ptr)); | 26 |
1455 | case QMetaType::QJsonArray:executed 24 times by 1 test: case QMetaType::QJsonArray: | 24 |
1456 | return QV4::JsonObject::fromJsonArray(this, *reinterpret_cast<const QJsonArray *>(ptr));executed 24 times by 1 test: return QV4::JsonObject::fromJsonArray(this, *reinterpret_cast<const QJsonArray *>(ptr)); | 24 |
1457 | #if QT_CONFIG(qml_locale) | - |
1458 | case QMetaType::QLocale:executed 36 times by 2 tests: case QMetaType::QLocale: Executed by:- tst_qqmllocale
- tst_qqmlvaluetypes
| 36 |
1459 | return QQmlLocale::wrap(this, *reinterpret_cast<const QLocale*>(ptr));executed 36 times by 2 tests: return QQmlLocale::wrap(this, *reinterpret_cast<const QLocale*>(ptr)); Executed by:- tst_qqmllocale
- tst_qqmlvaluetypes
| 36 |
1460 | #endif | - |
1461 | default:executed 364144 times by 34 tests: default: Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| 364144 |
1462 | break;executed 364144 times by 34 tests: break; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
| 364144 |
1463 | } | - |
1464 | | - |
1465 | if (const QMetaObject *vtmo = QQmlValueTypeFactory::metaObjectForMetaType(type))TRUE | evaluated 363792 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- ...
| FALSE | evaluated 352 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
|
| 352-363792 |
1466 | return QV4::QQmlValueTypeWrapper::create(this, variant, vtmo, type);executed 363792 times by 29 tests: return QV4::QQmlValueTypeWrapper::create(this, variant, vtmo, type); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- ...
| 363792 |
1467 | } else {executed 352 times by 9 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
| 352 |
1468 | QV4::Scope scope(this); | - |
1469 | if (type == qMetaTypeId<QQmlListReference>()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9525 times by 38 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
| 2-9525 |
1470 | typedef QQmlListReferencePrivate QDLRP; | - |
1471 | QDLRP *p = QDLRP::get((QQmlListReference*)const_cast<void *>(ptr)); | - |
1472 | if (p->object) {TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
1473 | return QV4::QmlListWrapper::create(scope.engine, p->property, p->propertyType);executed 2 times by 1 test: return QV4::QmlListWrapper::create(scope.engine, p->property, p->propertyType); | 2 |
1474 | } else { | - |
1475 | return QV4::Encode::null(); never executed: return QV4::Encode::null(); | 0 |
1476 | } | - |
1477 | } else if (type == qMetaTypeId<QJSValue>()) {TRUE | evaluated 540 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 8985 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
| 540-8985 |
1478 | const QJSValue *value = reinterpret_cast<const QJSValue *>(ptr); | - |
1479 | return QJSValuePrivate::convertedToValue(this, *value);executed 540 times by 12 tests: return QJSValuePrivate::convertedToValue(this, *value); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickscreen
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 540 |
1480 | } else if (type == qMetaTypeId<QList<QObject *> >()) {TRUE | evaluated 142 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
| FALSE | evaluated 8843 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
| 142-8843 |
1481 | | - |
1482 | | - |
1483 | const QList<QObject *> &list = *(const QList<QObject *>*)ptr; | - |
1484 | QV4::ScopedArrayObject a(scope, newArrayObject()); | - |
1485 | a->arrayReserve(list.count()); | - |
1486 | QV4::ScopedValue v(scope); | - |
1487 | for (int ii = 0; ii < list.count(); ++ii)TRUE | evaluated 204 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
| FALSE | evaluated 142 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
|
| 142-204 |
1488 | a->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(this, list.at(ii))));executed 204 times by 1 test: a->arrayPut(ii, (v = QV4::QObjectWrapper::wrap(this, list.at(ii)))); Executed by:- tst_qquickmultipointtoucharea
| 204 |
1489 | a->setArrayLengthUnchecked(list.count()); | - |
1490 | return a.asReturnedValue();executed 142 times by 1 test: return a.asReturnedValue(); Executed by:- tst_qquickmultipointtoucharea
| 142 |
1491 | } else if (QMetaType::typeFlags(type) & QMetaType::PointerToQObject) {TRUE | evaluated 1723 times by 8 testsEvaluated by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| FALSE | evaluated 7120 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- ...
|
| 1723-7120 |
1492 | return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(ptr));executed 1723 times by 8 tests: return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(ptr)); Executed by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
| 1723 |
1493 | } | - |
1494 | | - |
1495 | bool objOk; | - |
1496 | QObject *obj = QQmlMetaType::toQObject(variant, &objOk); | - |
1497 | if (objOk)TRUE | never evaluated | FALSE | evaluated 7120 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- ...
|
| 0-7120 |
1498 | return QV4::QObjectWrapper::wrap(this, obj); never executed: return QV4::QObjectWrapper::wrap(this, obj); | 0 |
1499 | | - |
1500 | #if QT_CONFIG(qml_sequence_object) | - |
1501 | bool succeeded = false; | - |
1502 | QV4::ScopedValue retn(scope, QV4::SequencePrototype::fromVariant(this, variant, &succeeded)); | - |
1503 | if (succeeded)TRUE | evaluated 164 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlitemmodels
| FALSE | evaluated 6956 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- ...
|
| 164-6956 |
1504 | return retn->asReturnedValue();executed 164 times by 2 tests: return retn->asReturnedValue(); Executed by:- tst_qqmlecmascript
- tst_qqmlitemmodels
| 164 |
1505 | #endif | - |
1506 | | - |
1507 | if (const QMetaObject *vtmo = QQmlValueTypeFactory::metaObjectForMetaType(type))TRUE | evaluated 26 times by 3 testsEvaluated by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| FALSE | evaluated 6930 times by 30 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- ...
|
| 26-6930 |
1508 | return QV4::QQmlValueTypeWrapper::create(this, variant, vtmo, type);executed 26 times by 3 tests: return QV4::QQmlValueTypeWrapper::create(this, variant, vtmo, type); Executed by:- tst_qqmlitemmodels
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
| 26 |
1509 | }executed 6930 times by 30 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- ...
| 6930 |
1510 | | - |
1511 | | - |
1512 | | - |
1513 | | - |
1514 | | - |
1515 | return QV4::Encode(newVariantObject(variant));executed 7282 times by 36 tests: return QV4::Encode(newVariantObject(variant)); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- ...
| 7282 |
1516 | } | - |
1517 | | - |
1518 | QVariantMap ExecutionEngine::variantMapFromJS(const Object *o) | - |
1519 | { | - |
1520 | return objectToVariant(this, o).toMap();executed 1316 times by 2 tests: return objectToVariant(this, o).toMap(); Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
| 1316 |
1521 | } | - |
1522 | | - |
1523 | | - |
1524 | | - |
1525 | | - |
1526 | | - |
1527 | | - |
1528 | static QV4::ReturnedValue variantListToJS(QV4::ExecutionEngine *v4, const QVariantList &lst) | - |
1529 | { | - |
1530 | QV4::Scope scope(v4); | - |
1531 | QV4::ScopedArrayObject a(scope, v4->newArrayObject()); | - |
1532 | a->arrayReserve(lst.size()); | - |
1533 | QV4::ScopedValue v(scope); | - |
1534 | for (int i = 0; i < lst.size(); i++)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-8 |
1535 | a->arrayPut(i, (v = variantToJS(v4, lst.at(i))));executed 8 times by 1 test: a->arrayPut(i, (v = variantToJS(v4, lst.at(i)))); | 8 |
1536 | a->setArrayLengthUnchecked(lst.size()); | - |
1537 | return a.asReturnedValue();executed 4 times by 1 test: return a.asReturnedValue(); | 4 |
1538 | } | - |
1539 | | - |
1540 | | - |
1541 | | - |
1542 | | - |
1543 | | - |
1544 | static QV4::ReturnedValue variantMapToJS(QV4::ExecutionEngine *v4, const QVariantMap &vmap) | - |
1545 | { | - |
1546 | QV4::Scope scope(v4); | - |
1547 | QV4::ScopedObject o(scope, v4->newObject()); | - |
1548 | QV4::ScopedString s(scope); | - |
1549 | QV4::ScopedPropertyKey key(scope); | - |
1550 | QV4::ScopedValue v(scope); | - |
1551 | for (QVariantMap::const_iterator it = vmap.constBegin(), cend = vmap.constEnd(); it != cend; ++it) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2 |
1552 | s = v4->newIdentifier(it.key()); | - |
1553 | key = s->propertyKey(); | - |
1554 | v = variantToJS(v4, it.value()); | - |
1555 | uint idx = key->asArrayIndex(); | - |
1556 | if (idx < UINT_MAX)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
1557 | o->arraySet(idx, v);executed 2 times by 1 test: o->arraySet(idx, v); | 2 |
1558 | else | - |
1559 | o->insertMember(s, v); never executed: o->insertMember(s, v); | 0 |
1560 | } | - |
1561 | return o.asReturnedValue();executed 2 times by 1 test: return o.asReturnedValue(); | 2 |
1562 | } | - |
1563 | | - |
1564 | | - |
1565 | | - |
1566 | QV4::ReturnedValue ExecutionEngine::metaTypeToJS(int type, const void *data) | - |
1567 | { | - |
1568 | Q_ASSERT(data != nullptr); | - |
1569 | | - |
1570 | | - |
1571 | switch (QMetaType::Type(type)) { | - |
1572 | case QMetaType::UnknownType:executed 50 times by 2 tests: case QMetaType::UnknownType: Executed by:- tst_qjsengine
- tst_qjsvalue
| 50 |
1573 | case QMetaType::Void: never executed: case QMetaType::Void: | 0 |
1574 | return QV4::Encode::undefined();executed 50 times by 2 tests: return QV4::Encode::undefined(); Executed by:- tst_qjsengine
- tst_qjsvalue
| 50 |
1575 | case QMetaType::Nullptr:executed 2 times by 1 test: case QMetaType::Nullptr: | 2 |
1576 | case QMetaType::VoidStar:executed 4 times by 1 test: case QMetaType::VoidStar: | 4 |
1577 | return QV4::Encode::null();executed 6 times by 1 test: return QV4::Encode::null(); | 6 |
1578 | case QMetaType::Bool:executed 54 times by 2 tests: case QMetaType::Bool: Executed by:- tst_qjsengine
- tst_qjsvalue
| 54 |
1579 | return QV4::Encode(*reinterpret_cast<const bool*>(data));executed 54 times by 2 tests: return QV4::Encode(*reinterpret_cast<const bool*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 54 |
1580 | case QMetaType::Int:executed 142 times by 3 tests: case QMetaType::Int: Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
| 142 |
1581 | return QV4::Encode(*reinterpret_cast<const int*>(data));executed 142 times by 3 tests: return QV4::Encode(*reinterpret_cast<const int*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
| 142 |
1582 | case QMetaType::UInt:executed 4 times by 2 tests: case QMetaType::UInt: Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1583 | return QV4::Encode(*reinterpret_cast<const uint*>(data));executed 4 times by 2 tests: return QV4::Encode(*reinterpret_cast<const uint*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1584 | case QMetaType::LongLong:executed 2 times by 1 test: case QMetaType::LongLong: | 2 |
1585 | return QV4::Encode(double(*reinterpret_cast<const qlonglong*>(data)));executed 2 times by 1 test: return QV4::Encode(double(*reinterpret_cast<const qlonglong*>(data))); | 2 |
1586 | case QMetaType::ULongLong:executed 2 times by 1 test: case QMetaType::ULongLong: | 2 |
1587 | #if defined(Q_OS_WIN) && defined(_MSC_FULL_VER) && _MSC_FULL_VER <= 12008804 | - |
1588 | #pragma message("** NOTE: You need the Visual Studio Processor Pack to compile support for 64bit unsigned integers.") | - |
1589 | return QV4::Encode(double((qlonglong)*reinterpret_cast<const qulonglong*>(data))); | - |
1590 | #elif defined(Q_CC_MSVC) && !defined(Q_CC_MSVC_NET) | - |
1591 | return QV4::Encode(double((qlonglong)*reinterpret_cast<const qulonglong*>(data))); | - |
1592 | #else | - |
1593 | return QV4::Encode(double(*reinterpret_cast<const qulonglong*>(data)));executed 2 times by 1 test: return QV4::Encode(double(*reinterpret_cast<const qulonglong*>(data))); | 2 |
1594 | #endif | - |
1595 | case QMetaType::Double:executed 76 times by 2 tests: case QMetaType::Double: Executed by:- tst_qjsengine
- tst_qjsvalue
| 76 |
1596 | return QV4::Encode(*reinterpret_cast<const double*>(data));executed 76 times by 2 tests: return QV4::Encode(*reinterpret_cast<const double*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 76 |
1597 | case QMetaType::QString:executed 132 times by 3 tests: case QMetaType::QString: Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
| 132 |
1598 | return newString(*reinterpret_cast<const QString*>(data))->asReturnedValue();executed 132 times by 3 tests: return newString(*reinterpret_cast<const QString*>(data))->asReturnedValue(); Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
| 132 |
1599 | case QMetaType::QByteArray:executed 2 times by 1 test: case QMetaType::QByteArray: | 2 |
1600 | return newArrayBuffer(*reinterpret_cast<const QByteArray*>(data))->asReturnedValue();executed 2 times by 1 test: return newArrayBuffer(*reinterpret_cast<const QByteArray*>(data))->asReturnedValue(); | 2 |
1601 | case QMetaType::Float:executed 4 times by 2 tests: case QMetaType::Float: Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1602 | return QV4::Encode(*reinterpret_cast<const float*>(data));executed 4 times by 2 tests: return QV4::Encode(*reinterpret_cast<const float*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1603 | case QMetaType::Short:executed 2 times by 1 test: case QMetaType::Short: | 2 |
1604 | return QV4::Encode((int)*reinterpret_cast<const short*>(data));executed 2 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const short*>(data)); | 2 |
1605 | case QMetaType::UShort:executed 4 times by 1 test: case QMetaType::UShort: | 4 |
1606 | return QV4::Encode((int)*reinterpret_cast<const unsigned short*>(data));executed 4 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const unsigned short*>(data)); | 4 |
1607 | case QMetaType::Char:executed 2 times by 1 test: case QMetaType::Char: | 2 |
1608 | return QV4::Encode((int)*reinterpret_cast<const char*>(data));executed 2 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const char*>(data)); | 2 |
1609 | case QMetaType::UChar:executed 2 times by 1 test: case QMetaType::UChar: | 2 |
1610 | return QV4::Encode((int)*reinterpret_cast<const unsigned char*>(data));executed 2 times by 1 test: return QV4::Encode((int)*reinterpret_cast<const unsigned char*>(data)); | 2 |
1611 | case QMetaType::QChar:executed 2 times by 1 test: case QMetaType::QChar: | 2 |
1612 | return QV4::Encode((int)(*reinterpret_cast<const QChar*>(data)).unicode());executed 2 times by 1 test: return QV4::Encode((int)(*reinterpret_cast<const QChar*>(data)).unicode()); | 2 |
1613 | case QMetaType::QStringList:executed 8 times by 1 test: case QMetaType::QStringList: | 8 |
1614 | return QV4::Encode(newArrayObject(*reinterpret_cast<const QStringList *>(data)));executed 8 times by 1 test: return QV4::Encode(newArrayObject(*reinterpret_cast<const QStringList *>(data))); | 8 |
1615 | case QMetaType::QVariantList:executed 4 times by 1 test: case QMetaType::QVariantList: | 4 |
1616 | return variantListToJS(this, *reinterpret_cast<const QVariantList *>(data));executed 4 times by 1 test: return variantListToJS(this, *reinterpret_cast<const QVariantList *>(data)); | 4 |
1617 | case QMetaType::QVariantMap:executed 2 times by 1 test: case QMetaType::QVariantMap: | 2 |
1618 | return variantMapToJS(this, *reinterpret_cast<const QVariantMap *>(data));executed 2 times by 1 test: return variantMapToJS(this, *reinterpret_cast<const QVariantMap *>(data)); | 2 |
1619 | case QMetaType::QDateTime:executed 48020 times by 2 tests: case QMetaType::QDateTime: Executed by:- tst_qjsengine
- tst_qjsvalue
| 48020 |
1620 | return QV4::Encode(newDateObject(*reinterpret_cast<const QDateTime *>(data)));executed 48020 times by 2 tests: return QV4::Encode(newDateObject(*reinterpret_cast<const QDateTime *>(data))); Executed by:- tst_qjsengine
- tst_qjsvalue
| 48020 |
1621 | case QMetaType::QDate:executed 2 times by 1 test: case QMetaType::QDate: | 2 |
1622 | return QV4::Encode(newDateObject(QDateTime(*reinterpret_cast<const QDate *>(data))));executed 2 times by 1 test: return QV4::Encode(newDateObject(QDateTime(*reinterpret_cast<const QDate *>(data)))); | 2 |
1623 | case QMetaType::QRegExp:executed 54 times by 2 tests: case QMetaType::QRegExp: Executed by:- tst_qjsengine
- tst_qjsvalue
| 54 |
1624 | return QV4::Encode(newRegExpObject(*reinterpret_cast<const QRegExp *>(data)));executed 54 times by 2 tests: return QV4::Encode(newRegExpObject(*reinterpret_cast<const QRegExp *>(data))); Executed by:- tst_qjsengine
- tst_qjsvalue
| 54 |
1625 | case QMetaType::QObjectStar:executed 4 times by 2 tests: case QMetaType::QObjectStar: Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1626 | return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(data));executed 4 times by 2 tests: return QV4::QObjectWrapper::wrap(this, *reinterpret_cast<QObject* const *>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 4 |
1627 | case QMetaType::QVariant:executed 118 times by 2 tests: case QMetaType::QVariant: Executed by:- tst_qjsengine
- tst_qjsvalue
| 118 |
1628 | return variantToJS(this, *reinterpret_cast<const QVariant*>(data));executed 118 times by 2 tests: return variantToJS(this, *reinterpret_cast<const QVariant*>(data)); Executed by:- tst_qjsengine
- tst_qjsvalue
| 118 |
1629 | case QMetaType::QJsonValue:executed 34 times by 1 test: case QMetaType::QJsonValue: | 34 |
1630 | return QV4::JsonObject::fromJsonValue(this, *reinterpret_cast<const QJsonValue *>(data));executed 34 times by 1 test: return QV4::JsonObject::fromJsonValue(this, *reinterpret_cast<const QJsonValue *>(data)); | 34 |
1631 | case QMetaType::QJsonObject:executed 10 times by 1 test: case QMetaType::QJsonObject: | 10 |
1632 | return QV4::JsonObject::fromJsonObject(this, *reinterpret_cast<const QJsonObject *>(data));executed 10 times by 1 test: return QV4::JsonObject::fromJsonObject(this, *reinterpret_cast<const QJsonObject *>(data)); | 10 |
1633 | case QMetaType::QJsonArray:executed 10 times by 1 test: case QMetaType::QJsonArray: | 10 |
1634 | return QV4::JsonObject::fromJsonArray(this, *reinterpret_cast<const QJsonArray *>(data));executed 10 times by 1 test: return QV4::JsonObject::fromJsonArray(this, *reinterpret_cast<const QJsonArray *>(data)); | 10 |
1635 | default:executed 44 times by 3 tests: default: Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlvaluetypes
| 44 |
1636 | if (type == qMetaTypeId<QJSValue>()) {TRUE | never evaluated | FALSE | evaluated 44 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlvaluetypes
|
| 0-44 |
1637 | return QJSValuePrivate::convertedToValue(this, *reinterpret_cast<const QJSValue*>(data)); never executed: return QJSValuePrivate::convertedToValue(this, *reinterpret_cast<const QJSValue*>(data)); | 0 |
1638 | } else { | - |
1639 | QByteArray typeName = QMetaType::typeName(type); | - |
1640 | if (typeName.endsWith('*') && !*reinterpret_cast<void* const *>(data)) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 42 times by 3 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlvaluetypes
|
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-42 |
1641 | return QV4::Encode::null(); never executed: return QV4::Encode::null(); | 0 |
1642 | } | - |
1643 | QMetaType mt(type); | - |
1644 | if (mt.flags() & QMetaType::IsGadget) {TRUE | evaluated 12 times by 1 test | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 12-32 |
1645 | Q_ASSERT(mt.metaObject()); | - |
1646 | return QV4::QQmlValueTypeWrapper::create(this, QVariant(type, data), mt.metaObject(), type);executed 12 times by 1 test: return QV4::QQmlValueTypeWrapper::create(this, QVariant(type, data), mt.metaObject(), type); | 12 |
1647 | } | - |
1648 | | - |
1649 | return QV4::Encode(newVariantObject(QVariant(type, data)));executed 32 times by 2 tests: return QV4::Encode(newVariantObject(QVariant(type, data))); Executed by:- tst_qjsengine
- tst_qjsvalue
| 32 |
1650 | } | - |
1651 | } | - |
1652 | Q_UNREACHABLE(); | - |
1653 | return 0; never executed: return 0; | 0 |
1654 | } | - |
1655 | | - |
1656 | ReturnedValue ExecutionEngine::global() | - |
1657 | { | - |
1658 | return globalObject->asReturnedValue();executed 9362 times by 35 tests: return globalObject->asReturnedValue(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickcustomparticle
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- ...
| 9362 |
1659 | } | - |
1660 | | - |
1661 | | - |
1662 | | - |
1663 | | - |
1664 | bool ExecutionEngine::metaTypeFromJS(const Value *value, int type, void *data) | - |
1665 | { | - |
1666 | | - |
1667 | switch (QMetaType::Type(type)) { | - |
1668 | case QMetaType::Bool:executed 44 times by 1 test: case QMetaType::Bool: | 44 |
1669 | *reinterpret_cast<bool*>(data) = value->toBoolean(); | - |
1670 | return true;executed 44 times by 1 test: return true; | 44 |
1671 | case QMetaType::Int:executed 34 times by 2 tests: case QMetaType::Int: Executed by:- tst_qjsengine
- tst_qjsvalue
| 34 |
1672 | *reinterpret_cast<int*>(data) = value->toInt32(); | - |
1673 | return true;executed 34 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 34 |
1674 | case QMetaType::UInt:executed 26 times by 1 test: case QMetaType::UInt: | 26 |
1675 | *reinterpret_cast<uint*>(data) = value->toUInt32(); | - |
1676 | return true;executed 26 times by 1 test: return true; | 26 |
1677 | case QMetaType::LongLong:executed 4 times by 1 test: case QMetaType::LongLong: | 4 |
1678 | *reinterpret_cast<qlonglong*>(data) = qlonglong(value->toInteger()); | - |
1679 | return true;executed 4 times by 1 test: return true; | 4 |
1680 | case QMetaType::ULongLong:executed 4 times by 1 test: case QMetaType::ULongLong: | 4 |
1681 | *reinterpret_cast<qulonglong*>(data) = qulonglong(value->toInteger()); | - |
1682 | return true;executed 4 times by 1 test: return true; | 4 |
1683 | case QMetaType::Double:executed 18 times by 2 tests: case QMetaType::Double: Executed by:- tst_qjsengine
- tst_qjsvalue
| 18 |
1684 | *reinterpret_cast<double*>(data) = value->toNumber(); | - |
1685 | return true;executed 18 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 18 |
1686 | case QMetaType::QString:executed 18 times by 2 tests: case QMetaType::QString: Executed by:- tst_qjsengine
- tst_qjsvalue
| 18 |
1687 | if (value->isUndefined() || value->isNull())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 2-16 |
1688 | *reinterpret_cast<QString*>(data) = QString();executed 4 times by 1 test: *reinterpret_cast<QString*>(data) = QString(); | 4 |
1689 | else | - |
1690 | *reinterpret_cast<QString*>(data) = value->toQString();executed 14 times by 2 tests: *reinterpret_cast<QString*>(data) = value->toQString(); Executed by:- tst_qjsengine
- tst_qjsvalue
| 14 |
1691 | return true;executed 18 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 18 |
1692 | case QMetaType::QByteArray: never executed: case QMetaType::QByteArray: | 0 |
1693 | if (const ArrayBuffer *ab = value->as<ArrayBuffer>())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1694 | *reinterpret_cast<QByteArray*>(data) = ab->asByteArray(); never executed: *reinterpret_cast<QByteArray*>(data) = ab->asByteArray(); | 0 |
1695 | else | - |
1696 | *reinterpret_cast<QByteArray*>(data) = QByteArray(); never executed: *reinterpret_cast<QByteArray*>(data) = QByteArray(); | 0 |
1697 | return true; never executed: return true; | 0 |
1698 | case QMetaType::Float:executed 2 times by 1 test: case QMetaType::Float: | 2 |
1699 | *reinterpret_cast<float*>(data) = value->toNumber(); | - |
1700 | return true;executed 2 times by 1 test: return true; | 2 |
1701 | case QMetaType::Short:executed 2 times by 1 test: case QMetaType::Short: | 2 |
1702 | *reinterpret_cast<short*>(data) = short(value->toInt32()); | - |
1703 | return true;executed 2 times by 1 test: return true; | 2 |
1704 | case QMetaType::UShort:executed 2 times by 1 test: case QMetaType::UShort: | 2 |
1705 | *reinterpret_cast<unsigned short*>(data) = value->toUInt16(); | - |
1706 | return true;executed 2 times by 1 test: return true; | 2 |
1707 | case QMetaType::Char:executed 2 times by 1 test: case QMetaType::Char: | 2 |
1708 | *reinterpret_cast<char*>(data) = char(value->toInt32()); | - |
1709 | return true;executed 2 times by 1 test: return true; | 2 |
1710 | case QMetaType::UChar:executed 2 times by 1 test: case QMetaType::UChar: | 2 |
1711 | *reinterpret_cast<unsigned char*>(data) = (unsigned char)(value->toInt32()); | - |
1712 | return true;executed 2 times by 1 test: return true; | 2 |
1713 | case QMetaType::QChar:executed 6 times by 1 test: case QMetaType::QChar: | 6 |
1714 | if (String *s = value->stringValue()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 2-4 |
1715 | QString str = s->toQString(); | - |
1716 | *reinterpret_cast<QChar*>(data) = str.isEmpty() ? QChar() : str.at(0);TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1717 | } else {executed 2 times by 1 test: end of block | 2 |
1718 | *reinterpret_cast<QChar*>(data) = QChar(ushort(value->toUInt16())); | - |
1719 | }executed 4 times by 1 test: end of block | 4 |
1720 | return true;executed 6 times by 1 test: return true; | 6 |
1721 | case QMetaType::QDateTime: never executed: case QMetaType::QDateTime: | 0 |
1722 | if (const QV4::DateObject *d = value->as<DateObject>()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1723 | *reinterpret_cast<QDateTime *>(data) = d->toQDateTime(); | - |
1724 | return true; never executed: return true; | 0 |
1725 | } break; never executed: break; | 0 |
1726 | case QMetaType::QDate: never executed: case QMetaType::QDate: | 0 |
1727 | if (const QV4::DateObject *d = value->as<DateObject>()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1728 | *reinterpret_cast<QDate *>(data) = d->toQDateTime().date(); | - |
1729 | return true; never executed: return true; | 0 |
1730 | } break; never executed: break; | 0 |
1731 | case QMetaType::QRegExp:executed 30 times by 2 tests: case QMetaType::QRegExp: Executed by:- tst_qjsengine
- tst_qjsvalue
| 30 |
1732 | if (const QV4::RegExpObject *r = value->as<QV4::RegExpObject>()) {TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 10 times by 1 test |
| 10-20 |
1733 | *reinterpret_cast<QRegExp *>(data) = r->toQRegExp(); | - |
1734 | return true;executed 20 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 20 |
1735 | } break;executed 10 times by 1 test: break; | 10 |
1736 | case QMetaType::QObjectStar: {executed 32 times by 2 tests: case QMetaType::QObjectStar: Executed by:- tst_qjsengine
- tst_qjsvalue
| 32 |
1737 | const QV4::QObjectWrapper *qobjectWrapper = value->as<QV4::QObjectWrapper>(); | - |
1738 | if (qobjectWrapper || value->isNull()) {TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 24 times by 1 test |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 6-24 |
1739 | *reinterpret_cast<QObject* *>(data) = qtObjectFromJS(this, *value); | - |
1740 | return true;executed 14 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 14 |
1741 | } break;executed 18 times by 1 test: break; | 18 |
1742 | } | - |
1743 | case QMetaType::QStringList: {executed 26 times by 1 test: case QMetaType::QStringList: | 26 |
1744 | const QV4::ArrayObject *a = value->as<QV4::ArrayObject>(); | - |
1745 | if (a) {TRUE | evaluated 26 times by 1 test | FALSE | never evaluated |
| 0-26 |
1746 | *reinterpret_cast<QStringList *>(data) = a->toQStringList(); | - |
1747 | return true;executed 26 times by 1 test: return true; | 26 |
1748 | } | - |
1749 | break; never executed: break; | 0 |
1750 | } | - |
1751 | case QMetaType::QVariantList: { never executed: case QMetaType::QVariantList: | 0 |
1752 | const QV4::ArrayObject *a = value->as<QV4::ArrayObject>(); | - |
1753 | if (a) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1754 | *reinterpret_cast<QVariantList *>(data) = toVariant(*a, -1, false).toList(); | - |
1755 | return true; never executed: return true; | 0 |
1756 | } | - |
1757 | break; never executed: break; | 0 |
1758 | } | - |
1759 | case QMetaType::QVariantMap: { never executed: case QMetaType::QVariantMap: | 0 |
1760 | const QV4::Object *o = value->as<QV4::Object>(); | - |
1761 | if (o) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1762 | *reinterpret_cast<QVariantMap *>(data) = variantMapFromJS(o); | - |
1763 | return true; never executed: return true; | 0 |
1764 | } | - |
1765 | break; never executed: break; | 0 |
1766 | } | - |
1767 | case QMetaType::QVariant: never executed: case QMetaType::QVariant: | 0 |
1768 | *reinterpret_cast<QVariant*>(data) = toVariant(*value, -1, false); | - |
1769 | return true; never executed: return true; | 0 |
1770 | case QMetaType::QJsonValue:executed 34 times by 1 test: case QMetaType::QJsonValue: | 34 |
1771 | *reinterpret_cast<QJsonValue *>(data) = QV4::JsonObject::toJsonValue(*value); | - |
1772 | return true;executed 34 times by 1 test: return true; | 34 |
1773 | case QMetaType::QJsonObject: {executed 10 times by 1 test: case QMetaType::QJsonObject: | 10 |
1774 | *reinterpret_cast<QJsonObject *>(data) = QV4::JsonObject::toJsonObject(value->as<Object>()); | - |
1775 | return true;executed 10 times by 1 test: return true; | 10 |
1776 | } | - |
1777 | case QMetaType::QJsonArray: {executed 10 times by 1 test: case QMetaType::QJsonArray: | 10 |
1778 | const QV4::ArrayObject *a = value->as<ArrayObject>(); | - |
1779 | if (a) {TRUE | evaluated 10 times by 1 test | FALSE | never evaluated |
| 0-10 |
1780 | *reinterpret_cast<QJsonArray *>(data) = JsonObject::toJsonArray(a); | - |
1781 | return true;executed 10 times by 1 test: return true; | 10 |
1782 | } | - |
1783 | break; never executed: break; | 0 |
1784 | } | - |
1785 | default:executed 24 times by 3 tests: default: Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlvaluetypes
| 24 |
1786 | ; | - |
1787 | }executed 24 times by 3 tests: end of block Executed by:- tst_qjsengine
- tst_qjsvalue
- tst_qqmlvaluetypes
| 24 |
1788 | | - |
1789 | { | - |
1790 | const QQmlValueTypeWrapper *vtw = value->as<QQmlValueTypeWrapper>(); | - |
1791 | if (vtw && vtw->typeId() == type) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 50 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-50 |
1792 | return vtw->toGadget(data);executed 2 times by 1 test: return vtw->toGadget(data); | 2 |
1793 | } | - |
1794 | } | - |
1795 | | - |
1796 | #if 0 | - |
1797 | if (isQtVariant(value)) { | - |
1798 | const QVariant &var = variantValue(value); | - |
1799 | | - |
1800 | if (var.userType() == type) { | - |
1801 | QMetaType::constructInPlace(type, data, var.constData()); | - |
1802 | return true; | - |
1803 | } | - |
1804 | if (var.canConvert(type)) { | - |
1805 | QVariant vv = var; | - |
1806 | vv.convert(type); | - |
1807 | Q_ASSERT(vv.userType() == type); | - |
1808 | QMetaType::constructInPlace(type, data, vv.constData()); | - |
1809 | return true; | - |
1810 | } | - |
1811 | | - |
1812 | } | - |
1813 | #endif | - |
1814 | | - |
1815 | | - |
1816 | | - |
1817 | QByteArray name = QMetaType::typeName(type); | - |
1818 | if (convertToNativeQObject(this, *value, name, reinterpret_cast<void* *>(data)))TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 36 times by 1 test |
| 14-36 |
1819 | return true;executed 14 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 14 |
1820 | if (value->as<QV4::VariantObject>() && name.endsWith('*')) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 30 times by 1 test |
TRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
| 0-30 |
1821 | int valueType = QMetaType::type(name.left(name.size()-1)); | - |
1822 | QVariant &var = value->as<QV4::VariantObject>()->d()->data(); | - |
1823 | if (valueType == var.userType()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 2-4 |
1824 | | - |
1825 | *reinterpret_cast<void* *>(data) = var.data(); | - |
1826 | return true;executed 2 times by 1 test: return true; | 2 |
1827 | } else if (Object *o = value->objectValue()) {TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
1828 | | - |
1829 | QV4::Scope scope(this); | - |
1830 | QV4::ScopedObject proto(scope, o->getPrototypeOf()); | - |
1831 | while (proto) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-8 |
1832 | bool canCast = false; | - |
1833 | if (QV4::VariantObject *vo = proto->as<QV4::VariantObject>()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4 |
1834 | const QVariant &v = vo->d()->data(); | - |
1835 | canCast = (type == v.userType()) || (valueType && (valueType == v.userType()));TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1836 | }executed 4 times by 1 test: end of block | 4 |
1837 | else if (proto->as<QV4::QObjectWrapper>()) {TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1838 | QByteArray className = name.left(name.size()-1); | - |
1839 | QV4::ScopedObject p(scope, proto.getPointer()); | - |
1840 | if (QObject *qobject = qtObjectFromJS(this, p))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1841 | canCast = qobject->qt_metacast(className) != nullptr; never executed: canCast = qobject->qt_metacast(className) != nullptr; | 0 |
1842 | } never executed: end of block | 0 |
1843 | if (canCast) {TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
| 0-8 |
1844 | QByteArray varTypeName = QMetaType::typeName(var.userType()); | - |
1845 | if (varTypeName.endsWith('*'))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1846 | *reinterpret_cast<void* *>(data) = *reinterpret_cast<void* *>(var.data()); never executed: *reinterpret_cast<void* *>(data) = *reinterpret_cast<void* *>(var.data()); | 0 |
1847 | else | - |
1848 | *reinterpret_cast<void* *>(data) = var.data(); never executed: *reinterpret_cast<void* *>(data) = var.data(); | 0 |
1849 | return true; never executed: return true; | 0 |
1850 | } | - |
1851 | proto = proto->getPrototypeOf(); | - |
1852 | }executed 8 times by 1 test: end of block | 8 |
1853 | }executed 4 times by 1 test: end of block | 4 |
1854 | } else if (value->isNull() && name.endsWith('*')) {executed 4 times by 1 test: end of block TRUE | evaluated 2 times by 1 test | FALSE | evaluated 28 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-28 |
1855 | *reinterpret_cast<void* *>(data) = nullptr; | - |
1856 | return true; never executed: return true; | 0 |
1857 | } else if (type == qMetaTypeId<QJSValue>()) {TRUE | never evaluated | FALSE | evaluated 30 times by 1 test |
| 0-30 |
1858 | *reinterpret_cast<QJSValue*>(data) = QJSValue(this, value->asReturnedValue()); | - |
1859 | return true; never executed: return true; | 0 |
1860 | } | - |
1861 | | - |
1862 | return false;executed 34 times by 1 test: return false; | 34 |
1863 | } | - |
1864 | | - |
1865 | static bool convertToNativeQObject(QV4::ExecutionEngine *e, const QV4::Value &value, const QByteArray &targetType, void **result) | - |
1866 | { | - |
1867 | if (!targetType.endsWith('*'))TRUE | evaluated 10 times by 1 test | FALSE | evaluated 40 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 10-40 |
1868 | return false;executed 10 times by 1 test: return false; | 10 |
1869 | if (QObject *qobject = qtObjectFromJS(e, value)) {TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 24 times by 1 test |
| 16-24 |
1870 | int start = targetType.startsWith("const ") ? 6 : 0;TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 0-16 |
1871 | QByteArray className = targetType.mid(start, targetType.size()-start-1); | - |
1872 | if (void *instance = qobject->qt_metacast(className)) {TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
| FALSE | evaluated 2 times by 1 test |
| 2-14 |
1873 | *result = instance; | - |
1874 | return true;executed 14 times by 2 tests: return true; Executed by:- tst_qjsengine
- tst_qjsvalue
| 14 |
1875 | } | - |
1876 | }executed 2 times by 1 test: end of block | 2 |
1877 | return false;executed 26 times by 1 test: return false; | 26 |
1878 | } | - |
1879 | | - |
1880 | static QObject *qtObjectFromJS(QV4::ExecutionEngine *engine, const QV4::Value &value) | - |
1881 | { | - |
1882 | if (!value.isObject())TRUE | evaluated 18 times by 1 test | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 18-36 |
1883 | return nullptr;executed 18 times by 1 test: return nullptr; | 18 |
1884 | | - |
1885 | QV4::Scope scope(engine); | - |
1886 | QV4::Scoped<QV4::VariantObject> v(scope, value); | - |
1887 | | - |
1888 | if (v) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 30 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 6-30 |
1889 | QVariant variant = v->d()->data(); | - |
1890 | int type = variant.userType(); | - |
1891 | if (type == QMetaType::QObjectStar)TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
1892 | return *reinterpret_cast<QObject* const *>(variant.constData()); never executed: return *reinterpret_cast<QObject* const *>(variant.constData()); | 0 |
1893 | }executed 6 times by 1 test: end of block | 6 |
1894 | QV4::Scoped<QV4::QObjectWrapper> wrapper(scope, value); | - |
1895 | if (!wrapper)TRUE | evaluated 12 times by 1 test | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qjsengine
- tst_qjsvalue
|
| 12-24 |
1896 | return nullptr;executed 12 times by 1 test: return nullptr; | 12 |
1897 | return wrapper->object();executed 24 times by 2 tests: return wrapper->object(); Executed by:- tst_qjsengine
- tst_qjsvalue
| 24 |
1898 | } | - |
1899 | | - |
1900 | | - |
1901 | QT_END_NAMESPACE | - |
| | |