OpenCoverage

qv4property_p.h #2

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4property_p.h
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#ifndef QV4PROPERTYDESCRIPTOR_H-
40#define QV4PROPERTYDESCRIPTOR_H-
41-
42//-
43// W A R N I N G-
44// --------------
45//-
46// This file is not part of the Qt API. It exists purely as an-
47// implementation detail. This header file may change from version to-
48// version without notice, or even be removed.-
49//-
50// We mean it.-
51//-
52-
53#include "qv4global_p.h"-
54#include "qv4value_p.h"-
55-
56QT_BEGIN_NAMESPACE-
57-
58namespace QV4 {-
59-
60struct FunctionObject;-
61-
62struct Property {-
63 Value value;-
64 Value set;-
65-
66 // Section 8.10-
67 inline void fullyPopulated(PropertyAttributes *attrs) {-
68 if (!attrs->hasType()) {
!attrs->hasType()Description
TRUEevaluated 2543 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 546165 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
2543-546165
69 value = Primitive::undefinedValue();-
70 }
executed 2539 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
2539
71 if (attrs->type() == PropertyAttributes::Accessor) {
attrs->type() ...utes::AccessorDescription
TRUEevaluated 11019 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 537832 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
11019-537832
72 attrs->clearWritable();-
73 if (value.isEmpty())
value.isEmpty()Description
TRUEevaluated 2040 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 8975 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
2040-8975
74 value = Primitive::undefinedValue();
executed 2041 times by 2 tests: value = Primitive::undefinedValue();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
2041
75 if (set.isEmpty())
set.isEmpty()Description
TRUEevaluated 7500 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 3534 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
3534-7500
76 set = Primitive::undefinedValue();
executed 7501 times by 3 tests: set = Primitive::undefinedValue();
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
7501
77 }
executed 11021 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
11021
78 attrs->resolve();-
79 }
executed 548287 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
548287
80-
81 inline bool isSubset(const PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs) const;-
82 inline void merge(PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs);-
83-
84 inline Heap::FunctionObject *getter() const { return reinterpret_cast<Heap::FunctionObject *>(value.heapObject()); }
executed 8106 times by 1 test: return reinterpret_cast<Heap::FunctionObject *>(value.heapObject());
Executed by:
  • tst_ecmascripttests
8106
85 inline Heap::FunctionObject *setter() const { return reinterpret_cast<Heap::FunctionObject *>(set.heapObject()); }
executed 7383 times by 1 test: return reinterpret_cast<Heap::FunctionObject *>(set.heapObject());
Executed by:
  • tst_ecmascripttests
7383
86 inline void setGetter(FunctionObject *g) { value = reinterpret_cast<Managed *>(g); }
executed 3774682 times by 154 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
  • ...
3774682
87 inline void setSetter(FunctionObject *s) { set = (s ? reinterpret_cast<Managed *>(s) : nullptr); }
executed 3776268 times by 154 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
  • ...
sDescription
TRUEevaluated 123935 times by 154 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 3650774 times by 154 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
  • ...
123935-3776268
88-
89 void copy(const Property *other, PropertyAttributes attrs) {-
90 value = other->value;-
91 if (attrs.isAccessor())
attrs.isAccessor()Description
TRUEevaluated 11273 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 537595 times by 22 tests
Evaluated 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
11273-537595
92 set = other->set;
executed 11267 times by 3 tests: set = other->set;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
11267
93 }
executed 548793 times by 22 tests: end of block
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
548793
94-
95 explicit Property() { value = Encode::undefined(); set = Value::fromHeapObject(nullptr); }
executed 2097 times by 5 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalueiterator
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
2097
96 Property(Heap::FunctionObject *getter, Heap::FunctionObject *setter) {-
97 value.setM(reinterpret_cast<Heap::Base *>(getter));-
98 set.setM(reinterpret_cast<Heap::Base *>(setter));-
99 }
never executed: end of block
0
100private:-
101 Q_DISABLE_COPY(Property)-
102};-
103-
104inline bool Property::isSubset(const PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs) const-
105{-
106 if (attrs.type() != PropertyAttributes::Generic && attrs.type() != otherAttrs.type())
attrs.type() !...butes::GenericDescription
TRUEevaluated 4560 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1084 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.type() !...erAttrs.type()Description
TRUEevaluated 1200 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 3362 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1084-4560
107 return false;
executed 1199 times by 2 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
1199
108 if (attrs.hasEnumerable() && attrs.isEnumerable() != otherAttrs.isEnumerable())
attrs.hasEnumerable()Description
TRUEevaluated 1696 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 2745 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.isEnumer...isEnumerable()Description
TRUEevaluated 489 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1203 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
489-2745
109 return false;
executed 489 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
489
110 if (attrs.hasConfigurable() && attrs.isConfigurable() != otherAttrs.isConfigurable())
attrs.hasConfigurable()Description
TRUEevaluated 1831 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 2120 times by 1 test
Evaluated by:
  • tst_ecmascripttests
attrs.isConfig...Configurable()Description
TRUEevaluated 620 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1211 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
620-2120
111 return false;
executed 620 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
620
112 if (attrs.hasWritable() && attrs.isWritable() != otherAttrs.isWritable())
attrs.hasWritable()Description
TRUEevaluated 916 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 2416 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
attrs.isWritab...s.isWritable()Description
TRUEevaluated 794 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 122 times by 1 test
Evaluated by:
  • tst_ecmascripttests
122-2416
113 return false;
executed 793 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
793
114 if (attrs.type() == PropertyAttributes::Data && !value.sameValue(other->value))
attrs.type() =...tributes::DataDescription
TRUEevaluated 1138 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 1389 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
!value.sameValue(other->value)Description
TRUEevaluated 940 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 204 times by 1 test
Evaluated by:
  • tst_ecmascripttests
204-1389
115 return false;
executed 940 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
940
116 if (attrs.type() == PropertyAttributes::Accessor) {
attrs.type() =...utes::AccessorDescription
TRUEevaluated 1328 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 268 times by 1 test
Evaluated by:
  • tst_ecmascripttests
268-1328
117 if (value.heapObject() != other->value.heapObject())
value.heapObje...e.heapObject()Description
TRUEevaluated 1091 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 244 times by 1 test
Evaluated by:
  • tst_ecmascripttests
244-1091
118 return false;
executed 1090 times by 3 tests: return false;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1090
119 if (set.heapObject() != other->set.heapObject())
set.heapObject...t.heapObject()Description
TRUEevaluated 184 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 60 times by 1 test
Evaluated by:
  • tst_ecmascripttests
60-184
120 return false;
executed 184 times by 1 test: return false;
Executed by:
  • tst_ecmascripttests
184
121 }
executed 60 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
60
122 return true;
executed 328 times by 1 test: return true;
Executed by:
  • tst_ecmascripttests
328
123}-
124-
125inline void Property::merge(PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs)-
126{-
127 if (otherAttrs.hasEnumerable())
otherAttrs.hasEnumerable()Description
TRUEevaluated 1613 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1942 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
1613-1942
128 attrs.setEnumerable(otherAttrs.isEnumerable());
executed 1613 times by 3 tests: attrs.setEnumerable(otherAttrs.isEnumerable());
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
1613
129 if (otherAttrs.hasConfigurable())
otherAttrs.hasConfigurable()Description
TRUEevaluated 2195 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1365 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
1365-2195
130 attrs.setConfigurable(otherAttrs.isConfigurable());
executed 2194 times by 3 tests: attrs.setConfigurable(otherAttrs.isConfigurable());
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
2194
131 if (otherAttrs.hasWritable())
otherAttrs.hasWritable()Description
TRUEevaluated 811 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 2753 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
811-2753
132 attrs.setWritable(otherAttrs.isWritable());
executed 811 times by 1 test: attrs.setWritable(otherAttrs.isWritable());
Executed by:
  • tst_ecmascripttests
811
133 if (otherAttrs.type() == PropertyAttributes::Accessor) {
otherAttrs.typ...utes::AccessorDescription
TRUEevaluated 1993 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1569 times by 1 test
Evaluated by:
  • tst_ecmascripttests
1569-1993
134 attrs.setType(PropertyAttributes::Accessor);-
135 if (!other->value.isEmpty())
!other->value.isEmpty()Description
TRUEevaluated 1441 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
FALSEevaluated 551 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
551-1441
136 value = other->value;
executed 1441 times by 2 tests: value = other->value;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
1441
137 if (!other->set.isEmpty())
!other->set.isEmpty()Description
TRUEevaluated 688 times by 3 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
FALSEevaluated 1312 times by 2 tests
Evaluated by:
  • tst_ecmascripttests
  • tst_qjsengine
688-1312
138 set = other->set;
executed 688 times by 3 tests: set = other->set;
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
688
139 } else if (otherAttrs.type() == PropertyAttributes::Data){
executed 2000 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
otherAttrs.typ...tributes::DataDescription
TRUEevaluated 1035 times by 1 test
Evaluated by:
  • tst_ecmascripttests
FALSEevaluated 537 times by 1 test
Evaluated by:
  • tst_ecmascripttests
537-2000
140 attrs.setType(PropertyAttributes::Data);-
141 value = other->value;-
142 }
executed 1035 times by 1 test: end of block
Executed by:
  • tst_ecmascripttests
1035
143}
executed 3570 times by 3 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_qjsengine
  • tst_qjsvalue
3570
144-
145struct PropertyIndex {-
146 Heap::Base *base;-
147 Value *slot;-
148-
149 void set(EngineBase *e, Value newVal) {-
150 WriteBarrier::write(e, base, slot->data_ptr(), newVal.asReturnedValue());-
151 }
executed 31771 times by 30 tests: end of block
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickscreen
  • tst_qquickshadereffect
  • ...
31771
152 const Value *operator->() const { return slot; }
executed 40305 times by 11 tests: return slot;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlxmlhttprequest
  • tst_qquickcustomaffector
  • tst_qquickvisualdatamodel
40305
153 const Value &operator*() const { return *slot; }
executed 207025 times by 55 tests: return *slot;
Executed by:
  • tst_ecmascripttests
  • tst_examples
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • 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
  • ...
207025
154 bool isNull() const { return !slot; }
executed 3296479 times by 153 tests: return !slot;
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
  • ...
3296479
155};-
156-
157-
158}-
159-
160Q_DECLARE_TYPEINFO(QV4::Property, Q_MOVABLE_TYPE);-
161-
162QT_END_NAMESPACE-
163-
164#endif-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0