OpenCoverage

qqmlvmemetaobject.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Copyright (C) 2016 BasysKom GmbH.-
5** Contact: https://www.qt.io/licensing/-
6**-
7** This file is part of the QtQml module of the Qt Toolkit.-
8**-
9** $QT_BEGIN_LICENSE:LGPL$-
10** Commercial License Usage-
11** Licensees holding valid commercial Qt licenses may use this file in-
12** accordance with the commercial license agreement provided with the-
13** Software or, alternatively, in accordance with the terms contained in-
14** a written agreement between you and The Qt Company. For licensing terms-
15** and conditions see https://www.qt.io/terms-conditions. For further-
16** information use the contact form at https://www.qt.io/contact-us.-
17**-
18** GNU Lesser General Public License Usage-
19** Alternatively, this file may be used under the terms of the GNU Lesser-
20** General Public License version 3 as published by the Free Software-
21** Foundation and appearing in the file LICENSE.LGPL3 included in the-
22** packaging of this file. Please review the following information to-
23** ensure the GNU Lesser General Public License version 3 requirements-
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
25**-
26** GNU General Public License Usage-
27** Alternatively, this file may be used under the terms of the GNU-
28** General Public License version 2.0 or (at your option) the GNU General-
29** Public license version 3 or any later version approved by the KDE Free-
30** Qt Foundation. The licenses are as published by the Free Software-
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
32** included in the packaging of this file. Please review the following-
33** information to ensure the GNU General Public License requirements will-
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
35** https://www.gnu.org/licenses/gpl-3.0.html.-
36**-
37** $QT_END_LICENSE$-
38**-
39****************************************************************************/-
40-
41#include "qqmlvmemetaobject_p.h"-
42-
43-
44#include "qqml.h"-
45#include <private/qqmlrefcount_p.h>-
46#include "qqmlexpression.h"-
47#include "qqmlexpression_p.h"-
48#include "qqmlcontext_p.h"-
49#include "qqmlbinding_p.h"-
50#include "qqmlpropertyvalueinterceptor_p.h"-
51-
52#include <private/qqmlglobal_p.h>-
53-
54#include <private/qv4object_p.h>-
55#include <private/qv4variantobject_p.h>-
56#include <private/qv4functionobject_p.h>-
57#include <private/qv4scopedvalue_p.h>-
58#include <private/qv4jscall_p.h>-
59#include <private/qv4qobjectwrapper_p.h>-
60-
61QT_BEGIN_NAMESPACE-
62-
63static void list_append(QQmlListProperty<QObject> *prop, QObject *o)-
64{-
65 QList<QObject *> *list = static_cast<QList<QObject *> *>(prop->data);-
66 list->append(o);-
67 static_cast<QQmlVMEMetaObject *>(prop->dummy1)->activate(prop->object, reinterpret_cast<quintptr>(prop->dummy2), nullptr);-
68}
executed 98 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
98
69-
70static int list_count(QQmlListProperty<QObject> *prop)-
71{-
72 QList<QObject *> *list = static_cast<QList<QObject *> *>(prop->data);-
73 return list->count();
executed 276 times by 5 tests: return list->count();
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
276
74}-
75-
76static QObject *list_at(QQmlListProperty<QObject> *prop, int index)-
77{-
78 QList<QObject *> *list = static_cast<QList<QObject *> *>(prop->data);-
79 return list->at(index);
executed 94 times by 4 tests: return list->at(index);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
94
80}-
81-
82static void list_clear(QQmlListProperty<QObject> *prop)-
83{-
84 QList<QObject *> *list = static_cast<QList<QObject *> *>(prop->data);-
85 list->clear();-
86 static_cast<QQmlVMEMetaObject *>(prop->dummy1)->activate(prop->object, reinterpret_cast<quintptr>(prop->dummy2), nullptr);-
87}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
2
88-
89QQmlVMEVariantQObjectPtr::QQmlVMEVariantQObjectPtr()-
90 : QQmlGuard<QObject>(nullptr), m_target(nullptr), m_index(-1)-
91{-
92}
executed 1264 times by 52 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • ...
1264
93-
94QQmlVMEVariantQObjectPtr::~QQmlVMEVariantQObjectPtr()-
95{-
96}-
97-
98void QQmlVMEVariantQObjectPtr::objectDestroyed(QObject *)-
99{-
100 if (!m_target || QQmlData::wasDeleted(m_target->object))
!m_targetDescription
TRUEnever evaluated
FALSEevaluated 862 times by 45 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • ...
QQmlData::wasD...arget->object)Description
TRUEevaluated 780 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • ...
FALSEevaluated 82 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
0-862
101 return;
executed 780 times by 39 tests: return;
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • ...
780
102-
103 if (m_index >= 0) {
m_index >= 0Description
TRUEevaluated 82 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
FALSEnever evaluated
0-82
104 QV4::ExecutionEngine *v4 = m_target->propertyAndMethodStorage.engine();-
105 if (v4) {
v4Description
TRUEevaluated 78 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickapplication
4-78
106 QV4::Scope scope(v4);-
107 QV4::Scoped<QV4::MemberData> sp(scope, m_target->propertyAndMethodStorage.value());-
108 if (sp) {
spDescription
TRUEevaluated 70 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlinfo
8-70
109 QV4::PropertyIndex index{ sp->d(), sp->d()->values.values + m_index };-
110 index.set(v4, QV4::Primitive::nullValue());-
111 }
executed 70 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
70
112 }
executed 78 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
78
113-
114 m_target->activate(m_target->object, m_target->methodOffset() + m_index, nullptr);-
115 }
executed 82 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
82
116}
executed 82 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickitemlayer
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
82
117-
118void QQmlVMEVariantQObjectPtr::setGuardedValue(QObject *obj, QQmlVMEMetaObject *target, int index)-
119{-
120 m_target = target;-
121 m_index = index;-
122 setObject(obj);-
123}
executed 1747 times by 52 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • ...
1747
124-
125class QQmlVMEMetaObjectEndpoint : public QQmlNotifierEndpoint-
126{-
127public:-
128 QQmlVMEMetaObjectEndpoint();-
129 void tryConnect();-
130-
131 QFlagPointer<QQmlVMEMetaObject> metaObject;-
132};-
133-
134QQmlVMEMetaObjectEndpoint::QQmlVMEMetaObjectEndpoint()-
135 : QQmlNotifierEndpoint(QQmlNotifierEndpoint::QQmlVMEMetaObjectEndpoint)-
136{-
137}
executed 2348 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
2348
138-
139void QQmlVMEMetaObjectEndpoint_callback(QQmlNotifierEndpoint *e, void **)-
140{-
141 QQmlVMEMetaObjectEndpoint *vmee = static_cast<QQmlVMEMetaObjectEndpoint*>(e);-
142 vmee->tryConnect();-
143}
executed 1092 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
1092
144-
145void QQmlVMEMetaObjectEndpoint::tryConnect()-
146{-
147 Q_ASSERT(metaObject->compiledObject);-
148 int aliasId = this - metaObject->aliasEndpoints;-
149-
150 if (metaObject.flag()) {
metaObject.flag()Description
TRUEevaluated 1090 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 1480 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
1090-1480
151 // This is actually notify-
152 int sigIdx = metaObject->methodOffset() + aliasId + metaObject->compiledObject->nProperties;-
153 metaObject->activate(metaObject->object, sigIdx, nullptr);-
154 } else {
executed 1090 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
1090
155 const QV4::CompiledData::Alias *aliasData = &metaObject->compiledObject->aliasTable()[aliasId];-
156 if (!aliasData->isObjectAlias()) {
!aliasData->isObjectAlias()Description
TRUEevaluated 1390 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
FALSEevaluated 90 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
90-1390
157 QQmlContextData *ctxt = metaObject->ctxt;-
158 QObject *target = ctxt->idValues[aliasData->targetObjectId].data();-
159 if (!target)
!targetDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 1388 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
2-1388
160 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qqmlecmascript
2
161-
162 QQmlData *targetDData = QQmlData::get(target, /*create*/false);-
163 if (!targetDData)
!targetDDataDescription
TRUEnever evaluated
FALSEevaluated 1388 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
0-1388
164 return;
never executed: return;
0
165 int coreIndex = QQmlPropertyIndex::fromEncoded(aliasData->encodedMetaPropertyIndex).coreIndex();-
166 const QQmlPropertyData *pd = targetDData->propertyCache->property(coreIndex);-
167 if (!pd)
!pdDescription
TRUEnever evaluated
FALSEevaluated 1388 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
0-1388
168 return;
never executed: return;
0
169-
170 if (pd->notifyIndex() != -1)
pd->notifyIndex() != -1Description
TRUEevaluated 1272 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
FALSEevaluated 116 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquicklayouts
  • tst_qquicklistview
116-1272
171 connect(target, pd->notifyIndex(), ctxt->engine);
executed 1272 times by 23 tests: connect(target, pd->notifyIndex(), ctxt->engine);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
1272
172 }
executed 1388 times by 25 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
1388
173-
174 metaObject.setFlag();-
175 }
executed 1478 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
1478
176}-
177-
178-
179QQmlInterceptorMetaObject::QQmlInterceptorMetaObject(QObject *obj, const QQmlRefPointer<QQmlPropertyCache> &cache)-
180 : object(obj),-
181 cache(cache),-
182 interceptors(nullptr),-
183 hasAssignedMetaObjectData(false)-
184{-
185 QObjectPrivate *op = QObjectPrivate::get(obj);-
186-
187 if (op->metaObject) {
op->metaObjectDescription
TRUEevaluated 152 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 67705 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
152-67705
188 parent = op->metaObject;-
189 // Use the extra flag in QBiPointer to know if we can safely cast parent.asT1() to QQmlVMEMetaObject*-
190 parent.setFlagValue(QQmlData::get(obj)->hasVMEMetaObject);-
191 } else {
executed 152 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
152
192 parent = obj->metaObject();-
193 }
executed 67705 times by 99 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
67705
194-
195 op->metaObject = this;-
196 QQmlData::get(obj)->hasInterceptorMetaObject = true;-
197}
executed 67857 times by 99 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
67857
198-
199QQmlInterceptorMetaObject::~QQmlInterceptorMetaObject()-
200{-
201-
202}-
203-
204void QQmlInterceptorMetaObject::registerInterceptor(QQmlPropertyIndex index, QQmlPropertyValueInterceptor *interceptor)-
205{-
206 interceptor->m_propertyIndex = index;-
207 interceptor->m_next = interceptors;-
208 interceptors = interceptor;-
209}
executed 566 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
566
210-
211int QQmlInterceptorMetaObject::metaCall(QObject *o, QMetaObject::Call c, int id, void **a)-
212{-
213 Q_ASSERT(o == object);-
214 Q_UNUSED(o);-
215-
216 if (intercept(c, id, a))
intercept(c, id, a)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickbehaviors
FALSEevaluated 24 times by 1 test
Evaluated by:
  • tst_qquickbehaviors
2-24
217 return -1;
executed 2 times by 1 test: return -1;
Executed by:
  • tst_qquickbehaviors
2
218 return object->qt_metacall(c, id, a);
executed 24 times by 1 test: return object->qt_metacall(c, id, a);
Executed by:
  • tst_qquickbehaviors
24
219}-
220-
221bool QQmlInterceptorMetaObject::intercept(QMetaObject::Call c, int id, void **a)-
222{-
223 if (c == QMetaObject::WriteProperty && interceptors &&
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 152683 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 279785 times by 96 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
interceptorsDescription
TRUEevaluated 671 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 152012 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
671-279785
224 !(*reinterpret_cast<int*>(a[3]) & QQmlPropertyData::BypassInterceptor)) {
!(*reinterpret...ssInterceptor)Description
TRUEevaluated 344 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 327 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickloader
327-344
225-
226 for (QQmlPropertyValueInterceptor *vi = interceptors; vi; vi = vi->m_next) {
viDescription
TRUEevaluated 420 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 48 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
48-420
227 if (vi->m_propertyIndex.coreIndex() != id)
vi->m_property...eIndex() != idDescription
TRUEevaluated 120 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicksmoothedanimation
FALSEevaluated 300 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
120-300
228 continue;
executed 120 times by 6 tests: continue;
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicksmoothedanimation
120
229-
230 const int valueIndex = vi->m_propertyIndex.valueTypeIndex();-
231 int type = QQmlData::get(object)->propertyCache->property(id)->propType();-
232-
233 if (type != QVariant::Invalid) {
type != QVariant::InvalidDescription
TRUEevaluated 300 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEnever evaluated
0-300
234 if (valueIndex != -1) {
valueIndex != -1Description
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
FALSEevaluated 288 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
12-288
235 QQmlValueType *valueType = QQmlValueTypeFactory::valueType(type);-
236 Q_ASSERT(valueType);-
237-
238 //-
239 // Consider the following case:-
240 // color c = { 0.1, 0.2, 0.3 }-
241 // interceptor exists on c.r-
242 // write { 0.2, 0.4, 0.6 }-
243 //-
244 // The interceptor may choose not to update the r component at this-
245 // point (for example, a behavior that creates an animation). But we-
246 // need to ensure that the g and b components are updated correctly.-
247 //-
248 // So we need to perform a full write where the value type is:-
249 // r = old value, g = new value, b = new value-
250 //-
251 // And then call the interceptor which may or may not write the-
252 // new value to the r component.-
253 //-
254 // This will ensure that the other components don't contain stale data-
255 // and any relevant signals are emitted.-
256 //-
257 // To achieve this:-
258 // (1) Store the new value type as a whole (needed due to-
259 // aliasing between a[0] and static storage in value type).-
260 // (2) Read the entire existing value type from object -> valueType temp.-
261 // (3) Read the previous value of the component being changed-
262 // from the valueType temp.-
263 // (4) Write the entire new value type into the temp.-
264 // (5) Overwrite the component being changed with the old value.-
265 // (6) Perform a full write to the value type (which may emit signals etc).-
266 // (7) Issue the interceptor call with the new component value.-
267 //-
268-
269 QMetaProperty valueProp = valueType->metaObject()->property(valueIndex);-
270 QVariant newValue(type, a[0]);-
271-
272 valueType->read(object, id);-
273 QVariant prevComponentValue = valueProp.read(valueType);-
274-
275 valueType->setValue(newValue);-
276 QVariant newComponentValue = valueProp.read(valueType);-
277-
278 // Don't apply the interceptor if the intercepted value has not changed-
279 bool updated = false;-
280 if (newComponentValue != prevComponentValue) {
newComponentVa...ComponentValueDescription
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickbehaviors
4-8
281 valueProp.write(valueType, prevComponentValue);-
282 valueType->write(object, id, QQmlPropertyData::DontRemoveBinding | QQmlPropertyData::BypassInterceptor);-
283-
284 vi->write(newComponentValue);-
285 updated = true;-
286 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
8
287-
288 if (updated)
updatedDescription
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickbehaviors
4-8
289 return true;
executed 8 times by 2 tests: return true;
Executed by:
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
8
290 } else {
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickbehaviors
4
291 vi->write(QVariant(type, a[0]));-
292 return true;
executed 288 times by 8 tests: return true;
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
288
293 }-
294 }-
295 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickbehaviors
4
296 }
executed 48 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
48
297 return false;
executed 432172 times by 99 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
432172
298}-
299-
300-
301QAbstractDynamicMetaObject *QQmlInterceptorMetaObject::toDynamicMetaObject(QObject *o)-
302{-
303 if (!hasAssignedMetaObjectData) {
!hasAssignedMetaObjectDataDescription
TRUEevaluated 65376 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 2281451 times by 92 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
65376-2281451
304 *static_cast<QMetaObject *>(this) = *cache->createMetaObject();-
305-
306 if (parent.isT1())
parent.isT1()Description
TRUEevaluated 150 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 65226 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
150-65226
307 this->d.superdata = parent.asT1()->toDynamicMetaObject(o);
executed 150 times by 13 tests: this->d.superdata = parent.asT1()->toDynamicMetaObject(o);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
150
308 else-
309 this->d.superdata = parent.asT2();
executed 65226 times by 98 tests: this->d.superdata = parent.asT2();
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
65226
310-
311 hasAssignedMetaObjectData = true;-
312 }
executed 65376 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
65376
313-
314 return this;
executed 2346827 times by 98 tests: return this;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
2346827
315}-
316-
317QQmlVMEMetaObject::QQmlVMEMetaObject(QV4::ExecutionEngine *engine,-
318 QObject *obj,-
319 const QQmlRefPointer<QQmlPropertyCache> &cache, const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &qmlCompilationUnit, int qmlObjectId)-
320 : QQmlInterceptorMetaObject(obj, cache),-
321 engine(engine),-
322 ctxt(QQmlData::get(obj, true)->outerContext),-
323 aliasEndpoints(nullptr), compilationUnit(qmlCompilationUnit), compiledObject(nullptr)-
324{-
325 Q_ASSERT(engine);-
326 QQmlData::get(obj)->hasVMEMetaObject = true;-
327-
328 if (compilationUnit && qmlObjectId >= 0) {
qmlObjectId >= 0Description
TRUEevaluated 67851 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-67851
329 compiledObject = compilationUnit->data->objectAt(qmlObjectId);-
330-
331 if (compiledObject->nProperties || compiledObject->nFunctions) {-
332 uint size = compiledObject->nProperties + compiledObject->nFunctions;-
333 if (size) {
sizeDescription
TRUEevaluated 66335 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-66335
334 QV4::Heap::MemberData *data = QV4::MemberData::allocate(engine, size);-
335 propertyAndMethodStorage.set(engine, data);-
336 std::fill(data->values.values, data->values.values + data->values.size, QV4::Encode::undefined());-
337 }
executed 66335 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
66335
338-
339 // Need JS wrapper to ensure properties/methods are marked.-
340 ensureQObjectWrapper();-
341 }
executed 66335 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
66335
342 }
executed 67851 times by 99 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
67851
343}
executed 67855 times by 99 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
67855
344-
345QQmlVMEMetaObject::~QQmlVMEMetaObject()-
346{-
347 if (parent.isT1()) parent.asT1()->objectDestroyed(object);
executed 148 times by 13 tests: parent.asT1()->objectDestroyed(object);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
parent.isT1()Description
TRUEevaluated 148 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 66781 times by 93 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
148-66781
348 delete [] aliasEndpoints;-
349-
350 qDeleteAll(varObjectGuards);-
351}
executed 66929 times by 93 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • ...
66929
352-
353QV4::MemberData *QQmlVMEMetaObject::propertyAndMethodStorageAsMemberData() const-
354{-
355 if (propertyAndMethodStorage.isUndefined()) {
propertyAndMet....isUndefined()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 619835 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
12-619835
356 if (propertyAndMethodStorage.valueRef())
propertyAndMet...age.valueRef()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEnever evaluated
0-12
357 // in some situations, the QObject wrapper (and associated data,-
358 // such as the varProperties array) will have been cleaned up, but the-
359 // QObject ptr will not yet have been deleted (eg, waiting on deleteLater).-
360 // In this situation, return 0.-
361 return nullptr;
executed 12 times by 1 test: return nullptr;
Executed by:
  • tst_qqmlecmascript
12
362 }
never executed: end of block
0
363-
364 return static_cast<QV4::MemberData*>(propertyAndMethodStorage.asManaged());
executed 619835 times by 98 tests: return static_cast<QV4::MemberData*>(propertyAndMethodStorage.asManaged());
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
619835
365}-
366-
367void QQmlVMEMetaObject::writeProperty(int id, int v)-
368{-
369 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
370 if (md)
mdDescription
TRUEevaluated 37076 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
4-37076
371 md->set(engine, id, QV4::Primitive::fromInt32(v));
executed 37076 times by 65 tests: md->set(engine, id, QV4::Primitive::fromInt32(v));
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
37076
372}
executed 37080 times by 65 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
37080
373-
374void QQmlVMEMetaObject::writeProperty(int id, bool v)-
375{-
376 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
377 if (md)
mdDescription
TRUEevaluated 18920 times by 67 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
FALSEnever evaluated
0-18920
378 md->set(engine, id, QV4::Primitive::fromBoolean(v));
executed 18920 times by 67 tests: md->set(engine, id, QV4::Primitive::fromBoolean(v));
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
18920
379}
executed 18920 times by 67 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
18920
380-
381void QQmlVMEMetaObject::writeProperty(int id, double v)-
382{-
383 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
384 if (md)
mdDescription
TRUEevaluated 13715 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
FALSEnever evaluated
0-13715
385 md->set(engine, id, QV4::Primitive::fromDouble(v));
executed 13715 times by 33 tests: md->set(engine, id, QV4::Primitive::fromDouble(v));
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
13715
386}
executed 13715 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
13715
387-
388void QQmlVMEMetaObject::writeProperty(int id, const QString& v)-
389{-
390 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
391 if (md)
mdDescription
TRUEevaluated 49445 times by 47 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
FALSEnever evaluated
0-49445
392 md->set(engine, id, engine->newString(v));
executed 49445 times by 47 tests: md->set(engine, id, engine->newString(v));
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
49445
393}
executed 49445 times by 47 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
49445
394-
395void QQmlVMEMetaObject::writeProperty(int id, const QUrl& v)-
396{-
397 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
398 if (md)
mdDescription
TRUEevaluated 26 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
FALSEnever evaluated
0-26
399 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
executed 26 times by 5 tests: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
26
400}
executed 26 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
26
401-
402void QQmlVMEMetaObject::writeProperty(int id, const QDate& v)-
403{-
404 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
405 if (md)
mdDescription
TRUEnever evaluated
FALSEnever evaluated
0
406 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
never executed: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
0
407}
never executed: end of block
0
408-
409void QQmlVMEMetaObject::writeProperty(int id, const QDateTime& v)-
410{-
411 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
412 if (md)
mdDescription
TRUEevaluated 74 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
FALSEnever evaluated
0-74
413 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
executed 74 times by 6 tests: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
Executed by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
74
414}
executed 74 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
74
415-
416void QQmlVMEMetaObject::writeProperty(int id, const QPointF& v)-
417{-
418 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
419 if (md)
mdDescription
TRUEevaluated 90 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
FALSEnever evaluated
0-90
420 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
executed 90 times by 4 tests: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
90
421}
executed 90 times by 4 tests: end of block
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
90
422-
423void QQmlVMEMetaObject::writeProperty(int id, const QSizeF& v)-
424{-
425 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
426 if (md)
mdDescription
TRUEevaluated 98 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
FALSEnever evaluated
0-98
427 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
executed 98 times by 4 tests: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
98
428}
executed 98 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
98
429-
430void QQmlVMEMetaObject::writeProperty(int id, const QRectF& v)-
431{-
432 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
433 if (md)
mdDescription
TRUEevaluated 90 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
FALSEnever evaluated
0-90
434 md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
executed 90 times by 4 tests: md->set(engine, id, engine->newVariantObject(QVariant::fromValue(v)));
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
90
435}
executed 90 times by 4 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
90
436-
437void QQmlVMEMetaObject::writeProperty(int id, QObject* v)-
438{-
439 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
440 if (md)
mdDescription
TRUEevaluated 1583 times by 45 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
FALSEnever evaluated
0-1583
441 md->set(engine, id, QV4::Value::fromReturnedValue(QV4::QObjectWrapper::wrap(engine, v)));
executed 1583 times by 45 tests: md->set(engine, id, QV4::Value::fromReturnedValue(QV4::QObjectWrapper::wrap(engine, v)));
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
1583
442-
443 QQmlVMEVariantQObjectPtr *guard = getQObjectGuardForProperty(id);-
444 if (v && !guard) {
vDescription
TRUEevaluated 1493 times by 45 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
FALSEevaluated 90 times by 9 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
!guardDescription
TRUEevaluated 1078 times by 45 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
FALSEevaluated 415 times by 9 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlmetaobject
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
90-1493
445 guard = new QQmlVMEVariantQObjectPtr();-
446 varObjectGuards.append(guard);-
447 }
executed 1078 times by 45 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
1078
448 if (guard)
guardDescription
TRUEevaluated 1527 times by 45 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
FALSEevaluated 56 times by 8 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
56-1527
449 guard->setGuardedValue(v, this, id);
executed 1527 times by 45 tests: guard->setGuardedValue(v, this, id);
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
1527
450}
executed 1583 times by 45 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • ...
1583
451-
452int QQmlVMEMetaObject::readPropertyAsInt(int id) const-
453{-
454 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
455 if (!md)
!mdDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 81356 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
8-81356
456 return 0;
executed 8 times by 1 test: return 0;
Executed by:
  • tst_qqmlecmascript
8
457-
458 QV4::Scope scope(engine);-
459 QV4::ScopedValue sv(scope, *(md->data() + id));-
460 if (!sv->isInt32())
!sv->isInt32()Description
TRUEevaluated 13835 times by 65 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
FALSEevaluated 67521 times by 58 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
13835-67521
461 return 0;
executed 13835 times by 65 tests: return 0;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
13835
462 return sv->integerValue();
executed 67521 times by 58 tests: return sv->integerValue();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
67521
463}-
464-
465bool QQmlVMEMetaObject::readPropertyAsBool(int id) const-
466{-
467 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
468 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 38154 times by 67 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
0-38154
469 return false;
never executed: return false;
0
470-
471 QV4::Scope scope(engine);-
472 QV4::ScopedValue sv(scope, *(md->data() + id));-
473 if (!sv->isBoolean())
!sv->isBoolean()Description
TRUEevaluated 12258 times by 67 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
FALSEevaluated 25896 times by 65 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
12258-25896
474 return false;
executed 12258 times by 67 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
12258
475 return sv->booleanValue();
executed 25896 times by 65 tests: return sv->booleanValue();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • ...
25896
476}-
477-
478double QQmlVMEMetaObject::readPropertyAsDouble(int id) const-
479{-
480 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
481 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 46075 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
0-46075
482 return 0.0;
never executed: return 0.0;
0
483-
484 QV4::Scope scope(engine);-
485 QV4::ScopedValue sv(scope, *(md->data() + id));-
486 if (!sv->isDouble())
!sv->isDouble()Description
TRUEevaluated 3488 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
FALSEevaluated 42587 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • ...
3488-42587
487 return 0.0;
executed 3488 times by 33 tests: return 0.0;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
3488
488 return sv->doubleValue();
executed 42587 times by 31 tests: return sv->doubleValue();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • ...
42587
489}-
490-
491QString QQmlVMEMetaObject::readPropertyAsString(int id) const-
492{-
493 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
494 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 64845 times by 47 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
0-64845
495 return QString();
never executed: return QString();
0
496-
497 QV4::Scope scope(engine);-
498 QV4::ScopedValue sv(scope, *(md->data() + id));-
499 if (QV4::String *s = sv->stringValue())
QV4::String *s...>stringValue()Description
TRUEevaluated 16760 times by 45 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • ...
FALSEevaluated 48085 times by 47 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
16760-48085
500 return s->toQString();
executed 16760 times by 45 tests: return s->toQString();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • ...
16760
501 return QString();
executed 48085 times by 47 tests: return QString();
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
48085
502}-
503-
504QUrl QQmlVMEMetaObject::readPropertyAsUrl(int id) const-
505{-
506 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
507 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 194 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
0-194
508 return QUrl();
never executed: return QUrl();
0
509-
510 QV4::Scope scope(engine);-
511 QV4::ScopedValue sv(scope, *(md->data() + id));-
512 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
513 if (!v || v->d()->data().type() != QVariant::Url)
!vDescription
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
FALSEevaluated 174 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
v->d()->data()... QVariant::UrlDescription
TRUEnever evaluated
FALSEevaluated 174 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
0-174
514 return QUrl();
executed 20 times by 5 tests: return QUrl();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
20
515 return v->d()->data().value<QUrl>();
executed 174 times by 5 tests: return v->d()->data().value<QUrl>();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
174
516}-
517-
518QDate QQmlVMEMetaObject::readPropertyAsDate(int id) const-
519{-
520 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
521 if (!md)
!mdDescription
TRUEnever evaluated
FALSEnever evaluated
0
522 return QDate();
never executed: return QDate();
0
523-
524 QV4::Scope scope(engine);-
525 QV4::ScopedValue sv(scope, *(md->data() + id));-
526 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
527 if (!v || v->d()->data().type() != QVariant::Date)
!vDescription
TRUEnever evaluated
FALSEnever evaluated
v->d()->data()...QVariant::DateDescription
TRUEnever evaluated
FALSEnever evaluated
0
528 return QDate();
never executed: return QDate();
0
529 return v->d()->data().value<QDate>();
never executed: return v->d()->data().value<QDate>();
0
530}-
531-
532QDateTime QQmlVMEMetaObject::readPropertyAsDateTime(int id)-
533{-
534 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
535 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 280 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
0-280
536 return QDateTime();
never executed: return QDateTime();
0
537-
538 QV4::Scope scope(engine);-
539 QV4::ScopedValue sv(scope, *(md->data() + id));-
540 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
541 if (!v || v->d()->data().type() != QVariant::DateTime)
!vDescription
TRUEevaluated 62 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
FALSEevaluated 218 times by 5 tests
Evaluated by:
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
v->d()->data()...iant::DateTimeDescription
TRUEnever evaluated
FALSEevaluated 218 times by 5 tests
Evaluated by:
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
0-218
542 return QDateTime();
executed 62 times by 6 tests: return QDateTime();
Executed by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
62
543 return v->d()->data().value<QDateTime>();
executed 218 times by 5 tests: return v->d()->data().value<QDateTime>();
Executed by:
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
218
544}-
545-
546QSizeF QQmlVMEMetaObject::readPropertyAsSizeF(int id) const-
547{-
548 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
549 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 316 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
0-316
550 return QSizeF();
never executed: return QSizeF();
0
551-
552 QV4::Scope scope(engine);-
553 QV4::ScopedValue sv(scope, *(md->data() + id));-
554 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
555 if (!v || v->d()->data().type() != QVariant::SizeF)
!vDescription
TRUEevaluated 38 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 278 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
v->d()->data()...Variant::SizeFDescription
TRUEnever evaluated
FALSEevaluated 278 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
0-278
556 return QSizeF();
executed 38 times by 4 tests: return QSizeF();
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
38
557 return v->d()->data().value<QSizeF>();
executed 278 times by 4 tests: return v->d()->data().value<QSizeF>();
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
278
558}-
559-
560QPointF QQmlVMEMetaObject::readPropertyAsPointF(int id) const-
561{-
562 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
563 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 306 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
0-306
564 return QPointF();
never executed: return QPointF();
0
565-
566 QV4::Scope scope(engine);-
567 QV4::ScopedValue sv(scope, *(md->data() + id));-
568 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
569 if (!v || v->d()->data().type() != QVariant::PointF)
!vDescription
TRUEevaluated 40 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
FALSEevaluated 266 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
v->d()->data()...ariant::PointFDescription
TRUEnever evaluated
FALSEevaluated 266 times by 4 tests
Evaluated by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
0-266
570 return QPointF();
executed 40 times by 4 tests: return QPointF();
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
40
571 return v->d()->data().value<QPointF>();
executed 266 times by 4 tests: return v->d()->data().value<QPointF>();
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
266
572}-
573-
574QObject* QQmlVMEMetaObject::readPropertyAsQObject(int id) const-
575{-
576 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
577 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 2855 times by 46 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • ...
0-2855
578 return nullptr;
never executed: return nullptr;
0
579-
580 QV4::Scope scope(engine);-
581 QV4::ScopedValue sv(scope, *(md->data() + id));-
582 const QV4::QObjectWrapper *wrapper = sv->as<QV4::QObjectWrapper>();-
583 if (!wrapper)
!wrapperDescription
TRUEevaluated 1348 times by 46 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • ...
FALSEevaluated 1507 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
1348-1507
584 return nullptr;
executed 1348 times by 46 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickbehaviors
  • ...
1348
585 return wrapper->object();
executed 1507 times by 34 tests: return wrapper->object();
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • ...
1507
586}-
587-
588QList<QObject *> *QQmlVMEMetaObject::readPropertyAsList(int id) const-
589{-
590 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
591 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 114 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
0-114
592 return nullptr;
never executed: return nullptr;
0
593-
594 QV4::Scope scope(engine);-
595 QV4::Scoped<QV4::VariantObject> v(scope, *(md->data() + id));-
596 if (!v || (int)v->d()->data().userType() != qMetaTypeId<QList<QObject *> >()) {
!vDescription
TRUEevaluated 44 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
FALSEevaluated 70 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
(int)v->d()->d...QObject *> >()Description
TRUEnever evaluated
FALSEevaluated 70 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
0-70
597 QVariant variant(qVariantFromValue(QList<QObject*>()));-
598 v = engine->newVariantObject(variant);-
599 md->set(engine, id, v);-
600 }
executed 44 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
44
601 return static_cast<QList<QObject *> *>(v->d()->data().data());
executed 114 times by 6 tests: return static_cast<QList<QObject *> *>(v->d()->data().data());
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
114
602}-
603-
604QRectF QQmlVMEMetaObject::readPropertyAsRectF(int id) const-
605{-
606 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
607 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 314 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
0-314
608 return QRectF();
never executed: return QRectF();
0
609-
610 QV4::Scope scope(engine);-
611 QV4::ScopedValue sv(scope, *(md->data() + id));-
612 const QV4::VariantObject *v = sv->as<QV4::VariantObject>();-
613 if (!v || v->d()->data().type() != QVariant::RectF)
!vDescription
TRUEevaluated 40 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 274 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
v->d()->data()...Variant::RectFDescription
TRUEnever evaluated
FALSEevaluated 274 times by 4 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
0-274
614 return QRectF();
executed 40 times by 4 tests: return QRectF();
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
40
615 return v->d()->data().value<QRectF>();
executed 274 times by 4 tests: return v->d()->data().value<QRectF>();
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
274
616}-
617-
618#if defined(Q_OS_WINRT) && defined(_M_ARM)-
619#pragma optimize("", off)-
620#endif-
621int QQmlVMEMetaObject::metaCall(QObject *o, QMetaObject::Call c, int _id, void **a)-
622{-
623 Q_ASSERT(o == object);-
624 Q_UNUSED(o);-
625-
626 int id = _id;-
627-
628 if (intercept(c, _id, a))
intercept(c, _id, a)Description
TRUEevaluated 294 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 432148 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
294-432148
629 return -1;
executed 294 times by 8 tests: return -1;
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
294
630-
631 const int propertyCount = compiledObject ? int(compiledObject->nProperties) : 0;
compiledObjectDescription
TRUEevaluated 432148 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-432148
632 const int aliasCount = compiledObject ? int(compiledObject->nAliases) : 0;
compiledObjectDescription
TRUEevaluated 432148 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-432148
633 const int signalCount = compiledObject ? int(compiledObject->nSignals) : 0;
compiledObjectDescription
TRUEevaluated 432148 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-432148
634 const int methodCount = compiledObject ? int(compiledObject->nFunctions) : 0;
compiledObjectDescription
TRUEevaluated 432148 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-432148
635-
636 if (c == QMetaObject::ReadProperty || c == QMetaObject::WriteProperty || c == QMetaObject::ResetProperty) {
c == QMetaObject::ReadPropertyDescription
TRUEevaluated 267670 times by 96 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
FALSEevaluated 164478 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 152387 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 12091 times by 47 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • ...
c == QMetaObje...:ResetPropertyDescription
TRUEevaluated 44 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qquickitem2
  • tst_qquickrectangle
FALSEevaluated 12047 times by 47 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • ...
44-267670
637 if (id >= propOffset()) {
id >= propOffset()Description
TRUEevaluated 290306 times by 99 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 129795 times by 83 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
129795-290306
638 id -= propOffset();-
639-
640 if (id < propertyCount) {
id < propertyCountDescription
TRUEevaluated 285446 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 4860 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
4860-285446
641 const QV4::CompiledData::Property::Type t = static_cast<QV4::CompiledData::Property::Type>(qint32(compiledObject->propertyTable()[id].type));-
642 bool needActivate = false;-
643-
644 if (t == QV4::CompiledData::Property::Var) {
t == QV4::Comp...:Property::VarDescription
TRUEevaluated 4606 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 280840 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
4606-280840
645 // the context can be null if accessing var properties from cpp after re-parenting an item.-
646 QQmlEnginePrivate *ep = (ctxt == nullptr || ctxt->engine == nullptr) ? nullptr : QQmlEnginePrivate::get(ctxt->engine);
ctxt == nullptrDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 4602 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
ctxt->engine == nullptrDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 4598 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
4-4602
647 if (ep) {
epDescription
TRUEevaluated 4598 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
8-4598
648 if (c == QMetaObject::ReadProperty) {
c == QMetaObject::ReadPropertyDescription
TRUEevaluated 4204 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
394-4204
649 *reinterpret_cast<QVariant *>(a[0]) = readPropertyAsVariant(id);-
650 } else if (c == QMetaObject::WriteProperty) {
executed 4204 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
FALSEnever evaluated
0-4204
651 writeProperty(id, *reinterpret_cast<QVariant *>(a[0]));-
652 }
executed 394 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
394
653 } else if (c == QMetaObject::ReadProperty) {
executed 4598 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
c == QMetaObject::ReadPropertyDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
2-4598
654 // if the context was disposed, we just return an invalid variant from read.-
655 *reinterpret_cast<QVariant *>(a[0]) = QVariant();-
656 }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
6
657-
658 } else {
executed 4606 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_quicktestmainwithsetup
  • tst_testfiltering
4606
659 int fallbackMetaType = QMetaType::UnknownType;-
660 switch (t) {-
661 case QV4::CompiledData::Property::Font:
executed 308 times by 3 tests: case QV4::CompiledData::Property::Font:
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
308
662 fallbackMetaType = QMetaType::QFont;-
663 break;
executed 308 times by 3 tests: break;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
308
664 case QV4::CompiledData::Property::Time:
never executed: case QV4::CompiledData::Property::Time:
0
665 fallbackMetaType = QMetaType::QTime;-
666 break;
never executed: break;
0
667 case QV4::CompiledData::Property::Color:
executed 834 times by 11 tests: case QV4::CompiledData::Property::Color:
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
834
668 fallbackMetaType = QMetaType::QColor;-
669 break;
executed 834 times by 11 tests: break;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
834
670 case QV4::CompiledData::Property::Vector2D:
executed 86 times by 1 test: case QV4::CompiledData::Property::Vector2D:
Executed by:
  • tst_qqmlvaluetypeproviders
86
671 fallbackMetaType = QMetaType::QVector2D;-
672 break;
executed 86 times by 1 test: break;
Executed by:
  • tst_qqmlvaluetypeproviders
86
673 case QV4::CompiledData::Property::Vector3D:
executed 70 times by 1 test: case QV4::CompiledData::Property::Vector3D:
Executed by:
  • tst_qqmlvaluetypeproviders
70
674 fallbackMetaType = QMetaType::QVector3D;-
675 break;
executed 70 times by 1 test: break;
Executed by:
  • tst_qqmlvaluetypeproviders
70
676 case QV4::CompiledData::Property::Vector4D:
executed 112 times by 1 test: case QV4::CompiledData::Property::Vector4D:
Executed by:
  • tst_qqmlvaluetypeproviders
112
677 fallbackMetaType = QMetaType::QVector4D;-
678 break;
executed 112 times by 1 test: break;
Executed by:
  • tst_qqmlvaluetypeproviders
112
679 case QV4::CompiledData::Property::Matrix4x4:
executed 120 times by 1 test: case QV4::CompiledData::Property::Matrix4x4:
Executed by:
  • tst_qqmlvaluetypeproviders
120
680 fallbackMetaType = QMetaType::QMatrix4x4;-
681 break;
executed 120 times by 1 test: break;
Executed by:
  • tst_qqmlvaluetypeproviders
120
682 case QV4::CompiledData::Property::Quaternion:
executed 60 times by 1 test: case QV4::CompiledData::Property::Quaternion:
Executed by:
  • tst_qqmlvaluetypeproviders
60
683 fallbackMetaType = QMetaType::QQuaternion;-
684 break;
executed 60 times by 1 test: break;
Executed by:
  • tst_qqmlvaluetypeproviders
60
685 default: break;
executed 279250 times by 98 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
executed 279250 times by 98 tests: default:
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
279250
686 }-
687-
688-
689 if (c == QMetaObject::ReadProperty) {
c == QMetaObject::ReadPropertyDescription
TRUEevaluated 137460 times by 92 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
FALSEevaluated 143380 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
137460-143380
690 switch (t) {-
691 case QV4::CompiledData::Property::Int:
executed 44284 times by 57 tests: case QV4::CompiledData::Property::Int:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
44284
692 *reinterpret_cast<int *>(a[0]) = readPropertyAsInt(id);-
693 break;
executed 44284 times by 57 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
44284
694 case QV4::CompiledData::Property::Bool:
executed 19234 times by 64 tests: case QV4::CompiledData::Property::Bool:
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
19234
695 *reinterpret_cast<bool *>(a[0]) = readPropertyAsBool(id);-
696 break;
executed 19234 times by 64 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
19234
697 case QV4::CompiledData::Property::Real:
executed 32360 times by 31 tests: case QV4::CompiledData::Property::Real:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • ...
32360
698 *reinterpret_cast<double *>(a[0]) = readPropertyAsDouble(id);-
699 break;
executed 32360 times by 31 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • ...
32360
700 case QV4::CompiledData::Property::String:
executed 15400 times by 45 tests: case QV4::CompiledData::Property::String:
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • ...
15400
701 *reinterpret_cast<QString *>(a[0]) = readPropertyAsString(id);-
702 break;
executed 15400 times by 45 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • ...
15400
703 case QV4::CompiledData::Property::Url:
executed 168 times by 5 tests: case QV4::CompiledData::Property::Url:
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
168
704 *reinterpret_cast<QUrl *>(a[0]) = readPropertyAsUrl(id);-
705 break;
executed 168 times by 5 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
168
706 case QV4::CompiledData::Property::Date:
never executed: case QV4::CompiledData::Property::Date:
0
707 *reinterpret_cast<QDate *>(a[0]) = readPropertyAsDate(id);-
708 break;
never executed: break;
0
709 case QV4::CompiledData::Property::DateTime:
executed 206 times by 5 tests: case QV4::CompiledData::Property::DateTime:
Executed by:
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
206
710 *reinterpret_cast<QDateTime *>(a[0]) = readPropertyAsDateTime(id);-
711 break;
executed 206 times by 5 tests: break;
Executed by:
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
206
712 case QV4::CompiledData::Property::Rect:
executed 224 times by 4 tests: case QV4::CompiledData::Property::Rect:
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
224
713 *reinterpret_cast<QRectF *>(a[0]) = readPropertyAsRectF(id);-
714 break;
executed 224 times by 4 tests: break;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
224
715 case QV4::CompiledData::Property::Size:
executed 218 times by 4 tests: case QV4::CompiledData::Property::Size:
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
218
716 *reinterpret_cast<QSizeF *>(a[0]) = readPropertyAsSizeF(id);-
717 break;
executed 218 times by 4 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
218
718 case QV4::CompiledData::Property::Point:
executed 216 times by 4 tests: case QV4::CompiledData::Property::Point:
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
216
719 *reinterpret_cast<QPointF *>(a[0]) = readPropertyAsPointF(id);-
720 break;
executed 216 times by 4 tests: break;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
216
721 case QV4::CompiledData::Property::Custom:
executed 1272 times by 33 tests: case QV4::CompiledData::Property::Custom:
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
1272
722 *reinterpret_cast<QObject **>(a[0]) = readPropertyAsQObject(id);-
723 break;
executed 1272 times by 33 tests: break;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
1272
724 case QV4::CompiledData::Property::Variant:
executed 22648 times by 30 tests: case QV4::CompiledData::Property::Variant:
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickshadereffect
  • ...
22648
725 *reinterpret_cast<QVariant *>(a[0]) = readPropertyAsVariant(id);-
726 break;
executed 22648 times by 30 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquickshadereffect
  • ...
22648
727 case QV4::CompiledData::Property::CustomList: {
executed 114 times by 6 tests: case QV4::CompiledData::Property::CustomList:
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
114
728 QList<QObject *> *list = readPropertyAsList(id);-
729 QQmlListProperty<QObject> *p = static_cast<QQmlListProperty<QObject> *>(a[0]);-
730 *p = QQmlListProperty<QObject>(object, list,-
731 list_append, list_count, list_at,-
732 list_clear);-
733 p->dummy1 = this;-
734 p->dummy2 = reinterpret_cast<void *>(quintptr(methodOffset() + id));-
735 break;
executed 114 times by 6 tests: break;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickvisualdatamodel
114
736 }-
737 case QV4::CompiledData::Property::Font:
executed 256 times by 3 tests: case QV4::CompiledData::Property::Font:
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
256
738 case QV4::CompiledData::Property::Time:
never executed: case QV4::CompiledData::Property::Time:
0
739 case QV4::CompiledData::Property::Color:
executed 556 times by 11 tests: case QV4::CompiledData::Property::Color:
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
556
740 case QV4::CompiledData::Property::Vector2D:
executed 56 times by 1 test: case QV4::CompiledData::Property::Vector2D:
Executed by:
  • tst_qqmlvaluetypeproviders
56
741 case QV4::CompiledData::Property::Vector3D:
executed 44 times by 1 test: case QV4::CompiledData::Property::Vector3D:
Executed by:
  • tst_qqmlvaluetypeproviders
44
742 case QV4::CompiledData::Property::Vector4D:
executed 80 times by 1 test: case QV4::CompiledData::Property::Vector4D:
Executed by:
  • tst_qqmlvaluetypeproviders
80
743 case QV4::CompiledData::Property::Matrix4x4:
executed 82 times by 1 test: case QV4::CompiledData::Property::Matrix4x4:
Executed by:
  • tst_qqmlvaluetypeproviders
82
744 case QV4::CompiledData::Property::Quaternion:
executed 42 times by 1 test: case QV4::CompiledData::Property::Quaternion:
Executed by:
  • tst_qqmlvaluetypeproviders
42
745 Q_ASSERT(fallbackMetaType != QMetaType::UnknownType);-
746 if (QV4::MemberData *md = propertyAndMethodStorageAsMemberData()) {
QV4::MemberDat...AsMemberData()Description
TRUEevaluated 1116 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEnever evaluated
0-1116
747 QVariant propertyAsVariant;-
748 if (const QV4::VariantObject *v = (md->data() + id)->as<QV4::VariantObject>())
const QV4::Var...riantObject>()Description
TRUEevaluated 948 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEevaluated 168 times by 3 tests
Evaluated by:
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
168-948
749 propertyAsVariant = v->d()->data();
executed 948 times by 12 tests: propertyAsVariant = v->d()->data();
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
948
750 QQml_valueTypeProvider()->readValueType(propertyAsVariant, a[0], fallbackMetaType);-
751 }
executed 1116 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
1116
752 break;
executed 1116 times by 12 tests: break;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
1116
753 case QV4::CompiledData::Property::Var:
never executed: case QV4::CompiledData::Property::Var:
0
754 Q_UNREACHABLE();-
755 }
never executed: end of block
0
756-
757 } else if (c == QMetaObject::WriteProperty) {
executed 137460 times by 92 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 143380 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEnever evaluated
0-143380
758-
759 switch(t) {-
760 case QV4::CompiledData::Property::Int:
executed 37080 times by 65 tests: case QV4::CompiledData::Property::Int:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
37080
761 needActivate = *reinterpret_cast<int *>(a[0]) != readPropertyAsInt(id);-
762 writeProperty(id, *reinterpret_cast<int *>(a[0]));-
763 break;
executed 37080 times by 65 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • ...
37080
764 case QV4::CompiledData::Property::Bool:
executed 18920 times by 67 tests: case QV4::CompiledData::Property::Bool:
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
18920
765 needActivate = *reinterpret_cast<bool *>(a[0]) != readPropertyAsBool(id);-
766 writeProperty(id, *reinterpret_cast<bool *>(a[0]));-
767 break;
executed 18920 times by 67 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypeproviders
  • ...
18920
768 case QV4::CompiledData::Property::Real:
executed 13715 times by 33 tests: case QV4::CompiledData::Property::Real:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
13715
769 needActivate = *reinterpret_cast<double *>(a[0]) != readPropertyAsDouble(id);-
770 writeProperty(id, *reinterpret_cast<double *>(a[0]));-
771 break;
executed 13715 times by 33 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcustomaffector
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
13715
772 case QV4::CompiledData::Property::String:
executed 49445 times by 47 tests: case QV4::CompiledData::Property::String:
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
49445
773 needActivate = *reinterpret_cast<QString *>(a[0]) != readPropertyAsString(id);-
774 writeProperty(id, *reinterpret_cast<QString *>(a[0]));-
775 break;
executed 49445 times by 47 tests: break;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
49445
776 case QV4::CompiledData::Property::Url:
executed 26 times by 5 tests: case QV4::CompiledData::Property::Url:
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
26
777 needActivate = *reinterpret_cast<QUrl *>(a[0]) != readPropertyAsUrl(id);-
778 writeProperty(id, *reinterpret_cast<QUrl *>(a[0]));-
779 break;
executed 26 times by 5 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlxmlhttprequest
26
780 case QV4::CompiledData::Property::Date:
never executed: case QV4::CompiledData::Property::Date:
0
781 needActivate = *reinterpret_cast<QDate *>(a[0]) != readPropertyAsDate(id);-
782 writeProperty(id, *reinterpret_cast<QDate *>(a[0]));-
783 break;
never executed: break;
0
784 case QV4::CompiledData::Property::DateTime:
executed 74 times by 6 tests: case QV4::CompiledData::Property::DateTime:
Executed by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
74
785 needActivate = *reinterpret_cast<QDateTime *>(a[0]) != readPropertyAsDateTime(id);-
786 writeProperty(id, *reinterpret_cast<QDateTime *>(a[0]));-
787 break;
executed 74 times by 6 tests: break;
Executed by:
  • tst_examples
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
74
788 case QV4::CompiledData::Property::Rect:
executed 90 times by 4 tests: case QV4::CompiledData::Property::Rect:
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
90
789 needActivate = *reinterpret_cast<QRectF *>(a[0]) != readPropertyAsRectF(id);-
790 writeProperty(id, *reinterpret_cast<QRectF *>(a[0]));-
791 break;
executed 90 times by 4 tests: break;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
90
792 case QV4::CompiledData::Property::Size:
executed 98 times by 4 tests: case QV4::CompiledData::Property::Size:
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
98
793 needActivate = *reinterpret_cast<QSizeF *>(a[0]) != readPropertyAsSizeF(id);-
794 writeProperty(id, *reinterpret_cast<QSizeF *>(a[0]));-
795 break;
executed 98 times by 4 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
98
796 case QV4::CompiledData::Property::Point:
executed 90 times by 4 tests: case QV4::CompiledData::Property::Point:
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
90
797 needActivate = *reinterpret_cast<QPointF *>(a[0]) != readPropertyAsPointF(id);-
798 writeProperty(id, *reinterpret_cast<QPointF *>(a[0]));-
799 break;
executed 90 times by 4 tests: break;
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
90
800 case QV4::CompiledData::Property::Custom:
executed 1359 times by 40 tests: case QV4::CompiledData::Property::Custom:
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • ...
1359
801 needActivate = *reinterpret_cast<QObject **>(a[0]) != readPropertyAsQObject(id);-
802 writeProperty(id, *reinterpret_cast<QObject **>(a[0]));-
803 break;
executed 1359 times by 40 tests: break;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qqmlvaluetypes
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • ...
1359
804 case QV4::CompiledData::Property::Variant:
executed 22009 times by 31 tests: case QV4::CompiledData::Property::Variant:
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
22009
805 writeProperty(id, *reinterpret_cast<QVariant *>(a[0]));-
806 break;
executed 22009 times by 31 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
22009
807 case QV4::CompiledData::Property::CustomList:
never executed: case QV4::CompiledData::Property::CustomList:
0
808 // Writing such a property is not supported. Content is added through the list property-
809 // methods.-
810 break;
never executed: break;
0
811 case QV4::CompiledData::Property::Font:
executed 52 times by 3 tests: case QV4::CompiledData::Property::Font:
Executed by:
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickapplication
52
812 case QV4::CompiledData::Property::Time:
never executed: case QV4::CompiledData::Property::Time:
0
813 case QV4::CompiledData::Property::Color:
executed 278 times by 11 tests: case QV4::CompiledData::Property::Color:
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
278
814 case QV4::CompiledData::Property::Vector2D:
executed 30 times by 1 test: case QV4::CompiledData::Property::Vector2D:
Executed by:
  • tst_qqmlvaluetypeproviders
30
815 case QV4::CompiledData::Property::Vector3D:
executed 26 times by 1 test: case QV4::CompiledData::Property::Vector3D:
Executed by:
  • tst_qqmlvaluetypeproviders
26
816 case QV4::CompiledData::Property::Vector4D:
executed 32 times by 1 test: case QV4::CompiledData::Property::Vector4D:
Executed by:
  • tst_qqmlvaluetypeproviders
32
817 case QV4::CompiledData::Property::Matrix4x4:
executed 38 times by 1 test: case QV4::CompiledData::Property::Matrix4x4:
Executed by:
  • tst_qqmlvaluetypeproviders
38
818 case QV4::CompiledData::Property::Quaternion:
executed 18 times by 1 test: case QV4::CompiledData::Property::Quaternion:
Executed by:
  • tst_qqmlvaluetypeproviders
18
819 Q_ASSERT(fallbackMetaType != QMetaType::UnknownType);-
820 if (QV4::MemberData *md = propertyAndMethodStorageAsMemberData()) {
QV4::MemberDat...AsMemberData()Description
TRUEevaluated 474 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEnever evaluated
0-474
821 const QV4::VariantObject *v = (md->data() + id)->as<QV4::VariantObject>();-
822 if (!v) {
!vDescription
TRUEevaluated 282 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
FALSEevaluated 192 times by 5 tests
Evaluated by:
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickdynamicpropertyanimation
  • tst_qquickstates
192-282
823 md->set(engine, id, engine->newVariantObject(QVariant()));-
824 v = (md->data() + id)->as<QV4::VariantObject>();-
825 QQml_valueTypeProvider()->initValueType(fallbackMetaType, v->d()->data());-
826 }
executed 282 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
282
827 needActivate = !QQml_valueTypeProvider()->equalValueType(fallbackMetaType, a[0], v->d()->data());-
828 QQml_valueTypeProvider()->writeValueType(fallbackMetaType, a[0], v->d()->data());-
829 }
executed 474 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
474
830 break;
executed 474 times by 12 tests: break;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickdynamicpropertyanimation
  • tst_qquickloader
  • tst_qquickstates
474
831 case QV4::CompiledData::Property::Var:
never executed: case QV4::CompiledData::Property::Var:
0
832 Q_UNREACHABLE();-
833 }
never executed: end of block
0
834 }
executed 143380 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
143380
835-
836 }
executed 280840 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
280840
837-
838 if (c == QMetaObject::WriteProperty && needActivate) {
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 143776 times by 98 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 141670 times by 92 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • ...
needActivateDescription
TRUEevaluated 93792 times by 93 tests
Evaluated by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
FALSEevaluated 49984 times by 82 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • 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_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
49984-143776
839 activate(object, methodOffset() + id, nullptr);-
840 }
executed 93792 times by 93 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
93792
841-
842 return -1;
executed 285446 times by 98 tests: return -1;
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
285446
843 }-
844-
845 id -= propertyCount;-
846-
847 if (id < aliasCount) {
id < aliasCountDescription
TRUEevaluated 4860 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
FALSEnever evaluated
0-4860
848 const QV4::CompiledData::Alias *aliasData = &compiledObject->aliasTable()[id];-
849-
850 if ((aliasData->flags & QV4::CompiledData::Alias::AliasPointsToPointerObject) && c == QMetaObject::ReadProperty)
(aliasData->fl...PointerObject)Description
TRUEevaluated 160 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
FALSEevaluated 4700 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
c == QMetaObject::ReadPropertyDescription
TRUEevaluated 150 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
10-4700
851 *reinterpret_cast<void **>(a[0]) = nullptr;
executed 150 times by 14 tests: *reinterpret_cast<void **>(a[0]) = nullptr;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
150
852-
853 if (!ctxt) return -1;
never executed: return -1;
!ctxtDescription
TRUEnever evaluated
FALSEevaluated 4860 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
0-4860
854-
855 while (aliasData->aliasToLocalAlias)
aliasData->aliasToLocalAliasDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qmldiskcache
FALSEevaluated 4860 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
4-4860
856 aliasData = &compiledObject->aliasTable()[aliasData->localAliasIndex];
executed 4 times by 1 test: aliasData = &compiledObject->aliasTable()[aliasData->localAliasIndex];
Executed by:
  • tst_qmldiskcache
4
857-
858 QQmlContext *context = ctxt->asQQmlContext();-
859 QQmlContextPrivate *ctxtPriv = QQmlContextPrivate::get(context);-
860-
861 QObject *target = ctxtPriv->data->idValues[aliasData->targetObjectId].data();-
862 if (!target)
!targetDescription
TRUEevaluated 14 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 4846 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
14-4846
863 return -1;
executed 14 times by 2 tests: return -1;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
14
864-
865 connectAlias(id);-
866-
867 if (aliasData->isObjectAlias()) {
aliasData->isObjectAlias()Description
TRUEevaluated 128 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
FALSEevaluated 4718 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
128-4718
868 *reinterpret_cast<QObject **>(a[0]) = target;-
869 return -1;
executed 128 times by 14 tests: return -1;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshortcut
  • tst_qquicktext
128
870 }-
871-
872 QQmlData *targetDData = QQmlData::get(target, /*create*/false);-
873 if (!targetDData)
!targetDDataDescription
TRUEnever evaluated
FALSEevaluated 4718 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
0-4718
874 return -1;
never executed: return -1;
0
875-
876 QQmlPropertyIndex encodedIndex = QQmlPropertyIndex::fromEncoded(aliasData->encodedMetaPropertyIndex);-
877 int coreIndex = encodedIndex.coreIndex();-
878 const int valueTypePropertyIndex = encodedIndex.valueTypeIndex();-
879-
880 // Remove binding (if any) on write-
881 if(c == QMetaObject::WriteProperty) {
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 1034 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 3684 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicktaphandler
  • tst_signalspy
1034-3684
882 int flags = *reinterpret_cast<int*>(a[3]);-
883 if (flags & QQmlPropertyData::RemoveBindingOnAliasWrite) {
flags & QQmlPr...ngOnAliasWriteDescription
TRUEevaluated 646 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qquickaccessible
  • tst_qquickshadereffect
  • tst_qquicktaphandler
FALSEevaluated 388 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qquickanimations
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_scenegraph
388-646
884 QQmlData *targetData = QQmlData::get(target);-
885 if (targetData && targetData->hasBindingBit(coreIndex))
targetDataDescription
TRUEevaluated 646 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qquickaccessible
  • tst_qquickshadereffect
  • tst_qquicktaphandler
FALSEnever evaluated
targetData->ha...Bit(coreIndex)Description
TRUEevaluated 18 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
FALSEevaluated 628 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickshadereffect
  • tst_qquicktaphandler
0-646
886 QQmlPropertyPrivate::removeBinding(target, encodedIndex);
executed 18 times by 2 tests: QQmlPropertyPrivate::removeBinding(target, encodedIndex);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
18
887 }
executed 646 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qquickaccessible
  • tst_qquickshadereffect
  • tst_qquicktaphandler
646
888 }
executed 1034 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
1034
889-
890 if (valueTypePropertyIndex != -1) {
valueTypePropertyIndex != -1Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlmetaobject
FALSEevaluated 4712 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
6-4712
891 if (!targetDData->propertyCache)
!targetDData->propertyCacheDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmlmetaobject
0-6
892 return -1;
never executed: return -1;
0
893 const QQmlPropertyData *pd = targetDData->propertyCache->property(coreIndex);-
894 // Value type property-
895 QQmlValueType *valueType = QQmlValueTypeFactory::valueType(pd->propType());-
896 Q_ASSERT(valueType);-
897-
898 valueType->read(target, coreIndex);-
899 int rv = QMetaObject::metacall(valueType, c, valueTypePropertyIndex, a);-
900-
901 if (c == QMetaObject::WriteProperty)
c == QMetaObje...:WritePropertyDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlmetaobject
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlmetaobject
2-4
902 valueType->write(target, coreIndex, nullptr);
executed 2 times by 1 test: valueType->write(target, coreIndex, nullptr);
Executed by:
  • tst_qqmlmetaobject
2
903-
904 return rv;
executed 6 times by 1 test: return rv;
Executed by:
  • tst_qqmlmetaobject
6
905-
906 } else {-
907 return QMetaObject::metacall(target, c, coreIndex, a);
executed 4712 times by 25 tests: return QMetaObject::metacall(target, c, coreIndex, a);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
  • tst_signalspy
4712
908 }-
909-
910 }-
911 return -1;
never executed: return -1;
0
912-
913 }-
914-
915 } else if(c == QMetaObject::InvokeMetaMethod) {
executed 129795 times by 83 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
c == QMetaObje...vokeMetaMethodDescription
TRUEevaluated 12047 times by 47 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • ...
FALSEnever evaluated
0-129795
916-
917 if (id >= methodOffset()) {
id >= methodOffset()Description
TRUEevaluated 5944 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • ...
FALSEevaluated 6103 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickrepeater
  • ...
5944-6103
918-
919 id -= methodOffset();-
920 int plainSignals = signalCount + propertyCount + aliasCount;-
921 if (id < plainSignals) {
id < plainSignalsDescription
TRUEevaluated 180 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquicktaphandler
  • tst_qquickworkerscript
  • tst_scenegraph
FALSEevaluated 5764 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
180-5764
922 activate(object, _id, a);-
923 return -1;
executed 180 times by 11 tests: return -1;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlqt
  • tst_qqmlxmlhttprequest
  • tst_qquicktaphandler
  • tst_qquickworkerscript
  • tst_scenegraph
180
924 }-
925-
926 id -= plainSignals;-
927-
928 if (id < methodCount) {
id < methodCountDescription
TRUEevaluated 5764 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
FALSEnever evaluated
0-5764
929 QQmlEngine *engine = ctxt->engine;-
930 if (!engine)
!engineDescription
TRUEnever evaluated
FALSEevaluated 5764 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
0-5764
931 return -1; // We can't run the method
never executed: return -1;
0
932-
933 QQmlEnginePrivate *ep = QQmlEnginePrivate::get(engine);-
934 QV4::ExecutionEngine *v4 = engine->handle();-
935 ep->referenceScarceResources(); // "hold" scarce resources in memory during evaluation.-
936 QV4::Scope scope(v4);-
937-
938-
939 QV4::ScopedFunctionObject function(scope, method(id));-
940 if (!function) {
!functionDescription
TRUEnever evaluated
FALSEevaluated 5764 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
0-5764
941 // The function was not compiled. There are some exceptional cases which the-
942 // expression rewriter does not rewrite properly (e.g., \r-terminated lines-
943 // are not rewritten correctly but this bug is deemed out-of-scope to fix for-
944 // performance reasons; see QTBUG-24064) and thus compilation will have failed.-
945 QQmlError e;-
946 e.setDescription(QLatin1String("Exception occurred during compilation of "-
947 "function: ")-
948 + QString::fromUtf8(QMetaObject::method(_id)-
949 .methodSignature()));-
950 ep->warning(e);-
951 return -1; // The dynamic method with that id is not available.
never executed: return -1;
0
952 }-
953-
954 const unsigned int parameterCount = function->formalParameterCount();-
955 QV4::JSCallData jsCallData(scope, parameterCount);-
956 *jsCallData->thisObject = v4->global();-
957-
958 for (uint ii = 0; ii < parameterCount; ++ii)
ii < parameterCountDescription
TRUEevaluated 7088 times by 11 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qquickapplication
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickworkerscript
FALSEevaluated 5764 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
5764-7088
959 jsCallData->args[ii] = scope.engine->fromVariant(*(QVariant *)a[ii + 1]);
executed 7088 times by 11 tests: jsCallData->args[ii] = scope.engine->fromVariant(*(QVariant *)a[ii + 1]);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qquickapplication
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickworkerscript
7088
960-
961 QV4::ScopedValue result(scope, function->call(jsCallData));-
962 if (scope.hasException()) {
scope.hasException()Description
TRUEevaluated 38 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickitem2
FALSEevaluated 5726 times by 34 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
38-5726
963 QQmlError error = scope.engine->catchExceptionAsQmlError();-
964 if (error.isValid())
error.isValid()Description
TRUEevaluated 38 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickitem2
FALSEnever evaluated
0-38
965 ep->warning(error);
executed 38 times by 3 tests: ep->warning(error);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickitem2
38
966 if (a[0]) *(QVariant *)a[0] = QVariant();
never executed: *(QVariant *)a[0] = QVariant();
a[0]Description
TRUEnever evaluated
FALSEevaluated 38 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickitem2
0-38
967 } else {
executed 38 times by 3 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickitem2
38
968 if (a[0]) *(QVariant *)a[0] = scope.engine->toVariant(result, 0);
executed 2818 times by 11 tests: *(QVariant *)a[0] = scope.engine->toVariant(result, 0);
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickworkerscript
a[0]Description
TRUEevaluated 2818 times by 11 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickworkerscript
FALSEevaluated 2908 times by 31 tests
Evaluated by:
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • ...
2818-2908
969 }
executed 5726 times by 34 tests: end of block
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
5726
970-
971 ep->dereferenceScarceResources(); // "release" scarce resources if top-level expression evaluation is complete.-
972 return -1;
executed 5764 times by 34 tests: return -1;
Executed by:
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickbehaviors
  • tst_qquickcustomparticle
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • ...
5764
973 }-
974 return -1;
never executed: return -1;
0
975 }-
976 }
executed 6103 times by 32 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickrepeater
  • ...
6103
977-
978 if (parent.isT1())
parent.isT1()Description
TRUEevaluated 3474 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 132424 times by 81 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
3474-132424
979 return parent.asT1()->metaCall(object, c, _id, a);
executed 3474 times by 13 tests: return parent.asT1()->metaCall(object, c, _id, a);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_qrcqml
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
3474
980 else-
981 return object->qt_metacall(c, _id, a);
executed 132424 times by 81 tests: return object->qt_metacall(c, _id, a);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
132424
982}-
983#if defined(Q_OS_WINRT) && defined(_M_ARM)-
984#pragma optimize("", on)-
985#endif-
986-
987QV4::ReturnedValue QQmlVMEMetaObject::method(int index) const-
988{-
989 if (!ctxt || !ctxt->isValid() || !compiledObject) {
!ctxtDescription
TRUEnever evaluated
FALSEevaluated 116521 times by 52 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
!ctxt->isValid()Description
TRUEnever evaluated
FALSEevaluated 116521 times by 52 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
!compiledObjectDescription
TRUEnever evaluated
FALSEevaluated 116521 times by 52 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
0-116521
990 qWarning("QQmlVMEMetaObject: Internal error - attempted to evaluate a function in an invalid context");-
991 return QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
992 }-
993-
994 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
995 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 116521 times by 52 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
0-116521
996 return QV4::Encode::undefined();
never executed: return QV4::Encode::undefined();
0
997-
998 return (md->data() + index + compiledObject->nProperties)->asReturnedValue();
executed 116521 times by 52 tests: return (md->data() + index + compiledObject->nProperties)->asReturnedValue();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
116521
999}-
1000-
1001QV4::ReturnedValue QQmlVMEMetaObject::readVarProperty(int id) const-
1002{-
1003 Q_ASSERT(compiledObject && compiledObject->propertyTable()[id].type == QV4::CompiledData::Property::Var);-
1004-
1005 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1006 if (md)
mdDescription
TRUEevaluated 48375 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEnever evaluated
0-48375
1007 return (md->data() + id)->asReturnedValue();
executed 48375 times by 22 tests: return (md->data() + id)->asReturnedValue();
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
48375
1008 return QV4::Primitive::undefinedValue().asReturnedValue();
never executed: return QV4::Primitive::undefinedValue().asReturnedValue();
0
1009}-
1010-
1011QVariant QQmlVMEMetaObject::readPropertyAsVariant(int id) const-
1012{-
1013 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1014 if (md) {
mdDescription
TRUEevaluated 27246 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickfontloader
  • ...
FALSEnever evaluated
0-27246
1015 const QV4::QObjectWrapper *wrapper = (md->data() + id)->as<QV4::QObjectWrapper>();-
1016 if (wrapper)
wrapperDescription
TRUEevaluated 422 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 26824 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • ...
422-26824
1017 return QVariant::fromValue(wrapper->object());
executed 422 times by 22 tests: return QVariant::fromValue(wrapper->object());
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_testfiltering
422
1018 const QV4::VariantObject *v = (md->data() + id)->as<QV4::VariantObject>();-
1019 if (v)
vDescription
TRUEevaluated 22272 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEevaluated 4552 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickcustomparticle
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
4552-22272
1020 return v->d()->data();
executed 22272 times by 22 tests: return v->d()->data();
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
22272
1021 return engine->toVariant(*(md->data() + id), -1);
executed 4552 times by 27 tests: return engine->toVariant(*(md->data() + id), -1);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickcustomparticle
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
4552
1022 }-
1023 return QVariant();
never executed: return QVariant();
0
1024}-
1025-
1026void QQmlVMEMetaObject::writeVarProperty(int id, const QV4::Value &value)-
1027{-
1028 Q_ASSERT(compiledObject && compiledObject->propertyTable()[id].type == QV4::CompiledData::Property::Var);-
1029-
1030 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1031 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 15366 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
0-15366
1032 return;
never executed: return;
0
1033-
1034 // Importantly, if the current value is a scarce resource, we need to ensure that it-
1035 // gets automatically released by the engine if no other references to it exist.-
1036 const QV4::VariantObject *oldVariant = (md->data() + id)->as<QV4::VariantObject>();-
1037 if (oldVariant)
oldVariantDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 15364 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
2-15364
1038 oldVariant->removeVmePropertyReference();
executed 2 times by 1 test: oldVariant->removeVmePropertyReference();
Executed by:
  • tst_qqmlecmascript
2
1039-
1040 QObject *valueObject = nullptr;-
1041 QQmlVMEVariantQObjectPtr *guard = getQObjectGuardForProperty(id);-
1042-
1043 // And, if the new value is a scarce resource, we need to ensure that it does not get-
1044 // automatically released by the engine until no other references to it exist.-
1045 if (QV4::VariantObject *v = const_cast<QV4::VariantObject*>(value.as<QV4::VariantObject>())) {
QV4::VariantOb...iantObject>())Description
TRUEevaluated 52 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 15314 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
52-15314
1046 v->addVmePropertyReference();-
1047 } else if (QV4::QObjectWrapper *wrapper = const_cast<QV4::QObjectWrapper*>(value.as<QV4::QObjectWrapper>())) {
executed 52 times by 1 test: end of block
Executed by:
  • tst_qqmlecmascript
QV4::QObjectWr...ectWrapper>())Description
TRUEevaluated 196 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 15118 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • ...
52-15118
1048 // We need to track this QObject to signal its deletion-
1049 valueObject = wrapper->object();-
1050-
1051 // Do we already have a QObject guard for this property?-
1052 if (valueObject && !guard) {
valueObjectDescription
TRUEevaluated 196 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEnever evaluated
!guardDescription
TRUEevaluated 186 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlitemmodels
0-196
1053 guard = new QQmlVMEVariantQObjectPtr();-
1054 varObjectGuards.append(guard);-
1055 }
executed 186 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
186
1056 }
executed 196 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
196
1057-
1058 if (guard)
guardDescription
TRUEevaluated 220 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 15146 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • ...
220-15146
1059 guard->setGuardedValue(valueObject, this, id);
executed 220 times by 11 tests: guard->setGuardedValue(valueObject, this, id);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
220
1060-
1061 // Write the value and emit change signal as appropriate.-
1062 md->set(engine, id, value);-
1063 activate(object, methodOffset() + id, nullptr);-
1064}
executed 15366 times by 30 tests: end of block
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
15366
1065-
1066void QQmlVMEMetaObject::writeProperty(int id, const QVariant &value)-
1067{-
1068 if (compiledObject && compiledObject->propertyTable()[id].type == QV4::CompiledData::Property::Var) {
compiledObjectDescription
TRUEevaluated 22403 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • ...
FALSEnever evaluated
compiledObject...:Property::VarDescription
TRUEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
FALSEevaluated 22009 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
0-22403
1069 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1070 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
0-394
1071 return;
never executed: return;
0
1072-
1073 // Importantly, if the current value is a scarce resource, we need to ensure that it-
1074 // gets automatically released by the engine if no other references to it exist.-
1075 const QV4::VariantObject *oldv = (md->data() + id)->as<QV4::VariantObject>();-
1076 if (oldv)
oldvDescription
TRUEnever evaluated
FALSEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
0-394
1077 oldv->removeVmePropertyReference();
never executed: oldv->removeVmePropertyReference();
0
1078-
1079 // And, if the new value is a scarce resource, we need to ensure that it does not get-
1080 // automatically released by the engine until no other references to it exist.-
1081 QV4::Scope scope(engine);-
1082 QV4::ScopedValue newv(scope, engine->fromVariant(value));-
1083 QV4::Scoped<QV4::VariantObject> v(scope, newv);-
1084 if (!!v)
!!vDescription
TRUEnever evaluated
FALSEevaluated 394 times by 6 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
0-394
1085 v->addVmePropertyReference();
never executed: v->addVmePropertyReference();
0
1086-
1087 // Write the value and emit change signal as appropriate.-
1088 QVariant currentValue = readPropertyAsVariant(id);-
1089 md->set(engine, id, newv);-
1090 if ((currentValue.userType() != value.userType() || currentValue != value))
currentValue.u...lue.userType()Description
TRUEevaluated 314 times by 5 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickpositioners
FALSEevaluated 80 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qquickdynamicpropertyanimation
currentValue != valueDescription
TRUEevaluated 36 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qquickdynamicpropertyanimation
FALSEevaluated 44 times by 3 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qquickdynamicpropertyanimation
36-314
1091 activate(object, methodOffset() + id, nullptr);
executed 350 times by 6 tests: activate(object, methodOffset() + id, nullptr);
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
350
1092 } else {
executed 394 times by 6 tests: end of block
Executed by:
  • tst_qqmlecmascript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlsettings
  • tst_qquickdynamicpropertyanimation
  • tst_qquickpositioners
394
1093 bool needActivate = false;-
1094 if (value.userType() == QMetaType::QObjectStar) {
value.userType...e::QObjectStarDescription
TRUEevaluated 224 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 21785 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
224-21785
1095 QObject *o = *(QObject *const *)value.data();-
1096 needActivate = readPropertyAsQObject(id) != o; // TODO: still correct?-
1097 writeProperty(id, o);-
1098 } else {
executed 224 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickfontloader
  • tst_qquickitemlayer
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
224
1099 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1100 if (md) {
mdDescription
TRUEevaluated 21785 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEnever evaluated
0-21785
1101 const QV4::VariantObject *v = (md->data() + id)->as<QV4::VariantObject>();-
1102 needActivate = (!v ||
!vDescription
TRUEevaluated 17568 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEevaluated 4217 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
4217-17568
1103 v->d()->data().userType() != value.userType() ||
v->d()->data()...lue.userType()Description
TRUEevaluated 100 times by 5 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlvaluetypes
  • tst_qquickdroparea
  • tst_qquickworkerscript
FALSEevaluated 4117 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
100-4117
1104 v->d()->data() != value);
v->d()->data() != valueDescription
TRUEevaluated 4043 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 74 times by 4 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickdroparea
  • tst_qquickpincharea
  • tst_qquicktext
74-4043
1105 if (v)
vDescription
TRUEevaluated 4217 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
FALSEevaluated 17568 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
4217-17568
1106 v->removeVmePropertyReference();
executed 4217 times by 17 tests: v->removeVmePropertyReference();
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
4217
1107 md->set(engine, id, engine->newVariantObject(value));-
1108 v = static_cast<const QV4::VariantObject *>(md->data() + id);-
1109 v->addVmePropertyReference();-
1110 }
executed 21785 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
21785
1111 }
executed 21785 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickworkerscript
21785
1112-
1113 if (needActivate)
needActivateDescription
TRUEevaluated 21935 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
FALSEevaluated 74 times by 4 tests
Evaluated by:
  • tst_qqmlvaluetypes
  • tst_qquickdroparea
  • tst_qquickpincharea
  • tst_qquicktext
74-21935
1114 activate(object, methodOffset() + id, nullptr);
executed 21935 times by 31 tests: activate(object, methodOffset() + id, nullptr);
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
21935
1115 }
executed 22009 times by 31 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlqt
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickpincharea
  • tst_qquickrepeater
  • tst_qquickscreen
  • ...
22009
1116}-
1117-
1118QV4::ReturnedValue QQmlVMEMetaObject::vmeMethod(int index) const-
1119{-
1120 if (index < methodOffset()) {
index < methodOffset()Description
TRUEevaluated 10647 times by 5 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 110757 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • ...
10647-110757
1121 Q_ASSERT(parentVMEMetaObject());-
1122 return parentVMEMetaObject()->vmeMethod(index);
executed 10647 times by 5 tests: return parentVMEMetaObject()->vmeMethod(index);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
10647
1123 }-
1124 if (!compiledObject)
!compiledObjectDescription
TRUEnever evaluated
FALSEevaluated 110757 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • ...
0-110757
1125 return QV4::Primitive::undefinedValue().asReturnedValue();
never executed: return QV4::Primitive::undefinedValue().asReturnedValue();
0
1126 const int plainSignals = compiledObject->nSignals + compiledObject->nProperties + compiledObject->nAliases;-
1127 Q_ASSERT(index >= (methodOffset() + plainSignals) && index < (methodOffset() + plainSignals + int(compiledObject->nFunctions)));-
1128 return method(index - methodOffset() - plainSignals);
executed 110757 times by 31 tests: return method(index - methodOffset() - plainSignals);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlitemmodels
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • ...
110757
1129}-
1130-
1131// Used by debugger-
1132void QQmlVMEMetaObject::setVmeMethod(int index, const QV4::Value &function)-
1133{-
1134 if (index < methodOffset()) {
index < methodOffset()Description
TRUEnever evaluated
FALSEevaluated 32632 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • ...
0-32632
1135 Q_ASSERT(parentVMEMetaObject());-
1136 return parentVMEMetaObject()->setVmeMethod(index, function);
never executed: return parentVMEMetaObject()->setVmeMethod(index, function);
0
1137 }-
1138 if (!compiledObject)
!compiledObjectDescription
TRUEnever evaluated
FALSEevaluated 32632 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • ...
0-32632
1139 return;
never executed: return;
0
1140 const int plainSignals = compiledObject->nSignals + compiledObject->nProperties + compiledObject->nAliases;-
1141 Q_ASSERT(index >= (methodOffset() + plainSignals) && index < (methodOffset() + plainSignals + int(compiledObject->nFunctions)));-
1142-
1143 int methodIndex = index - methodOffset() - plainSignals;-
1144 QV4::MemberData *md = propertyAndMethodStorageAsMemberData();-
1145 if (!md)
!mdDescription
TRUEnever evaluated
FALSEevaluated 32632 times by 54 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • ...
0-32632
1146 return;
never executed: return;
0
1147 md->set(engine, methodIndex + compiledObject->nProperties, function);-
1148}
executed 32632 times by 54 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • tst_qqmlvaluetypeproviders
  • ...
32632
1149-
1150QV4::ReturnedValue QQmlVMEMetaObject::vmeProperty(int index) const-
1151{-
1152 if (index < propOffset()) {
index < propOffset()Description
TRUEevaluated 8572 times by 4 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 48375 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
8572-48375
1153 Q_ASSERT(parentVMEMetaObject());-
1154 return parentVMEMetaObject()->vmeProperty(index);
executed 8572 times by 4 tests: return parentVMEMetaObject()->vmeProperty(index);
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
8572
1155 }-
1156 return readVarProperty(index - propOffset());
executed 48375 times by 22 tests: return readVarProperty(index - propOffset());
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllocale
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
48375
1157}-
1158-
1159void QQmlVMEMetaObject::setVMEProperty(int index, const QV4::Value &v)-
1160{-
1161 if (index < propOffset()) {
index < propOffset()Description
TRUEevaluated 1390 times by 5 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 15366 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
1390-15366
1162 Q_ASSERT(parentVMEMetaObject());-
1163 parentVMEMetaObject()->setVMEProperty(index, v);-
1164 return;
executed 1390 times by 5 tests: return;
Executed by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
1390
1165 }-
1166 return writeVarProperty(index - propOffset(), v);
executed 15366 times by 30 tests: return writeVarProperty(index - propOffset(), v);
Executed by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpositioners
  • ...
15366
1167}-
1168-
1169void QQmlVMEMetaObject::ensureQObjectWrapper()-
1170{-
1171 Q_ASSERT(cache);-
1172 QV4::QObjectWrapper::wrap(engine, object);-
1173}
executed 66335 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
66335
1174-
1175void QQmlVMEMetaObject::mark(QV4::MarkStack *markStack)-
1176{-
1177 if (engine != markStack->engine)
engine != markStack->engineDescription
TRUEnever evaluated
FALSEevaluated 8749 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
0-8749
1178 return;
never executed: return;
0
1179-
1180 propertyAndMethodStorage.markOnce(markStack);-
1181-
1182 if (QQmlVMEMetaObject *parent = parentVMEMetaObject())
QQmlVMEMetaObj...MEMetaObject()Description
TRUEevaluated 378 times by 5 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 8371 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
378-8371
1183 parent->mark(markStack);
executed 378 times by 5 tests: parent->mark(markStack);
Executed by:
  • tst_qqmlecmascript
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
378
1184}
executed 8749 times by 18 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
8749
1185-
1186bool QQmlVMEMetaObject::aliasTarget(int index, QObject **target, int *coreIndex, int *valueTypeIndex) const-
1187{-
1188 Q_ASSERT(compiledObject && (index >= propOffset() + int(compiledObject->nProperties)));-
1189-
1190 *target = nullptr;-
1191 *coreIndex = -1;-
1192 *valueTypeIndex = -1;-
1193-
1194 if (!ctxt)
!ctxtDescription
TRUEnever evaluated
FALSEevaluated 310 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
0-310
1195 return false;
never executed: return false;
0
1196-
1197 const int aliasId = index - propOffset() - compiledObject->nProperties;-
1198 const QV4::CompiledData::Alias *aliasData = &compiledObject->aliasTable()[aliasId];-
1199 *target = ctxt->idValues[aliasData->targetObjectId].data();-
1200 if (!*target)
!*targetDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
FALSEevaluated 306 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
4-306
1201 return false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qqmlecmascript
4
1202-
1203 if (!aliasData->isObjectAlias()) {
!aliasData->isObjectAlias()Description
TRUEevaluated 306 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
FALSEnever evaluated
0-306
1204 QQmlPropertyIndex encodedIndex = QQmlPropertyIndex::fromEncoded(aliasData->encodedMetaPropertyIndex);-
1205 *coreIndex = encodedIndex.coreIndex();-
1206 *valueTypeIndex = encodedIndex.valueTypeIndex();-
1207 }
executed 306 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
306
1208 return true;
executed 306 times by 6 tests: return true;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
306
1209}-
1210-
1211void QQmlVMEMetaObject::connectAlias(int aliasId)-
1212{-
1213 Q_ASSERT(compiledObject);-
1214 if (!aliasEndpoints)
!aliasEndpointsDescription
TRUEevaluated 952 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
FALSEevaluated 4204 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickloader
  • tst_qquickrectangle
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
952-4204
1215 aliasEndpoints = new QQmlVMEMetaObjectEndpoint[compiledObject->nAliases];
executed 952 times by 29 tests: aliasEndpoints = new QQmlVMEMetaObjectEndpoint[compiledObject->nAliases];
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
952
1216-
1217 const QV4::CompiledData::Alias *aliasData = &compiledObject->aliasTable()[aliasId];-
1218-
1219 QQmlVMEMetaObjectEndpoint *endpoint = aliasEndpoints + aliasId;-
1220 if (endpoint->metaObject.data()) {
endpoint->metaObject.data()Description
TRUEevaluated 3678 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_qquicktaphandler
  • tst_scenegraph
FALSEevaluated 1478 times by 29 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
1478-3678
1221 // already connected-
1222 Q_ASSERT(endpoint->metaObject.data() == this);-
1223 return;
executed 3678 times by 13 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlsettings
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquicklayouts
  • tst_qquicktaphandler
  • tst_scenegraph
3678
1224 }-
1225-
1226 endpoint->metaObject = this;-
1227 endpoint->connect(&ctxt->idValues[aliasData->targetObjectId].bindings);-
1228 endpoint->tryConnect();-
1229}
executed 1478 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickrectangle
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • ...
1478
1230-
1231void QQmlVMEMetaObject::connectAliasSignal(int index, bool indexInSignalRange)-
1232{-
1233 Q_ASSERT(compiledObject);-
1234 int aliasId = (index - (indexInSignalRange ? signalOffset() : methodOffset())) - compiledObject->nProperties;
indexInSignalRangeDescription
TRUEevaluated 47604 times by 59 tests
Evaluated 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
  • ...
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlenginedebugservice
8-47604
1235 if (aliasId < 0 || aliasId >= int(compiledObject->nAliases))
aliasId < 0Description
TRUEevaluated 47092 times by 59 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • 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
  • tst_qqmlvaluetypes
  • ...
FALSEevaluated 520 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_scenegraph
aliasId >= int...ect->nAliases)Description
TRUEevaluated 210 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_scenegraph
FALSEevaluated 310 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlecmascript
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
210-47092
1236 return;
executed 47302 times by 60 tests: return;
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
  • ...
47302
1237-
1238 connectAlias(aliasId);-
1239}
executed 310 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlecmascript
  • tst_qquickaccessible
  • tst_qquickbehaviors
  • tst_qquickdraghandler
310
1240-
1241/*! \internal-
1242 \a index is in the method index range (QMetaMethod::methodIndex()).-
1243*/-
1244void QQmlVMEMetaObject::activate(QObject *object, int index, void **args)-
1245{-
1246 QMetaObject::activate(object, signalOffset(), index - methodOffset(), args);-
1247}
executed 132897 times by 98 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • 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_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • ...
132897
1248-
1249QQmlVMEMetaObject *QQmlVMEMetaObject::getForProperty(QObject *o, int coreIndex)-
1250{-
1251 QQmlVMEMetaObject *vme = QQmlVMEMetaObject::get(o);-
1252 while (vme && vme->propOffset() > coreIndex)
vmeDescription
TRUEevaluated 314 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
FALSEnever evaluated
vme->propOffset() > coreIndexDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickbehaviors
FALSEevaluated 310 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
0-314
1253 vme = vme->parentVMEMetaObject();
executed 4 times by 1 test: vme = vme->parentVMEMetaObject();
Executed by:
  • tst_qquickbehaviors
4
1254-
1255 Q_ASSERT(vme);-
1256 return vme;
executed 310 times by 6 tests: return vme;
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmltypeloader
  • tst_qquickbehaviors
  • tst_qquickdraghandler
310
1257}-
1258-
1259QQmlVMEMetaObject *QQmlVMEMetaObject::getForMethod(QObject *o, int coreIndex)-
1260{-
1261 QQmlVMEMetaObject *vme = QQmlVMEMetaObject::get(o);-
1262 while (vme && vme->methodOffset() > coreIndex)
vmeDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlenginedebugservice
FALSEnever evaluated
vme->methodOff...() > coreIndexDescription
TRUEnever evaluated
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlenginedebugservice
0-8
1263 vme = vme->parentVMEMetaObject();
never executed: vme = vme->parentVMEMetaObject();
0
1264-
1265 Q_ASSERT(vme);-
1266 return vme;
executed 8 times by 1 test: return vme;
Executed by:
  • tst_qqmlenginedebugservice
8
1267}-
1268-
1269/*! \internal-
1270 \a coreIndex is in the signal index range (see QObjectPrivate::signalIndex()).-
1271 This is different from QMetaMethod::methodIndex().-
1272*/-
1273QQmlVMEMetaObject *QQmlVMEMetaObject::getForSignal(QObject *o, int coreIndex)-
1274{-
1275 QQmlVMEMetaObject *vme = QQmlVMEMetaObject::get(o);-
1276 while (vme && vme->signalOffset() > coreIndex)
vmeDescription
TRUEevaluated 48052 times by 59 tests
Evaluated 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
  • ...
FALSEnever evaluated
vme->signalOff...() > coreIndexDescription
TRUEevaluated 448 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_scenegraph
FALSEevaluated 47604 times by 59 tests
Evaluated 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
  • ...
0-48052
1277 vme = vme->parentVMEMetaObject();
executed 448 times by 8 tests: vme = vme->parentVMEMetaObject();
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_scenegraph
448
1278-
1279 Q_ASSERT(vme);-
1280 return vme;
executed 47604 times by 59 tests: return vme;
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
1281}-
1282-
1283QQmlVMEVariantQObjectPtr *QQmlVMEMetaObject::getQObjectGuardForProperty(int index) const-
1284{-
1285 QList<QQmlVMEVariantQObjectPtr *>::ConstIterator it = varObjectGuards.constBegin(), end = varObjectGuards.constEnd();-
1286 for ( ; it != end; ++it) {
it != endDescription
TRUEevaluated 3901 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlmetaobject
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qquickanimationcontroller
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickrepeater
  • ...
FALSEevaluated 16466 times by 59 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
3901-16466
1287 if ((*it)->m_index == index) {
(*it)->m_index == indexDescription
TRUEevaluated 483 times by 12 tests
Evaluated by:
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlmetaobject
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickrepeater
  • tst_qquickstates
FALSEevaluated 3418 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
483-3418
1288 return *it;
executed 483 times by 12 tests: return *it;
Executed by:
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlmetaobject
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickitem
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickrepeater
  • tst_qquickstates
483
1289 }-
1290 }
executed 3418 times by 25 tests: end of block
Executed by:
  • tst_examples
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • tst_qquickanimationcontroller
  • tst_qquickdroparea
  • tst_qquicklayouts
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qtqmlmodules
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
3418
1291-
1292 return nullptr;
executed 16466 times by 59 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltimer
  • ...
16466
1293}-
1294-
1295QT_END_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0