OpenCoverage

qv4object.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4object.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtQml module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#include "qv4object_p.h"-
41#include "qv4objectproto_p.h"-
42#include "qv4stringobject_p.h"-
43#include "qv4argumentsobject_p.h"-
44#include <private/qv4mm_p.h>-
45#include "qv4lookup_p.h"-
46#include "qv4scopedvalue_p.h"-
47#include "qv4memberdata_p.h"-
48#include "qv4objectiterator_p.h"-
49#include "qv4identifier_p.h"-
50#include "qv4string_p.h"-
51#include "qv4identifiertable_p.h"-
52#include "qv4jscall_p.h"-
53#include "qv4symbol_p.h"-
54-
55#include <stdint.h>-
56-
57using namespace QV4;-
58-
59DEFINE_OBJECT_VTABLE(Object);-
60-
61void Object::setInternalClass(Heap::InternalClass *ic)-
62{-
63 d()->internalClass.set(engine(), ic);-
64 if (ic->isUsedAsProto)
ic->isUsedAsProtoDescription
TRUEevaluated 6852803 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 127977590 times by 153 tests
Evaluated 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
  • ...
6852803-127977590
65 ic->updateProtoUsage(d());
executed 6852673 times by 153 tests: ic->updateProtoUsage(d());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
6852673
66 Q_ASSERT(ic && ic->vtable);-
67 uint nInline = d()->vtable()->nInlineProperties;-
68 if (ic->size <= nInline)
ic->size <= nInlineDescription
TRUEevaluated 20084572 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 114975956 times by 153 tests
Evaluated 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
  • ...
20084572-114975956
69 return;
executed 20078813 times by 153 tests: return;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
20078813
70 bool hasMD = d()->memberData != nullptr;-
71 uint requiredSize = ic->size - nInline;-
72 if (!(hasMD && requiredSize) || (hasMD && d()->memberData->values.size < requiredSize))
hasMDDescription
TRUEevaluated 76732956 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 38499137 times by 153 tests
Evaluated 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
  • ...
requiredSizeDescription
TRUEevaluated 76788634 times by 153 tests
Evaluated 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
  • ...
FALSEnever evaluated
hasMDDescription
TRUEevaluated 76830726 times by 153 tests
Evaluated 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
  • ...
FALSEnever evaluated
d()->memberDat...< requiredSizeDescription
TRUEevaluated 10288043 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 66536161 times by 153 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
0-76830726
73 d()->memberData.set(ic->engine, MemberData::allocate(ic->engine, requiredSize, d()->memberData));
executed 48686142 times by 153 tests: d()->memberData.set(ic->engine, MemberData::allocate(ic->engine, requiredSize, d()->memberData));
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
  • ...
48686142
74}
executed 114794704 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
114794704
75-
76void Object::getProperty(uint index, Property *p, PropertyAttributes *attrs) const-
77{-
78 p->value = *propertyData(index);-
79 *attrs = internalClass()->propertyData.at(index);-
80 if (attrs->isAccessor())
attrs->isAccessor()Description
TRUEevaluated 1451 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 2422 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
1451-2422
81 p->set = *propertyData(index + SetterOffset);
executed 1448 times by 3 tests: p->set = *propertyData(index + SetterOffset);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1448
82}
executed 3871 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3871
83-
84void Object::setProperty(uint index, const Property *p)-
85{-
86 setProperty(index, p->value);-
87 if (internalClass()->propertyData.at(index).isAccessor())
internalClass(...).isAccessor()Description
TRUEevaluated 1332 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 990 times by 1 test
Evaluated by:
  • tst_ecmascripttests
990-1332
88 setProperty(index + SetterOffset, p->set);
executed 1332 times by 3 tests: setProperty(index + SetterOffset, p->set);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1332
89}
executed 2324 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
2324
90-
91void Heap::Object::setUsedAsProto()-
92{-
93 internalClass.set(internalClass->engine, internalClass->asProtoClass());-
94}
executed 13705208 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
13705208
95-
96ReturnedValue Object::getValue(const Value &thisObject, const Value &v, PropertyAttributes attrs)-
97{-
98 if (!attrs.isAccessor())
!attrs.isAccessor()Description
TRUEevaluated 11249756 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 72974 times by 22 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
72974-11249756
99 return v.asReturnedValue();
executed 11241713 times by 153 tests: return v.asReturnedValue();
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
  • ...
11241713
100 const QV4::FunctionObject *f = v.as<FunctionObject>();-
101 if (!f)
!fDescription
TRUEevaluated 887 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 72094 times by 22 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
887-72094
102 return Encode::undefined();
executed 886 times by 1 test: return Encode::undefined();
Executed by:
  • tst_ecmascripttests
886
103-
104 Scope scope(f->engine());-
105 JSCallData jsCallData(scope);-
106 *jsCallData->thisObject = thisObject;-
107 return f->call(jsCallData);
executed 72083 times by 22 tests: return f->call(jsCallData);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquickscreen
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
72083
108}-
109-
110bool Object::putValue(uint memberIndex, const Value &value)-
111{-
112 Heap::InternalClass *ic = internalClass();-
113 if (ic->engine->hasException)
ic->engine->hasExceptionDescription
TRUEevaluated 192 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 73130598 times by 21 tests
Evaluated 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
192-73130598
114 return false;
executed 192 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
192
115-
116 PropertyAttributes attrs = ic->propertyData[memberIndex];-
117-
118 if (attrs.isAccessor()) {
attrs.isAccessor()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 73310322 times by 21 tests
Evaluated 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
8-73310322
119 const FunctionObject *set = propertyData(memberIndex + SetterOffset)->as<FunctionObject>();-
120 if (set) {
setDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEnever evaluated
0-8
121 Scope scope(ic->engine);-
122 ScopedFunctionObject setter(scope, set);-
123 JSCallData jsCallData(scope, 1);-
124 jsCallData->args[0] = value;-
125 *jsCallData->thisObject = this;-
126 setter->call(jsCallData);-
127 return !ic->engine->hasException;
executed 8 times by 1 test: return !ic->engine->hasException;
Executed by:
  • tst_qjsengine
8
128 }-
129 return false;
never executed: return false;
0
130 }-
131-
132 if (!attrs.isWritable())
!attrs.isWritable()Description
TRUEevaluated 48 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 73256617 times by 21 tests
Evaluated 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
48-73256617
133 return false;
executed 48 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
48
134-
135 setProperty(memberIndex, value);-
136 return true;
executed 72988678 times by 21 tests: return true;
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
72988678
137}-
138-
139void Object::defineDefaultProperty(const QString &name, const Value &value, PropertyAttributes attributes)-
140{-
141 ExecutionEngine *e = engine();-
142 Scope scope(e);-
143 ScopedString s(scope, e->newIdentifier(name));-
144 defineDefaultProperty(s, value, attributes);-
145}
executed 5464196 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
5464196
146-
147void Object::defineDefaultProperty(const QString &name, VTable::Call code,-
148 int argumentCount, PropertyAttributes attributes)-
149{-
150 ExecutionEngine *e = engine();-
151 Scope scope(e);-
152 ScopedString s(scope, e->newIdentifier(name));-
153 ScopedFunctionObject function(scope, FunctionObject::createBuiltinFunction(e, s, code, argumentCount));-
154 defineDefaultProperty(s, function, attributes);-
155}
executed 27451029 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
27451029
156-
157void Object::defineDefaultProperty(StringOrSymbol *nameOrSymbol, VTable::Call code,-
158 int argumentCount, PropertyAttributes attributes)-
159{-
160 ExecutionEngine *e = engine();-
161 Scope scope(e);-
162 ScopedFunctionObject function(scope, FunctionObject::createBuiltinFunction(e, nameOrSymbol, code, argumentCount));-
163 defineDefaultProperty(nameOrSymbol, function, attributes);-
164}
executed 2773281 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
2773281
165-
166void Object::defineAccessorProperty(const QString &name, VTable::Call getter, VTable::Call setter)-
167{-
168 ExecutionEngine *e = engine();-
169 Scope scope(e);-
170 ScopedString s(scope, e->newIdentifier(name));-
171 defineAccessorProperty(s, getter, setter);-
172}
executed 2981640 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
2981640
173-
174void Object::defineAccessorProperty(StringOrSymbol *name, VTable::Call getter, VTable::Call setter)-
175{-
176 ExecutionEngine *v4 = engine();-
177 QV4::Scope scope(v4);-
178 ScopedProperty p(scope);-
179 QString n = name->toQString();-
180 if (n.at(0) == QLatin1Char('@'))
n.at(0) == QLatin1Char('@')Description
TRUEevaluated 99042 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 3078226 times by 153 tests
Evaluated 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
  • ...
99042-3078226
181 n = QChar::fromLatin1('[') + n.midRef(1) + QChar::fromLatin1(']');
executed 98787 times by 153 tests: n = QChar::fromLatin1('[') + n.midRef(1) + QChar::fromLatin1(']');
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
  • ...
98787
182 if (getter) {
getterDescription
TRUEevaluated 3175685 times by 153 tests
Evaluated 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
  • ...
FALSEnever evaluated
0-3175685
183 ScopedString getName(scope, v4->newString(QString::fromLatin1("get ") + n));-
184 p->setGetter(ScopedFunctionObject(scope, FunctionObject::createBuiltinFunction(v4, getName, getter, 0)));-
185 } else {
executed 3173733 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
3173733
186 p->setGetter(nullptr);-
187 }
never executed: end of block
0
188 if (setter) {
setterDescription
TRUEevaluated 120582 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 3053440 times by 153 tests
Evaluated 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
  • ...
120582-3053440
189 ScopedString setName(scope, v4->newString(QString::fromLatin1("set ") + n));-
190 p->setSetter(ScopedFunctionObject(scope, FunctionObject::createBuiltinFunction(v4, setName, setter, 0)));-
191 } else {
executed 120867 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
120867
192 p->setSetter(nullptr);-
193 }
executed 3055105 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
3055105
194 insertMember(name, p, QV4::Attr_Accessor|QV4::Attr_NotEnumerable);-
195}
executed 3177337 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
3177337
196-
197-
198-
199void Object::defineReadonlyProperty(const QString &name, const Value &value)-
200{-
201 QV4::ExecutionEngine *e = engine();-
202 Scope scope(e);-
203 ScopedString s(scope, e->newIdentifier(name));-
204 defineReadonlyProperty(s, value);-
205}
executed 5060458 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
5060458
206-
207void Object::defineReadonlyProperty(String *name, const Value &value)-
208{-
209 insertMember(name, value, Attr_ReadOnly);-
210}
executed 8225193 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
8225193
211-
212void Object::defineReadonlyConfigurableProperty(const QString &name, const Value &value)-
213{-
214 QV4::ExecutionEngine *e = engine();-
215 Scope scope(e);-
216 ScopedString s(scope, e->newIdentifier(name));-
217 defineReadonlyConfigurableProperty(s, value);-
218}
never executed: end of block
0
219-
220void Object::defineReadonlyConfigurableProperty(StringOrSymbol *name, const Value &value)-
221{-
222 insertMember(name, value, Attr_ReadOnly_ButConfigurable);-
223}
executed 77645463 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
77645463
224-
225void Object::addSymbolSpecies()-
226{-
227 Scope scope(engine());-
228 ScopedProperty p(scope);-
229 p->setGetter(scope.engine->getSymbolSpecies());-
230 p->setSetter(nullptr);-
231 insertMember(scope.engine->symbol_species(), p, QV4::Attr_Accessor|QV4::Attr_NotWritable|QV4::Attr_NotEnumerable);-
232}
executed 593890 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
593890
233-
234void Heap::Object::markObjects(Heap::Base *b, MarkStack *stack)-
235{-
236 Base::markObjects(b, stack);-
237 Object *o = static_cast<Object *>(b);-
238 if (o->memberData)
o->memberDataDescription
TRUEevaluated 3607823 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
FALSEevaluated 668438 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
668438-3607823
239 o->memberData->mark(stack);
executed 3607824 times by 26 tests: o->memberData->mark(stack);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
3607824
240 if (o->arrayData)
o->arrayDataDescription
TRUEevaluated 13122 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 4262956 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
13122-4262956
241 o->arrayData->mark(stack);
executed 13122 times by 11 tests: o->arrayData->mark(stack);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_testfiltering
13122
242 uint nInline = o->vtable()->nInlineProperties;-
243 Value *v = reinterpret_cast<Value *>(o) + o->vtable()->inlinePropertyOffset;-
244 const Value *end = v + nInline;-
245 while (v < end) {
v < endDescription
TRUEevaluated 7161029 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
FALSEevaluated 4275621 times by 26 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
4275621-7161029
246 v->mark(stack);-
247 ++v;-
248 }
executed 7160727 times by 26 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
7160727
249}
executed 4275651 times by 26 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_qv4mm
  • tst_scenegraph
  • ...
4275651
250-
251void Object::insertMember(StringOrSymbol *s, const Property *p, PropertyAttributes attributes)-
252{-
253 uint idx;-
254 PropertyKey key = s->toPropertyKey();-
255 Heap::InternalClass::addMember(this, key, attributes, &idx);-
256-
257 if (attributes.isAccessor()) {
attributes.isAccessor()Description
TRUEevaluated 3982803 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 124764525 times by 153 tests
Evaluated 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
  • ...
3982803-124764525
258 setProperty(idx + GetterOffset, p->value);-
259 setProperty(idx + SetterOffset, p->set);-
260 } else {
executed 3984699 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
3984699
261 setProperty(idx, p->value);-
262 }
executed 124594896 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
124594896
263}-
264-
265void Object::setPrototypeUnchecked(const Object *p)-
266{-
267 setInternalClass(internalClass()->changePrototype(p ? p->d() : nullptr));-
268}
executed 22671 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
22671
269-
270// Section 8.12.2-
271PropertyIndex Object::getValueOrSetter(PropertyKey id, PropertyAttributes *attrs)-
272{-
273 if (id.isArrayIndex()) {
id.isArrayIndex()Description
TRUEevaluated 32479 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
FALSEevaluated 1041812 times by 152 tests
Evaluated 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
  • ...
32479-1041812
274 uint index = id.asArrayIndex();-
275 Heap::Object *o = d();-
276 while (o) {
oDescription
TRUEevaluated 63241 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
FALSEevaluated 32418 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
32418-63241
277 if (o->arrayData) {
o->arrayDataDescription
TRUEevaluated 116 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 63138 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
116-63138
278 uint idx = o->arrayData->mappedIndex(index);-
279 if (idx != UINT_MAX) {
idx != (0x7fffffff * 2U + 1U)Description
TRUEevaluated 72 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 44 times by 1 test
Evaluated by:
  • tst_ecmascripttests
44-72
280 *attrs = o->arrayData->attributes(index);-
281 return { o->arrayData , o->arrayData->values.values + (attrs->isAccessor() ? idx + SetterOffset : idx) };
executed 72 times by 1 test: return { o->arrayData , o->arrayData->values.values + (attrs->isAccessor() ? idx + SetterOffset : idx) };
Executed by:
  • tst_ecmascripttests
72
282 }-
283 }
executed 44 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
44
284 if (o->vtable()->type == Type_StringObject) {
o->vtable()->t...e_StringObjectDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 63163 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
20-63163
285 if (index < static_cast<const Heap::StringObject *>(o)->length()) {
index < static...>(o)->length()Description
TRUEnever evaluated
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
0-20
286 // this is an evil hack, but it works, as the method is only ever called from put,-
287 // where we don't use the returned pointer there for non writable attributes-
288 *attrs = (Attr_NotWritable|Attr_NotConfigurable);-
289 return { reinterpret_cast<Heap::ArrayData *>(0x1), nullptr };
never executed: return { reinterpret_cast<Heap::ArrayData *>(0x1), nullptr };
0
290 }-
291 }
executed 20 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
20
292 o = o->prototype();-
293 }
executed 63180 times by 29 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
63180
294 } else {
executed 32417 times by 29 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
32417
295 Heap::Object *o = d();-
296 while (o) {
oDescription
TRUEevaluated 1466461 times by 152 tests
Evaluated 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
  • ...
FALSEevaluated 940327 times by 152 tests
Evaluated 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
  • ...
940327-1466461
297 uint idx = o->internalClass->find(id);-
298 if (idx < UINT_MAX) {
idx < (0x7fffffff * 2U + 1U)Description
TRUEevaluated 101966 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
FALSEevaluated 1367183 times by 152 tests
Evaluated 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
  • ...
101966-1367183
299 *attrs = o->internalClass->propertyData[idx];-
300 return o->writablePropertyData(attrs->isAccessor() ? idx + SetterOffset : idx );
executed 101996 times by 10 tests: return o->writablePropertyData(attrs->isAccessor() ? idx + SetterOffset : idx );
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
101996
301 }-
302-
303 o = o->prototype();-
304 }
executed 1366302 times by 152 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
1366302
305 }
executed 940520 times by 152 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
940520
306 *attrs = Attr_Invalid;-
307 return { nullptr, nullptr };
executed 972272 times by 152 tests: return { nullptr, nullptr };
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
972272
308}-
309-
310ReturnedValue Object::virtualCallAsConstructor(const FunctionObject *f, const Value *, int, const Value *)-
311{-
312 return f->engine()->throwTypeError();
never executed: return f->engine()->throwTypeError();
0
313}-
314-
315ReturnedValue Object::virtualCall(const FunctionObject *f, const Value *, const Value *, int)-
316{-
317 return f->engine()->throwTypeError();
never executed: return f->engine()->throwTypeError();
0
318}-
319-
320ReturnedValue Object::virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty)-
321{-
322 if (id.isArrayIndex())
id.isArrayIndex()Description
TRUEevaluated 27552927 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 18087287 times by 153 tests
Evaluated 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
  • ...
18087287-27552927
323 return static_cast<const Object *>(m)->internalGetIndexed(id.asArrayIndex(), receiver, hasProperty);
executed 27554266 times by 53 tests: return static_cast<const Object *>(m)->internalGetIndexed(id.asArrayIndex(), receiver, hasProperty);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
27554266
324 Scope scope(m);-
325 Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol());-
326 return static_cast<const Object *>(m)->internalGet(name, receiver, hasProperty);
executed 18074976 times by 153 tests: return static_cast<const Object *>(m)->internalGet(name, receiver, hasProperty);
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
18074976
327}-
328-
329bool Object::virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver)-
330{-
331 return static_cast<Object *>(m)->internalPut(id, value, receiver);
executed 1113135 times by 152 tests: return static_cast<Object *>(m)->internalPut(id, value, receiver);
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
  • ...
1113135
332}-
333-
334bool Object::virtualDeleteProperty(Managed *m, PropertyKey id)-
335{-
336 return static_cast<Object *>(m)->internalDeleteProperty(id);
executed 10914 times by 10 tests: return static_cast<Object *>(m)->internalDeleteProperty(id);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
10914
337}-
338-
339void Object::virtualAdvanceIterator(Managed *m, ObjectIterator *it, Value *name, uint *index, Property *pd, PropertyAttributes *attrs)-
340{-
341 Object *o = static_cast<Object *>(m);-
342 name->setM(nullptr);-
343 *index = UINT_MAX;-
344-
345 if (o->arrayData()) {
o->arrayData()Description
TRUEevaluated 7796 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 94161 times by 36 tests
Evaluated 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
  • ...
7796-94161
346 if (!it->arrayIndex)
!it->arrayIndexDescription
TRUEevaluated 2193 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 5586 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
2193-5586
347 it->arrayNode = o->sparseBegin();
executed 2214 times by 11 tests: it->arrayNode = o->sparseBegin();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
2214
348-
349 // sparse arrays-
350 if (it->arrayNode) {
it->arrayNodeDescription
TRUEevaluated 1086 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 6712 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
1086-6712
351 while (it->arrayNode != o->sparseEnd()) {
it->arrayNode ...o->sparseEnd()Description
TRUEevaluated 948 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 505 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
505-948
352 int k = it->arrayNode->key();-
353 uint pidx = it->arrayNode->value;-
354 Heap::SparseArrayData *sa = o->d()->arrayData.cast<Heap::SparseArrayData>();-
355 const Property *p = reinterpret_cast<const Property *>(sa->values.data() + pidx);-
356 it->arrayNode = it->arrayNode->nextNode();-
357 PropertyAttributes a = sa->attrs ? sa->attrs[pidx] : Attr_Data;
sa->attrsDescription
TRUEevaluated 934 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
12-934
358 if (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable()) {
!(it->flags & ...numerableOnly)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 936 times by 1 test
Evaluated by:
  • tst_ecmascripttests
a.isEnumerable()Description
TRUEevaluated 574 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 366 times by 1 test
Evaluated by:
  • tst_ecmascripttests
8-936
359 it->arrayIndex = k + 1;-
360 *index = k;-
361 *attrs = a;-
362 pd->copy(p, a);-
363 return;
executed 583 times by 2 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
583
364 }-
365 }
executed 367 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
367
366 it->arrayNode = nullptr;-
367 it->arrayIndex = UINT_MAX;-
368 }
executed 505 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
505
369 // dense arrays-
370 while (it->arrayIndex < o->d()->arrayData->values.size) {
it->arrayIndex...a->values.sizeDescription
TRUEevaluated 5925 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 2127 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
2127-5925
371 Heap::SimpleArrayData *sa = o->d()->arrayData.cast<Heap::SimpleArrayData>();-
372 const Value &val = sa->data(it->arrayIndex);-
373 PropertyAttributes a = o->arrayData()->attributes(it->arrayIndex);-
374 ++it->arrayIndex;-
375 if (!val.isEmpty()
!val.isEmpty()Description
TRUEevaluated 5471 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 460 times by 1 test
Evaluated by:
  • tst_ecmascripttests
460-5471
376 && (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable())) {
!(it->flags & ...numerableOnly)Description
TRUEevaluated 134 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
FALSEevaluated 5351 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
a.isEnumerable()Description
TRUEevaluated 4937 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 384 times by 1 test
Evaluated by:
  • tst_ecmascripttests
134-5351
377 *index = it->arrayIndex - 1;-
378 *attrs = a;-
379 pd->value = val;-
380 return;
executed 5063 times by 11 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
5063
381 }-
382 }
executed 845 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
845
383 }
executed 2128 times by 12 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_qv4debugger
  • tst_testfiltering
2128
384-
385 while (it->memberIndex < o->internalClass()->size) {
it->memberInde...lClass()->sizeDescription
TRUEevaluated 316461 times by 34 tests
Evaluated 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_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • ...
FALSEevaluated 45147 times by 36 tests
Evaluated 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
  • ...
45147-316461
386 PropertyKey n = o->internalClass()->nameMap.at(it->memberIndex);-
387 if (!n.isStringOrSymbol() || !n.asStringOrSymbol()->internalClass->vtable->isString) {
!n.isStringOrSymbol()Description
TRUEevaluated 21646 times by 24 tests
Evaluated 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
FALSEevaluated 294861 times by 34 tests
Evaluated 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_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • ...
!n.asStringOrS...able->isStringDescription
TRUEevaluated 6885 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 287991 times by 34 tests
Evaluated 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_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • ...
6885-294861
388 // accessor properties have a dummy entry with n == 0-
389 // symbol entries are supposed to be skipped-
390 ++it->memberIndex;-
391 continue;
executed 28527 times by 24 tests: continue;
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
28527
392 }-
393-
394 int idx = it->memberIndex;-
395 PropertyAttributes a = o->internalClass()->propertyData[it->memberIndex];-
396 ++it->memberIndex;-
397 if (!(it->flags & ObjectIterator::EnumerableOnly) || a.isEnumerable()) {
!(it->flags & ...numerableOnly)Description
TRUEevaluated 4646 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickworkerscript
FALSEevaluated 283374 times by 32 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
a.isEnumerable()Description
TRUEevaluated 46540 times by 27 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlxmlhttprequest
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickvisualdatamodel
  • ...
FALSEevaluated 236806 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • 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
4646-283374
398 name->setM(n.asStringOrSymbol());-
399 *attrs = a;-
400 pd->value = *o->propertyData(idx);-
401 if (a.isAccessor())
a.isAccessor()Description
TRUEevaluated 688 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 50498 times by 29 tests
Evaluated 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_qqmlxmlhttprequest
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
688-50498
402 pd->set = *o->propertyData(idx + SetterOffset);
executed 688 times by 1 test: pd->set = *o->propertyData(idx + SetterOffset);
Executed by:
  • tst_ecmascripttests
688
403 return;
executed 51175 times by 29 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_qqmlxmlhttprequest
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickparticlegroup
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
51175
404 }-
405 }
executed 236815 times by 25 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • 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
236815
406-
407 *attrs = PropertyAttributes();-
408}
executed 45130 times by 36 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
45130
409-
410// Section 8.12.3-
411ReturnedValue Object::internalGet(StringOrSymbol *name, const Value *receiver, bool *hasProperty) const-
412{-
413 PropertyKey id = name->toPropertyKey();-
414-
415 Q_ASSERT(!id.isArrayIndex());-
416-
417 Heap::Object *o = d();-
418 while (o) {
oDescription
TRUEevaluated 29665668 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 7030049 times by 92 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
7030049-29665668
419 uint idx = o->internalClass->find(id);-
420 if (idx < UINT_MAX) {
idx < (0x7fffffff * 2U + 1U)Description
TRUEevaluated 11191567 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 18637144 times by 92 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
11191567-18637144
421 if (hasProperty)
hasPropertyDescription
TRUEevaluated 5191800 times by 69 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
FALSEevaluated 5960671 times by 153 tests
Evaluated 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
  • ...
5191800-5960671
422 *hasProperty = true;
executed 5191779 times by 69 tests: *hasProperty = true;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
5191779
423 return Object::getValue(*receiver, *o->propertyData(idx), o->internalClass->propertyData.at(idx));
executed 11157460 times by 153 tests: return Object::getValue(*receiver, *o->propertyData(idx), o->internalClass->propertyData.at(idx));
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
  • ...
11157460
424 }-
425-
426 o = o->prototype();-
427 }
executed 18612454 times by 92 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
18612454
428-
429 if (hasProperty)
hasPropertyDescription
TRUEevaluated 6982617 times by 88 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • ...
FALSEevaluated 47415 times by 35 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlbinding
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdesignersupport
  • ...
47415-6982617
430 *hasProperty = false;
executed 6982617 times by 88 tests: *hasProperty = false;
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • ...
6982617
431 return Encode::undefined();
executed 7030037 times by 92 tests: return Encode::undefined();
Executed by:
  • tst_bindingdependencyapi
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
7030037
432}-
433-
434ReturnedValue Object::internalGetIndexed(uint index, const Value *receiver, bool *hasProperty) const-
435{-
436 PropertyAttributes attrs;-
437 Scope scope(engine());-
438 ScopedObject o(scope, this);-
439 ScopedProperty pd(scope);-
440 bool exists = false;-
441 while (o) {
oDescription
TRUEevaluated 81937823 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 27353312 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
27353312-81937823
442 if (o->arrayData() && o->arrayData()->getProperty(index, pd, &attrs)) {
o->arrayData()Description
TRUEevaluated 27533913 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 54616522 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qquickgridview
  • tst_qv4debugger
o->arrayData()...x, pd, &attrs)Description
TRUEevaluated 177828 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 27379059 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
177828-54616522
443 exists = true;-
444 break;
executed 177799 times by 53 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
177799
445 }-
446 if (o->isStringObject()) {
o->isStringObject()Description
TRUEevaluated 666 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
FALSEevaluated 81753752 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
666-81753752
447 ScopedString str(scope, static_cast<StringObject *>(o.getPointer())->getIndex(index));-
448 if (str) {
strDescription
TRUEevaluated 637 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
FALSEevaluated 28 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
28-637
449 attrs = (Attr_NotWritable|Attr_NotConfigurable);-
450 if (hasProperty)
hasPropertyDescription
TRUEevaluated 447 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 190 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
190-447
451 *hasProperty = true;
executed 447 times by 1 test: *hasProperty = true;
Executed by:
  • tst_ecmascripttests
447
452 return str.asReturnedValue();
executed 637 times by 3 tests: return str.asReturnedValue();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
637
453 }-
454 }
executed 28 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
28
455 o = o->getPrototypeOf();-
456 }
executed 81683779 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
81683779
457-
458 if (exists) {
existsDescription
TRUEevaluated 177766 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 27355135 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
177766-27355135
459 if (hasProperty)
hasPropertyDescription
TRUEevaluated 24773 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 153062 times by 53 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
24773-153062
460 *hasProperty = true;
executed 24777 times by 8 tests: *hasProperty = true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
24777
461 return Object::getValue(*receiver, pd->value, attrs);
executed 177789 times by 53 tests: return Object::getValue(*receiver, pd->value, attrs);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
177789
462 }-
463-
464 if (hasProperty)
hasPropertyDescription
TRUEevaluated 27353256 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4777 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
4777-27353256
465 *hasProperty = false;
executed 27355221 times by 1 test: *hasProperty = false;
Executed by:
  • tst_ecmascripttests
27355221
466 return Encode::undefined();
executed 27360350 times by 5 tests: return Encode::undefined();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickgridview
  • tst_qv4debugger
27360350
467}-
468-
469-
470// Section 8.12.5-
471bool Object::internalPut(PropertyKey id, const Value &value, Value *receiver)-
472{-
473 ExecutionEngine *engine = this->engine();-
474 if (engine->hasException)
engine->hasExceptionDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1113957 times by 152 tests
Evaluated 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
  • ...
40-1113957
475 return false;
executed 40 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
40
476-
477 uint index = id.asArrayIndex();-
478 Scope scope(engine);-
479-
480 PropertyAttributes attrs;-
481 PropertyIndex propertyIndex{nullptr, nullptr};-
482-
483 if (index != UINT_MAX) {
index != (0x7f...fff * 2U + 1U)Description
TRUEevaluated 35456 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
FALSEevaluated 1077401 times by 152 tests
Evaluated 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
  • ...
35456-1077401
484 if (arrayData())
arrayData()Description
TRUEevaluated 32456 times by 25 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
FALSEevaluated 3005 times by 13 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickgridview
  • tst_qquickworkerscript
  • tst_qtqmlmodules
  • tst_qv4debugger
3005-32456
485 propertyIndex = arrayData()->getValueOrSetter(index, &attrs);
executed 32456 times by 25 tests: propertyIndex = arrayData()->getValueOrSetter(index, &attrs);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4debugger
  • tst_testfiltering
32456
486-
487 if (propertyIndex.isNull() && isStringObject()) {
propertyIndex.isNull()Description
TRUEevaluated 32715 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
FALSEevaluated 2732 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
isStringObject()Description
TRUEevaluated 70 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 32647 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
70-32715
488 if (index < static_cast<StringObject *>(this)->length())
index < static...his)->length()Description
TRUEevaluated 26 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 44 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
26-44
489 // not writable-
490 return false;
executed 26 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
26
491 }
executed 44 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
44
492 } else {
executed 35423 times by 29 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
35423
493 uint member = internalClass()->find(id);-
494 if (member < UINT_MAX) {
member < (0x7f...fff * 2U + 1U)Description
TRUEevaluated 36802 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1042226 times by 152 tests
Evaluated 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
  • ...
36802-1042226
495 attrs = internalClass()->propertyData[member];-
496 propertyIndex = d()->writablePropertyData(attrs.isAccessor() ? member + SetterOffset : member);-
497 }
executed 36792 times by 21 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
36792
498 }
executed 1077855 times by 152 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
1077855
499-
500 // clause 1-
501 if (!propertyIndex.isNull()) {
!propertyIndex.isNull()Description
TRUEevaluated 39531 times by 21 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1073639 times by 152 tests
Evaluated 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
  • ...
39531-1073639
502 if (attrs.isAccessor()) {
attrs.isAccessor()Description
TRUEevaluated 2617 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
FALSEevaluated 36912 times by 20 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
2617-36912
503 if (propertyIndex->as<FunctionObject>())
propertyIndex-...ctionObject>()Description
TRUEevaluated 2496 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
FALSEevaluated 110 times by 1 test
Evaluated by:
  • tst_ecmascripttests
110-2496
504 goto cont;
executed 2496 times by 5 tests: goto cont;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
2496
505 return false;
executed 110 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
110
506 } else if (!attrs.isWritable())
!attrs.isWritable()Description
TRUEevaluated 5031 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
FALSEevaluated 31881 times by 20 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
5031-31881
507 return false;
executed 5022 times by 4 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
5022
508 else if (isArrayObject() && id == engine->id_length()->propertyKey()) {
isArrayObject()Description
TRUEevaluated 1950 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 29921 times by 20 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
id == engine->...>propertyKey()Description
TRUEevaluated 308 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 1644 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
308-29921
509 bool ok;-
510 uint l = value.asArrayLength(&ok);-
511 if (!ok) {
!okDescription
TRUEnever evaluated
FALSEevaluated 307 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-307
512 engine->throwRangeError(value);-
513 return false;
never executed: return false;
0
514 }-
515 ok = setArrayLength(l);-
516 if (!ok)
!okDescription
TRUEnever evaluated
FALSEevaluated 308 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-308
517 return false;
never executed: return false;
0
518 } else {
executed 308 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
308
519 propertyIndex.set(engine, value);-
520 }
executed 31572 times by 20 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
31572
521 return true;
executed 31881 times by 20 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_testfiltering
31881
522 } else if (!getPrototypeOf()) {
!getPrototypeOf()Description
TRUEevaluated 500 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1073450 times by 152 tests
Evaluated 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
  • ...
500-1073450
523 if (!isExtensible())
!isExtensible()Description
TRUEnever evaluated
FALSEevaluated 499 times by 1 test
Evaluated by:
  • tst_ecmascripttests
0-499
524 return false;
never executed: return false;
0
525 } else {
executed 499 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
499
526 // clause 4-
527 propertyIndex = ScopedObject(scope, getPrototypeOf())->getValueOrSetter(id, &attrs);-
528 if (!propertyIndex.isNull()) {
!propertyIndex.isNull()Description
TRUEevaluated 101828 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
FALSEevaluated 972064 times by 152 tests
Evaluated 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
  • ...
101828-972064
529 if (attrs.isAccessor()) {
attrs.isAccessor()Description
TRUEevaluated 17614 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
FALSEevaluated 84071 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
17614-84071
530 if (!propertyIndex->as<FunctionObject>())
!propertyIndex...ctionObject>()Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 17578 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
36-17578
531 return false;
executed 36 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
36
532 } else if (!isExtensible() || !attrs.isWritable()) {
executed 17578 times by 9 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
!isExtensible()Description
TRUEnever evaluated
FALSEevaluated 83834 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
!attrs.isWritable()Description
TRUEevaluated 40 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlxmlhttprequest
FALSEevaluated 83842 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconsole
0-83842
533 return false;
executed 40 times by 3 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlxmlhttprequest
40
534 }-
535 } else if (!isExtensible()) {
executed 101321 times by 10 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
!isExtensible()Description
TRUEevaluated 118 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 971593 times by 152 tests
Evaluated 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
  • ...
118-971593
536 return false;
executed 118 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
118
537 }-
538 }
executed 1072901 times by 152 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
1072901
539-
540 cont:
code before this statement executed 1073316 times by 152 tests: cont:
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
  • ...
1073316
541-
542 // Clause 5-
543 if (!propertyIndex.isNull() && attrs.isAccessor()) {
!propertyIndex.isNull()Description
TRUEevaluated 104115 times by 12 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
FALSEevaluated 971585 times by 152 tests
Evaluated 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
  • ...
attrs.isAccessor()Description
TRUEevaluated 20076 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
FALSEevaluated 84056 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlconsole
20076-971585
544 Q_ASSERT(propertyIndex->as<FunctionObject>());-
545-
546 Scope scope(engine);-
547 ScopedFunctionObject setter(scope, *propertyIndex);-
548 JSCallData jsCallData(scope, 1);-
549 jsCallData->args[0] = value;-
550 *jsCallData->thisObject = *receiver;-
551 setter->call(jsCallData);-
552 return !engine->hasException;
executed 20082 times by 11 tests: return !engine->hasException;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
20082
553 }-
554-
555 if (index != UINT_MAX) {
index != (0x7f...fff * 2U + 1U)Description
TRUEevaluated 32656 times by 29 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
FALSEevaluated 1022274 times by 152 tests
Evaluated 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
  • ...
32656-1022274
556 arraySet(index, value);-
557 } else {
executed 32651 times by 29 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodelworkerscript
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickworkerscript
  • ...
32651
558 Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol());-
559 insertMember(name, value);-
560 }
executed 1023715 times by 152 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
1023715
561 return true;
executed 1056624 times by 152 tests: return true;
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
  • ...
1056624
562}-
563-
564// Section 8.12.7-
565bool Object::internalDeleteProperty(PropertyKey id)-
566{-
567 if (internalClass()->engine->hasException)
internalClass(...->hasExceptionDescription
TRUEnever evaluated
FALSEevaluated 10929 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-10929
568 return false;
never executed: return false;
0
569-
570 if (id.isArrayIndex()) {
id.isArrayIndex()Description
TRUEevaluated 2463 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 8484 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickgridview
2463-8484
571 uint index = id.asArrayIndex();-
572 Scope scope(engine());-
573 if (scope.engine->hasException)
scope.engine->hasExceptionDescription
TRUEnever evaluated
FALSEevaluated 2456 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-2456
574 return false;
never executed: return false;
0
575-
576 Scoped<ArrayData> ad(scope, arrayData());-
577 if (!ad || ad->vtable()->del(this, index))
!adDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 2423 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
ad->vtable()->del(this, index)Description
TRUEevaluated 1711 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 707 times by 1 test
Evaluated by:
  • tst_ecmascripttests
40-2423
578 return true;
executed 1751 times by 8 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1751
579-
580 return false;
executed 709 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
709
581 }-
582-
583 uint memberIdx = internalClass()->find(id);-
584 if (memberIdx != UINT_MAX) {
memberIdx != (...fff * 2U + 1U)Description
TRUEevaluated 8322 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
  • tst_qquickgridview
FALSEevaluated 144 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
144-8322
585 if (internalClass()->propertyData[memberIdx].isConfigurable()) {
internalClass(...Configurable()Description
TRUEevaluated 6274 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
FALSEevaluated 2060 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlxmlhttprequest
2060-6274
586 Heap::InternalClass::removeMember(this, id);-
587 return true;
executed 6283 times by 5 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickgridview
6283
588 }-
589 return false;
executed 2060 times by 3 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
  • tst_qqmlxmlhttprequest
2060
590 }-
591-
592 return true;
executed 144 times by 5 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlxmlhttprequest
144
593}-
594-
595bool Object::internalDefineOwnProperty(ExecutionEngine *engine, uint index, StringOrSymbol *member, const Property *p, PropertyAttributes attrs)-
596{-
597 // clause 5-
598 if (attrs.isEmpty())
attrs.isEmpty()Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 5075 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
36-5075
599 return true;
executed 36 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
36
600-
601 Scope scope(engine);-
602 ScopedProperty current(scope);-
603 PropertyAttributes cattrs;-
604 if (member) {
memberDescription
TRUEevaluated 3296 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1788 times by 1 test
Evaluated by:
  • tst_ecmascripttests
1788-3296
605 getProperty(index, current, &cattrs);-
606 cattrs = internalClass()->propertyData[index];-
607 } else if (arrayData()) {
executed 3291 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
arrayData()Description
TRUEevaluated 1788 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
0-3291
608 arrayData()->getProperty(index, current, &cattrs);-
609 cattrs = arrayData()->attributes(index);-
610 }
executed 1785 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
1785
611-
612 // clause 6-
613 if (p->isSubset(attrs, current, cattrs))
p->isSubset(at...rrent, cattrs)Description
TRUEevaluated 304 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4765 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
304-4765
614 return true;
executed 304 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
304
615-
616 // clause 7-
617 if (!cattrs.isConfigurable()) {
!cattrs.isConfigurable()Description
TRUEevaluated 1316 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 3453 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1316-3453
618 if (attrs.isConfigurable())
attrs.isConfigurable()Description
TRUEevaluated 330 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 987 times by 1 test
Evaluated by:
  • tst_ecmascripttests
330-987
619 return false;
executed 330 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
330
620 if (attrs.hasEnumerable() && attrs.isEnumerable() != cattrs.isEnumerable())
attrs.hasEnumerable()Description
TRUEevaluated 158 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 829 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.isEnumer...isEnumerable()Description
TRUEevaluated 158 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
0-829
621 return false;
executed 158 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
158
622 }
executed 829 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
829
623-
624 // clause 8-
625 if (attrs.isGeneric() || current->value.isEmpty())
attrs.isGeneric()Description
TRUEevaluated 408 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 3869 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
current->value.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 3869 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
0-3869
626 goto accept;
executed 409 times by 1 test: goto accept;
Executed by:
  • tst_ecmascripttests
409
627-
628 // clause 9-
629 if (cattrs.isData() != attrs.isData()) {
cattrs.isData(...attrs.isData()Description
TRUEevaluated 1181 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 2700 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1181-2700
630 // 9a-
631 if (!cattrs.isConfigurable())
!cattrs.isConfigurable()Description
TRUEevaluated 168 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1012 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
168-1012
632 return false;
executed 168 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
168
633 if (cattrs.isData()) {
cattrs.isData()Description
TRUEevaluated 909 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tst_ecmascripttests
104-909
634 // 9b-
635 cattrs.setType(PropertyAttributes::Accessor);-
636 cattrs.clearWritable();-
637 if (!member) {
!memberDescription
TRUEevaluated 555 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 354 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
354-555
638 // need to convert the array and the slot-
639 initSparseArray();-
640 Q_ASSERT(arrayData());-
641 setArrayAttributes(index, cattrs);-
642 }
executed 553 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
553
643 current->setGetter(nullptr);-
644 current->setSetter(nullptr);-
645 } else {
executed 909 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
909
646 // 9c-
647 cattrs.setType(PropertyAttributes::Data);-
648 cattrs.setWritable(false);-
649 if (!member) {
!memberDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 84 times by 1 test
Evaluated by:
  • tst_ecmascripttests
20-84
650 // need to convert the array and the slot-
651 setArrayAttributes(index, cattrs);-
652 }
executed 20 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
20
653 current->value = Primitive::undefinedValue();-
654 }
executed 104 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
104
655 } else if (cattrs.isData() && attrs.isData()) { // clause 10
cattrs.isData()Description
TRUEevaluated 1354 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1345 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
attrs.isData()Description
TRUEevaluated 1354 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
0-1354
656 if (!cattrs.isConfigurable() && !cattrs.isWritable()) {
!cattrs.isConfigurable()Description
TRUEevaluated 367 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 986 times by 1 test
Evaluated by:
  • tst_ecmascripttests
!cattrs.isWritable()Description
TRUEevaluated 294 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 72 times by 1 test
Evaluated by:
  • tst_ecmascripttests
72-986
657 if (attrs.isWritable() || !current->value.sameValue(p->value))
attrs.isWritable()Description
TRUEevaluated 70 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 223 times by 1 test
Evaluated by:
  • tst_ecmascripttests
!current->valu...alue(p->value)Description
TRUEevaluated 224 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEnever evaluated
0-224
658 return false;
executed 293 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
293
659 }
never executed: end of block
0
660 } else { // clause 10
executed 1057 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
1057
661 Q_ASSERT(cattrs.isAccessor() && attrs.isAccessor());-
662 if (!cattrs.isConfigurable()) {
!cattrs.isConfigurable()Description
TRUEevaluated 294 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1045 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
294-1045
663 if (!p->value.isEmpty() && current->value.rawValue() != p->value.rawValue())
!p->value.isEmpty()Description
TRUEevaluated 160 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 135 times by 1 test
Evaluated by:
  • tst_ecmascripttests
current->value...lue.rawValue()Description
TRUEevaluated 128 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 32 times by 1 test
Evaluated by:
  • tst_ecmascripttests
32-160
664 return false;
executed 128 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
128
665 if (!p->set.isEmpty() && current->set.rawValue() != p->set.rawValue())
!p->set.isEmpty()Description
TRUEevaluated 139 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tst_ecmascripttests
current->set.r...set.rawValue()Description
TRUEevaluated 132 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
8-139
666 return false;
executed 132 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
132
667 }
executed 36 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
36
668 }
executed 1077 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1077
669-
670 accept:
code before this statement executed 3147 times by 3 tests: accept:
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3147
671-
672 current->merge(cattrs, p, attrs);-
673 if (member) {
memberDescription
TRUEevaluated 2315 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1243 times by 1 test
Evaluated by:
  • tst_ecmascripttests
1243-2315
674 Heap::InternalClass::changeMember(this, member->propertyKey(), cattrs);-
675 setProperty(index, current);-
676 } else {
executed 2322 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
2322
677 setArrayAttributes(index, cattrs);-
678 arrayData()->setProperty(scope.engine, index, current);-
679 }
executed 1250 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
1250
680 return true;
executed 3568 times by 3 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3568
681}-
682-
683void Object::copyArrayData(Object *other)-
684{-
685 Q_ASSERT(isArrayObject());-
686 Scope scope(engine());-
687-
688 if (other->protoHasArray() || ArgumentsObject::isNonStrictArgumentsObject(other) ||
other->protoHasArray()Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 198 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
ArgumentsObjec...sObject(other)Description
TRUEnever evaluated
FALSEevaluated 198 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
0-198
689 (other->arrayType() == Heap::ArrayData::Sparse && other->arrayData()->attrs)) {
other->arrayTy...ayData::SparseDescription
TRUEnever evaluated
FALSEevaluated 198 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
other->arrayData()->attrsDescription
TRUEnever evaluated
FALSEnever evaluated
0-198
690 uint len = other->getLength();-
691 Q_ASSERT(len);-
692-
693 ScopedValue v(scope);-
694 for (uint i = 0; i < len; ++i) {
i < lenDescription
TRUEevaluated 36 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_ecmascripttests
16-36
695 arraySet(i, (v = other->get(i)));-
696 }
executed 36 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
36
697 } else if (!other->arrayData()) {
executed 16 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
!other->arrayData()Description
TRUEevaluated 160 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
16-160
698 ;-
699 } else {
executed 160 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
160
700 Q_ASSERT(!arrayData() && other->arrayData());-
701 ArrayData::realloc(this, static_cast<ArrayData::Type>(other->d()->arrayData->type),-
702 other->d()->arrayData->values.alloc, false);-
703 if (other->arrayType() == Heap::ArrayData::Sparse) {
other->arrayTy...ayData::SparseDescription
TRUEnever evaluated
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
0-38
704 Heap::ArrayData *od = other->d()->arrayData;-
705 Heap::ArrayData *dd = d()->arrayData;-
706 dd->sparse = new SparseArray(*od->sparse);-
707 } else {
never executed: end of block
0
708 Heap::ArrayData *dd = d()->arrayData;-
709 dd->values.size = other->d()->arrayData->values.size;-
710 dd->offset = other->d()->arrayData->offset;-
711 }
executed 38 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
38
712 // ### need a write barrier-
713 memcpy(d()->arrayData->values.values, other->d()->arrayData->values.values, other->d()->arrayData->values.alloc*sizeof(Value));-
714 }
executed 38 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
38
715 setArrayLengthUnchecked(other->getLength());-
716}
executed 213 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
213
717-
718qint64 Object::virtualGetLength(const Managed *m)-
719{-
720 Scope scope(static_cast<const Object *>(m)->engine());-
721 ScopedValue v(scope, static_cast<Object *>(const_cast<Managed *>(m))->get(scope.engine->id_length()));-
722 return v->toLength();
executed 6496 times by 3 tests: return v->toLength();
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
6496
723}-
724-
725// 'var' is 'V' in 15.3.5.3.-
726ReturnedValue Object::virtualInstanceOf(const Object *typeObject, const Value &var)-
727{-
728 QV4::ExecutionEngine *engine = typeObject->internalClass()->engine;-
729-
730 // 15.3.5.3, Assume F is a Function object.-
731 const FunctionObject *function = typeObject->as<FunctionObject>();-
732 if (!function)
!functionDescription
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 4242379 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
18-4242379
733 return engine->throwTypeError();
executed 18 times by 2 tests: return engine->throwTypeError();
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
18
734-
735 Heap::FunctionObject *f = function->d();-
736 if (function->isBoundFunction())
function->isBoundFunction()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4309502 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
4-4309502
737 f = function->cast<BoundFunction>()->target();
executed 4 times by 1 test: f = function->cast<BoundFunction>()->target();
Executed by:
  • tst_ecmascripttests
4
738-
739 // 15.3.5.3, 1: HasInstance can only be used on an object-
740 const Object *lhs = var.as<Object>();-
741 if (!lhs)
!lhsDescription
TRUEevaluated 94 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 4302019 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
94-4302019
742 return Encode(false);
executed 92 times by 2 tests: return Encode(false);
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
92
743-
744 // 15.3.5.3, 2-
745 const Object *o = f->protoProperty();-
746 if (!o) // 15.3.5.3, 3
!oDescription
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4302505 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
40-4302505
747 return engine->throwTypeError();
executed 40 times by 1 test: return engine->throwTypeError();
Executed by:
  • tst_ecmascripttests
40
748-
749 Heap::Object *v = lhs->d();-
750-
751 // 15.3.5.3, 4-
752 while (v) {
vDescription
TRUEevaluated 4311291 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
FALSEnever evaluated
0-4311291
753 // 15.3.5.3, 4, a-
754 v = v->prototype();-
755-
756 // 15.3.5.3, 4, b-
757 if (!v)
!vDescription
TRUEevaluated 242 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
FALSEevaluated 4282216 times by 11 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
242-4282216
758 break; // will return false
executed 242 times by 3 tests: break;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
242
759-
760 // 15.3.5.3, 4, c-
761 else if (o->d() == v)
o->d() == vDescription
TRUEevaluated 4312629 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
FALSEevaluated 622 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickanimationcontroller
622-4312629
762 return Encode(true);
executed 4308609 times by 10 tests: return Encode(true);
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodelworkerscript
  • tst_qqmlxmlhttprequest
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickworkerscript
4308609
763 }
executed 622 times by 4 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qquickanimationcontroller
622
764-
765 return Encode(false);
executed 242 times by 3 tests: return Encode(false);
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
242
766}-
767-
768bool Object::virtualHasProperty(const Managed *m, PropertyKey id)-
769{-
770 Scope scope(m->engine());-
771 ScopedObject o(scope, m);-
772 ScopedProperty p(scope);-
773 while (o) {
oDescription
TRUEevaluated 224810 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
FALSEevaluated 90694 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
90694-224810
774 if (o->getOwnProperty(id, p) != Attr_Invalid)
o->getOwnPrope...= Attr_InvalidDescription
TRUEevaluated 36530 times by 9 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
FALSEevaluated 188496 times by 8 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
36530-188496
775 return true;
executed 36529 times by 9 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
36529
776-
777 o = o->getPrototypeOf();-
778 }
executed 188428 times by 8 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
188428
779-
780 return false;
executed 90695 times by 8 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_testfiltering
90695
781}-
782-
783PropertyAttributes Object::virtualGetOwnProperty(Managed *m, PropertyKey id, Property *p)-
784{-
785 PropertyAttributes attrs;-
786 Object *o = static_cast<Object *>(m);-
787 if (id.isArrayIndex()) {
id.isArrayIndex()Description
TRUEevaluated 7806 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
FALSEevaluated 788049 times by 21 tests
Evaluated 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
7806-788049
788 uint index = id.asArrayIndex();-
789 if (o->arrayData()) {
o->arrayData()Description
TRUEevaluated 6319 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 1512 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
1512-6319
790 if (o->arrayData()->getProperty(index, p, &attrs))
o->arrayData()...ex, p, &attrs)Description
TRUEevaluated 5304 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
FALSEevaluated 1008 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
1008-5304
791 return attrs;
executed 5301 times by 3 tests: return attrs;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qqmlecmascript
5301
792 }
executed 1006 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
1006
793 } else {
executed 2519 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
2519
794 Q_ASSERT(id.asStringOrSymbol());-
795-
796 uint member = o->internalClass()->find(id);-
797 if (member < UINT_MAX) {
member < (0x7f...fff * 2U + 1U)Description
TRUEevaluated 74847 times by 6 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlvaluetypes
  • tst_qquicklayouts
FALSEevaluated 714914 times by 21 tests
Evaluated 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
74847-714914
798 attrs = o->internalClass()->propertyData[member];-
799 if (p) {
pDescription
TRUEevaluated 57860 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlvaluetypes
FALSEevaluated 17010 times by 4 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquicklayouts
17010-57860
800 p->value = *o->propertyData(member);-
801 if (attrs.isAccessor())
attrs.isAccessor()Description
TRUEevaluated 4282 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 53497 times by 5 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlvaluetypes
4282-53497
802 p->set = *o->propertyData(member + SetterOffset);
executed 4279 times by 2 tests: p->set = *o->propertyData(member + SetterOffset);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
4279
803 }
executed 57798 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlvaluetypes
57798
804 return attrs;
executed 74814 times by 6 tests: return attrs;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlvaluetypes
  • tst_qquicklayouts
74814
805 }-
806 }
executed 714702 times by 21 tests: end of block
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
714702
807-
808 return Attr_Invalid;
executed 717179 times by 22 tests: return Attr_Invalid;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
  • tst_quicktestmainwithsetup
  • tst_qv4assembler
  • tst_qv4debugger
  • tst_testfiltering
717179
809}-
810-
811bool Object::virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs)-
812{-
813 Object *o = static_cast<Object *>(m);-
814 Scope scope(o);-
815-
816 if (id.isArrayIndex()) {
id.isArrayIndex()Description
TRUEevaluated 11086 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 542957 times by 21 tests
Evaluated 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
11086-542957
817 uint index = id.asArrayIndex();-
818-
819 bool hasProperty = false;-
820-
821 if (o->arrayData()) {
o->arrayData()Description
TRUEevaluated 5679 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 5396 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
5396-5679
822 hasProperty = o->arrayData()->mappedIndex(index) != UINT_MAX;-
823 if (!hasProperty && o->isStringObject())
!hasPropertyDescription
TRUEevaluated 3865 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 1801 times by 1 test
Evaluated by:
  • tst_ecmascripttests
o->isStringObject()Description
TRUEnever evaluated
FALSEevaluated 3856 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
0-3865
824 hasProperty = (index < static_cast<StringObject *>(o)->length());
never executed: hasProperty = (index < static_cast<StringObject *>(o)->length());
0
825 }
executed 5659 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
5659
826-
827 if (!hasProperty) {
!hasPropertyDescription
TRUEevaluated 9274 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 1802 times by 1 test
Evaluated by:
  • tst_ecmascripttests
1802-9274
828 if (!o->isExtensible())
!o->isExtensible()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 9254 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
12-9254
829 return false;
executed 12 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
12
830-
831 ScopedProperty pp(scope);-
832 pp->copy(p, attrs);-
833 pp->fullyPopulated(&attrs);-
834 if (attrs == Attr_Data) {
attrs == Attr_DataDescription
TRUEevaluated 5979 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 3302 times by 1 test
Evaluated by:
  • tst_ecmascripttests
3302-5979
835 ScopedValue v(scope, pp->value);-
836 o->arraySet(index, v);-
837 } else {
executed 5961 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
5961
838 o->arraySet(index, pp, attrs);-
839 }
executed 3294 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
3294
840 return true;
executed 9259 times by 2 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
9259
841 }-
842-
843 return o->internalDefineOwnProperty(scope.engine, index, nullptr, p, attrs);
executed 1801 times by 1 test: return o->internalDefineOwnProperty(scope.engine, index, nullptr, p, attrs);
Executed by:
  • tst_ecmascripttests
1801
844 }-
845-
846 uint memberIndex = o->internalClass()->find(id);-
847 Scoped<StringOrSymbol> name(scope, id.asStringOrSymbol());-
848-
849 if (memberIndex == UINT_MAX) {
memberIndex ==...fff * 2U + 1U)Description
TRUEevaluated 539224 times by 21 tests
Evaluated 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
FALSEevaluated 3316 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3316-539224
850 if (!o->isExtensible())
!o->isExtensible()Description
TRUEevaluated 458 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 538702 times by 21 tests
Evaluated 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
458-538702
851 return false;
executed 458 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
458
852-
853 ScopedProperty pd(scope);-
854 pd->copy(p, attrs);-
855 pd->fullyPopulated(&attrs);-
856 o->insertMember(name, pd, attrs);-
857 return true;
executed 539657 times by 21 tests: return true;
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
539657
858 }-
859-
860 return o->internalDefineOwnProperty(scope.engine, memberIndex, name, p, attrs);
executed 3316 times by 3 tests: return o->internalDefineOwnProperty(scope.engine, memberIndex, name, p, attrs);
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3316
861}-
862-
863bool Object::virtualIsExtensible(const Managed *m)-
864{-
865 return m->d()->internalClass->extensible;
executed 1606561 times by 153 tests: return m->d()->internalClass->extensible;
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
  • ...
1606561
866}-
867-
868bool Object::virtualPreventExtensions(Managed *m)-
869{-
870 Q_ASSERT(m->isObject());-
871 Object *o = static_cast<Object *>(m);-
872 o->setInternalClass(o->internalClass()->nonExtensible());-
873 return true;
executed 860 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
860
874}-
875-
876Heap::Object *Object::virtualGetPrototypeOf(const Managed *m)-
877{-
878 return m->internalClass()->prototype;
executed 92939895 times by 153 tests: return m->internalClass()->prototype;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
92939895
879}-
880-
881bool Object::virtualSetPrototypeOf(Managed *m, const Object *proto)-
882{-
883 Q_ASSERT(m->isObject());-
884 Object *o = static_cast<Object *>(m);-
885 Heap::Object *current = o->internalClass()->prototype;-
886 Heap::Object *protod = proto ? proto->d() : nullptr;
protoDescription
TRUEevaluated 1943977 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 120 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
120-1943977
887 if (current == protod)
current == protodDescription
TRUEevaluated 1990 times by 10 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlqt
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEevaluated 1942504 times by 153 tests
Evaluated 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
  • ...
1990-1942504
888 return true;
executed 1991 times by 10 tests: return true;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlconsole
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlqt
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
1991
889 if (!o->internalClass()->extensible)
!o->internalCl...()->extensibleDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1943279 times by 153 tests
Evaluated 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
  • ...
24-1943279
890 return false;
executed 24 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
24
891 Heap::Object *p = protod;-
892 while (p) {
pDescription
TRUEevaluated 4801875 times by 153 tests
Evaluated 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
  • ...
FALSEevaluated 1943494 times by 153 tests
Evaluated 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
  • ...
1943494-4801875
893 if (p == o->d())
p == o->d()Description
TRUEevaluated 42 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsvalue
FALSEevaluated 4803391 times by 153 tests
Evaluated 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
  • ...
42-4803391
894 return false;
executed 42 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsvalue
42
895 if (p->vtable()->getPrototypeOf != Object::staticVTable()->getPrototypeOf)
p->vtable()->g...getPrototypeOfDescription
TRUEevaluated 56 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 4803454 times by 153 tests
Evaluated 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
  • ...
56-4803454
896 break;
executed 56 times by 1 test: break;
Executed by:
  • tst_ecmascripttests
56
897 p = p->prototype();-
898 }
executed 4803160 times by 153 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
4803160
899 o->setInternalClass(o->internalClass()->changePrototype(protod));-
900 return true;
executed 1944657 times by 153 tests: return true;
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
  • ...
1944657
901}-
902-
903bool Object::setArrayLength(uint newLen)-
904{-
905 Q_ASSERT(isArrayObject());-
906 if (!internalClass()->propertyData[Heap::ArrayObject::LengthPropertyIndex].isWritable())
!internalClass...].isWritable()Description
TRUEnever evaluated
FALSEevaluated 1199 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
0-1199
907 return false;
never executed: return false;
0
908 uint oldLen = getLength();-
909 bool ok = true;-
910 if (newLen < oldLen) {
newLen < oldLenDescription
TRUEevaluated 660 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 540 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
540-660
911 if (arrayData()) {
arrayData()Description
TRUEevaluated 643 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_ecmascripttests
16-643
912 uint l = arrayData()->vtable()->truncate(this, newLen);-
913 if (l != newLen)
l != newLenDescription
TRUEevaluated 110 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 533 times by 7 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
110-533
914 ok = false;
executed 110 times by 1 test: ok = false;
Executed by:
  • tst_ecmascripttests
110
915 newLen = l;-
916 }
executed 643 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
643
917 } else {
executed 659 times by 7 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
659
918 if (newLen >= 0x100000)
newLen >= 0x100000Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 512 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
28-512
919 initSparseArray();
executed 28 times by 1 test: initSparseArray();
Executed by:
  • tst_ecmascripttests
28
920 }
executed 540 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
540
921 setArrayLengthUnchecked(newLen);-
922 return ok;
executed 1198 times by 7 tests: return ok;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1198
923}-
924-
925void Object::initSparseArray()-
926{-
927 if (arrayType() == Heap::ArrayData::Sparse)
arrayType() ==...ayData::SparseDescription
TRUEevaluated 4424 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
FALSEevaluated 2742 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
2742-4424
928 return;
executed 4423 times by 2 tests: return;
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
4423
929-
930 ArrayData::realloc(this, Heap::ArrayData::Sparse, 0, false);-
931}
executed 2742 times by 2 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qqmlecmascript
2742
932-
933-
934DEFINE_OBJECT_VTABLE(ArrayObject);-
935-
936void Heap::ArrayObject::init(const QStringList &list)-
937{-
938 Object::init();-
939 commonInit();-
940 Scope scope(internalClass->engine);-
941 ScopedObject a(scope, this);-
942-
943 // Converts a QStringList to JS.-
944 // The result is a new Array object with length equal to the length-
945 // of the QStringList, and the elements being the QStringList's-
946 // elements converted to JS Strings.-
947 int len = list.count();-
948 a->arrayReserve(len);-
949 ScopedValue v(scope);-
950 for (int ii = 0; ii < len; ++ii)
ii < lenDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsvalue
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qjsvalue
8
951 a->arrayPut(ii, (v = scope.engine->newString(list.at(ii))));
executed 8 times by 1 test: a->arrayPut(ii, (v = scope.engine->newString(list.at(ii))));
Executed by:
  • tst_qjsvalue
8
952 a->setArrayLengthUnchecked(len);-
953}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qjsvalue
8
954-
955qint64 ArrayObject::virtualGetLength(const Managed *m)-
956{-
957 const ArrayObject *a = static_cast<const ArrayObject *>(m);-
958 return a->propertyData(Heap::ArrayObject::LengthPropertyIndex)->toLength();
executed 252028 times by 55 tests: return a->propertyData(Heap::ArrayObject::LengthPropertyIndex)->toLength();
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlsqldatabase
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
252028
959}-
960-
961QStringList ArrayObject::toQStringList() const-
962{-
963 QStringList result;-
964-
965 QV4::ExecutionEngine *engine = internalClass()->engine;-
966 Scope scope(engine);-
967 ScopedValue v(scope);-
968-
969 uint length = getLength();-
970 for (uint i = 0; i < length; ++i) {
i < lengthDescription
TRUEevaluated 50 times by 1 test
Evaluated by:
  • tst_qjsengine
FALSEevaluated 26 times by 1 test
Evaluated by:
  • tst_qjsengine
26-50
971 v = const_cast<ArrayObject *>(this)->get(i);-
972 result.append(v->toQStringNoThrow());-
973 }
executed 50 times by 1 test: end of block
Executed by:
  • tst_qjsengine
50
974 return result;
executed 26 times by 1 test: return result;
Executed by:
  • tst_qjsengine
26
975}-
976-
977bool ArrayObject::virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *p, PropertyAttributes attrs)-
978{-
979 Q_ASSERT(m->isArrayObject());-
980 ArrayObject *a = static_cast<ArrayObject *>(m);-
981-
982 if (id.isArrayIndex()) {
id.isArrayIndex()Description
TRUEevaluated 2657 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 937 times by 1 test
Evaluated by:
  • tst_ecmascripttests
937-2657
983 uint index = id.asArrayIndex();-
984 uint len = a->getLength();-
985 if (index >= len && !a->internalClass()->propertyData[Heap::ArrayObject::LengthPropertyIndex].isWritable())
index >= lenDescription
TRUEevaluated 1307 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1349 times by 1 test
Evaluated by:
  • tst_ecmascripttests
!a->internalCl...].isWritable()Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1298 times by 1 test
Evaluated by:
  • tst_ecmascripttests
16-1349
986 return false;
executed 16 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
16
987-
988 bool succeeded = Object::virtualDefineOwnProperty(m, id, p, attrs);-
989 if (!succeeded)
!succeededDescription
TRUEevaluated 235 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 2409 times by 1 test
Evaluated by:
  • tst_ecmascripttests
235-2409
990 return false;
executed 235 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
235
991-
992 if (index >= len)
index >= lenDescription
TRUEevaluated 1286 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1121 times by 1 test
Evaluated by:
  • tst_ecmascripttests
1121-1286
993 a->setArrayLengthUnchecked(index + 1);
executed 1282 times by 1 test: a->setArrayLengthUnchecked(index + 1);
Executed by:
  • tst_ecmascripttests
1282
994-
995 return true;
executed 2407 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
2407
996 }-
997-
998 ExecutionEngine *engine = m->engine();-
999 if (id == engine->id_length()->propertyKey()) {
id == engine->...>propertyKey()Description
TRUEevaluated 576 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 362 times by 1 test
Evaluated by:
  • tst_ecmascripttests
362-576
1000 Scope scope(engine);-
1001 Q_ASSERT(Heap::ArrayObject::LengthPropertyIndex == a->internalClass()->find(engine->id_length()->propertyKey()));-
1002 ScopedProperty lp(scope);-
1003 PropertyAttributes cattrs;-
1004 a->getProperty(Heap::ArrayObject::LengthPropertyIndex, lp, &cattrs);-
1005 if (attrs.isEmpty() || p->isSubset(attrs, lp, cattrs))
attrs.isEmpty()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 564 times by 1 test
Evaluated by:
  • tst_ecmascripttests
p->isSubset(attrs, lp, cattrs)Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 538 times by 1 test
Evaluated by:
  • tst_ecmascripttests
12-564
1006 return true;
executed 36 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
36
1007 if (!cattrs.isWritable() || attrs.type() == PropertyAttributes::Accessor || attrs.isConfigurable() || attrs.isEnumerable())
!cattrs.isWritable()Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 516 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.type() =...utes::AccessorDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 509 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.isConfigurable()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 501 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.isEnumerable()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 493 times by 1 test
Evaluated by:
  • tst_ecmascripttests
8-516
1008 return false;
executed 47 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
47
1009 bool succeeded = true;-
1010 if (attrs.type() == PropertyAttributes::Data) {
attrs.type() =...tributes::DataDescription
TRUEevaluated 425 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 68 times by 1 test
Evaluated by:
  • tst_ecmascripttests
68-425
1011 bool ok;-
1012 uint l = p->value.asArrayLength(&ok);-
1013 if (!ok) {
!okDescription
TRUEevaluated 109 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 315 times by 1 test
Evaluated by:
  • tst_ecmascripttests
109-315
1014 ScopedValue v(scope, p->value);-
1015 engine->throwRangeError(v);-
1016 return false;
executed 111 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
111
1017 }-
1018 succeeded = a->setArrayLength(l);-
1019 }
executed 315 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
315
1020 if (attrs.hasWritable() && !attrs.isWritable()) {
attrs.hasWritable()Description
TRUEevaluated 104 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 280 times by 1 test
Evaluated by:
  • tst_ecmascripttests
!attrs.isWritable()Description
TRUEevaluated 96 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_ecmascripttests
8-280
1021 cattrs.setWritable(false);-
1022 Heap::InternalClass::changeMember(a, engine->id_length()->propertyKey(), cattrs);-
1023 }
executed 96 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
96
1024 if (!succeeded)
!succeededDescription
TRUEevaluated 88 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 295 times by 1 test
Evaluated by:
  • tst_ecmascripttests
88-295
1025 return false;
executed 88 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
88
1026 return true;
executed 295 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
295
1027 }-
1028 return Object::virtualDefineOwnProperty(m, id, p, attrs);
executed 362 times by 1 test: return Object::virtualDefineOwnProperty(m, id, p, attrs);
Executed by:
  • tst_ecmascripttests
362
1029}-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0