| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | using namespace QV4; | - |
| 5 | | - |
| 6 | const QV4::VTable ExecutionContext::static_vtbl = { 0, (sizeof(ExecutionContext::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(ExecutionContext::Data) + (ExecutionContext::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(ExecutionContext::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), ExecutionContext::IsExecutionContext, ExecutionContext::IsString, ExecutionContext::IsObject, ExecutionContext::IsFunctionObject, ExecutionContext::IsErrorObject, ExecutionContext::IsArrayData, ExecutionContext::IsStringOrSymbol, ExecutionContext::MyType, { 0, 0, 0, 0 }, "ExecutionContext", ExecutionContext::virtualDestroy, ExecutionContext::Data::markObjects, ExecutionContext::virtualIsEqualTo, ExecutionContext::virtualGet, ExecutionContext::virtualPut, ExecutionContext::virtualDeleteProperty, ExecutionContext::virtualHasProperty, ExecutionContext::virtualGetOwnProperty, ExecutionContext::virtualDefineOwnProperty, ExecutionContext::virtualIsExtensible, ExecutionContext::virtualPreventExtensions, ExecutionContext::virtualGetPrototypeOf, ExecutionContext::virtualSetPrototypeOf, ExecutionContext::virtualGetLength, ExecutionContext::virtualAdvanceIterator, ExecutionContext::virtualInstanceOf, ExecutionContext::virtualCall, ExecutionContext::virtualCallAsConstructor, }; | - |
| 7 | const QV4::VTable CallContext::static_vtbl = { 0, (sizeof(CallContext::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(CallContext::Data) + (CallContext::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(CallContext::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), CallContext::IsExecutionContext, CallContext::IsString, CallContext::IsObject, CallContext::IsFunctionObject, CallContext::IsErrorObject, CallContext::IsArrayData, CallContext::IsStringOrSymbol, CallContext::MyType, { 0, 0, 0, 0 }, "CallContext", CallContext::virtualDestroy, CallContext::Data::markObjects, CallContext::virtualIsEqualTo, CallContext::virtualGet, CallContext::virtualPut, CallContext::virtualDeleteProperty, CallContext::virtualHasProperty, CallContext::virtualGetOwnProperty, CallContext::virtualDefineOwnProperty, CallContext::virtualIsExtensible, CallContext::virtualPreventExtensions, CallContext::virtualGetPrototypeOf, CallContext::virtualSetPrototypeOf, CallContext::virtualGetLength, CallContext::virtualAdvanceIterator, CallContext::virtualInstanceOf, CallContext::virtualCall, CallContext::virtualCallAsConstructor, }; | - |
| 8 | | - |
| 9 | Heap::CallContext *ExecutionContext::newBlockContext(CppStackFrame *frame, int blockIndex) | - |
| 10 | { | - |
| 11 | Function *function = frame->v4Function; | - |
| 12 | | - |
| 13 | Heap::InternalClass *ic = function->compilationUnit->runtimeBlocks.at(blockIndex); | - |
| 14 | uint nLocals = ic->size; | - |
| 15 | size_t requiredMemory = sizeof(CallContext::Data) - sizeof(Value) + sizeof(Value) * nLocals; | - |
| 16 | | - |
| 17 | ExecutionEngine *v4 = function->internalClass->engine; | - |
| 18 | Heap::CallContext *c = v4->memoryManager->allocManaged<CallContext>(requiredMemory, ic); | - |
| 19 | c->init(); | - |
| 20 | c->type = Heap::ExecutionContext::Type_BlockContext; | - |
| 21 | | - |
| 22 | Heap::ExecutionContext *outer = static_cast<Heap::ExecutionContext *>(frame->context()->m()); | - |
| 23 | c->outer.set(v4, outer); | - |
| 24 | c->function.set(v4, static_cast<Heap::FunctionObject *>(frame->jsFrame->function.m())); | - |
| 25 | | - |
| 26 | c->locals.size = nLocals; | - |
| 27 | c->locals.alloc = nLocals; | - |
| 28 | | - |
| 29 | returnexecuted 4346263 times by 13 tests: return c;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
c;executed 4346263 times by 13 tests: return c;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| 4346263 |
| 30 | } | - |
| 31 | | - |
| 32 | Heap::CallContext *ExecutionContext::cloneBlockContext(Heap::CallContext *context) | - |
| 33 | { | - |
| 34 | uint nLocals = context->locals.alloc; | - |
| 35 | size_t requiredMemory = sizeof(CallContext::Data) - sizeof(Value) + sizeof(Value) * nLocals; | - |
| 36 | | - |
| 37 | ExecutionEngine *v4 = context->internalClass->engine; | - |
| 38 | Heap::CallContext *c = v4->memoryManager->allocManaged<CallContext>(requiredMemory, context->internalClass); | - |
| 39 | memcpy(c, context, requiredMemory); | - |
| 40 | | - |
| 41 | returnexecuted 194 times by 2 tests: return c;Executed by:- tst_ecmascripttests
- tst_qv4debugger
c;executed 194 times by 2 tests: return c;Executed by:- tst_ecmascripttests
- tst_qv4debugger
| 194 |
| 42 | | - |
| 43 | } | - |
| 44 | | - |
| 45 | Heap::CallContext *ExecutionContext::newCallContext(CppStackFrame *frame) | - |
| 46 | { | - |
| 47 | Function *function = frame->v4Function; | - |
| 48 | Heap::ExecutionContext *outer = static_cast<Heap::ExecutionContext *>(frame->context()->m()); | - |
| 49 | | - |
| 50 | uint nFormals = qMax(static_cast<uint>(frame->originalArgumentsCount), function->nFormals); | - |
| 51 | uint localsAndFormals = function->compiledFunction->nLocals + nFormals; | - |
| 52 | size_t requiredMemory = sizeof(CallContext::Data) - sizeof(Value) + sizeof(Value) * (localsAndFormals); | - |
| 53 | | - |
| 54 | ExecutionEngine *v4 = outer->internalClass->engine; | - |
| 55 | Heap::CallContext *c = v4->memoryManager->allocManaged<CallContext>(requiredMemory, function->internalClass); | - |
| 56 | c->init(); | - |
| 57 | | - |
| 58 | c->outer.set(v4, outer); | - |
| 59 | c->function.set(v4, static_cast<Heap::FunctionObject *>(frame->jsFrame->function.m())); | - |
| 60 | | - |
| 61 | const CompiledData::Function *compiledFunction = function->compiledFunction; | - |
| 62 | uint nLocals = compiledFunction->nLocals; | - |
| 63 | c->locals.size = nLocals; | - |
| 64 | c->locals.alloc = localsAndFormals; | - |
| 65 | | - |
| 66 | ((Primitive::undefinedValue().asReturnedValue() == 0) ? static_cast<void>(0) : qt_assert("Primitive::undefinedValue().asReturnedValue() == 0", __FILE__, 115)); | - |
| 67 | | - |
| 68 | Value *args = c->locals.values + nLocals; | - |
| 69 | ::memcpy(args, frame->originalArguments, frame->originalArgumentsCount * sizeof(Value)); | - |
| 70 | c->nArgs = frame->originalArgumentsCount; | - |
| 71 | for (uint i = frame->originalArgumentsCount; i < function->nFormals| TRUE | evaluated 2412 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
| | FALSE | evaluated 17898 times by 27 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- 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
- ...
|
; ++i) | 2412-17898 |
| 72 | args[i] = Encode::undefined();executed 2411 times by 8 tests: args[i] = Encode::undefined();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
| 2411 |
| 73 | | - |
| 74 | returnexecuted 17894 times by 27 tests: return c;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- 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
- ...
c;executed 17894 times by 27 tests: return c;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- 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
- ...
| 17894 |
| 75 | } | - |
| 76 | | - |
| 77 | Heap::ExecutionContext *ExecutionContext::newWithContext(Heap::Object *with) | - |
| 78 | { | - |
| 79 | Heap::ExecutionContext *c = engine()->memoryManager->alloc<ExecutionContext>(Heap::ExecutionContext::Type_WithContext); | - |
| 80 | c->outer.set(engine(), d()); | - |
| 81 | c->activation.set(engine(), with); | - |
| 82 | | - |
| 83 | returnexecuted 657 times by 4 tests: return c;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qv4debugger
c;executed 657 times by 4 tests: return c;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qv4debugger
| 657 |
| 84 | } | - |
| 85 | | - |
| 86 | Heap::ExecutionContext *ExecutionContext::newCatchContext(CppStackFrame *frame, int blockIndex, Heap::String *exceptionVarName) | - |
| 87 | { | - |
| 88 | Scope scope(frame->context()); | - |
| 89 | ScopedString name(scope, exceptionVarName); | - |
| 90 | ScopedValue val(scope, scope.engine->catchException(nullptr)); | - |
| 91 | ScopedContext ctx(scope, newBlockContext(frame, blockIndex)); | - |
| 92 | ctx->setProperty(name, val); | - |
| 93 | returnexecuted 4372343 times by 13 tests: return ctx->d();Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
ctx->d();executed 4372343 times by 13 tests: return ctx->d();Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| 4372343 |
| 94 | } | - |
| 95 | | - |
| 96 | void ExecutionContext::createMutableBinding(String *name, bool deletable) | - |
| 97 | { | - |
| 98 | Scope scope(this); | - |
| 99 | | - |
| 100 | | - |
| 101 | ScopedObject activation(scope); | - |
| 102 | ScopedContext ctx(scope, this); | - |
| 103 | while (ctx| TRUE | evaluated 542086 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| | FALSE | evaluated 517053 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
) { | 517053-542086 |
| 104 | switch (ctx->d()->type) { | - |
| 105 | caseexecuted 157 times by 1 test: case Heap::ExecutionContext::Type_CallContext: Heap::ExecutionContext::Type_CallContext:executed 157 times by 1 test: case Heap::ExecutionContext::Type_CallContext: | 157 |
| 106 | if (!activation| TRUE | evaluated 129 times by 1 test | | FALSE | evaluated 28 times by 1 test |
) { | 28-129 |
| 107 | Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx->d()); | - |
| 108 | if (!c->activation| TRUE | evaluated 127 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) | 2-127 |
| 109 | c->activation.set(scope.engine, scope.engine->newObject());executed 127 times by 1 test: c->activation.set(scope.engine, scope.engine->newObject()); | 127 |
| 110 | activation = c->activation; | - |
| 111 | }executed 130 times by 1 test: end of block | 130 |
| 112 | break;executed 158 times by 1 test: break; | 158 |
| 113 | caseexecuted 1484 times by 15 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
Heap::ExecutionContext::Type_QmlContext:executed 1484 times by 15 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
{ | 1484 |
| 114 | | - |
| 115 | | - |
| 116 | activation = ctx->d()->activation; | - |
| 117 | break;executed 1484 times by 15 tests: break;Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 1484 |
| 118 | } | - |
| 119 | caseexecuted 516251 times by 21 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
Heap::ExecutionContext::Type_GlobalContext:executed 516251 times by 21 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
{ | 516251 |
| 120 | ((scope.engine->globalObject->d() == ctx->d()->activation) ? static_cast<void>(0) : qt_assert("scope.engine->globalObject->d() == ctx->d()->activation", __FILE__, 169)); | - |
| 121 | if (!activation| TRUE | evaluated 514605 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| | FALSE | evaluated 1614 times by 16 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 1614-514605 |
| 122 | activation = ctx->d()->activation;executed 514575 times by 7 tests: activation = ctx->d()->activation;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| 514575 |
| 123 | break;executed 516465 times by 21 tests: break;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 516465 |
| 124 | } | - |
| 125 | caseexecuted 24308 times by 2 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
Heap::ExecutionContext::Type_BlockContext:executed 24308 times by 2 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 24308 |
| 126 | | - |
| 127 | default never executed: default: :never executed: default: | 0 |
| 128 | break;executed 24304 times by 2 tests: break;Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 24304 |
| 129 | } | - |
| 130 | ctx = ctx->d()->outer; | - |
| 131 | }executed 543040 times by 21 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 543040 |
| 132 | | - |
| 133 | PropertyKey id = name->toPropertyKey(); | - |
| 134 | if (activation->getOwnProperty(id) != Attr_Invalid| TRUE | evaluated 384 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | evaluated 517358 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
) | 384-517358 |
| 135 | return;executed 384 times by 2 tests: return;Executed by:- tst_ecmascripttests
- tst_qjsengine
| 384 |
| 136 | ScopedProperty desc(scope); | - |
| 137 | PropertyAttributes attrs(Attr_Data); | - |
| 138 | attrs.setConfigurable(deletable); | - |
| 139 | if (!activation->defineOwnProperty(id, desc, attrs)| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 517187 times by 21 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
|
) | 4-517187 |
| 140 | scope.engine->throwTypeError();executed 4 times by 1 test: scope.engine->throwTypeError(); | 4 |
| 141 | }executed 517200 times by 21 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4assembler
- tst_qv4debugger
- tst_testfiltering
| 517200 |
| 142 | | - |
| 143 | bool ExecutionContext::deleteProperty(String *name) | - |
| 144 | { | - |
| 145 | PropertyKey id = name->toPropertyKey(); | - |
| 146 | | - |
| 147 | Heap::ExecutionContext *ctx = d(); | - |
| 148 | for (; ctx| TRUE | evaluated 144 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | evaluated 10 times by 1 test |
; ctx = ctx->outer) { | 10-144 |
| 149 | switch (ctx->type) { | - |
| 150 | case never executed: case Heap::ExecutionContext::Type_BlockContext: Heap::ExecutionContext::Type_BlockContext:never executed: case Heap::ExecutionContext::Type_BlockContext: | 0 |
| 151 | caseexecuted 8 times by 1 test: case Heap::ExecutionContext::Type_CallContext: Heap::ExecutionContext::Type_CallContext:executed 8 times by 1 test: case Heap::ExecutionContext::Type_CallContext: { | 8 |
| 152 | Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx); | - |
| 153 | uint index = c->internalClass->find(id); | - |
| 154 | if (index < | TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 155 | (0x7fffffff * 2U + 1U)| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4 |
| 156 | ) | - |
| 157 | | - |
| 158 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
| 159 | (void)0; | - |
| 160 | } | - |
| 161 | caseexecuted 75 times by 1 test: case Heap::ExecutionContext::Type_WithContext: Heap::ExecutionContext::Type_WithContext:executed 75 times by 1 test: case Heap::ExecutionContext::Type_WithContext: code before this statement executed 4 times by 1 test: case Heap::ExecutionContext::Type_WithContext: | 4-75 |
| 162 | caseexecuted 61 times by 2 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
Heap::ExecutionContext::Type_GlobalContext:executed 61 times by 2 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
{ | 61 |
| 163 | if (ctx->activation| TRUE | evaluated 141 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | never evaluated |
) { | 0-141 |
| 164 | Scope scope(this); | - |
| 165 | ScopedObject object(scope, ctx->activation); | - |
| 166 | if (object && object->hasProperty(name->toPropertyKey())| TRUE | evaluated 129 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | evaluated 12 times by 1 test |
) | 12-129 |
| 167 | returnexecuted 128 times by 2 tests: return object->deleteProperty(name->toPropertyKey());Executed by:- tst_ecmascripttests
- tst_qjsengine
object->deleteProperty(name->toPropertyKey());executed 128 times by 2 tests: return object->deleteProperty(name->toPropertyKey());Executed by:- tst_ecmascripttests
- tst_qjsengine
| 128 |
| 168 | }executed 12 times by 1 test: end of block | 12 |
| 169 | break;executed 12 times by 1 test: break; | 12 |
| 170 | } | - |
| 171 | case never executed: case Heap::ExecutionContext::Type_QmlContext: Heap::ExecutionContext::Type_QmlContext:never executed: case Heap::ExecutionContext::Type_QmlContext: | 0 |
| 172 | | - |
| 173 | break; never executed: break; | 0 |
| 174 | } | - |
| 175 | }executed 12 times by 1 test: end of block | 12 |
| 176 | | - |
| 177 | returnexecuted 10 times by 1 test: return !engine()->currentStackFrame->v4Function->isStrict(); !engine()->currentStackFrame->v4Function->isStrict();executed 10 times by 1 test: return !engine()->currentStackFrame->v4Function->isStrict(); | 10 |
| 178 | } | - |
| 179 | | - |
| 180 | ExecutionContext::Error ExecutionContext::setProperty(String *name, const Value &value) | - |
| 181 | { | - |
| 182 | PropertyKey id = name->toPropertyKey(); | - |
| 183 | | - |
| 184 | QV4::ExecutionEngine *v4 = engine(); | - |
| 185 | Heap::ExecutionContext *ctx = d(); | - |
| 186 | | - |
| 187 | for (; ctx| TRUE | evaluated 77414331 times by 45 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- ...
| | FALSE | evaluated 788 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
; ctx = ctx->outer) { | 788-77414331 |
| 188 | switch (ctx->type) { | - |
| 189 | caseexecuted 1531 times by 2 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
Heap::ExecutionContext::Type_WithContext:executed 1531 times by 2 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
{ | 1531 |
| 190 | Scope scope(v4); | - |
| 191 | ScopedObject w(scope, ctx->activation); | - |
| 192 | if (w->hasProperty(name->toPropertyKey())| TRUE | evaluated 320 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| | FALSE | evaluated 1209 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
) { | 320-1209 |
| 193 | if (!w->put(name, value)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 318 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
|
) | 2-318 |
| 194 | returnexecuted 2 times by 1 test: return TypeError; TypeError;executed 2 times by 1 test: return TypeError; | 2 |
| 195 | returnexecuted 318 times by 2 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
NoError;executed 318 times by 2 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
| 318 |
| 196 | } | - |
| 197 | break;executed 1207 times by 2 tests: break;Executed by:- tst_ecmascripttests
- tst_qjsengine
| 1207 |
| 198 | } | - |
| 199 | caseexecuted 4415313 times by 13 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
Heap::ExecutionContext::Type_BlockContext:executed 4415313 times by 13 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| 4415313 |
| 200 | caseexecuted 1618 times by 8 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
Heap::ExecutionContext::Type_CallContext:executed 1618 times by 8 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
{ | 1618 |
| 201 | Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx); | - |
| 202 | uint index = c->internalClass->find(id); | - |
| 203 | if (index < | TRUE | evaluated 4361107 times by 13 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| | FALSE | evaluated 30452 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
|
| 30452-4361107 |
| 204 | (0x7fffffff * 2U + 1U)| TRUE | evaluated 4361107 times by 13 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| | FALSE | evaluated 30452 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
|
| 30452-4361107 |
| 205 | ) { | - |
| 206 | static_cast<Heap::CallContext *>(c)->locals.set(v4, index, value); | - |
| 207 | returnexecuted 4373543 times by 13 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
NoError;executed 4373543 times by 13 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickworkerscript
- tst_qtqmlmodules
- tst_qv4debugger
| 4373543 |
| 208 | } | - |
| 209 | } | - |
| 210 | (void)0; | - |
| 211 | caseexecuted 73171035 times by 7 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
Heap::ExecutionContext::Type_GlobalContext:executed 73171035 times by 7 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
code before this statement executed 30443 times by 9 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
| 30443-73171035 |
| 212 | if (ctx->activation| TRUE | evaluated 73043228 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| | FALSE | evaluated 30227 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
|
) { | 30227-73043228 |
| 213 | uint member = ctx->activation->internalClass->find(id); | - |
| 214 | if (member < | TRUE | evaluated 73174503 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| | FALSE | evaluated 870 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 870-73174503 |
| 215 | (0x7fffffff * 2U + 1U)| TRUE | evaluated 73174503 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| | FALSE | evaluated 870 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
|
| 870-73174503 |
| 216 | ) { | - |
| 217 | Scope scope(v4); | - |
| 218 | ScopedObject a(scope, ctx->activation); | - |
| 219 | if (!a->putValue(member, value)| TRUE | evaluated 240 times by 1 test | | FALSE | evaluated 72948698 times by 7 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
|
) | 240-72948698 |
| 220 | returnexecuted 240 times by 1 test: return TypeError; TypeError;executed 240 times by 1 test: return TypeError; | 240 |
| 221 | returnexecuted 72956395 times by 7 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
NoError;executed 72956395 times by 7 tests: return NoError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlecmascript
- tst_qv4assembler
- tst_qv4debugger
| 72956395 |
| 222 | } | - |
| 223 | }executed 870 times by 3 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 870 |
| 224 | break;executed 31118 times by 11 tests: break;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
| 31118 |
| 225 | caseexecuted 42756 times by 36 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- ...
Heap::ExecutionContext::Type_QmlContext:executed 42756 times by 36 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- ...
{ | 42756 |
| 226 | Scope scope(v4); | - |
| 227 | ScopedObject activation(scope, ctx->activation); | - |
| 228 | if (!activation->put(name, value)| TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickworkerscript
| | FALSE | evaluated 42742 times by 35 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) | 14-42742 |
| 229 | returnexecuted 14 times by 3 tests: return TypeError;Executed by:- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickworkerscript
TypeError;executed 14 times by 3 tests: return TypeError;Executed by:- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qquickworkerscript
| 14 |
| 230 | returnexecuted 42742 times by 35 tests: return NoError;Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
NoError;executed 42742 times by 35 tests: return NoError;Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 42742 |
| 231 | } | - |
| 232 | } | - |
| 233 | | - |
| 234 | }executed 32337 times by 11 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qquickapplication
- tst_qquickitem2
- tst_qquickstates
- tst_qv4debugger
| 32337 |
| 235 | | - |
| 236 | returnexecuted 787 times by 3 tests: return RangeError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
RangeError;executed 787 times by 3 tests: return RangeError;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 787 |
| 237 | } | - |
| 238 | | - |
| 239 | ReturnedValue ExecutionContext::getProperty(String *name) | - |
| 240 | { | - |
| 241 | PropertyKey id = name->toPropertyKey(); | - |
| 242 | | - |
| 243 | Heap::ExecutionContext *ctx = d(); | - |
| 244 | for (; ctx| TRUE | evaluated 5539835 times by 89 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| | FALSE | evaluated 532 times by 14 testsEvaluated 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_qv4debugger
|
; ctx = ctx->outer) { | 532-5539835 |
| 245 | switch (ctx->type) { | - |
| 246 | caseexecuted 1160 times by 8 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickitem2
- tst_qv4debugger
Heap::ExecutionContext::Type_BlockContext:executed 1160 times by 8 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickitem2
- tst_qv4debugger
| 1160 |
| 247 | caseexecuted 7349 times by 22 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
Heap::ExecutionContext::Type_CallContext:executed 7349 times by 22 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
{ | 7349 |
| 248 | Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx); | - |
| 249 | | - |
| 250 | uint index = c->internalClass->find(id); | - |
| 251 | if (index < | TRUE | evaluated 2500 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
| | FALSE | evaluated 6012 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
|
| 2500-6012 |
| 252 | (0x7fffffff * 2U + 1U)| TRUE | evaluated 2500 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
| | FALSE | evaluated 6012 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
|
| 2500-6012 |
| 253 | ) | - |
| 254 | returnexecuted 2499 times by 6 tests: return c->locals[index].asReturnedValue();Executed by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
c->locals[index].asReturnedValue();executed 2499 times by 6 tests: return c->locals[index].asReturnedValue();Executed by:- tst_ecmascripttests
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
| 2499 |
| 255 | (void)0; | - |
| 256 | } | - |
| 257 | caseexecuted 7588 times by 22 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
Heap::ExecutionContext::Type_WithContext:executed 7588 times by 22 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
code before this statement executed 6012 times by 22 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
| 6012-7588 |
| 258 | caseexecuted 3149933 times by 21 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
Heap::ExecutionContext::Type_GlobalContext:executed 3149933 times by 21 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| 3149933 |
| 259 | caseexecuted 2379820 times by 84 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_bindingdependencyapi
- tst_examples
- 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_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
Heap::ExecutionContext::Type_QmlContext:executed 2379820 times by 84 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_bindingdependencyapi
- tst_examples
- 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_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
{ | 2379820 |
| 260 | if (ctx->activation| TRUE | evaluated 5531473 times by 89 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| | FALSE | evaluated 5876 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_qv4debugger
|
) { | 5876-5531473 |
| 261 | Scope scope(this); | - |
| 262 | ScopedObject activation(scope, ctx->activation); | - |
| 263 | bool hasProperty = false; | - |
| 264 | ReturnedValue v = activation->get(id, nullptr, &hasProperty); | - |
| 265 | if (hasProperty| TRUE | evaluated 5529962 times by 89 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| | FALSE | evaluated 1518 times by 16 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
|
) | 1518-5529962 |
| 266 | returnexecuted 5529964 times by 89 tests: return v;Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
v;executed 5529964 times by 89 tests: return v;Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 5529964 |
| 267 | }executed 1518 times by 16 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- tst_qv4debugger
| 1518 |
| 268 | break;executed 7393 times by 28 tests: break;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickvisualdatamodel
- ...
| 7393 |
| 269 | } | - |
| 270 | } | - |
| 271 | }executed 7394 times by 28 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquickpathview
- tst_qquickstates
- tst_qquickvisualdatamodel
- ...
| 7394 |
| 272 | returnexecuted 532 times by 14 tests: return engine()->throwReferenceError(*name);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_qv4debugger
engine()->throwReferenceError(*name);executed 532 times by 14 tests: return engine()->throwReferenceError(*name);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_qv4debugger
| 532 |
| 273 | } | - |
| 274 | | - |
| 275 | ReturnedValue ExecutionContext::getPropertyAndBase(String *name, Value *base) | - |
| 276 | { | - |
| 277 | base->setM(nullptr); | - |
| 278 | PropertyKey id = name->toPropertyKey(); | - |
| 279 | | - |
| 280 | Heap::ExecutionContext *ctx = d(); | - |
| 281 | for (; ctx| TRUE | evaluated 1640850 times by 42 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- ...
| | FALSE | evaluated 20 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickworkerscript
|
; ctx = ctx->outer) { | 20-1640850 |
| 282 | switch (ctx->type) { | - |
| 283 | caseexecuted 224 times by 2 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
Heap::ExecutionContext::Type_BlockContext:executed 224 times by 2 tests: case Heap::ExecutionContext::Type_BlockContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 224 |
| 284 | caseexecuted 5475 times by 12 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
Heap::ExecutionContext::Type_CallContext:executed 5475 times by 12 tests: case Heap::ExecutionContext::Type_CallContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
{ | 5475 |
| 285 | Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx); | - |
| 286 | | - |
| 287 | uint index = c->internalClass->find(id); | - |
| 288 | if (index < | TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 5696 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
|
| 2-5696 |
| 289 | (0x7fffffff * 2U + 1U)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 5696 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
|
| 2-5696 |
| 290 | ) | - |
| 291 | returnexecuted 2 times by 1 test: return c->locals[index].asReturnedValue(); c->locals[index].asReturnedValue();executed 2 times by 1 test: return c->locals[index].asReturnedValue(); | 2 |
| 292 | (void)0; | - |
| 293 | } | - |
| 294 | caseexecuted 1582175 times by 8 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickworkerscript
- tst_qv4debugger
Heap::ExecutionContext::Type_GlobalContext:executed 1582175 times by 8 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickworkerscript
- tst_qv4debugger
code before this statement executed 5697 times by 12 tests: case Heap::ExecutionContext::Type_GlobalContext:Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
{ | 5697-1582175 |
| 295 | if (ctx->activation| TRUE | evaluated 1582539 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickworkerscript
- tst_qv4debugger
| | FALSE | evaluated 5294 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
|
) { | 5294-1582539 |
| 296 | Scope scope(this); | - |
| 297 | ScopedObject activation(scope, ctx->activation); | - |
| 298 | bool hasProperty = false; | - |
| 299 | ReturnedValue v = activation->get(name, &hasProperty); | - |
| 300 | if (hasProperty| TRUE | evaluated 1582391 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
| | FALSE | evaluated 28 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickworkerscript
|
) | 28-1582391 |
| 301 | returnexecuted 1582183 times by 5 tests: return v;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
v;executed 1582183 times by 5 tests: return v;Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qv4debugger
| 1582183 |
| 302 | }executed 28 times by 6 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickworkerscript
| 28 |
| 303 | break;executed 5317 times by 13 tests: break;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
| 5317 |
| 304 | } | - |
| 305 | caseexecuted 444 times by 2 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
Heap::ExecutionContext::Type_WithContext:executed 444 times by 2 tests: case Heap::ExecutionContext::Type_WithContext:Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
| 444 |
| 306 | caseexecuted 52216 times by 39 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem
- ...
Heap::ExecutionContext::Type_QmlContext:executed 52216 times by 39 tests: case Heap::ExecutionContext::Type_QmlContext:Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickitem
- ...
{ | 52216 |
| 307 | Scope scope(this); | - |
| 308 | ScopedObject o(scope, ctx->activation); | - |
| 309 | bool hasProperty = false; | - |
| 310 | ReturnedValue v = o->get(id, nullptr, &hasProperty); | - |
| 311 | if (hasProperty| TRUE | evaluated 50562 times by 40 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickgridview
- ...
| | FALSE | evaluated 2099 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickworkerscript
|
) { | 2099-50562 |
| 312 | base->setM(o->d()); | - |
| 313 | returnexecuted 50562 times by 40 tests: return v;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickgridview
- ...
v;executed 50562 times by 40 tests: return v;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickgridview
- ...
| 50562 |
| 314 | } | - |
| 315 | break;executed 2099 times by 6 tests: break;Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickworkerscript
| 2099 |
| 316 | } | - |
| 317 | } | - |
| 318 | }executed 7417 times by 13 tests: end of blockExecuted by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlmetatype
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickworkerscript
| 7417 |
| 319 | returnexecuted 20 times by 6 tests: return engine()->throwReferenceError(*name);Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickworkerscript
engine()->throwReferenceError(*name);executed 20 times by 6 tests: return engine()->throwReferenceError(*name);Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickworkerscript
| 20 |
| 320 | } | - |
| 321 | | - |
| 322 | void Heap::CallContext::setArg(uint index, Value v) | - |
| 323 | { | - |
| 324 | locals.set(internalClass->engine, locals.size + index, v); | - |
| 325 | }executed 67 times by 1 test: end of block | 67 |
| | |