OpenCoverage

qqmlvmemetaobject_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlvmemetaobject_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10class QQmlVMEMetaObject;-
11class QQmlVMEVariantQObjectPtr : public QQmlGuard<QObject>-
12{-
13public:-
14 inline QQmlVMEVariantQObjectPtr();-
15 inline ~QQmlVMEVariantQObjectPtr() override;-
16-
17 inline void objectDestroyed(QObject *) override;-
18 inline void setGuardedValue(QObject *obj, QQmlVMEMetaObject *target, int index);-
19-
20 QQmlVMEMetaObject *m_target;-
21 int m_index;-
22};-
23-
24-
25class __attribute__((visibility("default"))) QQmlInterceptorMetaObject : public QAbstractDynamicMetaObject-
26{-
27public:-
28 QQmlInterceptorMetaObject(QObject *obj, const QQmlRefPointer<QQmlPropertyCache> &cache);-
29 ~QQmlInterceptorMetaObject() override;-
30-
31 void registerInterceptor(QQmlPropertyIndex index, QQmlPropertyValueInterceptor *interceptor);-
32-
33 static QQmlInterceptorMetaObject *get(QObject *obj);-
34-
35 QAbstractDynamicMetaObject *toDynamicMetaObject(QObject *o) override;-
36-
37-
38 QQmlPropertyCache *propertyCache() const { return
never executed: return cache.data();
cache.data();
never executed: return cache.data();
}
0
39-
40 bool intercepts(QQmlPropertyIndex propertyIndex) const-
41 {-
42 for (auto it = interceptors; it
itDescription
TRUEevaluated 1064 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 150790 times by 76 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
; it = it->m_next) {
1064-150790
43 if (it->m_propertyIndex == propertyIndex
it->m_property... propertyIndexDescription
TRUEevaluated 470 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
FALSEevaluated 594 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
)
470-594
44 return
executed 470 times by 7 tests: return true;
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
true;
executed 470 times by 7 tests: return true;
Executed by:
  • tst_examples
  • tst_qqmlvaluetypes
  • tst_qquickanimatedimage
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquicksmoothedanimation
470
45 }
executed 594 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
594
46 if (auto parentInterceptor = ((parent.isT1()
parent.isT1()Description
TRUEevaluated 400 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 150390 times by 76 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
&& parent.flag()
parent.flag()Description
TRUEevaluated 396 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlecmascript
) ? static_cast<QQmlInterceptorMetaObject *>(parent.asT1()) : nullptr)
auto parentInt...()) : nullptr)Description
TRUEevaluated 396 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
FALSEevaluated 150394 times by 76 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
)
4-150394
47 return
executed 396 times by 9 tests: return parentInterceptor->intercepts(propertyIndex);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
parentInterceptor->intercepts(propertyIndex);
executed 396 times by 9 tests: return parentInterceptor->intercepts(propertyIndex);
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_testfiltering
396
48 return
executed 150394 times by 76 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
false;
executed 150394 times by 76 tests: return false;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
150394
49 }-
50-
51protected:-
52 int metaCall(QObject *o, QMetaObject::Call c, int id, void **a) override;-
53 bool intercept(QMetaObject::Call c, int id, void **a);-
54-
55public:-
56 QObject *object;-
57 QQmlRefPointer<QQmlPropertyCache> cache;-
58 QBiPointer<QDynamicMetaObjectData, const QMetaObject> parent;-
59-
60 QQmlPropertyValueInterceptor *interceptors;-
61 bool hasAssignedMetaObjectData;-
62};-
63-
64inline QQmlInterceptorMetaObject *QQmlInterceptorMetaObject::get(QObject *obj)-
65{-
66 if (obj
objDescription
TRUEevaluated 561133 times by 121 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • 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_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
FALSEnever evaluated
) {
0-561133
67 if (QQmlData *data = QQmlData::get(obj)
QQmlData *data...Data::get(obj)Description
TRUEevaluated 561133 times by 121 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • 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_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
FALSEnever evaluated
) {
0-561133
68 if (data->hasInterceptorMetaObject
data->hasInterceptorMetaObjectDescription
TRUEevaluated 151428 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
FALSEevaluated 409705 times by 101 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
)
151428-409705
69 return
executed 151428 times by 77 tests: return static_cast<QQmlInterceptorMetaObject *>(QObjectPrivate::get(obj)->metaObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
static_cast<QQmlInterceptorMetaObject *>(QObjectPrivate::get(obj)->metaObject);
executed 151428 times by 77 tests: return static_cast<QQmlInterceptorMetaObject *>(QObjectPrivate::get(obj)->metaObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • 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_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
151428
70 }
executed 409705 times by 101 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
409705
71 }
executed 409705 times by 101 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
409705
72-
73 return
executed 409705 times by 101 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
nullptr;
executed 409705 times by 101 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltimer
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
409705
74}-
75-
76class QQmlVMEMetaObjectEndpoint;-
77class __attribute__((visibility("default"))) QQmlVMEMetaObject : public QQmlInterceptorMetaObject-
78{-
79public:-
80 QQmlVMEMetaObject(QV4::ExecutionEngine *engine, QObject *obj, const QQmlRefPointer<QQmlPropertyCache> &cache, const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &qmlCompilationUnit, int qmlObjectId);-
81 ~QQmlVMEMetaObject() override;-
82-
83 bool aliasTarget(int index, QObject **target, int *coreIndex, int *valueTypeIndex) const;-
84 QV4::ReturnedValue vmeMethod(int index) const;-
85 void setVmeMethod(int index, const QV4::Value &function);-
86 QV4::ReturnedValue vmeProperty(int index) const;-
87 void setVMEProperty(int index, const QV4::Value &v);-
88-
89 void connectAliasSignal(int index, bool indexInSignalRange);-
90-
91 static inline QQmlVMEMetaObject *get(QObject *o);-
92 static QQmlVMEMetaObject *getForProperty(QObject *o, int coreIndex);-
93 static QQmlVMEMetaObject *getForMethod(QObject *o, int coreIndex);-
94 static QQmlVMEMetaObject *getForSignal(QObject *o, int coreIndex);-
95-
96protected:-
97 int metaCall(QObject *o, QMetaObject::Call _c, int _id, void **_a) override;-
98-
99public:-
100 QV4::ExecutionEngine *engine;-
101 QQmlGuardedContextData ctxt;-
102-
103 inline int propOffset() const;-
104 inline int methodOffset() const;-
105 inline int signalOffset() const;-
106 inline int signalCount() const;-
107-
108 QQmlVMEMetaObjectEndpoint *aliasEndpoints;-
109-
110 QV4::WeakValue propertyAndMethodStorage;-
111 QV4::MemberData *propertyAndMethodStorageAsMemberData() const;-
112-
113 int readPropertyAsInt(int id) const;-
114 bool readPropertyAsBool(int id) const;-
115 double readPropertyAsDouble(int id) const;-
116 QString readPropertyAsString(int id) const;-
117 QSizeF readPropertyAsSizeF(int id) const;-
118 QPointF readPropertyAsPointF(int id) const;-
119 QUrl readPropertyAsUrl(int id) const;-
120 QDate readPropertyAsDate(int id) const;-
121 QDateTime readPropertyAsDateTime(int id);-
122 QRectF readPropertyAsRectF(int id) const;-
123 QObject *readPropertyAsQObject(int id) const;-
124 QList<QObject *> *readPropertyAsList(int id) const;-
125-
126 void writeProperty(int id, int v);-
127 void writeProperty(int id, bool v);-
128 void writeProperty(int id, double v);-
129 void writeProperty(int id, const QString& v);-
130 void writeProperty(int id, const QPointF& v);-
131 void writeProperty(int id, const QSizeF& v);-
132 void writeProperty(int id, const QUrl& v);-
133 void writeProperty(int id, const QDate& v);-
134 void writeProperty(int id, const QDateTime& v);-
135 void writeProperty(int id, const QRectF& v);-
136 void writeProperty(int id, QObject *v);-
137-
138 void ensureQObjectWrapper();-
139-
140 void mark(QV4::MarkStack *markStack);-
141-
142 void connectAlias(int aliasId);-
143-
144 QV4::ReturnedValue method(int) const;-
145-
146 QV4::ReturnedValue readVarProperty(int) const;-
147 void writeVarProperty(int, const QV4::Value &);-
148 QVariant readPropertyAsVariant(int) const;-
149 void writeProperty(int, const QVariant &);-
150-
151 inline QQmlVMEMetaObject *parentVMEMetaObject() const;-
152-
153 void activate(QObject *, int, void **);-
154-
155 QList<QQmlVMEVariantQObjectPtr *> varObjectGuards;-
156-
157 QQmlVMEVariantQObjectPtr *getQObjectGuardForProperty(int) const;-
158-
159-
160-
161-
162 QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit;-
163 const QV4::CompiledData::Object *compiledObject;-
164};-
165-
166QQmlVMEMetaObject *QQmlVMEMetaObject::get(QObject *obj)-
167{-
168 if (obj
objDescription
TRUEevaluated 890629 times by 135 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
FALSEnever evaluated
) {
0-890629
169 if (QQmlData *data = QQmlData::get(obj)
QQmlData *data...Data::get(obj)Description
TRUEevaluated 890629 times by 135 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
FALSEnever evaluated
) {
0-890629
170 if (data->hasVMEMetaObject
data->hasVMEMetaObjectDescription
TRUEevaluated 231711 times by 73 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlprofilerservice
  • ...
FALSEevaluated 658918 times by 135 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
)
231711-658918
171 return
executed 231711 times by 73 tests: return static_cast<QQmlVMEMetaObject *>(QObjectPrivate::get(obj)->metaObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlprofilerservice
  • ...
static_cast<QQmlVMEMetaObject *>(QObjectPrivate::get(obj)->metaObject);
executed 231711 times by 73 tests: return static_cast<QQmlVMEMetaObject *>(QObjectPrivate::get(obj)->metaObject);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlprofilerservice
  • ...
231711
172 }
executed 658918 times by 135 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
658918
173 }
executed 658918 times by 135 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
658918
174-
175 return
executed 658918 times by 135 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
nullptr;
executed 658918 times by 135 tests: return nullptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
658918
176}-
177-
178int QQmlVMEMetaObject::propOffset() const-
179{-
180 return
executed 848785 times by 99 tests: return cache->propertyOffset();
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
  • ...
cache->propertyOffset();
executed 848785 times by 99 tests: return cache->propertyOffset();
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
  • ...
848785
181}-
182-
183int QQmlVMEMetaObject::methodOffset() const-
184{-
185 return
executed 867836 times by 98 tests: return cache->methodOffset();
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
  • ...
cache->methodOffset();
executed 867836 times by 98 tests: return cache->methodOffset();
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
  • ...
867836
186}-
187-
188int QQmlVMEMetaObject::signalOffset() const-
189{-
190 return
executed 228553 times by 98 tests: return cache->signalOffset();
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
  • ...
cache->signalOffset();
executed 228553 times by 98 tests: return cache->signalOffset();
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
  • ...
228553
191}-
192-
193int QQmlVMEMetaObject::signalCount() const-
194{-
195 return
never executed: return cache->signalCount();
cache->signalCount();
never executed: return cache->signalCount();
0
196}-
197-
198QQmlVMEMetaObject *QQmlVMEMetaObject::parentVMEMetaObject() const-
199{-
200 if (parent.isT1()
parent.isT1()Description
TRUEevaluated 51869 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEevaluated 13617 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
&& parent.flag()
parent.flag()Description
TRUEevaluated 51869 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
FALSEnever evaluated
)
0-51869
201 return
executed 51869 times by 10 tests: return static_cast<QQmlVMEMetaObject *>(parent.asT1());
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
static_cast<QQmlVMEMetaObject *>(parent.asT1());
executed 51869 times by 10 tests: return static_cast<QQmlVMEMetaObject *>(parent.asT1());
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmlinfo
  • tst_qqmlvaluetypes
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquicklayouts
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
51869
202-
203 return
executed 13617 times by 23 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
nullptr;
executed 13617 times by 23 tests: return nullptr;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickanimationcontroller
  • tst_qquickbehaviors
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquicktaphandler
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
13617
204}-
205-
206-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0