Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qqmlproperty.h" | - |
41 | #include "qqmlproperty_p.h" | - |
42 | | - |
43 | #include "qqml.h" | - |
44 | #include "qqmlbinding_p.h" | - |
45 | #include "qqmlboundsignal_p.h" | - |
46 | #include "qqmlcontext.h" | - |
47 | #include "qqmlcontext_p.h" | - |
48 | #include "qqmlboundsignal_p.h" | - |
49 | #include "qqmlengine.h" | - |
50 | #include "qqmlengine_p.h" | - |
51 | #include "qqmldata_p.h" | - |
52 | #include "qqmlstringconverters_p.h" | - |
53 | #include "qqmllist_p.h" | - |
54 | #include "qqmlvmemetaobject_p.h" | - |
55 | #include "qqmlexpression_p.h" | - |
56 | #include "qqmlvaluetypeproxybinding_p.h" | - |
57 | #include <private/qjsvalue_p.h> | - |
58 | #include <private/qv4functionobject_p.h> | - |
59 | | - |
60 | #include <QStringList> | - |
61 | #include <QVector> | - |
62 | #include <private/qmetaobject_p.h> | - |
63 | #include <private/qqmlvaluetypewrapper_p.h> | - |
64 | #include <QtCore/qdebug.h> | - |
65 | #include <cmath> | - |
66 | | - |
67 | Q_DECLARE_METATYPE(QList<int>) | - |
68 | Q_DECLARE_METATYPE(QList<qreal>) | - |
69 | Q_DECLARE_METATYPE(QList<bool>) | - |
70 | Q_DECLARE_METATYPE(QList<QString>) | - |
71 | Q_DECLARE_METATYPE(QList<QUrl>) | - |
72 | | - |
73 | QT_BEGIN_NAMESPACE | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | QQmlProperty::QQmlProperty() | - |
122 | : d(nullptr) | - |
123 | { | - |
124 | }executed 74075 times by 36 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
| 74075 |
125 | | - |
126 | | - |
127 | QQmlProperty::~QQmlProperty() | - |
128 | { | - |
129 | if (d)TRUE | evaluated 290052 times by 46 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| FALSE | evaluated 14694 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
- tst_scenegraph
|
| 14694-290052 |
130 | d->release();executed 290052 times by 46 tests: d->release(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 290052 |
131 | d = nullptr; | - |
132 | }executed 304746 times by 47 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- ...
| 304746 |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | QQmlProperty::QQmlProperty(QObject *obj) | - |
139 | : d(new QQmlPropertyPrivate) | - |
140 | { | - |
141 | d->initDefault(obj); | - |
142 | }executed 18 times by 1 test: end of block | 18 |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | QQmlProperty::QQmlProperty(QObject *obj, QQmlContext *ctxt) | - |
151 | : d(new QQmlPropertyPrivate) | - |
152 | { | - |
153 | d->context = ctxt?QQmlContextData::get(ctxt):nullptr;TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
154 | d->engine = ctxt?ctxt->engine():nullptr;TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
155 | d->initDefault(obj); | - |
156 | }executed 4 times by 1 test: end of block | 4 |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | QQmlProperty::QQmlProperty(QObject *obj, QQmlEngine *engine) | - |
165 | : d(new QQmlPropertyPrivate) | - |
166 | { | - |
167 | d->context = nullptr; | - |
168 | d->engine = engine; | - |
169 | d->initDefault(obj); | - |
170 | } never executed: end of block | 0 |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | void QQmlPropertyPrivate::initDefault(QObject *obj) | - |
176 | { | - |
177 | if (!obj)TRUE | never evaluated | FALSE | evaluated 22 times by 1 test |
| 0-22 |
178 | return; never executed: return; | 0 |
179 | | - |
180 | QMetaProperty p = QQmlMetaType::defaultProperty(obj); | - |
181 | core.load(p); | - |
182 | if (core.isValid())TRUE | evaluated 12 times by 1 test | FALSE | evaluated 10 times by 1 test |
| 10-12 |
183 | object = obj;executed 12 times by 1 test: object = obj; | 12 |
184 | }executed 22 times by 1 test: end of block | 22 |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | QQmlProperty::QQmlProperty(QObject *obj, const QString &name) | - |
190 | : d(new QQmlPropertyPrivate) | - |
191 | { | - |
192 | d->initProperty(obj, name); | - |
193 | if (!isValid()) d->object = nullptr;executed 42 times by 5 tests: d->object = nullptr; Executed by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
TRUE | evaluated 42 times by 5 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
| FALSE | evaluated 21360 times by 30 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
|
| 42-21360 |
194 | }executed 21402 times by 31 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
| 21402 |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | QQmlProperty::QQmlProperty(QObject *obj, const QString &name, QQmlContext *ctxt) | - |
204 | : d(new QQmlPropertyPrivate) | - |
205 | { | - |
206 | d->context = ctxt?QQmlContextData::get(ctxt):nullptr;TRUE | evaluated 21741 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
| 36-21741 |
207 | d->engine = ctxt?ctxt->engine():nullptr;TRUE | evaluated 21741 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
| 36-21741 |
208 | d->initProperty(obj, name); | - |
209 | if (!isValid()) { d->object = nullptr; d->context = nullptr; d->engine = nullptr; }executed 10 times by 3 tests: end of block Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 21767 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
| 10-21767 |
210 | }executed 21777 times by 18 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| 21777 |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | QQmlProperty::QQmlProperty(QObject *obj, const QString &name, QQmlEngine *engine) | - |
218 | : d(new QQmlPropertyPrivate) | - |
219 | { | - |
220 | d->context = nullptr; | - |
221 | d->engine = engine; | - |
222 | d->initProperty(obj, name); | - |
223 | if (!isValid()) { d->object = nullptr; d->context = nullptr; d->engine = nullptr; } never executed: end of block TRUE | never evaluated | FALSE | evaluated 21324 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
|
| 0-21324 |
224 | }executed 21324 times by 10 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 21324 |
225 | | - |
226 | QQmlProperty QQmlPropertyPrivate::create(QObject *target, const QString &propertyName, QQmlContextData *context) | - |
227 | { | - |
228 | QQmlProperty result; | - |
229 | auto d = new QQmlPropertyPrivate; | - |
230 | result.d = d; | - |
231 | d->context = context; | - |
232 | d->engine = context ? context->engine : nullptr;TRUE | evaluated 608 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qquickdesignersupport
|
| 4-608 |
233 | d->initProperty(target, propertyName); | - |
234 | if (!result.isValid()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 608 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
| 4-608 |
235 | d->object = nullptr; | - |
236 | d->context = nullptr; | - |
237 | d->engine = nullptr; | - |
238 | }executed 4 times by 1 test: end of block | 4 |
239 | return result;executed 612 times by 17 tests: return result; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 612 |
240 | } | - |
241 | | - |
242 | QQmlPropertyPrivate::QQmlPropertyPrivate() | - |
243 | : context(nullptr), engine(nullptr), object(nullptr), isNameCached(false) | - |
244 | { | - |
245 | }executed 70835 times by 46 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 70835 |
246 | | - |
247 | QQmlContextData *QQmlPropertyPrivate::effectiveContext() const | - |
248 | { | - |
249 | if (context) return context;executed 54188 times by 26 tests: return context; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
- ...
TRUE | evaluated 54188 times by 26 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | evaluated 68362 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
|
| 54188-68362 |
250 | else if (engine) return QQmlContextData::get(engine->rootContext());executed 58944 times by 9 tests: return QQmlContextData::get(engine->rootContext()); Executed by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
TRUE | evaluated 58944 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | evaluated 9418 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 9418-58944 |
251 | else return nullptr;executed 9418 times by 12 tests: return nullptr; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 9418 |
252 | } | - |
253 | | - |
254 | void QQmlPropertyPrivate::initProperty(QObject *obj, const QString &name) | - |
255 | { | - |
256 | if (!obj) return;executed 18 times by 3 tests: return; Executed by:- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
TRUE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
| FALSE | evaluated 65097 times by 43 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- ...
|
| 18-65097 |
257 | | - |
258 | QQmlRefPointer<QQmlTypeNameCache> typeNameCache = context?context->imports:nullptr;TRUE | evaluated 22349 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- ...
| FALSE | evaluated 42748 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
|
| 22349-42748 |
259 | | - |
260 | QObject *currentObject = obj; | - |
261 | QVector<QStringRef> path; | - |
262 | QStringRef terminal(&name); | - |
263 | | - |
264 | if (name.contains(QLatin1Char('.'))) {TRUE | evaluated 730 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 64367 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
|
| 730-64367 |
265 | path = name.splitRef(QLatin1Char('.')); | - |
266 | if (path.isEmpty()) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 730 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
| 0-730 |
267 | | - |
268 | | - |
269 | for (int ii = 0; ii < path.count() - 1; ++ii) {TRUE | evaluated 734 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 684 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
| 684-734 |
270 | const QStringRef &pathName = path.at(ii); | - |
271 | | - |
272 | | - |
273 | | - |
274 | if (typeNameCache && !pathName.isEmpty() && pathName.at(0).isUpper()) {TRUE | evaluated 368 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | never evaluated |
TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 106 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickstates
|
| 0-368 |
275 | QQmlTypeNameCache::Result r = typeNameCache->query(pathName); | - |
276 | if (r.isValid()) {TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | never evaluated |
| 0-262 |
277 | if (r.type.isValid()) {TRUE | evaluated 256 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 6 times by 1 test |
| 6-256 |
278 | QQmlEnginePrivate *enginePrivate = QQmlEnginePrivate::get(engine); | - |
279 | QQmlAttachedPropertiesFunc func = r.type.attachedPropertiesFunction(enginePrivate); | - |
280 | if (!func) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 256 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
| 0-256 |
281 | | - |
282 | currentObject = qmlAttachedPropertiesObjectById(r.type.attachedPropertiesId(enginePrivate), currentObject); | - |
283 | if (!currentObject) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 256 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
| 0-256 |
284 | } else if (r.importNamespace) {executed 256 times by 7 tests: end of block Executed by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
TRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
| 0-256 |
285 | if ((ii + 1) == path.count()) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
286 | | - |
287 | ++ii; r = typeNameCache->query(path.at(ii), r.importNamespace); | - |
288 | if (!r.type.isValid()) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
289 | | - |
290 | QQmlEnginePrivate *enginePrivate = QQmlEnginePrivate::get(engine); | - |
291 | QQmlAttachedPropertiesFunc func = r.type.attachedPropertiesFunction(enginePrivate); | - |
292 | if (!func) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
293 | | - |
294 | currentObject = qmlAttachedPropertiesObjectById(r.type.attachedPropertiesId(enginePrivate), currentObject); | - |
295 | if (!currentObject) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
296 | | - |
297 | } else if (r.scriptIndex != -1) {executed 6 times by 1 test: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0-6 |
298 | return; never executed: return; | 0 |
299 | } else { | - |
300 | Q_ASSERT(!"Unreachable"); | - |
301 | } never executed: end of block | 0 |
302 | continue;executed 262 times by 7 tests: continue; Executed by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| 262 |
303 | } | - |
304 | | - |
305 | } never executed: end of block | 0 |
306 | | - |
307 | QQmlPropertyData local; | - |
308 | QQmlPropertyData *property = | - |
309 | QQmlPropertyCache::property(engine, currentObject, pathName, context, local); | - |
310 | | - |
311 | if (!property) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 472 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-472 |
312 | if (property->isFunction())TRUE | never evaluated | FALSE | evaluated 472 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-472 |
313 | return; never executed: return; | 0 |
314 | | - |
315 | if (ii == (path.count() - 2) && QQmlValueTypeFactory::isValueType(property->propType())) {TRUE | evaluated 468 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlproperty
|
TRUE | evaluated 46 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
| FALSE | evaluated 422 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 4-468 |
316 | | - |
317 | const QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(property->propType()); | - |
318 | if (!valueTypeMetaObject) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 46 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
|
| 0-46 |
319 | | - |
320 | int idx = valueTypeMetaObject->indexOfProperty(path.last().toUtf8().constData()); | - |
321 | if (idx == -1) return; executed 4 times by 1 test: return; TRUE | evaluated 4 times by 1 test | FALSE | evaluated 42 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
|
| 4-42 |
322 | | - |
323 | QMetaProperty vtProp = valueTypeMetaObject->property(idx); | - |
324 | | - |
325 | Q_ASSERT(vtProp.userType() <= 0x0000FFFF); | - |
326 | Q_ASSERT(idx <= 0x0000FFFF); | - |
327 | | - |
328 | object = currentObject; | - |
329 | core = *property; | - |
330 | valueTypeData.setFlags(QQmlPropertyData::flagsForProperty(vtProp)); | - |
331 | valueTypeData.setPropType(vtProp.userType()); | - |
332 | valueTypeData.setCoreIndex(idx); | - |
333 | | - |
334 | return;executed 42 times by 4 tests: return; Executed by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
| 42 |
335 | } else { | - |
336 | if (!property->isQObject())TRUE | never evaluated | FALSE | evaluated 426 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-426 |
337 | return; never executed: return; | 0 |
338 | | - |
339 | property->readProperty(currentObject, ¤tObject); | - |
340 | if (!currentObject) return; never executed: return; TRUE | never evaluated | FALSE | evaluated 426 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-426 |
341 | | - |
342 | }executed 426 times by 9 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 426 |
343 | | - |
344 | } | - |
345 | | - |
346 | terminal = path.last(); | - |
347 | }executed 684 times by 11 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| 684 |
348 | | - |
349 | if (terminal.count() >= 3 &&TRUE | evaluated 20918 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- ...
| FALSE | evaluated 44133 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 20918-44133 |
350 | terminal.at(0) == QLatin1Char('o') &&TRUE | evaluated 4672 times by 16 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_scenegraph
| FALSE | evaluated 16246 times by 37 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
|
| 4672-16246 |
351 | terminal.at(1) == QLatin1Char('n') &&TRUE | evaluated 198 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 4474 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickpathview
- tst_scenegraph
|
| 198-4474 |
352 | terminal.at(2).isUpper()) {TRUE | evaluated 198 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
| 0-198 |
353 | | - |
354 | QString signalName = terminal.mid(2).toString(); | - |
355 | signalName[0] = signalName.at(0).toLower(); | - |
356 | | - |
357 | | - |
358 | | - |
359 | QQmlData *ddata = QQmlData::get(currentObject, false); | - |
360 | if (ddata && ddata->propertyCache) {TRUE | evaluated 178 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 20 times by 1 test |
TRUE | evaluated 114 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 64 times by 1 test |
| 20-178 |
361 | | - |
362 | | - |
363 | QQmlPropertyData *d = ddata->propertyCache->property(signalName, currentObject, context); | - |
364 | while (d && !d->isFunction())TRUE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
|
TRUE | never evaluated | FALSE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-100 |
365 | d = ddata->propertyCache->overrideData(d); never executed: d = ddata->propertyCache->overrideData(d); | 0 |
366 | | - |
367 | if (d) {TRUE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
|
| 14-100 |
368 | object = currentObject; | - |
369 | core = *d; | - |
370 | return;executed 100 times by 11 tests: return; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 100 |
371 | } | - |
372 | | - |
373 | | - |
374 | if (signalName.endsWith(QLatin1String("Changed"))) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 8 times by 1 test |
| 6-8 |
375 | const QStringRef propName = signalName.midRef(0, signalName.length() - 7); | - |
376 | QQmlPropertyData *d = ddata->propertyCache->property(propName, currentObject, context); | - |
377 | while (d && d->isFunction())TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
| 0-6 |
378 | d = ddata->propertyCache->overrideData(d); never executed: d = ddata->propertyCache->overrideData(d); | 0 |
379 | | - |
380 | if (d && d->notifyIndex() != -1) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
| 0-6 |
381 | object = currentObject; | - |
382 | core = *ddata->propertyCache->signal(d->notifyIndex()); | - |
383 | return;executed 6 times by 2 tests: return; Executed by:- tst_qqmlproperty
- tst_qquickstates
| 6 |
384 | } | - |
385 | } never executed: end of block | 0 |
386 | | - |
387 | } else {executed 8 times by 1 test: end of block | 8 |
388 | QMetaMethod method = findSignalByName(currentObject->metaObject(), | - |
389 | signalName.toLatin1()); | - |
390 | if (method.isValid()) {TRUE | evaluated 80 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 4 times by 1 test |
| 4-80 |
391 | object = currentObject; | - |
392 | core.load(method); | - |
393 | return;executed 80 times by 2 tests: return; Executed by:- tst_qqmllistmodel
- tst_qqmlproperty
| 80 |
394 | } | - |
395 | }executed 4 times by 1 test: end of block | 4 |
396 | } | - |
397 | | - |
398 | | - |
399 | QQmlPropertyData local; | - |
400 | QQmlPropertyData *property = | - |
401 | QQmlPropertyCache::property(engine, currentObject, terminal, context, local); | - |
402 | if (property && !property->isFunction()) {TRUE | evaluated 64831 times by 39 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | evaluated 34 times by 6 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickstates
|
TRUE | evaluated 64831 times by 39 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | never evaluated |
| 0-64831 |
403 | object = currentObject; | - |
404 | core = *property; | - |
405 | nameCache = terminal.toString(); | - |
406 | isNameCached = true; | - |
407 | }executed 64831 times by 39 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
| 64831 |
408 | }executed 64865 times by 40 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- ...
| 64865 |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | | - |
414 | | - |
415 | int QQmlPropertyPrivate::signalIndex() const | - |
416 | { | - |
417 | Q_ASSERT(type() == QQmlProperty::SignalProperty); | - |
418 | QMetaMethod m = object->metaObject()->method(core.coreIndex()); | - |
419 | return QMetaObjectPrivate::signalIndex(m);executed 288 times by 12 tests: return QMetaObjectPrivate::signalIndex(m); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 288 |
420 | } | - |
421 | | - |
422 | | - |
423 | | - |
424 | | - |
425 | QQmlProperty::QQmlProperty(const QQmlProperty &other) | - |
426 | { | - |
427 | d = other.d; | - |
428 | if (d)TRUE | evaluated 165774 times by 30 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 642 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
|
| 642-165774 |
429 | d->addref();executed 165774 times by 30 tests: d->addref(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 165774 |
430 | }executed 166416 times by 30 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 166416 |
431 | | - |
432 | | - |
433 | | - |
434 | | - |
435 | | - |
436 | | - |
437 | | - |
438 | | - |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
452 | | - |
453 | | - |
454 | | - |
455 | | - |
456 | QQmlProperty::PropertyTypeCategory QQmlProperty::propertyTypeCategory() const | - |
457 | { | - |
458 | return d ? d->propertyTypeCategory() : InvalidCategory;executed 112 times by 3 tests: return d ? d->propertyTypeCategory() : InvalidCategory; Executed by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
| 112 |
459 | } | - |
460 | | - |
461 | QQmlProperty::PropertyTypeCategory | - |
462 | QQmlPropertyPrivate::propertyTypeCategory() const | - |
463 | { | - |
464 | uint type = this->type(); | - |
465 | | - |
466 | if (isValueType()) {TRUE | never evaluated | FALSE | evaluated 110 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
|
| 0-110 |
467 | return QQmlProperty::Normal; never executed: return QQmlProperty::Normal; | 0 |
468 | } else if (type & QQmlProperty::Property) {TRUE | evaluated 94 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 16 times by 1 test |
| 16-94 |
469 | int type = propertyType(); | - |
470 | if (type == QVariant::Invalid)TRUE | never evaluated | FALSE | evaluated 94 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
|
| 0-94 |
471 | return QQmlProperty::InvalidCategory; never executed: return QQmlProperty::InvalidCategory; | 0 |
472 | else if (QQmlValueTypeFactory::isValueType((uint)type))TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 48 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
|
| 46-48 |
473 | return QQmlProperty::Normal;executed 46 times by 2 tests: return QQmlProperty::Normal; Executed by:- tst_qqmlproperty
- tst_qquickdesignersupport
| 46 |
474 | else if (core.isQObject())TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmllistreference
- tst_qquickdesignersupport
|
| 16-32 |
475 | return QQmlProperty::Object;executed 16 times by 2 tests: return QQmlProperty::Object; Executed by:- tst_qqmlproperty
- tst_qquickdesignersupport
| 16 |
476 | else if (core.isQList())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qquickdesignersupport
|
| 4-28 |
477 | return QQmlProperty::List;executed 4 times by 1 test: return QQmlProperty::List; | 4 |
478 | else | - |
479 | return QQmlProperty::Normal;executed 28 times by 1 test: return QQmlProperty::Normal; Executed by:- tst_qquickdesignersupport
| 28 |
480 | } | - |
481 | | - |
482 | return QQmlProperty::InvalidCategory;executed 16 times by 1 test: return QQmlProperty::InvalidCategory; | 16 |
483 | } | - |
484 | | - |
485 | | - |
486 | | - |
487 | | - |
488 | | - |
489 | const char *QQmlProperty::propertyTypeName() const | - |
490 | { | - |
491 | if (!d)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 26 times by 1 test |
| 2-26 |
492 | return nullptr;executed 2 times by 1 test: return nullptr; | 2 |
493 | if (d->isValueType()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
| 2-24 |
494 | const QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(d->core.propType()); | - |
495 | Q_ASSERT(valueTypeMetaObject); | - |
496 | return valueTypeMetaObject->property(d->valueTypeData.coreIndex()).typeName();executed 2 times by 1 test: return valueTypeMetaObject->property(d->valueTypeData.coreIndex()).typeName(); | 2 |
497 | } else if (d->object && type() & Property && d->core.isValid()) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 8 times by 1 test |
TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-8 |
498 | return d->object->metaObject()->property(d->core.coreIndex()).typeName();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).typeName(); | 8 |
499 | } else { | - |
500 | return nullptr;executed 16 times by 1 test: return nullptr; | 16 |
501 | } | - |
502 | } | - |
503 | | - |
504 | | - |
505 | | - |
506 | | - |
507 | | - |
508 | bool QQmlProperty::operator==(const QQmlProperty &other) const | - |
509 | { | - |
510 | if (!d || !other.d)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 32294 times by 20 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
|
TRUE | never evaluated | FALSE | evaluated 32294 times by 20 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
|
| 0-32294 |
511 | return false;executed 10 times by 1 test: return false; | 10 |
512 | | - |
513 | | - |
514 | return d->object == other.d->object &&executed 32294 times by 20 tests: return d->object == other.d->object && d->core.coreIndex() == other.d->core.coreIndex() && d->valueTypeData.coreIndex() == other.d->valueTypeData.coreIndex(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
| 32294 |
515 | d->core.coreIndex() == other.d->core.coreIndex() &&executed 32294 times by 20 tests: return d->object == other.d->object && d->core.coreIndex() == other.d->core.coreIndex() && d->valueTypeData.coreIndex() == other.d->valueTypeData.coreIndex(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
| 32294 |
516 | d->valueTypeData.coreIndex() == other.d->valueTypeData.coreIndex();executed 32294 times by 20 tests: return d->object == other.d->object && d->core.coreIndex() == other.d->core.coreIndex() && d->valueTypeData.coreIndex() == other.d->valueTypeData.coreIndex(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
| 32294 |
517 | } | - |
518 | | - |
519 | | - |
520 | | - |
521 | | - |
522 | | - |
523 | int QQmlProperty::propertyType() const | - |
524 | { | - |
525 | return d ? d->propertyType() : int(QVariant::Invalid);executed 8040 times by 10 tests: return d ? d->propertyType() : int(QVariant::Invalid); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 8040 |
526 | } | - |
527 | | - |
528 | bool QQmlPropertyPrivate::isValueType() const | - |
529 | { | - |
530 | return valueTypeData.isValid();executed 110021 times by 36 tests: return valueTypeData.isValid(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
| 110021 |
531 | } | - |
532 | | - |
533 | int QQmlPropertyPrivate::propertyType() const | - |
534 | { | - |
535 | uint type = this->type(); | - |
536 | if (isValueType()) {TRUE | never evaluated | FALSE | evaluated 8132 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
| 0-8132 |
537 | return valueTypeData.propType(); never executed: return valueTypeData.propType(); | 0 |
538 | } else if (type & QQmlProperty::Property) {TRUE | evaluated 8116 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 16 times by 1 test |
| 16-8116 |
539 | return core.propType();executed 8116 times by 12 tests: return core.propType(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| 8116 |
540 | } else { | - |
541 | return QVariant::Invalid;executed 16 times by 1 test: return QVariant::Invalid; | 16 |
542 | } | - |
543 | } | - |
544 | | - |
545 | QQmlProperty::Type QQmlPropertyPrivate::type() const | - |
546 | { | - |
547 | if (core.isFunction())TRUE | evaluated 1164 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 483714 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- ...
|
| 1164-483714 |
548 | return QQmlProperty::SignalProperty;executed 1164 times by 12 tests: return QQmlProperty::SignalProperty; Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 1164 |
549 | else if (core.isValid())TRUE | evaluated 483450 times by 40 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- ...
| FALSE | evaluated 264 times by 7 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickstates
- tst_qtqmlmodules
|
| 264-483450 |
550 | return QQmlProperty::Property;executed 483450 times by 40 tests: return QQmlProperty::Property; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- ...
| 483450 |
551 | else | - |
552 | return QQmlProperty::Invalid;executed 264 times by 7 tests: return QQmlProperty::Invalid; Executed by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickstates
- tst_qtqmlmodules
| 264 |
553 | } | - |
554 | | - |
555 | | - |
556 | | - |
557 | | - |
558 | QQmlProperty::Type QQmlProperty::type() const | - |
559 | { | - |
560 | return d ? d->type() : Invalid;executed 476374 times by 45 tests: return d ? d->type() : Invalid; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 476374 |
561 | } | - |
562 | | - |
563 | | - |
564 | | - |
565 | | - |
566 | bool QQmlProperty::isProperty() const | - |
567 | { | - |
568 | return type() & Property;executed 10980 times by 18 tests: return type() & Property; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 10980 |
569 | } | - |
570 | | - |
571 | | - |
572 | | - |
573 | | - |
574 | bool QQmlProperty::isSignalProperty() const | - |
575 | { | - |
576 | return type() & SignalProperty;executed 44 times by 2 tests: return type() & SignalProperty; Executed by:- tst_qqmlproperty
- tst_qquickstates
| 44 |
577 | } | - |
578 | | - |
579 | | - |
580 | | - |
581 | | - |
582 | QObject *QQmlProperty::object() const | - |
583 | { | - |
584 | return d ? d->object : nullptr;executed 78445 times by 26 tests: return d ? d->object : nullptr; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- ...
| 78445 |
585 | } | - |
586 | | - |
587 | | - |
588 | | - |
589 | | - |
590 | QQmlProperty &QQmlProperty::operator=(const QQmlProperty &other) | - |
591 | { | - |
592 | if (d)TRUE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
| FALSE | evaluated 53883 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 52-53883 |
593 | d->release();executed 52 times by 3 tests: d->release(); Executed by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
| 52 |
594 | d = other.d; | - |
595 | if (d)TRUE | evaluated 53679 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 256 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicksmoothedanimation
- tst_qquickstates
|
| 256-53679 |
596 | d->addref();executed 53679 times by 35 tests: d->addref(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 53679 |
597 | | - |
598 | return *this;executed 53935 times by 35 tests: return *this; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 53935 |
599 | } | - |
600 | | - |
601 | | - |
602 | | - |
603 | | - |
604 | bool QQmlProperty::isWritable() const | - |
605 | { | - |
606 | if (!d)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 145171 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 2-145171 |
607 | return false;executed 2 times by 1 test: return false; | 2 |
608 | if (!d->object)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 145163 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 8-145163 |
609 | return false;executed 8 times by 1 test: return false; | 8 |
610 | if (d->core.isQList()) TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 145131 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 32-145131 |
611 | return true;executed 32 times by 2 tests: return true; Executed by:- tst_qqmlproperty
- tst_qquickdesignersupport
| 32 |
612 | else if (d->core.isFunction()) TRUE | evaluated 8 times by 1 test | FALSE | evaluated 145123 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 8-145123 |
613 | return false;executed 8 times by 1 test: return false; | 8 |
614 | else if (d->core.isValid()) TRUE | evaluated 145123 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | never evaluated |
| 0-145123 |
615 | return d->core.isWritable();executed 145123 times by 34 tests: return d->core.isWritable(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 145123 |
616 | else | - |
617 | return false; never executed: return false; | 0 |
618 | } | - |
619 | | - |
620 | | - |
621 | | - |
622 | | - |
623 | bool QQmlProperty::isDesignable() const | - |
624 | { | - |
625 | if (!d)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
| 2-24 |
626 | return false;executed 2 times by 1 test: return false; | 2 |
627 | if (type() & Property && d->core.isValid() && d->object)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
| 0-16 |
628 | return d->object->metaObject()->property(d->core.coreIndex()).isDesignable();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).isDesignable(); | 8 |
629 | else | - |
630 | return false;executed 16 times by 1 test: return false; | 16 |
631 | } | - |
632 | | - |
633 | | - |
634 | | - |
635 | | - |
636 | bool QQmlProperty::isResettable() const | - |
637 | { | - |
638 | if (!d)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 68 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
|
| 6-68 |
639 | return false;executed 6 times by 1 test: return false; | 6 |
640 | if (type() & Property && d->core.isValid() && d->object)TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 28 times by 1 test |
TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | never evaluated |
| 0-40 |
641 | return d->core.isResettable();executed 36 times by 3 tests: return d->core.isResettable(); Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| 36 |
642 | else | - |
643 | return false;executed 32 times by 1 test: return false; | 32 |
644 | } | - |
645 | | - |
646 | | - |
647 | | - |
648 | | - |
649 | | - |
650 | bool QQmlProperty::isValid() const | - |
651 | { | - |
652 | if (!d)TRUE | evaluated 49268 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qtqmlmodules
- tst_scenegraph
| FALSE | evaluated 141850 times by 45 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
|
| 49268-141850 |
653 | return false;executed 49268 times by 16 tests: return false; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qtqmlmodules
- tst_scenegraph
| 49268 |
654 | return type() != Invalid;executed 141850 times by 45 tests: return type() != Invalid; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| 141850 |
655 | } | - |
656 | | - |
657 | | - |
658 | | - |
659 | | - |
660 | QString QQmlProperty::name() const | - |
661 | { | - |
662 | if (!d)TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 76079 times by 21 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
|
| 6-76079 |
663 | return QString();executed 6 times by 2 tests: return QString(); Executed by:- tst_qqmlproperty
- tst_qquickanimations
| 6 |
664 | if (!d->isNameCached) {TRUE | evaluated 4908 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 71171 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
|
| 4908-71171 |
665 | | - |
666 | if (!d->object) {TRUE | evaluated 18 times by 1 test | FALSE | evaluated 4890 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 18-4890 |
667 | } else if (d->isValueType()) {executed 18 times by 1 test: end of block TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickbehaviors
| FALSE | evaluated 4882 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 8-4882 |
668 | const QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(d->core.propType()); | - |
669 | Q_ASSERT(valueTypeMetaObject); | - |
670 | | - |
671 | const char *vtName = valueTypeMetaObject->property(d->valueTypeData.coreIndex()).name(); | - |
672 | d->nameCache = d->core.name(d->object) + QLatin1Char('.') + QString::fromUtf8(vtName); | - |
673 | } else if (type() & SignalProperty) {executed 8 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmlproperty
- tst_qquickbehaviors
TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | evaluated 4868 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 8-4868 |
674 | QString name = QLatin1String("on") + d->core.name(d->object); | - |
675 | name[2] = name.at(2).toUpper(); | - |
676 | d->nameCache = name; | - |
677 | } else {executed 14 times by 2 tests: end of block Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| 14 |
678 | d->nameCache = d->core.name(d->object); | - |
679 | }executed 4868 times by 15 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 4868 |
680 | d->isNameCached = true; | - |
681 | }executed 4908 times by 16 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 4908 |
682 | | - |
683 | return d->nameCache;executed 76079 times by 21 tests: return d->nameCache; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
| 76079 |
684 | } | - |
685 | | - |
686 | | - |
687 | | - |
688 | | - |
689 | | - |
690 | QMetaProperty QQmlProperty::property() const | - |
691 | { | - |
692 | if (!d)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 98 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
|
| 2-98 |
693 | return QMetaProperty();executed 2 times by 1 test: return QMetaProperty(); | 2 |
694 | if (type() & Property && d->core.isValid() && d->object)TRUE | evaluated 82 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
| FALSE | evaluated 16 times by 1 test |
TRUE | evaluated 82 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
| FALSE | never evaluated |
| 0-82 |
695 | return d->object->metaObject()->property(d->core.coreIndex());executed 82 times by 2 tests: return d->object->metaObject()->property(d->core.coreIndex()); Executed by:- tst_bindingdependencyapi
- tst_qqmlproperty
| 82 |
696 | else | - |
697 | return QMetaProperty();executed 16 times by 1 test: return QMetaProperty(); | 16 |
698 | } | - |
699 | | - |
700 | | - |
701 | | - |
702 | | - |
703 | | - |
704 | QMetaMethod QQmlProperty::method() const | - |
705 | { | - |
706 | if (!d)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
| 2-24 |
707 | return QMetaMethod();executed 2 times by 1 test: return QMetaMethod(); | 2 |
708 | if (type() & SignalProperty && d->object)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 8-16 |
709 | return d->object->metaObject()->method(d->core.coreIndex());executed 8 times by 1 test: return d->object->metaObject()->method(d->core.coreIndex()); | 8 |
710 | else | - |
711 | return QMetaMethod();executed 16 times by 1 test: return QMetaMethod(); | 16 |
712 | } | - |
713 | | - |
714 | | - |
715 | | - |
716 | | - |
717 | | - |
718 | QQmlAbstractBinding * | - |
719 | QQmlPropertyPrivate::binding(const QQmlProperty &that) | - |
720 | { | - |
721 | if (!that.d || !that.isProperty() || !that.d->object)TRUE | evaluated 188 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 10370 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
TRUE | evaluated 16 times by 1 test | FALSE | evaluated 10354 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 10352 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
| 2-10370 |
722 | return nullptr;executed 206 times by 8 tests: return nullptr; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| 206 |
723 | | - |
724 | QQmlPropertyIndex thatIndex(that.d->core.coreIndex(), that.d->valueTypeData.coreIndex()); | - |
725 | return binding(that.d->object, thatIndex);executed 10352 times by 18 tests: return binding(that.d->object, thatIndex); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| 10352 |
726 | } | - |
727 | | - |
728 | | - |
729 | | - |
730 | | - |
731 | | - |
732 | | - |
733 | | - |
734 | | - |
735 | | - |
736 | | - |
737 | | - |
738 | | - |
739 | | - |
740 | | - |
741 | void | - |
742 | QQmlPropertyPrivate::setBinding(const QQmlProperty &that, QQmlAbstractBinding *newBinding) | - |
743 | { | - |
744 | if (!newBinding) {TRUE | never evaluated | FALSE | evaluated 110 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
| 0-110 |
745 | removeBinding(that); | - |
746 | return; never executed: return; | 0 |
747 | } | - |
748 | | - |
749 | if (!that.d || !that.isProperty() || !that.d->object) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
TRUE | evaluated 16 times by 1 test | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
TRUE | never evaluated | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
| 0-108 |
750 | if (!newBinding->ref)TRUE | never evaluated | FALSE | evaluated 18 times by 1 test |
| 0-18 |
751 | delete newBinding; never executed: delete newBinding; | 0 |
752 | return;executed 18 times by 1 test: return; | 18 |
753 | } | - |
754 | setBinding(newBinding); | - |
755 | }executed 92 times by 4 tests: end of block Executed by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| 92 |
756 | | - |
757 | static void removeOldBinding(QObject *object, QQmlPropertyIndex index, QQmlPropertyPrivate::BindingFlags flags = QQmlPropertyPrivate::None) | - |
758 | { | - |
759 | int coreIndex = index.coreIndex(); | - |
760 | int valueTypeIndex = index.valueTypeIndex(); | - |
761 | | - |
762 | QQmlData *data = QQmlData::get(object, false); | - |
763 | | - |
764 | if (!data || !data->hasBindingBit(coreIndex))TRUE | evaluated 96 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickvisualdatamodel
| FALSE | evaluated 48201 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
TRUE | evaluated 47351 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 96-48201 |
765 | return;executed 47447 times by 84 tests: return; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 47447 |
766 | | - |
767 | QQmlAbstractBinding::Ptr oldBinding; | - |
768 | oldBinding = data->bindings; | - |
769 | | - |
770 | while (oldBinding && (oldBinding->targetPropertyIndex().coreIndex() != coreIndex ||TRUE | evaluated 404 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmltranslation
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
| FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 404-850 |
771 | oldBinding->targetPropertyIndex().hasValueTypeIndex()))TRUE | never evaluated | FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 0-850 |
772 | oldBinding = oldBinding->nextBinding();executed 404 times by 13 tests: oldBinding = oldBinding->nextBinding(); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmltranslation
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
| 404 |
773 | | - |
774 | if (!oldBinding)TRUE | never evaluated | FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 0-850 |
775 | return; never executed: return; | 0 |
776 | | - |
777 | if (valueTypeIndex != -1 && oldBinding->isValueTypeProxy())TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| FALSE | evaluated 826 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
TRUE | evaluated 18 times by 1 test | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
|
| 6-826 |
778 | oldBinding = static_cast<QQmlValueTypeProxyBinding *>(oldBinding.data())->binding(index);executed 18 times by 1 test: oldBinding = static_cast<QQmlValueTypeProxyBinding *>(oldBinding.data())->binding(index); | 18 |
779 | | - |
780 | if (!oldBinding)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 842 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
| 8-842 |
781 | return;executed 8 times by 1 test: return; | 8 |
782 | | - |
783 | if (!(flags & QQmlPropertyPrivate::DontEnable))TRUE | evaluated 824 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
|
| 18-824 |
784 | oldBinding->setEnabled(false, nullptr);executed 824 times by 28 tests: oldBinding->setEnabled(false, nullptr); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
| 824 |
785 | oldBinding->removeFromObject(); | - |
786 | }executed 842 times by 28 tests: end of block Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
| 842 |
787 | | - |
788 | void QQmlPropertyPrivate::removeBinding(QQmlAbstractBinding *b) | - |
789 | { | - |
790 | removeBinding(b->targetObject(), b->targetPropertyIndex()); | - |
791 | }executed 48 times by 2 tests: end of block Executed by:- tst_qquickanimations
- tst_qquickstates
| 48 |
792 | | - |
793 | void QQmlPropertyPrivate::removeBinding(QObject *o, QQmlPropertyIndex index) | - |
794 | { | - |
795 | Q_ASSERT(o); | - |
796 | | - |
797 | QObject *target; | - |
798 | QQmlPropertyIndex targetIndex; | - |
799 | findAliasTarget(o, index, &target, &targetIndex); | - |
800 | removeOldBinding(target, targetIndex); | - |
801 | }executed 47689 times by 83 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 47689 |
802 | | - |
803 | void QQmlPropertyPrivate::removeBinding(const QQmlProperty &that) | - |
804 | { | - |
805 | if (!that.d || !that.isProperty() || !that.d->object)TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 470 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
TRUE | never evaluated | FALSE | evaluated 470 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 468 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
| 0-470 |
806 | return;executed 42 times by 4 tests: return; Executed by:- tst_qqmlbinding
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| 42 |
807 | | - |
808 | removeBinding(that.d->object, that.d->encodedIndex()); | - |
809 | }executed 468 times by 15 tests: end of block Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
| 468 |
810 | | - |
811 | QQmlAbstractBinding * | - |
812 | QQmlPropertyPrivate::binding(QObject *object, QQmlPropertyIndex index) | - |
813 | { | - |
814 | findAliasTarget(object, index, &object, &index); | - |
815 | | - |
816 | QQmlData *data = QQmlData::get(object); | - |
817 | if (!data)TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| FALSE | evaluated 49821 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
| 16-49821 |
818 | return nullptr;executed 16 times by 1 test: return nullptr; Executed by:- tst_qqmlenginedebugservice
| 16 |
819 | | - |
820 | const int coreIndex = index.coreIndex(); | - |
821 | const int valueTypeIndex = index.valueTypeIndex(); | - |
822 | | - |
823 | if (coreIndex < 0 || !data->hasBindingBit(coreIndex))TRUE | never evaluated | FALSE | evaluated 49821 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
TRUE | evaluated 49409 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
| FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-49821 |
824 | return nullptr;executed 49409 times by 33 tests: return nullptr; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
| 49409 |
825 | | - |
826 | QQmlAbstractBinding *binding = data->bindings; | - |
827 | while (binding && (binding->targetPropertyIndex().coreIndex() != coreIndex ||TRUE | evaluated 494 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
TRUE | evaluated 82 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-494 |
828 | binding->targetPropertyIndex().hasValueTypeIndex()))TRUE | never evaluated | FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-412 |
829 | binding = binding->nextBinding();executed 82 times by 8 tests: binding = binding->nextBinding(); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 82 |
830 | | - |
831 | if (binding && valueTypeIndex != -1) {TRUE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| FALSE | evaluated 398 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
| 0-412 |
832 | if (binding->isValueTypeProxy()) {TRUE | evaluated 6 times by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
|
| 6-8 |
833 | binding = static_cast<QQmlValueTypeProxyBinding *>(binding)->binding(index); | - |
834 | }executed 6 times by 1 test: end of block | 6 |
835 | }executed 14 times by 2 tests: end of block Executed by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| 14 |
836 | | - |
837 | return binding;executed 412 times by 12 tests: return binding; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| 412 |
838 | } | - |
839 | | - |
840 | void QQmlPropertyPrivate::findAliasTarget(QObject *object, QQmlPropertyIndex bindingIndex, | - |
841 | QObject **targetObject, | - |
842 | QQmlPropertyIndex *targetBindingIndex) | - |
843 | { | - |
844 | QQmlData *data = QQmlData::get(object, false); | - |
845 | if (data) {TRUE | evaluated 97496 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 112 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickvisualdatamodel
|
| 112-97496 |
846 | int coreIndex = bindingIndex.coreIndex(); | - |
847 | int valueTypeIndex = bindingIndex.valueTypeIndex(); | - |
848 | | - |
849 | QQmlPropertyData *propertyData = | - |
850 | data->propertyCache?data->propertyCache->property(coreIndex):nullptr;TRUE | evaluated 97204 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 292 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickvisualdatamodel
|
| 292-97204 |
851 | if (propertyData && propertyData->isAlias()) {TRUE | evaluated 97204 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 292 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickvisualdatamodel
|
TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
| FALSE | evaluated 97120 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 84-97204 |
852 | QQmlVMEMetaObject *vme = QQmlVMEMetaObject::getForProperty(object, coreIndex); | - |
853 | | - |
854 | QObject *aObject = nullptr; int aCoreIndex = -1; int aValueTypeIndex = -1; | - |
855 | if (vme->aliasTarget(coreIndex, &aObject, &aCoreIndex, &aValueTypeIndex)) {TRUE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
| FALSE | evaluated 4 times by 1 test |
| 4-80 |
856 | | - |
857 | Q_ASSERT(valueTypeIndex == -1 || aValueTypeIndex == -1); | - |
858 | | - |
859 | QQmlPropertyIndex aBindingIndex(aCoreIndex); | - |
860 | if (aValueTypeIndex != -1) {TRUE | never evaluated | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
|
| 0-80 |
861 | aBindingIndex = QQmlPropertyIndex(aCoreIndex, aValueTypeIndex); | - |
862 | } else if (valueTypeIndex != -1) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
|
| 0-80 |
863 | aBindingIndex = QQmlPropertyIndex(aCoreIndex, valueTypeIndex); | - |
864 | } never executed: end of block | 0 |
865 | | - |
866 | findAliasTarget(aObject, aBindingIndex, targetObject, targetBindingIndex); | - |
867 | return;executed 80 times by 5 tests: return; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
| 80 |
868 | } | - |
869 | }executed 4 times by 1 test: end of block | 4 |
870 | }executed 97416 times by 87 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 97416 |
871 | | - |
872 | *targetObject = object; | - |
873 | *targetBindingIndex = bindingIndex; | - |
874 | }executed 97528 times by 87 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| 97528 |
875 | | - |
876 | | - |
877 | void QQmlPropertyPrivate::setBinding(QQmlAbstractBinding *binding, BindingFlags flags, QQmlPropertyData::WriteFlags writeFlags) | - |
878 | { | - |
879 | Q_ASSERT(binding); | - |
880 | Q_ASSERT(binding->targetObject()); | - |
881 | | - |
882 | QObject *object = binding->targetObject(); | - |
883 | const QQmlPropertyIndex index = binding->targetPropertyIndex(); | - |
884 | | - |
885 | #ifndef QT_NO_DEBUG | - |
886 | int coreIndex = index.coreIndex(); | - |
887 | QQmlData *data = QQmlData::get(object, true); | - |
888 | if (data->propertyCache) {TRUE | evaluated 608 times by 19 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| FALSE | never evaluated |
| 0-608 |
889 | QQmlPropertyData *propertyData = data->propertyCache->property(coreIndex); | - |
890 | Q_ASSERT(propertyData && !propertyData->isAlias()); | - |
891 | }executed 608 times by 19 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| 608 |
892 | #endif | - |
893 | | - |
894 | removeOldBinding(object, index, flags); | - |
895 | | - |
896 | binding->addToObject(); | - |
897 | if (!(flags & DontEnable))TRUE | evaluated 388 times by 18 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 220 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickbehaviors
- tst_qquickdraghandler
|
| 220-388 |
898 | binding->setEnabled(true, writeFlags);executed 388 times by 18 tests: binding->setEnabled(true, writeFlags); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| 388 |
899 | | - |
900 | }executed 608 times by 19 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| 608 |
901 | | - |
902 | | - |
903 | | - |
904 | | - |
905 | | - |
906 | QQmlBoundSignalExpression * | - |
907 | QQmlPropertyPrivate::signalExpression(const QQmlProperty &that) | - |
908 | { | - |
909 | if (!(that.type() & QQmlProperty::SignalProperty))TRUE | evaluated 18 times by 1 test | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
| 18-74 |
910 | return nullptr;executed 18 times by 1 test: return nullptr; | 18 |
911 | | - |
912 | QQmlData *data = QQmlData::get(that.d->object); | - |
913 | if (!data)TRUE | never evaluated | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
| 0-74 |
914 | return nullptr; never executed: return nullptr; | 0 |
915 | | - |
916 | QQmlBoundSignal *signalHandler = data->signalHandlers; | - |
917 | | - |
918 | while (signalHandler && signalHandler->signalIndex() != QQmlPropertyPrivate::get(that)->signalIndex())TRUE | evaluated 64 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 58 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
| 6-64 |
919 | signalHandler = signalHandler->m_nextSignal;executed 6 times by 2 tests: signalHandler = signalHandler->m_nextSignal; Executed by:- tst_qqmlproperty
- tst_qquickstates
| 6 |
920 | | - |
921 | if (signalHandler)TRUE | evaluated 58 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
| 16-58 |
922 | return signalHandler->expression();executed 58 times by 3 tests: return signalHandler->expression(); Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| 58 |
923 | | - |
924 | return nullptr;executed 16 times by 2 tests: return nullptr; Executed by:- tst_qqmlproperty
- tst_qquickstates
| 16 |
925 | } | - |
926 | | - |
927 | | - |
928 | | - |
929 | | - |
930 | | - |
931 | void QQmlPropertyPrivate::setSignalExpression(const QQmlProperty &that, QQmlBoundSignalExpression *expr) | - |
932 | { | - |
933 | if (expr)TRUE | evaluated 30 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-30 |
934 | expr->addref();executed 30 times by 1 test: expr->addref(); | 30 |
935 | QQmlPropertyPrivate::takeSignalExpression(that, expr); | - |
936 | }executed 34 times by 1 test: end of block | 34 |
937 | | - |
938 | | - |
939 | | - |
940 | | - |
941 | | - |
942 | void QQmlPropertyPrivate::takeSignalExpression(const QQmlProperty &that, | - |
943 | QQmlBoundSignalExpression *expr) | - |
944 | { | - |
945 | if (!(that.type() & QQmlProperty::SignalProperty)) {TRUE | evaluated 18 times by 1 test | FALSE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
| 18-52 |
946 | if (expr)TRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
| 0-18 |
947 | expr->release();executed 18 times by 1 test: expr->release(); | 18 |
948 | return;executed 18 times by 1 test: return; | 18 |
949 | } | - |
950 | | - |
951 | QQmlData *data = QQmlData::get(that.d->object, nullptr != expr); | - |
952 | if (!data)TRUE | never evaluated | FALSE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
| 0-52 |
953 | return; never executed: return; | 0 |
954 | | - |
955 | QQmlBoundSignal *signalHandler = data->signalHandlers; | - |
956 | | - |
957 | while (signalHandler && signalHandler->signalIndex() != QQmlPropertyPrivate::get(that)->signalIndex())TRUE | evaluated 34 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
|
| 6-34 |
958 | signalHandler = signalHandler->m_nextSignal;executed 6 times by 2 tests: signalHandler = signalHandler->m_nextSignal; Executed by:- tst_qqmlproperty
- tst_qquickstates
| 6 |
959 | | - |
960 | if (signalHandler) {TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
| 24-28 |
961 | signalHandler->takeExpression(expr); | - |
962 | return;executed 28 times by 2 tests: return; Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 28 |
963 | } | - |
964 | | - |
965 | if (expr) {TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
| 0-24 |
966 | int signalIndex = QQmlPropertyPrivate::get(that)->signalIndex(); | - |
967 | QQmlBoundSignal *signal = new QQmlBoundSignal(that.d->object, signalIndex, that.d->object, | - |
968 | expr->context()->engine); | - |
969 | signal->takeExpression(expr); | - |
970 | }executed 24 times by 2 tests: end of block Executed by:- tst_qqmlproperty
- tst_qquickstates
| 24 |
971 | }executed 24 times by 2 tests: end of block Executed by:- tst_qqmlproperty
- tst_qquickstates
| 24 |
972 | | - |
973 | | - |
974 | | - |
975 | | - |
976 | QVariant QQmlProperty::read() const | - |
977 | { | - |
978 | if (!d)TRUE | evaluated 44 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 96893 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
| 44-96893 |
979 | return QVariant();executed 44 times by 4 tests: return QVariant(); Executed by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| 44 |
980 | if (!d->object)TRUE | evaluated 14 times by 1 test | FALSE | evaluated 96879 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
| 14-96879 |
981 | return QVariant();executed 14 times by 1 test: return QVariant(); | 14 |
982 | | - |
983 | if (type() & SignalProperty) {TRUE | evaluated 16 times by 1 test | FALSE | evaluated 96863 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
| 16-96863 |
984 | | - |
985 | return QVariant();executed 16 times by 1 test: return QVariant(); | 16 |
986 | | - |
987 | } else if (type() & Property) {TRUE | evaluated 96863 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
| FALSE | never evaluated |
| 0-96863 |
988 | | - |
989 | return d->readValueProperty();executed 96863 times by 33 tests: return d->readValueProperty(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
| 96863 |
990 | | - |
991 | } | - |
992 | return QVariant(); never executed: return QVariant(); | 0 |
993 | } | - |
994 | | - |
995 | | - |
996 | | - |
997 | | - |
998 | | - |
999 | | - |
1000 | | - |
1001 | | - |
1002 | QVariant QQmlProperty::read(const QObject *object, const QString &name) | - |
1003 | { | - |
1004 | QQmlProperty p(const_cast<QObject *>(object), name); | - |
1005 | return p.read();executed 66 times by 3 tests: return p.read(); Executed by:- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlproperty
| 66 |
1006 | } | - |
1007 | | - |
1008 | | - |
1009 | | - |
1010 | | - |
1011 | | - |
1012 | | - |
1013 | | - |
1014 | | - |
1015 | | - |
1016 | | - |
1017 | | - |
1018 | QVariant QQmlProperty::read(const QObject *object, const QString &name, QQmlContext *ctxt) | - |
1019 | { | - |
1020 | QQmlProperty p(const_cast<QObject *>(object), name, ctxt); | - |
1021 | return p.read();executed 2 times by 1 test: return p.read(); | 2 |
1022 | } | - |
1023 | | - |
1024 | | - |
1025 | | - |
1026 | | - |
1027 | | - |
1028 | | - |
1029 | | - |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | | - |
1035 | QVariant QQmlProperty::read(const QObject *object, const QString &name, QQmlEngine *engine) | - |
1036 | { | - |
1037 | QQmlProperty p(const_cast<QObject *>(object), name, engine); | - |
1038 | return p.read();executed 2 times by 1 test: return p.read(); | 2 |
1039 | } | - |
1040 | | - |
1041 | QVariant QQmlPropertyPrivate::readValueProperty() | - |
1042 | { | - |
1043 | if (isValueType()) {TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickbehaviors
| FALSE | evaluated 96835 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
| 28-96835 |
1044 | | - |
1045 | QQmlValueType *valueType = QQmlValueTypeFactory::valueType(core.propType()); | - |
1046 | Q_ASSERT(valueType); | - |
1047 | valueType->read(object, core.coreIndex()); | - |
1048 | return valueType->metaObject()->property(valueTypeData.coreIndex()).read(valueType);executed 28 times by 3 tests: return valueType->metaObject()->property(valueTypeData.coreIndex()).read(valueType); Executed by:- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickbehaviors
| 28 |
1049 | | - |
1050 | } else if (core.isQList()) {TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickitem2
| FALSE | evaluated 96823 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 12-96823 |
1051 | | - |
1052 | QQmlListProperty<QObject> prop; | - |
1053 | core.readProperty(object, &prop); | - |
1054 | return QVariant::fromValue(QQmlListReferencePrivate::init(prop, core.propType(), engine));executed 12 times by 3 tests: return QVariant::fromValue(QQmlListReferencePrivate::init(prop, core.propType(), engine)); Executed by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickitem2
| 12 |
1055 | | - |
1056 | } else if (core.isQObject()) {TRUE | evaluated 122 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
| FALSE | evaluated 96701 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 122-96701 |
1057 | | - |
1058 | QObject *rv = nullptr; | - |
1059 | core.readProperty(object, &rv); | - |
1060 | return QVariant::fromValue(rv);executed 122 times by 5 tests: return QVariant::fromValue(rv); Executed by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
| 122 |
1061 | | - |
1062 | } else { | - |
1063 | | - |
1064 | if (!core.propType()) TRUE | evaluated 2 times by 1 test | FALSE | evaluated 96699 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 2-96699 |
1065 | return object->metaObject()->property(core.coreIndex()).read(object);executed 2 times by 1 test: return object->metaObject()->property(core.coreIndex()).read(object); | 2 |
1066 | | - |
1067 | QVariant value; | - |
1068 | int status = -1; | - |
1069 | void *args[] = { nullptr, &value, &status }; | - |
1070 | if (core.propType() == QMetaType::QVariant) {TRUE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
| FALSE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 432-96267 |
1071 | args[0] = &value; | - |
1072 | } else {executed 432 times by 3 tests: end of block Executed by:- tst_qqmllistmodelworkerscript
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
| 432 |
1073 | value = QVariant(core.propType(), (void*)nullptr); | - |
1074 | args[0] = value.data(); | - |
1075 | }executed 96267 times by 32 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 96267 |
1076 | core.readPropertyWithArgs(object, args); | - |
1077 | if (core.propType() != QMetaType::QVariant && args[0] != value.data())TRUE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
|
TRUE | never evaluated | FALSE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
| 0-96267 |
1078 | return QVariant((QVariant::Type)core.propType(), args[0]); never executed: return QVariant((QVariant::Type)core.propType(), args[0]); | 0 |
1079 | | - |
1080 | return value;executed 96699 times by 32 tests: return value; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| 96699 |
1081 | } | - |
1082 | } | - |
1083 | | - |
1084 | | - |
1085 | QVariant QQmlPropertyPrivate::resolvedUrlSequence(const QVariant &value, QQmlContextData *context) | - |
1086 | { | - |
1087 | QList<QUrl> urls; | - |
1088 | if (value.userType() == qMetaTypeId<QUrl>()) {TRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
| 0-42 |
1089 | urls.append(value.toUrl()); | - |
1090 | } else if (value.userType() == qMetaTypeId<QString>()) { never executed: end of block TRUE | evaluated 10 times by 1 test | FALSE | evaluated 32 times by 1 test |
| 0-32 |
1091 | urls.append(QUrl(value.toString())); | - |
1092 | } else if (value.userType() == qMetaTypeId<QByteArray>()) {executed 10 times by 1 test: end of block TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
| 0-32 |
1093 | urls.append(QUrl(QString::fromUtf8(value.toByteArray()))); | - |
1094 | } else if (value.userType() == qMetaTypeId<QList<QUrl> >()) { never executed: end of block TRUE | evaluated 32 times by 1 test | FALSE | never evaluated |
| 0-32 |
1095 | urls = value.value<QList<QUrl> >(); | - |
1096 | } else if (value.userType() == qMetaTypeId<QStringList>()) {executed 32 times by 1 test: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0-32 |
1097 | QStringList urlStrings = value.value<QStringList>(); | - |
1098 | const int urlStringsSize = urlStrings.size(); | - |
1099 | urls.reserve(urlStringsSize); | - |
1100 | for (int i = 0; i < urlStringsSize; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1101 | urls.append(QUrl(urlStrings.at(i))); never executed: urls.append(QUrl(urlStrings.at(i))); | 0 |
1102 | } else if (value.userType() == qMetaTypeId<QList<QString> >()) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1103 | QList<QString> urlStrings = value.value<QList<QString> >(); | - |
1104 | const int urlStringsSize = urlStrings.size(); | - |
1105 | urls.reserve(urlStringsSize); | - |
1106 | for (int i = 0; i < urlStringsSize; ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1107 | urls.append(QUrl(urlStrings.at(i))); never executed: urls.append(QUrl(urlStrings.at(i))); | 0 |
1108 | } never executed: end of block | 0 |
1109 | | - |
1110 | QList<QUrl> resolvedUrls; | - |
1111 | const int urlsSize = urls.size(); | - |
1112 | resolvedUrls.reserve(urlsSize); | - |
1113 | for (int i = 0; i < urlsSize; ++i) {TRUE | evaluated 86 times by 1 test | FALSE | evaluated 42 times by 1 test |
| 42-86 |
1114 | QUrl u = urls.at(i); | - |
1115 | if (context && u.isRelative() && !u.isEmpty())TRUE | evaluated 86 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 18 times by 1 test | FALSE | evaluated 68 times by 1 test |
TRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
| 0-86 |
1116 | u = context->resolvedUrl(u);executed 18 times by 1 test: u = context->resolvedUrl(u); | 18 |
1117 | resolvedUrls.append(u); | - |
1118 | }executed 86 times by 1 test: end of block | 86 |
1119 | | - |
1120 | return QVariant::fromValue<QList<QUrl> >(resolvedUrls);executed 42 times by 1 test: return QVariant::fromValue<QList<QUrl> >(resolvedUrls); | 42 |
1121 | } | - |
1122 | | - |
1123 | | - |
1124 | bool QQmlPropertyPrivate::writeEnumProperty(const QMetaProperty &prop, int idx, QObject *object, const QVariant &value, int flags) | - |
1125 | { | - |
1126 | if (!object || !prop.isWritable())TRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
TRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 0-212 |
1127 | return false; never executed: return false; | 0 |
1128 | | - |
1129 | QVariant v = value; | - |
1130 | if (prop.isEnumType()) {TRUE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | never evaluated |
| 0-212 |
1131 | QMetaEnum menum = prop.enumerator(); | - |
1132 | if (v.userType() == QVariant::StringTRUE | evaluated 210 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | evaluated 2 times by 1 test |
| 2-210 |
1133 | #ifdef QT3_SUPPORT | - |
1134 | || v.userType() == QVariant::CString | - |
1135 | #endif | - |
1136 | ) { | - |
1137 | bool ok; | - |
1138 | if (prop.isFlagType())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 206 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 4-206 |
1139 | v = QVariant(menum.keysToValue(value.toByteArray(), &ok));executed 4 times by 1 test: v = QVariant(menum.keysToValue(value.toByteArray(), &ok)); | 4 |
1140 | else | - |
1141 | v = QVariant(menum.keyToValue(value.toByteArray(), &ok));executed 206 times by 10 tests: v = QVariant(menum.keyToValue(value.toByteArray(), &ok)); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 206 |
1142 | if (!ok)TRUE | never evaluated | FALSE | evaluated 210 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 0-210 |
1143 | return false; never executed: return false; | 0 |
1144 | } else if (v.userType() != QVariant::Int && v.userType() != QVariant::UInt) {executed 210 times by 10 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
TRUE | never evaluated | FALSE | never evaluated |
| 0-210 |
1145 | int enumMetaTypeId = QMetaType::type(QByteArray(menum.scope() + QByteArray("::") + menum.name())); | - |
1146 | if ((enumMetaTypeId == QMetaType::UnknownType) || (v.userType() != enumMetaTypeId) || !v.constData())TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1147 | return false; never executed: return false; | 0 |
1148 | v = QVariant(*reinterpret_cast<const int *>(v.constData())); | - |
1149 | } never executed: end of block | 0 |
1150 | v.convert(QVariant::Int); | - |
1151 | }executed 212 times by 10 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 212 |
1152 | | - |
1153 | | - |
1154 | | - |
1155 | | - |
1156 | | - |
1157 | | - |
1158 | int status = -1; | - |
1159 | void *argv[] = { v.data(), &v, &status, &flags }; | - |
1160 | QMetaObject::metacall(object, QMetaObject::WriteProperty, idx, argv); | - |
1161 | return status;executed 212 times by 10 tests: return status; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 212 |
1162 | } | - |
1163 | | - |
1164 | bool QQmlPropertyPrivate::writeValueProperty(const QVariant &value, QQmlPropertyData::WriteFlags flags) | - |
1165 | { | - |
1166 | return writeValueProperty(object, core, valueTypeData, value, effectiveContext(), flags);executed 122550 times by 32 tests: return writeValueProperty(object, core, valueTypeData, value, effectiveContext(), flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 122550 |
1167 | } | - |
1168 | | - |
1169 | bool | - |
1170 | QQmlPropertyPrivate::writeValueProperty(QObject *object, | - |
1171 | const QQmlPropertyData &core, | - |
1172 | const QQmlPropertyData &valueTypeData, | - |
1173 | const QVariant &value, | - |
1174 | QQmlContextData *context,QQmlPropertyData::WriteFlags flags) | - |
1175 | { | - |
1176 | | - |
1177 | if (!(flags & QQmlPropertyData::DontRemoveBinding) && object)TRUE | evaluated 986 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | evaluated 430470 times by 76 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- ...
|
TRUE | evaluated 986 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | never evaluated |
| 0-430470 |
1178 | removeBinding(object, encodedIndex(core, valueTypeData));executed 986 times by 22 tests: removeBinding(object, encodedIndex(core, valueTypeData)); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 986 |
1179 | | - |
1180 | bool rv = false; | - |
1181 | if (valueTypeData.isValid()) {TRUE | evaluated 4875 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader_static
- tst_qquickimage
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | evaluated 426581 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- ...
|
| 4875-426581 |
1182 | QQmlValueType *writeBack = QQmlValueTypeFactory::valueType(core.propType()); | - |
1183 | writeBack->read(object, core.coreIndex()); | - |
1184 | rv = write(writeBack, valueTypeData, value, context, flags); | - |
1185 | writeBack->write(object, core.coreIndex(), flags); | - |
1186 | } else {executed 4875 times by 14 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader_static
- tst_qquickimage
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktext
| 4875 |
1187 | rv = write(object, core, value, context, flags); | - |
1188 | }executed 426581 times by 77 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- ...
| 426581 |
1189 | | - |
1190 | return rv;executed 431456 times by 79 tests: return rv; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- ...
| 431456 |
1191 | } | - |
1192 | | - |
1193 | bool QQmlPropertyPrivate::write(QObject *object, | - |
1194 | const QQmlPropertyData &property, | - |
1195 | const QVariant &value, QQmlContextData *context, | - |
1196 | QQmlPropertyData::WriteFlags flags) | - |
1197 | { | - |
1198 | const int propertyType = property.propType(); | - |
1199 | const int variantType = value.userType(); | - |
1200 | | - |
1201 | if (property.isEnum()) {TRUE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | evaluated 440837 times by 96 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
| 212-440837 |
1202 | QMetaProperty prop = object->metaObject()->property(property.coreIndex()); | - |
1203 | QVariant v = value; | - |
1204 | | - |
1205 | if (variantType == QVariant::Double) {TRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
| 0-212 |
1206 | double integral; | - |
1207 | double fractional = std::modf(value.toDouble(), &integral); | - |
1208 | if (qFuzzyIsNull(fractional))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1209 | v.convert(QVariant::Int); never executed: v.convert(QVariant::Int); | 0 |
1210 | } never executed: end of block | 0 |
1211 | return writeEnumProperty(prop, property.coreIndex(), object, v, flags);executed 212 times by 10 tests: return writeEnumProperty(prop, property.coreIndex(), object, v, flags); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| 212 |
1212 | } | - |
1213 | | - |
1214 | QQmlEnginePrivate *enginePriv = QQmlEnginePrivate::get(context); | - |
1215 | const bool isUrl = propertyType == QVariant::Url; | - |
1216 | | - |
1217 | | - |
1218 | if (propertyType == variantType && !isUrl && propertyType != qMetaTypeId<QList<QUrl>>() && !property.isQList()) {TRUE | evaluated 138709 times by 82 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 302128 times by 68 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
|
TRUE | evaluated 138517 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 192 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
|
TRUE | evaluated 138493 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 24 times by 1 test |
TRUE | evaluated 138493 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | never evaluated |
| 0-302128 |
1219 | return property.writeProperty(object, const_cast<void *>(value.constData()), flags);executed 138493 times by 81 tests: return property.writeProperty(object, const_cast<void *>(value.constData()), flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| 138493 |
1220 | } else if (property.isQObject()) {TRUE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | evaluated 301720 times by 68 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
|
| 624-301720 |
1221 | QQmlMetaObject valMo = rawMetaObjectForType(enginePriv, variantType); | - |
1222 | if (valMo.isNull())TRUE | never evaluated | FALSE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
|
| 0-624 |
1223 | return false; never executed: return false; | 0 |
1224 | QObject *o = *static_cast<QObject *const *>(value.constData()); | - |
1225 | QQmlMetaObject propMo = rawMetaObjectForType(enginePriv, propertyType); | - |
1226 | | - |
1227 | if (o)TRUE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | never evaluated |
| 0-624 |
1228 | valMo = o;executed 624 times by 20 tests: valMo = o; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| 624 |
1229 | | - |
1230 | if (QQmlMetaObject::canConvert(valMo, propMo)) {TRUE | evaluated 616 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | evaluated 8 times by 1 test |
| 8-616 |
1231 | return property.writeProperty(object, &o, flags);executed 616 times by 20 tests: return property.writeProperty(object, &o, flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| 616 |
1232 | } else if (!o && QQmlMetaObject::canConvert(propMo, valMo)) {TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
TRUE | never evaluated | FALSE | never evaluated |
| 0-8 |
1233 | | - |
1234 | | - |
1235 | | - |
1236 | return property.writeProperty(object, &o, flags); never executed: return property.writeProperty(object, &o, flags); | 0 |
1237 | } else { | - |
1238 | return false;executed 8 times by 1 test: return false; | 8 |
1239 | } | - |
1240 | } else if (value.canConvert(propertyType) && !isUrl && variantType != QVariant::String && propertyType != qMetaTypeId<QList<QUrl>>() && !property.isQList()) {TRUE | evaluated 273849 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- ...
| FALSE | evaluated 27871 times by 43 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- ...
|
TRUE | evaluated 273411 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| FALSE | evaluated 438 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
TRUE | evaluated 192591 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | evaluated 80820 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
|
TRUE | evaluated 192567 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | evaluated 24 times by 1 test |
TRUE | evaluated 192567 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | never evaluated |
| 0-273849 |
1241 | | - |
1242 | switch (propertyType) { | - |
1243 | case QMetaType::Bool: { never executed: case QMetaType::Bool: | 0 |
1244 | bool b = value.toBool(); | - |
1245 | return property.writeProperty(object, &b, flags); never executed: return property.writeProperty(object, &b, flags); | 0 |
1246 | } | - |
1247 | case QMetaType::Int: {executed 117 times by 7 tests: case QMetaType::Int: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickloader
- tst_qquickshadereffect
- tst_qquickstates
| 117 |
1248 | int i = value.toInt(); | - |
1249 | return property.writeProperty(object, &i, flags);executed 117 times by 7 tests: return property.writeProperty(object, &i, flags); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickloader
- tst_qquickshadereffect
- tst_qquickstates
| 117 |
1250 | } | - |
1251 | case QMetaType::Double: {executed 1334 times by 7 tests: case QMetaType::Double: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickstates
- tst_qquicktext
| 1334 |
1252 | double d = value.toDouble(); | - |
1253 | return property.writeProperty(object, &d, flags);executed 1334 times by 7 tests: return property.writeProperty(object, &d, flags); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickstates
- tst_qquicktext
| 1334 |
1254 | } | - |
1255 | case QMetaType::Float: { never executed: case QMetaType::Float: | 0 |
1256 | float f = value.toFloat(); | - |
1257 | return property.writeProperty(object, &f, flags); never executed: return property.writeProperty(object, &f, flags); | 0 |
1258 | } | - |
1259 | case QMetaType::QString: {executed 190994 times by 15 tests: case QMetaType::QString: Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 190994 |
1260 | QString s = value.toString(); | - |
1261 | return property.writeProperty(object, &s, flags);executed 190994 times by 15 tests: return property.writeProperty(object, &s, flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 190994 |
1262 | } | - |
1263 | default: { executed 122 times by 11 tests: default: Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickparticlegroup
- tst_qquickspritesequence
- tst_sharedimage
| 122 |
1264 | QVariant v = value; | - |
1265 | v.convert(propertyType); | - |
1266 | return property.writeProperty(object, const_cast<void *>(v.constData()), flags);executed 122 times by 11 tests: return property.writeProperty(object, const_cast<void *>(v.constData()), flags); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickparticlegroup
- tst_qquickspritesequence
- tst_sharedimage
| 122 |
1267 | } | - |
1268 | } | - |
1269 | } else if (propertyType == qMetaTypeId<QVariant>()) {TRUE | evaluated 27439 times by 37 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| FALSE | evaluated 81714 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickgridview
- ...
|
| 27439-81714 |
1270 | return property.writeProperty(object, const_cast<QVariant *>(&value), flags);executed 27439 times by 37 tests: return property.writeProperty(object, const_cast<QVariant *>(&value), flags); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| 27439 |
1271 | } else if (isUrl) {TRUE | evaluated 458 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | evaluated 81256 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
| 458-81256 |
1272 | QUrl u; | - |
1273 | if (variantType == QVariant::Url) {TRUE | evaluated 192 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
| FALSE | evaluated 266 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
| 192-266 |
1274 | u = value.toUrl(); | - |
1275 | } else if (variantType == QVariant::ByteArray) {executed 192 times by 7 tests: end of block Executed by:- tst_examples
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
TRUE | evaluated 20 times by 1 test | FALSE | evaluated 246 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
| 20-246 |
1276 | QString input(QString::fromUtf8(value.toByteArray())); | - |
1277 | | - |
1278 | input.replace(QLatin1String("%2f"), QLatin1String("/"), Qt::CaseInsensitive); | - |
1279 | u = QUrl(input); | - |
1280 | } else if (variantType == QVariant::String) {executed 20 times by 1 test: end of block TRUE | evaluated 246 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | never evaluated |
| 0-246 |
1281 | QString input(value.toString()); | - |
1282 | | - |
1283 | input.replace(QLatin1String("%2f"), QLatin1String("/"), Qt::CaseInsensitive); | - |
1284 | u = QUrl(input); | - |
1285 | } else {executed 246 times by 13 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| 246 |
1286 | return false; never executed: return false; | 0 |
1287 | } | - |
1288 | | - |
1289 | if (context && u.isRelative() && !u.isEmpty())TRUE | evaluated 412 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qqmltypeloader
|
TRUE | evaluated 206 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
| FALSE | evaluated 206 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquicktextedit
|
TRUE | evaluated 162 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedsprite
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
| FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
|
| 44-412 |
1290 | u = context->resolvedUrl(u);executed 162 times by 10 tests: u = context->resolvedUrl(u); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedsprite
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
| 162 |
1291 | return property.writeProperty(object, &u, flags);executed 458 times by 14 tests: return property.writeProperty(object, &u, flags); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| 458 |
1292 | } else if (propertyType == qMetaTypeId<QList<QUrl>>()) {TRUE | evaluated 32 times by 1 test | FALSE | evaluated 81224 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
| 32-81224 |
1293 | QList<QUrl> urlSeq = resolvedUrlSequence(value, context).value<QList<QUrl>>(); | - |
1294 | return property.writeProperty(object, &urlSeq, flags);executed 32 times by 1 test: return property.writeProperty(object, &urlSeq, flags); | 32 |
1295 | } else if (property.isQList()) {TRUE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 81176 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
| 48-81176 |
1296 | QQmlMetaObject listType; | - |
1297 | | - |
1298 | if (enginePriv) {TRUE | evaluated 44 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 4 times by 1 test |
| 4-44 |
1299 | listType = enginePriv->rawMetaObjectForType(enginePriv->listType(property.propType())); | - |
1300 | } else {executed 44 times by 8 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 44 |
1301 | QQmlType type = QQmlMetaType::qmlType(QQmlMetaType::listType(property.propType())); | - |
1302 | if (!type.isValid())TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1303 | return false; never executed: return false; | 0 |
1304 | listType = type.baseMetaObject(); | - |
1305 | }executed 4 times by 1 test: end of block | 4 |
1306 | if (listType.isNull())TRUE | never evaluated | FALSE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 0-48 |
1307 | return false; never executed: return false; | 0 |
1308 | | - |
1309 | QQmlListProperty<void> prop; | - |
1310 | property.readProperty(object, &prop); | - |
1311 | | - |
1312 | if (!prop.clear)TRUE | never evaluated | FALSE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 0-48 |
1313 | return false; never executed: return false; | 0 |
1314 | | - |
1315 | prop.clear(&prop); | - |
1316 | | - |
1317 | if (variantType == qMetaTypeId<QQmlListReference>()) {TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 44 times by 8 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 4-44 |
1318 | QQmlListReference qdlr = value.value<QQmlListReference>(); | - |
1319 | | - |
1320 | for (int ii = 0; ii < qdlr.count(); ++ii) {TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
|
| 4-8 |
1321 | QObject *o = qdlr.at(ii); | - |
1322 | if (o && !QQmlMetaObject::canConvert(o, listType))TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
|
| 0-8 |
1323 | o = nullptr; never executed: o = nullptr; | 0 |
1324 | prop.append(&prop, o); | - |
1325 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickanimations
| 8 |
1326 | } else if (variantType == qMetaTypeId<QList<QObject *> >()) {executed 4 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qquickanimations
TRUE | evaluated 20 times by 6 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 24 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
|
| 4-24 |
1327 | const QList<QObject *> &list = qvariant_cast<QList<QObject *> >(value); | - |
1328 | | - |
1329 | for (int ii = 0; ii < list.count(); ++ii) {TRUE | evaluated 42 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 20 times by 6 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 20-42 |
1330 | QObject *o = list.at(ii); | - |
1331 | if (o && !QQmlMetaObject::canConvert(o, listType))TRUE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
TRUE | never evaluated | FALSE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
| 0-36 |
1332 | o = nullptr; never executed: o = nullptr; | 0 |
1333 | prop.append(&prop, o); | - |
1334 | }executed 42 times by 5 tests: end of block Executed by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 42 |
1335 | } else {executed 20 times by 6 tests: end of block Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 20 |
1336 | QObject *o = enginePriv?enginePriv->toQObject(value):QQmlMetaType::toQObject(value);TRUE | evaluated 22 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
| FALSE | evaluated 2 times by 1 test |
| 2-22 |
1337 | if (o && !QQmlMetaObject::canConvert(o, listType))TRUE | evaluated 24 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
| FALSE | never evaluated |
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
|
| 0-24 |
1338 | o = nullptr;executed 2 times by 1 test: o = nullptr; | 2 |
1339 | prop.append(&prop, o); | - |
1340 | }executed 24 times by 5 tests: end of block Executed by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
| 24 |
1341 | } else { | - |
1342 | Q_ASSERT(variantType != propertyType); | - |
1343 | | - |
1344 | bool ok = false; | - |
1345 | QVariant v; | - |
1346 | if (variantType == QVariant::String)TRUE | evaluated 80866 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
| 310-80866 |
1347 | v = QQmlStringConverters::variantFromString(value.toString(), propertyType, &ok);executed 80866 times by 33 tests: v = QQmlStringConverters::variantFromString(value.toString(), propertyType, &ok); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
| 80866 |
1348 | | - |
1349 | if (!ok) {TRUE | evaluated 360 times by 8 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 80816 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
|
| 360-80816 |
1350 | v = value; | - |
1351 | if (v.convert(propertyType)) {TRUE | evaluated 36 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 324 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
| 36-324 |
1352 | ok = true; | - |
1353 | } else if (v.isValid() && value.isNull()) {executed 36 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 318 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-318 |
1354 | | - |
1355 | | - |
1356 | | - |
1357 | Q_ASSERT(v.userType() == propertyType); | - |
1358 | ok = true; | - |
1359 | } else if (static_cast<uint>(propertyType) >= QVariant::UserType && never executed: end of block TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 304 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
| 0-304 |
1360 | variantType == QVariant::String) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
|
| 2-18 |
1361 | QQmlMetaType::StringConverter con = QQmlMetaType::customStringConverter(propertyType); | - |
1362 | if (con) {TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1363 | v = con(value.toString()); | - |
1364 | if (v.userType() == propertyType)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1365 | ok = true; never executed: ok = true; | 0 |
1366 | } never executed: end of block | 0 |
1367 | }executed 2 times by 1 test: end of block | 2 |
1368 | }executed 360 times by 8 tests: end of block Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| 360 |
1369 | if (!ok) {TRUE | evaluated 324 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 80852 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
|
| 324-80852 |
1370 | | - |
1371 | | - |
1372 | | - |
1373 | if (variantType == QVariant::Int && propertyType == qMetaTypeId<QList<int> >()) {TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | evaluated 4 times by 1 test | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
|
| 4-310 |
1374 | QList<int> list; | - |
1375 | list << value.toInt(); | - |
1376 | v = QVariant::fromValue<QList<int> >(list); | - |
1377 | ok = true; | - |
1378 | } else if ((variantType == QVariant::Double || variantType == QVariant::Int)executed 4 times by 1 test: end of block TRUE | evaluated 134 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 186 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 176 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
| 4-186 |
1379 | && (propertyType == qMetaTypeId<QList<qreal> >())) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimations
|
| 4-140 |
1380 | QList<qreal> list; | - |
1381 | list << value.toReal(); | - |
1382 | v = QVariant::fromValue<QList<qreal> >(list); | - |
1383 | ok = true; | - |
1384 | } else if (variantType == QVariant::Bool && propertyType == qMetaTypeId<QList<bool> >()) {executed 4 times by 1 test: end of block TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 304 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | evaluated 4 times by 1 test | FALSE | evaluated 8 times by 1 test |
| 4-304 |
1385 | QList<bool> list; | - |
1386 | list << value.toBool(); | - |
1387 | v = QVariant::fromValue<QList<bool> >(list); | - |
1388 | ok = true; | - |
1389 | } else if (variantType == QVariant::String && propertyType == qMetaTypeId<QList<QString> >()) {executed 4 times by 1 test: end of block TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 298 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
|
| 2-298 |
1390 | QList<QString> list; | - |
1391 | list << value.toString(); | - |
1392 | v = QVariant::fromValue<QList<QString> >(list); | - |
1393 | ok = true; | - |
1394 | } else if (variantType == QVariant::String && propertyType == qMetaTypeId<QStringList>()) {executed 2 times by 1 test: end of block TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 298 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
TRUE | never evaluated | FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
|
| 0-298 |
1395 | QStringList list; | - |
1396 | list << value.toString(); | - |
1397 | v = QVariant::fromValue<QStringList>(list); | - |
1398 | ok = true; | - |
1399 | } never executed: end of block | 0 |
1400 | }executed 324 times by 4 tests: end of block Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
| 324 |
1401 | | - |
1402 | if (ok) {TRUE | evaluated 80866 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
| 310-80866 |
1403 | return property.writeProperty(object, const_cast<void *>(v.constData()), flags);executed 80866 times by 31 tests: return property.writeProperty(object, const_cast<void *>(v.constData()), flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
| 80866 |
1404 | } else { | - |
1405 | return false;executed 310 times by 4 tests: return false; Executed by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
| 310 |
1406 | } | - |
1407 | } | - |
1408 | | - |
1409 | return true;executed 48 times by 9 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| 48 |
1410 | } | - |
1411 | | - |
1412 | QQmlMetaObject QQmlPropertyPrivate::rawMetaObjectForType(QQmlEnginePrivate *engine, int userType) | - |
1413 | { | - |
1414 | QMetaType metaType(userType); | - |
1415 | if ((metaType.flags() & QMetaType::PointerToQObject) && metaType.metaObject())TRUE | evaluated 25196 times by 94 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
| FALSE | evaluated 48 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickloader
|
| 48-25196 |
1416 | return metaType.metaObject();executed 25196 times by 94 tests: return metaType.metaObject(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
| 25196 |
1417 | if (engine)TRUE | evaluated 50 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickloader
| FALSE | never evaluated |
| 0-50 |
1418 | return engine->rawMetaObjectForType(userType);executed 50 times by 6 tests: return engine->rawMetaObjectForType(userType); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickloader
| 50 |
1419 | QQmlType type = QQmlMetaType::qmlType(userType); | - |
1420 | if (type.isValid())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1421 | return QQmlMetaObject(type.baseMetaObject()); never executed: return QQmlMetaObject(type.baseMetaObject()); | 0 |
1422 | return QQmlMetaObject(); never executed: return QQmlMetaObject(); | 0 |
1423 | } | - |
1424 | | - |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | | - |
1429 | | - |
1430 | bool QQmlProperty::write(const QVariant &value) const | - |
1431 | { | - |
1432 | return QQmlPropertyPrivate::write(*this, value, nullptr);executed 1028 times by 22 tests: return QQmlPropertyPrivate::write(*this, value, nullptr); Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| 1028 |
1433 | } | - |
1434 | | - |
1435 | | - |
1436 | | - |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | | - |
1446 | bool QQmlProperty::write(QObject *object, const QString &name, const QVariant &value) | - |
1447 | { | - |
1448 | QQmlProperty p(object, name); | - |
1449 | return p.write(value);executed 16 times by 3 tests: return p.write(value); Executed by:- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmltypeloader
| 16 |
1450 | } | - |
1451 | | - |
1452 | | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | | - |
1462 | | - |
1463 | | - |
1464 | bool QQmlProperty::write(QObject *object, | - |
1465 | const QString &name, | - |
1466 | const QVariant &value, | - |
1467 | QQmlContext *ctxt) | - |
1468 | { | - |
1469 | QQmlProperty p(object, name, ctxt); | - |
1470 | return p.write(value);executed 4 times by 1 test: return p.write(value); | 4 |
1471 | } | - |
1472 | | - |
1473 | | - |
1474 | | - |
1475 | | - |
1476 | | - |
1477 | | - |
1478 | | - |
1479 | | - |
1480 | | - |
1481 | | - |
1482 | | - |
1483 | | - |
1484 | | - |
1485 | | - |
1486 | bool QQmlProperty::write(QObject *object, const QString &name, const QVariant &value, | - |
1487 | QQmlEngine *engine) | - |
1488 | { | - |
1489 | QQmlProperty p(object, name, engine); | - |
1490 | return p.write(value);executed 2 times by 1 test: return p.write(value); | 2 |
1491 | } | - |
1492 | | - |
1493 | | - |
1494 | | - |
1495 | | - |
1496 | | - |
1497 | | - |
1498 | bool QQmlProperty::reset() const | - |
1499 | { | - |
1500 | if (isResettable()) {TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 14 times by 1 test |
| 10-14 |
1501 | void *args[] = { nullptr }; | - |
1502 | QMetaObject::metacall(d->object, QMetaObject::ResetProperty, d->core.coreIndex(), args); | - |
1503 | return true;executed 10 times by 3 tests: return true; Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| 10 |
1504 | } else { | - |
1505 | return false;executed 14 times by 1 test: return false; | 14 |
1506 | } | - |
1507 | } | - |
1508 | | - |
1509 | bool QQmlPropertyPrivate::write(const QQmlProperty &that, | - |
1510 | const QVariant &value, QQmlPropertyData::WriteFlags flags) | - |
1511 | { | - |
1512 | if (!that.d)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 122594 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
| 4-122594 |
1513 | return false;executed 4 times by 1 test: return false; | 4 |
1514 | if (that.d->object && that.type() & QQmlProperty::Property &&TRUE | evaluated 122564 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 16 times by 1 test |
| 16-122564 |
1515 | that.d->core.isValid() && that.isWritable())TRUE | evaluated 122564 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | never evaluated |
TRUE | evaluated 122550 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlproperty
|
| 0-122564 |
1516 | return that.d->writeValueProperty(value, flags);executed 122550 times by 32 tests: return that.d->writeValueProperty(value, flags); Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 122550 |
1517 | else | - |
1518 | return false;executed 44 times by 2 tests: return false; Executed by:- tst_qqmlbinding
- tst_qqmlproperty
| 44 |
1519 | } | - |
1520 | | - |
1521 | | - |
1522 | | - |
1523 | | - |
1524 | bool QQmlProperty::hasNotifySignal() const | - |
1525 | { | - |
1526 | if (type() & Property && d->object) {TRUE | evaluated 8 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 8-18 |
1527 | return d->object->metaObject()->property(d->core.coreIndex()).hasNotifySignal();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).hasNotifySignal(); | 8 |
1528 | } | - |
1529 | return false;executed 18 times by 1 test: return false; | 18 |
1530 | } | - |
1531 | | - |
1532 | | - |
1533 | | - |
1534 | | - |
1535 | | - |
1536 | | - |
1537 | | - |
1538 | | - |
1539 | bool QQmlProperty::needsNotifySignal() const | - |
1540 | { | - |
1541 | return type() & Property && !property().isConstant();executed 26 times by 1 test: return type() & Property && !property().isConstant(); | 26 |
1542 | } | - |
1543 | | - |
1544 | | - |
1545 | | - |
1546 | | - |
1547 | | - |
1548 | | - |
1549 | | - |
1550 | | - |
1551 | | - |
1552 | bool QQmlProperty::connectNotifySignal(QObject *dest, int method) const | - |
1553 | { | - |
1554 | if (!(type() & Property) || !d->object)TRUE | evaluated 72 times by 1 test | FALSE | evaluated 32 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
| 0-72 |
1555 | return false;executed 72 times by 1 test: return false; | 72 |
1556 | | - |
1557 | QMetaProperty prop = d->object->metaObject()->property(d->core.coreIndex()); | - |
1558 | if (prop.hasNotifySignal()) {TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
| 0-32 |
1559 | return QQmlPropertyPrivate::connect(d->object, prop.notifySignalIndex(), dest, method, Qt::DirectConnection); never executed: return QQmlPropertyPrivate::connect(d->object, prop.notifySignalIndex(), dest, method, Qt::DirectConnection); | 0 |
1560 | } else { | - |
1561 | return false;executed 32 times by 1 test: return false; | 32 |
1562 | } | - |
1563 | } | - |
1564 | | - |
1565 | | - |
1566 | | - |
1567 | | - |
1568 | | - |
1569 | | - |
1570 | | - |
1571 | | - |
1572 | | - |
1573 | | - |
1574 | | - |
1575 | | - |
1576 | bool QQmlProperty::connectNotifySignal(QObject *dest, const char *slot) const | - |
1577 | { | - |
1578 | if (!(type() & Property) || !d->object)TRUE | evaluated 36 times by 1 test | FALSE | evaluated 938 times by 2 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
|
TRUE | never evaluated | FALSE | evaluated 938 times by 2 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
|
| 0-938 |
1579 | return false;executed 36 times by 1 test: return false; | 36 |
1580 | | - |
1581 | QMetaProperty prop = d->object->metaObject()->property(d->core.coreIndex()); | - |
1582 | if (prop.hasNotifySignal()) {TRUE | evaluated 922 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| FALSE | evaluated 16 times by 1 test |
| 16-922 |
1583 | QByteArray signal('2' + prop.notifySignal().methodSignature()); | - |
1584 | return QObject::connect(d->object, signal.constData(), dest, slot);executed 922 times by 1 test: return QObject::connect(d->object, signal.constData(), dest, slot); Executed by:- tst_qqmllistmodelworkerscript
| 922 |
1585 | } else { | - |
1586 | return false;executed 16 times by 1 test: return false; | 16 |
1587 | } | - |
1588 | } | - |
1589 | | - |
1590 | | - |
1591 | | - |
1592 | | - |
1593 | int QQmlProperty::index() const | - |
1594 | { | - |
1595 | return d ? d->core.coreIndex() : -1;executed 26 times by 1 test: return d ? d->core.coreIndex() : -1; | 26 |
1596 | } | - |
1597 | | - |
1598 | QQmlPropertyIndex QQmlPropertyPrivate::propertyIndex(const QQmlProperty &that) | - |
1599 | { | - |
1600 | return that.d ? that.d->encodedIndex() : QQmlPropertyIndex();executed 618 times by 9 tests: return that.d ? that.d->encodedIndex() : QQmlPropertyIndex(); Executed by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
| 618 |
1601 | } | - |
1602 | | - |
1603 | QQmlProperty | - |
1604 | QQmlPropertyPrivate::restore(QObject *object, const QQmlPropertyData &data, | - |
1605 | const QQmlPropertyData *valueTypeData, QQmlContextData *ctxt) | - |
1606 | { | - |
1607 | QQmlProperty prop; | - |
1608 | | - |
1609 | prop.d = new QQmlPropertyPrivate; | - |
1610 | prop.d->object = object; | - |
1611 | prop.d->context = ctxt; | - |
1612 | prop.d->engine = ctxt ? ctxt->engine : nullptr;TRUE | evaluated 5678 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 20 times by 3 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickitem2
|
| 20-5678 |
1613 | | - |
1614 | prop.d->core = data; | - |
1615 | if (valueTypeData)TRUE | evaluated 34 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickbehaviors
- tst_qquickitem2
| FALSE | evaluated 5664 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
| 34-5664 |
1616 | prop.d->valueTypeData = *valueTypeData;executed 34 times by 6 tests: prop.d->valueTypeData = *valueTypeData; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickbehaviors
- tst_qquickitem2
| 34 |
1617 | | - |
1618 | return prop;executed 5698 times by 16 tests: return prop; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| 5698 |
1619 | } | - |
1620 | | - |
1621 | | - |
1622 | | - |
1623 | | - |
1624 | QMetaMethod QQmlPropertyPrivate::findSignalByName(const QMetaObject *mo, const QByteArray &name) | - |
1625 | { | - |
1626 | Q_ASSERT(mo); | - |
1627 | int methods = mo->methodCount(); | - |
1628 | for (int ii = methods - 1; ii >= 2; --ii) { TRUE | evaluated 478 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 76 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
|
| 76-478 |
1629 | QMetaMethod method = mo->method(ii); | - |
1630 | | - |
1631 | if (method.name() == name && (method.methodType() & QMetaMethod::Signal))TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | evaluated 468 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
|
TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | never evaluated |
| 0-468 |
1632 | return method;executed 10 times by 2 tests: return method; Executed by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| 10 |
1633 | }executed 468 times by 3 tests: end of block Executed by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
| 468 |
1634 | | - |
1635 | | - |
1636 | | - |
1637 | if (name.endsWith("Changed")) {TRUE | evaluated 74 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 2 times by 1 test |
| 2-74 |
1638 | QByteArray propName = name.mid(0, name.length() - 7); | - |
1639 | int propIdx = mo->indexOfProperty(propName.constData()); | - |
1640 | if (propIdx >= 0) {TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 2 times by 1 test |
| 2-72 |
1641 | QMetaProperty prop = mo->property(propIdx); | - |
1642 | if (prop.hasNotifySignal())TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | never evaluated |
| 0-72 |
1643 | return prop.notifySignal();executed 72 times by 2 tests: return prop.notifySignal(); Executed by:- tst_qqmllistmodel
- tst_qqmlproperty
| 72 |
1644 | } never executed: end of block | 0 |
1645 | }executed 2 times by 1 test: end of block | 2 |
1646 | | - |
1647 | return QMetaMethod();executed 4 times by 1 test: return QMetaMethod(); | 4 |
1648 | } | - |
1649 | | - |
1650 | | - |
1651 | | - |
1652 | | - |
1653 | | - |
1654 | | - |
1655 | static inline void flush_vme_signal(const QObject *object, int index, bool indexInSignalRange) | - |
1656 | { | - |
1657 | QQmlData *data = QQmlData::get(object); | - |
1658 | if (data && data->propertyCache) {TRUE | evaluated 705020 times by 122 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 1638 times by 24 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
TRUE | evaluated 631080 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 73940 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- ...
|
| 1638-705020 |
1659 | QQmlPropertyData *property = indexInSignalRange ? data->propertyCache->signal(index)TRUE | evaluated 630290 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 790 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 790-630290 |
1660 | : data->propertyCache->method(index); | - |
1661 | | - |
1662 | if (property && property->isVMESignal()) {TRUE | evaluated 631078 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 2 times by 1 test |
TRUE | evaluated 47612 times by 60 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 583466 times by 113 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
| 2-631078 |
1663 | QQmlVMEMetaObject *vme; | - |
1664 | if (indexInSignalRange)TRUE | evaluated 47604 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
|
| 8-47604 |
1665 | vme = QQmlVMEMetaObject::getForSignal(const_cast<QObject *>(object), index);executed 47604 times by 59 tests: vme = QQmlVMEMetaObject::getForSignal(const_cast<QObject *>(object), index); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| 47604 |
1666 | else | - |
1667 | vme = QQmlVMEMetaObject::getForMethod(const_cast<QObject *>(object), index);executed 8 times by 1 test: vme = QQmlVMEMetaObject::getForMethod(const_cast<QObject *>(object), index); Executed by:- tst_qqmlenginedebugservice
| 8 |
1668 | vme->connectAliasSignal(index, indexInSignalRange); | - |
1669 | }executed 47612 times by 60 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 47612 |
1670 | }executed 631080 times by 119 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| 631080 |
1671 | }executed 706658 times by 122 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 706658 |
1672 | | - |
1673 | | - |
1674 | | - |
1675 | | - |
1676 | | - |
1677 | | - |
1678 | | - |
1679 | | - |
1680 | bool QQmlPropertyPrivate::connect(const QObject *sender, int signal_index, | - |
1681 | const QObject *receiver, int method_index, | - |
1682 | int type, int *types) | - |
1683 | { | - |
1684 | static const bool indexInSignalRange = false; | - |
1685 | flush_vme_signal(sender, signal_index, indexInSignalRange); | - |
1686 | flush_vme_signal(receiver, method_index, indexInSignalRange); | - |
1687 | | - |
1688 | return QMetaObject::connect(sender, signal_index, receiver, method_index, type, types);executed 710 times by 6 tests: return QMetaObject::connect(sender, signal_index, receiver, method_index, type, types); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 710 |
1689 | } | - |
1690 | | - |
1691 | | - |
1692 | | - |
1693 | | - |
1694 | | - |
1695 | void QQmlPropertyPrivate::flushSignal(const QObject *sender, int signal_index) | - |
1696 | { | - |
1697 | static const bool indexInSignalRange = true; | - |
1698 | flush_vme_signal(sender, signal_index, indexInSignalRange); | - |
1699 | }executed 705238 times by 122 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 705238 |
1700 | | - |
1701 | QT_END_NAMESPACE | - |
| | |