OpenCoverage

qqmlproperty.cpp

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

Generated by Squish Coco 4.2.0