| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | using namespace QV4; | - |
| 5 | | - |
| 6 | void ForInIteratorPrototype::init(ExecutionEngine *) | - |
| 7 | { | - |
| 8 | defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "next")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "next" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 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
- ...
qstring_literal_temp;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
- ...
}()), method_next, 0); | 98485 |
| 9 | }executed 99106 times by 153 tests: end of blockExecuted 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 |
| 10 | | - |
| 11 | ReturnedValue ForInIteratorPrototype::method_next(const FunctionObject *b, const Value *thisObject, const Value *, int) | - |
| 12 | { | - |
| 13 | const ForInIteratorObject *forIn = thisObject->as<ForInIteratorObject>(); | - |
| 14 | ((forIn) ? static_cast<void>(0) : qt_assert("forIn", __FILE__, 57)); | - |
| 15 | Scope scope(b->engine()); | - |
| 16 | ScopedValue n(scope, forIn->nextPropertyName()); | - |
| 17 | bool done = false; | - |
| 18 | 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 |
| 19 | done = true; | - |
| 20 | n = Primitive::undefinedValue(); | - |
| 21 | }executed 8053 times by 12 tests: end of blockExecuted 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 |
| 22 | returnexecuted 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
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 |
| 23 | } | - |
| 24 | | - |
| 25 | void ObjectIterator::init(const Object *o) | - |
| 26 | { | - |
| 27 | object->setM(o ? o->m() : nullptr); | - |
| 28 | current->setM(o ? o->m() : nullptr); | - |
| 29 | | - |
| 30 | 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 |
| 31 | Scope scope(engine); | - |
| 32 | Scoped<ArgumentsObject> (scope, object->asReturnedValue())->fullyCreate(); | - |
| 33 | }executed 288 times by 1 test: end of block | 288 |
| 34 | }executed 29709 times by 36 tests: end of blockExecuted 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 |
| 35 | | - |
| 36 | void ObjectIterator::next(Value *name, uint *index, Property *pd, PropertyAttributes *attrs) | - |
| 37 | { | - |
| 38 | name->setM(nullptr); | - |
| 39 | *index = | - |
| 40 | (0x7fffffff * 2U + 1U) | - |
| 41 | ; | - |
| 42 | | - |
| 43 | 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 |
| 44 | *attrs = PropertyAttributes(); | - |
| 45 | return;executed 2 times by 1 test: return; | 2 |
| 46 | } | - |
| 47 | Scope scope(engine); | - |
| 48 | ScopedObject o(scope); | - |
| 49 | ScopedString n(scope); | - |
| 50 | | - |
| 51 | while (1) { | - |
| 52 | Object *co = current->objectValue(); | - |
| 53 | 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 |
| 54 | 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 |
| 55 | | - |
| 56 | while (1) { | - |
| 57 | co->advanceIterator(this, name, index, pd, attrs); | - |
| 58 | 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 |
| 59 | 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 |
| 60 | | - |
| 61 | 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 |
| 62 | o = object->as<Object>(); | - |
| 63 | n = *name; | - |
| 64 | bool shadowed = false; | - |
| 65 | 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 |
| 66 | PropertyKey id = n| TRUE | evaluated 108 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
? (n->toPropertyKey()) : PropertyKey::fromArrayIndex(*index); | 10-108 |
| 67 | if (id.isValid()| TRUE | evaluated 118 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | never evaluated |
&& o->getOwnProperty(id) != Attr_Invalid| 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 |
| 68 | shadowed = true; | - |
| 69 | break;executed 22 times by 2 tests: break;Executed by:- tst_ecmascripttests
- tst_qjsengine
| 22 |
| 70 | } | - |
| 71 | o = o->getPrototypeOf(); | - |
| 72 | }executed 96 times by 2 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_qjsengine
| 96 |
| 73 | 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 |
| 74 | continue;executed 22 times by 2 tests: continue;Executed by:- tst_ecmascripttests
- tst_qjsengine
| 22 |
| 75 | }executed 80 times by 2 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_qjsengine
| 80 |
| 76 | 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 |
| 77 | } | - |
| 78 | | - |
| 79 | 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 |
| 80 | 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 |
| 81 | else | - |
| 82 | 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 |
| 83 | | - |
| 84 | arrayIndex = 0; | - |
| 85 | memberIndex = 0; | - |
| 86 | }executed 45118 times by 36 tests: end of blockExecuted 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 |
| 87 | *attrs = PropertyAttributes(); | - |
| 88 | }executed 27968 times by 36 tests: end of blockExecuted 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 |
| 89 | | - |
| 90 | ReturnedValue ObjectIterator::nextPropertyName(Value *value) | - |
| 91 | { | - |
| 92 | Object *o = object->objectValue(); | - |
| 93 | if (!o| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
| 94 | return never executed: return Encode::null(); Encode::null();never executed: return Encode::null(); | 0 |
| 95 | | - |
| 96 | PropertyAttributes attrs; | - |
| 97 | uint index; | - |
| 98 | Scope scope(engine); | - |
| 99 | ScopedProperty p(scope); | - |
| 100 | ScopedString name(scope); | - |
| 101 | next(name.getRef(), &index, p, &attrs); | - |
| 102 | if (attrs.isEmpty()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) | 2-4 |
| 103 | returnexecuted 2 times by 1 test: return Encode::null(); Encode::null();executed 2 times by 1 test: return Encode::null(); | 2 |
| 104 | | - |
| 105 | *value = o->getValue(p->value, attrs); | - |
| 106 | | - |
| 107 | if (!!name| TRUE | evaluated 4 times by 1 test | | FALSE | never evaluated |
) | 0-4 |
| 108 | returnexecuted 4 times by 1 test: return name->asReturnedValue(); name->asReturnedValue();executed 4 times by 1 test: return name->asReturnedValue(); | 4 |
| 109 | ((index < | - |
| 110 | (0x7fffffff * 2U + 1U) | - |
| 111 | ) ? static_cast<void>(0) : qt_assert("index < UINT_MAX", __FILE__, 150)); | - |
| 112 | return never executed: return Encode(index); Encode(index);never executed: return Encode(index); | 0 |
| 113 | } | - |
| 114 | | - |
| 115 | ReturnedValue ObjectIterator::nextPropertyNameAsString(Value *value) | - |
| 116 | { | - |
| 117 | Object *o = object->objectValue(); | - |
| 118 | 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 |
| 119 | return never executed: return Encode::null(); Encode::null();never executed: return Encode::null(); | 0 |
| 120 | | - |
| 121 | PropertyAttributes attrs; | - |
| 122 | uint index; | - |
| 123 | Scope scope(engine); | - |
| 124 | ScopedProperty p(scope); | - |
| 125 | ScopedString name(scope); | - |
| 126 | next(name.getRef(), &index, p, &attrs); | - |
| 127 | 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 |
| 128 | returnexecuted 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
- ...
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 |
| 129 | | - |
| 130 | *value = o->getValue(p->value, attrs); | - |
| 131 | | - |
| 132 | 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 |
| 133 | returnexecuted 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
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 |
| 134 | ((index < | - |
| 135 | (0x7fffffff * 2U + 1U) | - |
| 136 | ) ? static_cast<void>(0) : qt_assert("index < UINT_MAX", __FILE__, 173)); | - |
| 137 | returnexecuted 18 times by 2 tests: return Encode(engine->newString(QString::number(index)));Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
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 |
| 138 | } | - |
| 139 | | - |
| 140 | ReturnedValue ObjectIterator::nextPropertyNameAsString() | - |
| 141 | { | - |
| 142 | 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 |
| 143 | returnexecuted 44 times by 2 tests: return Encode::null();Executed by:- tst_ecmascripttests
- tst_qjsengine
Encode::null();executed 44 times by 2 tests: return Encode::null();Executed by:- tst_ecmascripttests
- tst_qjsengine
| 44 |
| 144 | | - |
| 145 | PropertyAttributes attrs; | - |
| 146 | uint index; | - |
| 147 | Scope scope(engine); | - |
| 148 | ScopedProperty p(scope); | - |
| 149 | ScopedString name(scope); | - |
| 150 | next(name.getRef(), &index, p, &attrs); | - |
| 151 | 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 |
| 152 | returnexecuted 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
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 |
| 153 | | - |
| 154 | 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 |
| 155 | returnexecuted 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
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 |
| 156 | ((index < | - |
| 157 | (0x7fffffff * 2U + 1U) | - |
| 158 | ) ? static_cast<void>(0) : qt_assert("index < UINT_MAX", __FILE__, 193)); | - |
| 159 | returnexecuted 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
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 |
| 160 | } | - |
| 161 | | - |
| 162 | | - |
| 163 | const QV4::VTable ForInIteratorObject::static_vtbl = { (std::is_same<ForInIteratorObject::SuperClass, Object>::value) ? nullptr : &ForInIteratorObject::SuperClass::static_vtbl, (sizeof(ForInIteratorObject::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(ForInIteratorObject::Data) + (ForInIteratorObject::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(ForInIteratorObject::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), ForInIteratorObject::IsExecutionContext, ForInIteratorObject::IsString, ForInIteratorObject::IsObject, ForInIteratorObject::IsFunctionObject, ForInIteratorObject::IsErrorObject, ForInIteratorObject::IsArrayData, ForInIteratorObject::IsStringOrSymbol, ForInIteratorObject::MyType, { 0, 0, 0, 0 }, "ForInIteratorObject", ForInIteratorObject::virtualDestroy, ForInIteratorObject::Data::markObjects, ForInIteratorObject::virtualIsEqualTo, ForInIteratorObject::virtualGet, ForInIteratorObject::virtualPut, ForInIteratorObject::virtualDeleteProperty, ForInIteratorObject::virtualHasProperty, ForInIteratorObject::virtualGetOwnProperty, ForInIteratorObject::virtualDefineOwnProperty, ForInIteratorObject::virtualIsExtensible, ForInIteratorObject::virtualPreventExtensions, ForInIteratorObject::virtualGetPrototypeOf, ForInIteratorObject::virtualSetPrototypeOf, ForInIteratorObject::virtualGetLength, ForInIteratorObject::virtualAdvanceIterator, ForInIteratorObject::virtualInstanceOf, ForInIteratorObject::virtualCall, ForInIteratorObject::virtualCallAsConstructor, }; | - |
| 164 | | - |
| 165 | void Heap::ForInIteratorObject::markObjects(Heap::Base *that, MarkStack *markStack) | - |
| 166 | { | - |
| 167 | ForInIteratorObject *o = static_cast<ForInIteratorObject *>(that); | - |
| 168 | o->workArea[0].mark(markStack); | - |
| 169 | o->workArea[1].mark(markStack); | - |
| 170 | Object::markObjects(that, markStack); | - |
| 171 | }executed 38 times by 2 tests: end of blockExecuted by:- tst_qqmlqt
- tst_qquicklayouts
| 38 |
| | |