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 "qv4objectiterator_p.h" | - |
40 | #include "qv4object_p.h" | - |
41 | #include "qv4stringobject_p.h" | - |
42 | #include "qv4identifier_p.h" | - |
43 | #include "qv4argumentsobject_p.h" | - |
44 | #include "qv4string_p.h" | - |
45 | #include "qv4iterator_p.h" | - |
46 | | - |
47 | using namespace QV4; | - |
48 | | - |
49 | void ForInIteratorPrototype::init(ExecutionEngine *) | - |
50 | { | - |
51 | defineDefaultProperty(QStringLiteral("next"), method_next, 0);executed 98485 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
- ...
| 98485 |
52 | }executed 99106 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
- ...
| 99106 |
53 | | - |
54 | ReturnedValue ForInIteratorPrototype::method_next(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
55 | { | - |
56 | const ForInIteratorObject *forIn = thisObject->as<ForInIteratorObject>(); | - |
57 | Q_ASSERT(forIn); | - |
58 | Scope scope(b->engine()); | - |
59 | ScopedValue n(scope, forIn->nextPropertyName()); | - |
60 | bool done = false; | - |
61 | if (n->asReturnedValue() == Encode::null()) {TRUE | evaluated 8053 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 16685 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
|
| 8053-16685 |
62 | done = true; | - |
63 | n = Primitive::undefinedValue(); | - |
64 | }executed 8053 times by 12 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 8053 |
65 | return IteratorPrototype::createIterResultObject(scope.engine, n, done);executed 24733 times by 12 tests: return IteratorPrototype::createIterResultObject(scope.engine, n, done); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 24733 |
66 | } | - |
67 | | - |
68 | void ObjectIterator::init(const Object *o) | - |
69 | { | - |
70 | object->setM(o ? o->m() : nullptr); | - |
71 | current->setM(o ? o->m() : nullptr); | - |
72 | | - |
73 | if (object->as<ArgumentsObject>()) {TRUE | evaluated 288 times by 1 test | FALSE | evaluated 29423 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 288-29423 |
74 | Scope scope(engine); | - |
75 | Scoped<ArgumentsObject> (scope, object->asReturnedValue())->fullyCreate(); | - |
76 | }executed 288 times by 1 test: end of block | 288 |
77 | }executed 29709 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 29709 |
78 | | - |
79 | void ObjectIterator::next(Value *name, uint *index, Property *pd, PropertyAttributes *attrs) | - |
80 | { | - |
81 | name->setM(nullptr); | - |
82 | *index = UINT_MAX; | - |
83 | | - |
84 | if (!object->as<Object>()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 90525 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 2-90525 |
85 | *attrs = PropertyAttributes(); | - |
86 | return;executed 2 times by 1 test: return; | 2 |
87 | } | - |
88 | Scope scope(engine); | - |
89 | ScopedObject o(scope); | - |
90 | ScopedString n(scope); | - |
91 | | - |
92 | while (1) { | - |
93 | Object *co = current->objectValue(); | - |
94 | if (!co)TRUE | evaluated 27970 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 107595 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 27970-107595 |
95 | break;executed 27970 times by 36 tests: break; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 27970 |
96 | | - |
97 | while (1) { | - |
98 | co->advanceIterator(this, name, index, pd, attrs); | - |
99 | if (attrs->isEmpty())TRUE | evaluated 45117 times by 36 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 62635 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
|
| 45117-62635 |
100 | break;executed 45100 times by 36 tests: break; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 45100 |
101 | | - |
102 | if (co->heapObject() != object->heapObject()) {TRUE | evaluated 102 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 62493 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
|
| 102-62493 |
103 | o = object->as<Object>(); | - |
104 | n = *name; | - |
105 | bool shadowed = false; | - |
106 | while (o->d() != current->heapObject()) {TRUE | evaluated 118 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 80 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 80-118 |
107 | PropertyKey id = n ? (n->toPropertyKey()) : PropertyKey::fromArrayIndex(*index);TRUE | evaluated 108 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 10-108 |
108 | if (id.isValid() && o->getOwnProperty(id) != Attr_Invalid) {TRUE | evaluated 118 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | never evaluated |
TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 96 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 0-118 |
109 | shadowed = true; | - |
110 | break;executed 22 times by 2 tests: break; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 22 |
111 | } | - |
112 | o = o->getPrototypeOf(); | - |
113 | }executed 96 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 96 |
114 | if (shadowed)TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 80 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
| 22-80 |
115 | continue;executed 22 times by 2 tests: continue; Executed by:- tst_ecmascripttests
- tst_qjsengine
| 22 |
116 | }executed 80 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 80 |
117 | return;executed 62570 times by 35 tests: return; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
| 62570 |
118 | } | - |
119 | | - |
120 | if (flags & WithProtoChain)TRUE | evaluated 28479 times by 24 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 16619 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_qquickworkerscript
- tst_qv4debugger
|
| 16619-28479 |
121 | current->setM(co->getPrototypeOf());executed 28477 times by 24 tests: current->setM(co->getPrototypeOf()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 28477 |
122 | else | - |
123 | current->setM(nullptr);executed 16619 times by 25 tests: current->setM(nullptr); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickspritesequence
- tst_qquickworkerscript
- tst_qv4debugger
| 16619 |
124 | | - |
125 | arrayIndex = 0; | - |
126 | memberIndex = 0; | - |
127 | }executed 45118 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 45118 |
128 | *attrs = PropertyAttributes(); | - |
129 | }executed 27968 times by 36 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 27968 |
130 | | - |
131 | ReturnedValue ObjectIterator::nextPropertyName(Value *value) | - |
132 | { | - |
133 | Object *o = object->objectValue(); | - |
134 | if (!o)TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
135 | return Encode::null(); never executed: return Encode::null(); | 0 |
136 | | - |
137 | PropertyAttributes attrs; | - |
138 | uint index; | - |
139 | Scope scope(engine); | - |
140 | ScopedProperty p(scope); | - |
141 | ScopedString name(scope); | - |
142 | next(name.getRef(), &index, p, &attrs); | - |
143 | if (attrs.isEmpty())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 2-4 |
144 | return Encode::null();executed 2 times by 1 test: return Encode::null(); | 2 |
145 | | - |
146 | *value = o->getValue(p->value, attrs); | - |
147 | | - |
148 | if (!!name)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
149 | return name->asReturnedValue();executed 4 times by 1 test: return name->asReturnedValue(); | 4 |
150 | Q_ASSERT(index < UINT_MAX); | - |
151 | return Encode(index); never executed: return Encode(index); | 0 |
152 | } | - |
153 | | - |
154 | ReturnedValue ObjectIterator::nextPropertyNameAsString(Value *value) | - |
155 | { | - |
156 | Object *o = object->objectValue(); | - |
157 | if (!o)TRUE | never evaluated | FALSE | evaluated 50217 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
|
| 0-50217 |
158 | return Encode::null(); never executed: return Encode::null(); | 0 |
159 | | - |
160 | PropertyAttributes attrs; | - |
161 | uint index; | - |
162 | Scope scope(engine); | - |
163 | ScopedProperty p(scope); | - |
164 | ScopedString name(scope); | - |
165 | next(name.getRef(), &index, p, &attrs); | - |
166 | if (attrs.isEmpty())TRUE | evaluated 14025 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
| FALSE | evaluated 36215 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
|
| 14025-36215 |
167 | return Encode::null();executed 14025 times by 27 tests: return Encode::null(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- ...
| 14025 |
168 | | - |
169 | *value = o->getValue(p->value, attrs); | - |
170 | | - |
171 | if (!!name)TRUE | evaluated 36203 times by 25 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
|
| 18-36203 |
172 | return name->asReturnedValue();executed 36202 times by 25 tests: return name->asReturnedValue(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| 36202 |
173 | Q_ASSERT(index < UINT_MAX); | - |
174 | return Encode(engine->newString(QString::number(index)));executed 18 times by 2 tests: return Encode(engine->newString(QString::number(index))); Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
| 18 |
175 | } | - |
176 | | - |
177 | ReturnedValue ObjectIterator::nextPropertyNameAsString() | - |
178 | { | - |
179 | if (!object->as<Object>())TRUE | evaluated 44 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 32639 times by 15 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
|
| 44-32639 |
180 | return Encode::null();executed 44 times by 2 tests: return Encode::null(); Executed by:- tst_ecmascripttests
- tst_qjsengine
| 44 |
181 | | - |
182 | PropertyAttributes attrs; | - |
183 | uint index; | - |
184 | Scope scope(engine); | - |
185 | ScopedProperty p(scope); | - |
186 | ScopedString name(scope); | - |
187 | next(name.getRef(), &index, p, &attrs); | - |
188 | if (attrs.isEmpty())TRUE | evaluated 10615 times by 15 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| FALSE | evaluated 22082 times by 15 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
|
| 10615-22082 |
189 | return Encode::null();executed 10615 times by 15 tests: return Encode::null(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_quicktestmainwithsetup
- tst_qv4debugger
- tst_testfiltering
| 10615 |
190 | | - |
191 | if (!!name)TRUE | evaluated 16548 times by 13 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 5508 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
|
| 5508-16548 |
192 | return name->asReturnedValue();executed 16541 times by 13 tests: return name->asReturnedValue(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 16541 |
193 | Q_ASSERT(index < UINT_MAX); | - |
194 | return Encode(engine->newString(QString::number(index)));executed 5520 times by 9 tests: return Encode(engine->newString(QString::number(index))); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qtqmlmodules
- tst_qv4debugger
- tst_testfiltering
| 5520 |
195 | } | - |
196 | | - |
197 | | - |
198 | DEFINE_OBJECT_VTABLE(ForInIteratorObject); | - |
199 | | - |
200 | void Heap::ForInIteratorObject::markObjects(Heap::Base *that, MarkStack *markStack) | - |
201 | { | - |
202 | ForInIteratorObject *o = static_cast<ForInIteratorObject *>(that); | - |
203 | o->workArea[0].mark(markStack); | - |
204 | o->workArea[1].mark(markStack); | - |
205 | Object::markObjects(that, markStack); | - |
206 | }executed 38 times by 2 tests: end of block Executed by:- tst_qqmlqt
- tst_qquicklayouts
| 38 |
| | |