Line | Source | Count |
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 | | - |
13 | QQmlProperty::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 | | - |
19 | QQmlProperty::~QQmlProperty() | - |
20 | { | - |
21 | if (dTRUE | evaluated 290052 times by 46 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
| FALSE | evaluated 14694 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
- tst_scenegraph
|
) | 14694-290052 |
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 | | - |
30 | QQmlProperty::QQmlProperty(QObject *obj) | - |
31 | : d(new QQmlPropertyPrivate) | - |
32 | { | - |
33 | d->initDefault(obj); | - |
34 | }executed 18 times by 1 test: end of block | 18 |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | QQmlProperty::QQmlProperty(QObject *obj, QQmlContext *ctxt) | - |
43 | : d(new QQmlPropertyPrivate) | - |
44 | { | - |
45 | d->context = ctxtTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
?QQmlContextData::get(ctxt):nullptr; | 0-4 |
46 | d->engine = ctxtTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
?ctxt->engine():nullptr; | 0-4 |
47 | d->initDefault(obj); | - |
48 | }executed 4 times by 1 test: end of block | 4 |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | QQmlProperty::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 | | - |
67 | void QQmlPropertyPrivate::initDefault(QObject *obj) | - |
68 | { | - |
69 | if (!objTRUE | never evaluated | FALSE | evaluated 22 times by 1 test |
) | 0-22 |
70 | return; never executed: return; | 0 |
71 | | - |
72 | QMetaProperty p = QQmlMetaType::defaultProperty(obj); | - |
73 | core.load(p); | - |
74 | if (core.isValid()TRUE | evaluated 12 times by 1 test | FALSE | evaluated 10 times by 1 test |
) | 10-12 |
75 | object = obj;executed 12 times by 1 test: object = obj; | 12 |
76 | }executed 22 times by 1 test: end of block | 22 |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | QQmlProperty::QQmlProperty(QObject *obj, const QString &name) | - |
82 | : d(new QQmlPropertyPrivate) | - |
83 | { | - |
84 | d->initProperty(obj, name); | - |
85 | if (!isValid()TRUE | evaluated 42 times by 5 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
| FALSE | evaluated 21360 times by 30 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
|
) 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 |
87 | QQmlProperty::QQmlProperty(QObject *obj, const QString &name, QQmlContext *ctxt) | - |
88 | : d(new QQmlPropertyPrivate) | - |
89 | { | - |
90 | d->context = ctxtTRUE | evaluated 21741 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
?QQmlContextData::get(ctxt):nullptr; | 36-21741 |
91 | d->engine = ctxtTRUE | evaluated 21741 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
?ctxt->engine():nullptr; | 36-21741 |
92 | d->initProperty(obj, name); | - |
93 | if (!isValid()TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 21767 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_scenegraph
|
) { 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 | | - |
101 | QQmlProperty::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()TRUE | never evaluated | FALSE | evaluated 21324 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
|
) { 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 | | - |
110 | QQmlProperty 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 = contextTRUE | evaluated 608 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qquickdesignersupport
|
? context->engine : nullptr; | 4-608 |
117 | d->initProperty(target, propertyName); | - |
118 | if (!result.isValid()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 608 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) { | 4-608 |
119 | d->object = nullptr; | - |
120 | d->context = nullptr; | - |
121 | d->engine = nullptr; | - |
122 | }executed 4 times by 1 test: end of block | 4 |
123 | returnexecuted 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 | | - |
126 | QQmlPropertyPrivate::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 | | - |
131 | QQmlContextData *QQmlPropertyPrivate::effectiveContext() const | - |
132 | { | - |
133 | if (contextTRUE | evaluated 54188 times by 26 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
- ...
| FALSE | evaluated 68362 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
|
) returnexecuted 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 (engineTRUE | evaluated 58944 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | evaluated 9418 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlincubator
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) returnexecuted 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 returnexecuted 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 | | - |
138 | void QQmlPropertyPrivate::initProperty(QObject *obj, const QString &name) | - |
139 | { | - |
140 | if (!objTRUE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
| FALSE | evaluated 65097 times by 43 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- ...
|
) return;executed 18 times by 3 tests: return; Executed by:- tst_qqmlproperty
- tst_qquickstates
- tst_qtqmlmodules
| 18-65097 |
141 | | - |
142 | QQmlRefPointer<QQmlTypeNameCache> typeNameCache = contextTRUE | evaluated 22349 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- ...
| FALSE | evaluated 42748 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- ...
|
?context->imports:nullptr; | 22349-42748 |
143 | | - |
144 | QObject *currentObject = obj; | - |
145 | QVector<QStringRef> path; | - |
146 | QStringRef terminal(&name); | - |
147 | | - |
148 | if (name.contains(QLatin1Char('.'))TRUE | evaluated 730 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 64367 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickdesignersupport
- ...
|
) { | 730-64367 |
149 | path = name.splitRef(QLatin1Char('.')); | - |
150 | if (path.isEmpty()TRUE | never evaluated | FALSE | evaluated 730 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
) return;never executed: return; | 0-730 |
151 | | - |
152 | | - |
153 | for (int ii = 0; ii < path.count() - 1TRUE | evaluated 734 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 684 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
|
; ++ii) { | 684-734 |
154 | const QStringRef &pathName = path.at(ii); | - |
155 | | - |
156 | | - |
157 | | - |
158 | if (typeNameCache && !pathName.isEmpty()TRUE | evaluated 368 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | never evaluated |
&& pathName.at(0).isUpper()TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 106 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquickstates
|
) { | 0-368 |
159 | QQmlTypeNameCache::Result r = typeNameCache->query(pathName); | - |
160 | if (r.isValid()TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | never evaluated |
) { | 0-262 |
161 | if (r.type.isValid()TRUE | evaluated 256 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickstates
| FALSE | evaluated 6 times by 1 test |
) { | 6-256 |
162 | QQmlEnginePrivate *enginePrivate = QQmlEnginePrivate::get(engine); | - |
163 | QQmlAttachedPropertiesFunc func = r.type.attachedPropertiesFunction(enginePrivate); | - |
164 | if (!funcTRUE | never evaluated | FALSE | evaluated 256 times by 7 testsEvaluated 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 (!currentObjectTRUE | never evaluated | FALSE | evaluated 256 times by 7 testsEvaluated 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.importNamespaceTRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
) { | 0-256 |
169 | if ((TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
ii + 1) == path.count()TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) return;never executed: return; | 0-6 |
170 | | - |
171 | ++ii; r = typeNameCache->query(path.at(ii), r.importNamespace); | - |
172 | if (!r.type.isValid()TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) return;never executed: return; | 0-6 |
173 | | - |
174 | QQmlEnginePrivate *enginePrivate = QQmlEnginePrivate::get(engine); | - |
175 | QQmlAttachedPropertiesFunc func = r.type.attachedPropertiesFunction(enginePrivate); | - |
176 | if (!funcTRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) return;never executed: return; | 0-6 |
177 | | - |
178 | currentObject = qmlAttachedPropertiesObjectById(r.type.attachedPropertiesId(enginePrivate), currentObject); | - |
179 | if (!currentObjectTRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) return;never executed: return; | 0-6 |
180 | | - |
181 | }executed 6 times by 1 test: end of block else if (r.scriptIndex != -1TRUE | never evaluated | FALSE | never 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 (!propertyTRUE | never evaluated | FALSE | evaluated 472 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) return;never executed: return; | 0-472 |
196 | if (property->isFunction()TRUE | never evaluated | FALSE | evaluated 472 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) | 0-472 |
197 | return; never executed: return; | 0 |
198 | | - |
199 | if (ii == (path.count() - 2)TRUE | evaluated 468 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmlproperty
|
&& QQmlValueTypeFactory::isValueType(property->propType())TRUE | evaluated 46 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
| FALSE | evaluated 422 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) { | 4-468 |
200 | | - |
201 | const QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(property->propType()); | - |
202 | if (!valueTypeMetaObjectTRUE | never evaluated | FALSE | evaluated 46 times by 4 testsEvaluated 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 == -1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 42 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
|
) return;executed 4 times by 1 test: return; | 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()TRUE | never evaluated | FALSE | evaluated 426 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) | 0-426 |
221 | return; never executed: return; | 0 |
222 | | - |
223 | property->readProperty(currentObject, ¤tObject); | - |
224 | if (!currentObjectTRUE | never evaluated | FALSE | evaluated 426 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) 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() >= 3TRUE | evaluated 20918 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- ...
| FALSE | evaluated 44133 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquickvisualdatamodel
- tst_scenegraph
|
&& | 20918-44133 |
234 | terminal.at(0) == QLatin1Char('o')TRUE | evaluated 4672 times by 16 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_scenegraph
| FALSE | evaluated 16246 times by 37 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
|
&& | 4672-16246 |
235 | terminal.at(1) == QLatin1Char('n')TRUE | evaluated 198 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 4474 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
- tst_qquickimage
- tst_qquickpathview
- tst_scenegraph
|
&& | 198-4474 |
236 | terminal.at(2).isUpper()TRUE | evaluated 198 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
) { | 0-198 |
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 (ddataTRUE | evaluated 178 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 20 times by 1 test |
&& ddata->propertyCacheTRUE | evaluated 114 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 64 times by 1 test |
) { | 20-178 |
245 | | - |
246 | | - |
247 | QQmlPropertyData *d = ddata->propertyCache->property(signalName, currentObject, context); | - |
248 | while (dTRUE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
|
&& !d->isFunction()TRUE | never evaluated | FALSE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) | 0-100 |
249 | d = ddata->propertyCache->overrideData(d); never executed: d = ddata->propertyCache->overrideData(d); | 0 |
250 | | - |
251 | if (dTRUE | evaluated 100 times by 11 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlconnections
- tst_qqmlproperty
- tst_qquickstates
|
) { | 14-100 |
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"))TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 8 times by 1 test |
) { | 6-8 |
259 | const QStringRef propName = signalName.midRef(0, signalName.length() - 7); | - |
260 | QQmlPropertyData *d = ddata->propertyCache->property(propName, currentObject, context); | - |
261 | while (dTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
&& d->isFunction()TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
) | 0-6 |
262 | d = ddata->propertyCache->overrideData(d); never executed: d = ddata->propertyCache->overrideData(d); | 0 |
263 | | - |
264 | if (dTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never evaluated |
&& d->notifyIndex() != -1TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never 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 else { | 8 |
272 | QMetaMethod method = findSignalByName(currentObject->metaObject(), | - |
273 | signalName.toLatin1()); | - |
274 | if (method.isValid()TRUE | evaluated 80 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 4 times by 1 test |
) { | 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 | 4 |
280 | } | - |
281 | | - |
282 | | - |
283 | QQmlPropertyData local; | - |
284 | QQmlPropertyData *property = | - |
285 | QQmlPropertyCache::property(engine, currentObject, terminal, context, local); | - |
286 | if (propertyTRUE | evaluated 64831 times by 39 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | evaluated 34 times by 6 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickstates
|
&& !property->isFunction()TRUE | evaluated 64831 times by 39 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- ...
| FALSE | never 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 | | - |
299 | int 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 | returnexecuted 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 | | - |
309 | QQmlProperty::QQmlProperty(const QQmlProperty &other) | - |
310 | { | - |
311 | d = other.d; | - |
312 | if (dTRUE | evaluated 165774 times by 30 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 642 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
|
) | 642-165774 |
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 |
315 | QQmlProperty::PropertyTypeCategory QQmlProperty::propertyTypeCategory() const | - |
316 | { | - |
317 | returnexecuted 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 | | - |
320 | QQmlProperty::PropertyTypeCategory | - |
321 | QQmlPropertyPrivate::propertyTypeCategory() const | - |
322 | { | - |
323 | uint type = this->type(); | - |
324 | | - |
325 | if (isValueType()TRUE | never evaluated | FALSE | evaluated 110 times by 3 testsEvaluated 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::PropertyTRUE | evaluated 94 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 16 times by 1 test |
) { | 16-94 |
328 | int type = propertyType(); | - |
329 | if (type == QVariant::InvalidTRUE | never evaluated | FALSE | evaluated 94 times by 3 testsEvaluated 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)TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 48 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickdesignersupport
|
) | 46-48 |
332 | returnexecuted 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()TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmllistreference
- tst_qquickdesignersupport
|
) | 16-32 |
334 | returnexecuted 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()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qquickdesignersupport
|
) | 4-28 |
336 | returnexecuted 4 times by 1 test: return QQmlProperty::List; QQmlProperty::List;executed 4 times by 1 test: return QQmlProperty::List; | 4 |
337 | else | - |
338 | returnexecuted 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 | returnexecuted 16 times by 1 test: return QQmlProperty::InvalidCategory; QQmlProperty::InvalidCategory;executed 16 times by 1 test: return QQmlProperty::InvalidCategory; | 16 |
342 | } | - |
343 | | - |
344 | | - |
345 | | - |
346 | | - |
347 | | - |
348 | const char *QQmlProperty::propertyTypeName() const | - |
349 | { | - |
350 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 26 times by 1 test |
) | 2-26 |
351 | returnexecuted 2 times by 1 test: return nullptr; nullptr;executed 2 times by 1 test: return nullptr; | 2 |
352 | if (d->isValueType()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
) { | 2-24 |
353 | const QMetaObject *valueTypeMetaObject = QQmlValueTypeFactory::metaObjectForMetaType(d->core.propType()); | - |
354 | ((valueTypeMetaObject) ? static_cast<void>(0) : qt_assert("valueTypeMetaObject", __FILE__, 495)); | - |
355 | returnexecuted 2 times by 1 test: return valueTypeMetaObject->property(d->valueTypeData.coreIndex()).typeName(); valueTypeMetaObject->property(d->valueTypeData.coreIndex()).typeName();executed 2 times by 1 test: return valueTypeMetaObject->property(d->valueTypeData.coreIndex()).typeName(); | 2 |
356 | } else if (d->object && type() & PropertyTRUE | evaluated 8 times by 1 test | FALSE | evaluated 8 times by 1 test |
&& d->core.isValid()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
) { | 0-8 |
357 | returnexecuted 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).typeName(); d->object->metaObject()->property(d->core.coreIndex()).typeName();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).typeName(); | 8 |
358 | } else { | - |
359 | returnexecuted 16 times by 1 test: return nullptr; nullptr;executed 16 times by 1 test: return nullptr; | 16 |
360 | } | - |
361 | } | - |
362 | | - |
363 | | - |
364 | | - |
365 | | - |
366 | | - |
367 | bool QQmlProperty::operator==(const QQmlProperty &other) const | - |
368 | { | - |
369 | if (!dTRUE | evaluated 10 times by 1 test | FALSE | evaluated 32294 times by 20 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
|
|| !other.dTRUE | never evaluated | FALSE | evaluated 32294 times by 20 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
|
) | 0-32294 |
370 | returnexecuted 10 times by 1 test: return false; false;executed 10 times by 1 test: return false; | 10 |
371 | | - |
372 | | - |
373 | returnexecuted 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 | | - |
382 | int QQmlProperty::propertyType() const | - |
383 | { | - |
384 | returnexecuted 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 | | - |
387 | bool QQmlPropertyPrivate::isValueType() const | - |
388 | { | - |
389 | returnexecuted 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 | | - |
392 | int QQmlPropertyPrivate::propertyType() const | - |
393 | { | - |
394 | uint type = this->type(); | - |
395 | if (isValueType()TRUE | never evaluated | FALSE | evaluated 8132 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 0-8132 |
396 | return never executed: return valueTypeData.propType(); valueTypeData.propType();never executed: return valueTypeData.propType(); | 0 |
397 | } else if (type & QQmlProperty::PropertyTRUE | evaluated 8116 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktaphandler
- tst_scenegraph
| FALSE | evaluated 16 times by 1 test |
) { | 16-8116 |
398 | returnexecuted 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 | returnexecuted 16 times by 1 test: return QVariant::Invalid; QVariant::Invalid;executed 16 times by 1 test: return QVariant::Invalid; | 16 |
401 | } | - |
402 | } | - |
403 | | - |
404 | QQmlProperty::Type QQmlPropertyPrivate::type() const | - |
405 | { | - |
406 | if (core.isFunction()TRUE | evaluated 1164 times by 12 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qquickapplication
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 483714 times by 42 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- ...
|
) | 1164-483714 |
407 | returnexecuted 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()TRUE | evaluated 483450 times by 40 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- ...
| FALSE | evaluated 264 times by 7 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickstates
- tst_qtqmlmodules
|
) | 264-483450 |
409 | returnexecuted 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 | returnexecuted 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 | | - |
417 | QQmlProperty::Type QQmlProperty::type() const | - |
418 | { | - |
419 | returnexecuted 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 | | - |
425 | bool QQmlProperty::isProperty() const | - |
426 | { | - |
427 | returnexecuted 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 | | - |
433 | bool QQmlProperty::isSignalProperty() const | - |
434 | { | - |
435 | returnexecuted 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 | | - |
441 | QObject *QQmlProperty::object() const | - |
442 | { | - |
443 | returnexecuted 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 | | - |
449 | QQmlProperty &QQmlProperty::operator=(const QQmlProperty &other) | - |
450 | { | - |
451 | if (dTRUE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdesignersupport
| FALSE | evaluated 53883 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 52-53883 |
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 (dTRUE | evaluated 53679 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 256 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicksmoothedanimation
- tst_qquickstates
|
) | 256-53679 |
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 | returnexecuted 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 | | - |
463 | bool QQmlProperty::isWritable() const | - |
464 | { | - |
465 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 145171 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 2-145171 |
466 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
467 | if (!d->objectTRUE | evaluated 8 times by 1 test | FALSE | evaluated 145163 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 8-145163 |
468 | returnexecuted 8 times by 1 test: return false; false;executed 8 times by 1 test: return false; | 8 |
469 | if (d->core.isQList()TRUE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 145131 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 32-145131 |
470 | returnexecuted 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()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 145123 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 8-145123 |
472 | returnexecuted 8 times by 1 test: return false; false;executed 8 times by 1 test: return false; | 8 |
473 | else if (d->core.isValid()TRUE | evaluated 145123 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | never evaluated |
) | 0-145123 |
474 | returnexecuted 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 | | - |
482 | bool QQmlProperty::isDesignable() const | - |
483 | { | - |
484 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
) | 2-24 |
485 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
486 | if (type() & PropertyTRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
&& d->core.isValid()TRUE | evaluated 8 times by 1 test | FALSE | never evaluated |
&& d->object) | 0-16 |
487 | returnexecuted 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).isDesignable(); d->object->metaObject()->property(d->core.coreIndex()).isDesignable();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).isDesignable(); | 8 |
488 | else | - |
489 | returnexecuted 16 times by 1 test: return false; false;executed 16 times by 1 test: return false; | 16 |
490 | } | - |
491 | | - |
492 | | - |
493 | | - |
494 | | - |
495 | bool QQmlProperty::isResettable() const | - |
496 | { | - |
497 | if (!dTRUE | evaluated 6 times by 1 test | FALSE | evaluated 68 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
|
) | 6-68 |
498 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
499 | if (type() & PropertyTRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 28 times by 1 test |
&& d->core.isValid()TRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | never evaluated |
&& d->object) | 0-40 |
500 | returnexecuted 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 | returnexecuted 32 times by 1 test: return false; false;executed 32 times by 1 test: return false; | 32 |
503 | } | - |
504 | | - |
505 | | - |
506 | | - |
507 | | - |
508 | | - |
509 | bool QQmlProperty::isValid() const | - |
510 | { | - |
511 | if (!dTRUE | evaluated 49268 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickflipable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qtqmlmodules
- tst_scenegraph
| FALSE | evaluated 141850 times by 45 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- ...
|
) | 49268-141850 |
512 | returnexecuted 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 | returnexecuted 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 | | - |
519 | QString QQmlProperty::name() const | - |
520 | { | - |
521 | if (!dTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 76079 times by 21 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
|
) | 6-76079 |
522 | returnexecuted 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->isNameCachedTRUE | evaluated 4908 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 71171 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquicksmoothedanimation
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktaphandler
|
) { | 4908-71171 |
524 | | - |
525 | if (!d->objectTRUE | evaluated 18 times by 1 test | FALSE | evaluated 4890 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
) { | 18-4890 |
526 | }executed 18 times by 1 test: end of block else if (d->isValueType()TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickbehaviors
| FALSE | evaluated 4882 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
) { | 8-4882 |
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() & SignalPropertyTRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | evaluated 4868 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
) { | 8-4868 |
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 | returnexecuted 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 | | - |
549 | QMetaProperty QQmlProperty::property() const | - |
550 | { | - |
551 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 98 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
|
) | 2-98 |
552 | returnexecuted 2 times by 1 test: return QMetaProperty(); QMetaProperty();executed 2 times by 1 test: return QMetaProperty(); | 2 |
553 | if (type() & PropertyTRUE | evaluated 82 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
| FALSE | evaluated 16 times by 1 test |
&& d->core.isValid()TRUE | evaluated 82 times by 2 testsEvaluated by:- tst_bindingdependencyapi
- tst_qqmlproperty
| FALSE | never evaluated |
&& d->object) | 0-82 |
554 | returnexecuted 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 | returnexecuted 16 times by 1 test: return QMetaProperty(); QMetaProperty();executed 16 times by 1 test: return QMetaProperty(); | 16 |
557 | } | - |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | | - |
563 | QMetaMethod QQmlProperty::method() const | - |
564 | { | - |
565 | if (!dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 1 test |
) | 2-24 |
566 | returnexecuted 2 times by 1 test: return QMetaMethod(); QMetaMethod();executed 2 times by 1 test: return QMetaMethod(); | 2 |
567 | if (type() & SignalPropertyTRUE | evaluated 8 times by 1 test | FALSE | evaluated 16 times by 1 test |
&& d->object) | 8-16 |
568 | returnexecuted 8 times by 1 test: return d->object->metaObject()->method(d->core.coreIndex()); d->object->metaObject()->method(d->core.coreIndex());executed 8 times by 1 test: return d->object->metaObject()->method(d->core.coreIndex()); | 8 |
569 | else | - |
570 | returnexecuted 16 times by 1 test: return QMetaMethod(); QMetaMethod();executed 16 times by 1 test: return QMetaMethod(); | 16 |
571 | } | - |
572 | | - |
573 | | - |
574 | | - |
575 | | - |
576 | | - |
577 | QQmlAbstractBinding * | - |
578 | QQmlPropertyPrivate::binding(const QQmlProperty &that) | - |
579 | { | - |
580 | if (!that.dTRUE | evaluated 188 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 10370 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
|| !that.isProperty()TRUE | evaluated 16 times by 1 test | FALSE | evaluated 10354 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
|| !that.d->objectTRUE | evaluated 2 times by 1 test | FALSE | evaluated 10352 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickstates
|
) | 2-10370 |
581 | returnexecuted 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 | returnexecuted 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 | } | - |
586 | void | - |
587 | QQmlPropertyPrivate::setBinding(const QQmlProperty &that, QQmlAbstractBinding *newBinding) | - |
588 | { | - |
589 | if (!newBindingTRUE | never evaluated | FALSE | evaluated 110 times by 4 testsEvaluated 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.dTRUE | evaluated 2 times by 1 test | FALSE | evaluated 108 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
|| !that.isProperty()TRUE | evaluated 16 times by 1 test | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
|| !that.d->objectTRUE | never evaluated | FALSE | evaluated 92 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
|
) { | 0-108 |
595 | if (!newBinding->refTRUE | never evaluated | FALSE | evaluated 18 times by 1 test |
) | 0-18 |
596 | delete newBinding; never executed: delete newBinding; | 0 |
597 | return;executed 18 times by 1 test: return; | 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 | | - |
602 | static 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 (!dataTRUE | evaluated 96 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickvisualdatamodel
| FALSE | evaluated 48201 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
|| !data->hasBindingBit(coreIndex)TRUE | evaluated 47351 times by 84 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
) | 96-48201 |
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() != coreIndexTRUE | evaluated 404 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmltranslation
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
| FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
|| | 404-850 |
616 | oldBinding->targetPropertyIndex().hasValueTypeIndex()TRUE | never evaluated | FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
)) | 0-850 |
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 (!oldBindingTRUE | never evaluated | FALSE | evaluated 850 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
) | 0-850 |
620 | return; never executed: return; | 0 |
621 | | - |
622 | if (valueTypeIndex != -1TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| FALSE | evaluated 826 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
&& oldBinding->isValueTypeProxy()TRUE | evaluated 18 times by 1 test | FALSE | evaluated 6 times by 2 testsEvaluated 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); | 18 |
624 | | - |
625 | if (!oldBindingTRUE | evaluated 8 times by 1 test | FALSE | evaluated 842 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
|
) | 8-842 |
626 | return;executed 8 times by 1 test: return; | 8 |
627 | | - |
628 | if (!(flags & QQmlPropertyPrivate::DontEnable)TRUE | evaluated 824 times by 28 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- ...
| FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
|
) | 18-824 |
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 | | - |
633 | void 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 | | - |
638 | void 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 | | - |
648 | void QQmlPropertyPrivate::removeBinding(const QQmlProperty &that) | - |
649 | { | - |
650 | if (!that.dTRUE | evaluated 40 times by 3 testsEvaluated by:- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 470 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
|| !that.isProperty()TRUE | never evaluated | FALSE | evaluated 470 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
|| !that.d->objectTRUE | evaluated 2 times by 1 test | FALSE | evaluated 468 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickstates
|
) | 0-470 |
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 | | - |
656 | QQmlAbstractBinding * | - |
657 | QQmlPropertyPrivate::binding(QObject *object, QQmlPropertyIndex index) | - |
658 | { | - |
659 | findAliasTarget(object, index, &object, &index); | - |
660 | | - |
661 | QQmlData *data = QQmlData::get(object); | - |
662 | if (!dataTRUE | evaluated 16 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
| FALSE | evaluated 49821 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
) | 16-49821 |
663 | returnexecuted 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 < 0TRUE | never evaluated | FALSE | evaluated 49821 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
|| !data->hasBindingBit(coreIndex)TRUE | evaluated 49409 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- ...
| FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) | 0-49821 |
669 | returnexecuted 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 (bindingTRUE | evaluated 494 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
&& (binding->targetPropertyIndex().coreIndex() != coreIndexTRUE | evaluated 82 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
|| | 0-494 |
673 | binding->targetPropertyIndex().hasValueTypeIndex()TRUE | never evaluated | FALSE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
)) | 0-412 |
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 (bindingTRUE | evaluated 412 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
| FALSE | never evaluated |
&& valueTypeIndex != -1TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| FALSE | evaluated 398 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickstates
|
) { | 0-412 |
677 | if (binding->isValueTypeProxy()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 8 times by 2 testsEvaluated 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 | 6 |
680 | }executed 14 times by 2 tests: end of block Executed by:- tst_qqmlbinding
- tst_qqmlvaluetypes
| 14 |
681 | | - |
682 | returnexecuted 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 | | - |
685 | void QQmlPropertyPrivate::findAliasTarget(QObject *object, QQmlPropertyIndex bindingIndex, | - |
686 | QObject **targetObject, | - |
687 | QQmlPropertyIndex *targetBindingIndex) | - |
688 | { | - |
689 | QQmlData *data = QQmlData::get(object, false); | - |
690 | if (dataTRUE | evaluated 97496 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 112 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickvisualdatamodel
|
) { | 112-97496 |
691 | int coreIndex = bindingIndex.coreIndex(); | - |
692 | int valueTypeIndex = bindingIndex.valueTypeIndex(); | - |
693 | | - |
694 | QQmlPropertyData *propertyData = | - |
695 | data->propertyCacheTRUE | evaluated 97204 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 292 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickvisualdatamodel
|
?data->propertyCache->property(coreIndex):nullptr; | 292-97204 |
696 | if (propertyDataTRUE | evaluated 97204 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 292 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qquickanimations
- tst_qquickvisualdatamodel
|
&& propertyData->isAlias()TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
| FALSE | evaluated 97120 times by 87 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
) { | 84-97204 |
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)TRUE | evaluated 80 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickbehaviors
| FALSE | evaluated 4 times by 1 test |
) { | 4-80 |
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 != -1TRUE | never evaluated | FALSE | evaluated 80 times by 5 testsEvaluated 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 != -1TRUE | never evaluated | FALSE | evaluated 80 times by 5 testsEvaluated 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 | 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 | | - |
722 | void 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->propertyCacheTRUE | evaluated 608 times by 19 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| FALSE | never evaluated |
) { | 0-608 |
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)TRUE | evaluated 388 times by 18 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickstates
| FALSE | evaluated 220 times by 4 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qquickbehaviors
- tst_qquickdraghandler
|
) | 220-388 |
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 | | - |
751 | QQmlBoundSignalExpression * | - |
752 | QQmlPropertyPrivate::signalExpression(const QQmlProperty &that) | - |
753 | { | - |
754 | if (!(that.type() & QQmlProperty::SignalProperty)TRUE | evaluated 18 times by 1 test | FALSE | evaluated 74 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
) | 18-74 |
755 | returnexecuted 18 times by 1 test: return nullptr; nullptr;executed 18 times by 1 test: return nullptr; | 18 |
756 | | - |
757 | QQmlData *data = QQmlData::get(that.d->object); | - |
758 | if (!dataTRUE | never evaluated | FALSE | evaluated 74 times by 3 testsEvaluated 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 (signalHandlerTRUE | evaluated 64 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
&& signalHandler->signalIndex() != QQmlPropertyPrivate::get(that)->signalIndex()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 58 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
) | 6-64 |
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 (signalHandlerTRUE | evaluated 58 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
) | 16-58 |
767 | returnexecuted 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 | returnexecuted 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 | | - |
776 | void QQmlPropertyPrivate::setSignalExpression(const QQmlProperty &that, QQmlBoundSignalExpression *expr) | - |
777 | { | - |
778 | if (exprTRUE | evaluated 30 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 4-30 |
779 | expr->addref();executed 30 times by 1 test: expr->addref(); | 30 |
780 | QQmlPropertyPrivate::takeSignalExpression(that, expr); | - |
781 | }executed 34 times by 1 test: end of block | 34 |
782 | | - |
783 | | - |
784 | | - |
785 | | - |
786 | | - |
787 | void QQmlPropertyPrivate::takeSignalExpression(const QQmlProperty &that, | - |
788 | QQmlBoundSignalExpression *expr) | - |
789 | { | - |
790 | if (!(that.type() & QQmlProperty::SignalProperty)TRUE | evaluated 18 times by 1 test | FALSE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
) { | 18-52 |
791 | if (exprTRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
) | 0-18 |
792 | expr->release();executed 18 times by 1 test: expr->release(); | 18 |
793 | return;executed 18 times by 1 test: return; | 18 |
794 | } | - |
795 | | - |
796 | QQmlData *data = QQmlData::get(that.d->object, nullptr != expr); | - |
797 | if (!dataTRUE | never evaluated | FALSE | evaluated 52 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
|
) | 0-52 |
798 | return; never executed: return; | 0 |
799 | | - |
800 | QQmlBoundSignal *signalHandler = data->signalHandlers; | - |
801 | | - |
802 | while (signalHandlerTRUE | evaluated 34 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
&& signalHandler->signalIndex() != QQmlPropertyPrivate::get(that)->signalIndex()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
|
) | 6-34 |
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 (signalHandlerTRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qquickstates
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
|
) { | 24-28 |
806 | signalHandler->takeExpression(expr); | - |
807 | return;executed 28 times by 2 tests: return; Executed by:- tst_qqmlenginedebugservice
- tst_qquickstates
| 28 |
808 | } | - |
809 | | - |
810 | if (exprTRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qquickstates
| FALSE | never 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 | | - |
821 | QVariant QQmlProperty::read() const | - |
822 | { | - |
823 | if (!dTRUE | evaluated 44 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 96893 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
) | 44-96893 |
824 | returnexecuted 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->objectTRUE | evaluated 14 times by 1 test | FALSE | evaluated 96879 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
) | 14-96879 |
826 | returnexecuted 14 times by 1 test: return QVariant(); QVariant();executed 14 times by 1 test: return QVariant(); | 14 |
827 | | - |
828 | if (type() & SignalPropertyTRUE | evaluated 16 times by 1 test | FALSE | evaluated 96863 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
) { | 16-96863 |
829 | | - |
830 | returnexecuted 16 times by 1 test: return QVariant(); QVariant();executed 16 times by 1 test: return QVariant(); | 16 |
831 | | - |
832 | } else if (type() & PropertyTRUE | evaluated 96863 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
| FALSE | never evaluated |
) { | 0-96863 |
833 | | - |
834 | returnexecuted 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 | } | - |
839 | QVariant QQmlProperty::read(const QObject *object, const QString &name) | - |
840 | { | - |
841 | QQmlProperty p(const_cast<QObject *>(object), name); | - |
842 | returnexecuted 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 | } | - |
844 | QVariant QQmlProperty::read(const QObject *object, const QString &name, QQmlContext *ctxt) | - |
845 | { | - |
846 | QQmlProperty p(const_cast<QObject *>(object), name, ctxt); | - |
847 | returnexecuted 2 times by 1 test: return p.read(); p.read();executed 2 times by 1 test: return p.read(); | 2 |
848 | } | - |
849 | QVariant QQmlProperty::read(const QObject *object, const QString &name, QQmlEngine *engine) | - |
850 | { | - |
851 | QQmlProperty p(const_cast<QObject *>(object), name, engine); | - |
852 | returnexecuted 2 times by 1 test: return p.read(); p.read();executed 2 times by 1 test: return p.read(); | 2 |
853 | } | - |
854 | | - |
855 | QVariant QQmlPropertyPrivate::readValueProperty() | - |
856 | { | - |
857 | if (isValueType()TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_qqmlproperty
- tst_qqmlvaluetypes
- tst_qquickbehaviors
| FALSE | evaluated 96835 times by 33 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- ...
|
) { | 28-96835 |
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 | returnexecuted 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()TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickitem2
| FALSE | evaluated 96823 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 12-96823 |
865 | | - |
866 | QQmlListProperty<QObject> prop; | - |
867 | core.readProperty(object, &prop); | - |
868 | returnexecuted 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()TRUE | evaluated 122 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickitem2
| FALSE | evaluated 96701 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 122-96701 |
871 | | - |
872 | QObject *rv = nullptr; | - |
873 | core.readProperty(object, &rv); | - |
874 | returnexecuted 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()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 96699 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 2-96699 |
879 | returnexecuted 2 times by 1 test: return object->metaObject()->property(core.coreIndex()).read(object); object->metaObject()->property(core.coreIndex()).read(object);executed 2 times by 1 test: return object->metaObject()->property(core.coreIndex()).read(object); | 2 |
880 | | - |
881 | QVariant value; | - |
882 | int status = -1; | - |
883 | void *args[] = { nullptr, &value, &status }; | - |
884 | if (core.propType() == QMetaType::QVariantTRUE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
| FALSE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 432-96267 |
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::QVariantTRUE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
|
&& args[0] != value.data()TRUE | never evaluated | FALSE | evaluated 96267 times by 32 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 0-96267 |
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 | returnexecuted 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 | | - |
899 | QVariant QQmlPropertyPrivate::resolvedUrlSequence(const QVariant &value, QQmlContextData *context) | - |
900 | { | - |
901 | QList<QUrl> urls; | - |
902 | if (value.userType() == qMetaTypeId<QUrl>()TRUE | never evaluated | FALSE | evaluated 42 times by 1 test |
) { | 0-42 |
903 | urls.append(value.toUrl()); | - |
904 | } never executed: end of block else if (value.userType() == qMetaTypeId<QString>()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 32 times by 1 test |
) { | 0-32 |
905 | urls.append(QUrl(value.toString())); | - |
906 | }executed 10 times by 1 test: end of block else if (value.userType() == qMetaTypeId<QByteArray>()TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
) { | 0-32 |
907 | urls.append(QUrl(QString::fromUtf8(value.toByteArray()))); | - |
908 | } never executed: end of block else if (value.userType() == qMetaTypeId<QList<QUrl> >()TRUE | evaluated 32 times by 1 test | FALSE | never evaluated |
) { | 0-32 |
909 | urls = value.value<QList<QUrl> >(); | - |
910 | }executed 32 times by 1 test: end of block else if (value.userType() == qMetaTypeId<QStringList>()TRUE | never evaluated | FALSE | never 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 < urlStringsSizeTRUE | never evaluated | FALSE | never 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> >()TRUE | never evaluated | FALSE | never 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 < urlStringsSizeTRUE | never evaluated | FALSE | never 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 < urlsSizeTRUE | evaluated 86 times by 1 test | FALSE | evaluated 42 times by 1 test |
; ++i) { | 42-86 |
928 | QUrl u = urls.at(i); | - |
929 | if (contextTRUE | evaluated 86 times by 1 test | FALSE | never evaluated |
&& u.isRelative()TRUE | evaluated 18 times by 1 test | FALSE | evaluated 68 times by 1 test |
&& !u.isEmpty()TRUE | evaluated 18 times by 1 test | FALSE | never evaluated |
) | 0-86 |
930 | u = context->resolvedUrl(u);executed 18 times by 1 test: u = context->resolvedUrl(u); | 18 |
931 | resolvedUrls.append(u); | - |
932 | }executed 86 times by 1 test: end of block | 86 |
933 | | - |
934 | returnexecuted 42 times by 1 test: return QVariant::fromValue<QList<QUrl> >(resolvedUrls); QVariant::fromValue<QList<QUrl> >(resolvedUrls);executed 42 times by 1 test: return QVariant::fromValue<QList<QUrl> >(resolvedUrls); | 42 |
935 | } | - |
936 | | - |
937 | | - |
938 | bool QQmlPropertyPrivate::writeEnumProperty(const QMetaProperty &prop, int idx, QObject *object, const QVariant &value, int flags) | - |
939 | { | - |
940 | if (!objectTRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
|| !prop.isWritable()TRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
) | 0-212 |
941 | return never executed: return false; false;never executed: return false; | 0 |
942 | | - |
943 | QVariant v = value; | - |
944 | if (prop.isEnumType()TRUE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-212 |
945 | QMetaEnum menum = prop.enumerator(); | - |
946 | if (v.userType() == QVariant::StringTRUE | evaluated 210 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | evaluated 2 times by 1 test |
| 2-210 |
947 | | - |
948 | | - |
949 | | - |
950 | ) { | - |
951 | bool ok; | - |
952 | if (prop.isFlagType()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 206 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
) | 4-206 |
953 | v = QVariant(menum.keysToValue(value.toByteArray(), &ok));executed 4 times by 1 test: v = QVariant(menum.keysToValue(value.toByteArray(), &ok)); | 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 (!okTRUE | never evaluated | FALSE | evaluated 210 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
) | 0-210 |
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::IntTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
&& v.userType() != QVariant::UIntTRUE | never evaluated | FALSE | never evaluated |
) { | 0-210 |
959 | int enumMetaTypeId = QMetaType::type(QByteArray(menum.scope() + QByteArray("::") + menum.name())); | - |
960 | if ((TRUE | never evaluated | FALSE | never evaluated |
enumMetaTypeId == QMetaType::UnknownType)TRUE | never evaluated | FALSE | never evaluated |
|| (TRUE | never evaluated | FALSE | never evaluated |
v.userType() != enumMetaTypeId)TRUE | never evaluated | FALSE | never evaluated |
|| !v.constData()TRUE | never evaluated | FALSE | never 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 | returnexecuted 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 | | - |
978 | bool QQmlPropertyPrivate::writeValueProperty(const QVariant &value, QQmlPropertyData::WriteFlags flags) | - |
979 | { | - |
980 | returnexecuted 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 | | - |
983 | bool | - |
984 | QQmlPropertyPrivate::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)TRUE | evaluated 986 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | evaluated 430470 times by 76 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- ...
|
&& objectTRUE | evaluated 986 times by 22 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquickstates
| FALSE | never evaluated |
) | 0-430470 |
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()TRUE | evaluated 4875 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickflipable
- tst_qquickfontloader_static
- tst_qquickimage
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | evaluated 426581 times by 77 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- ...
|
) { | 4875-426581 |
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 | returnexecuted 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 | | - |
1007 | bool 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()TRUE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
| FALSE | evaluated 440837 times by 96 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 212-440837 |
1016 | QMetaProperty prop = object->metaObject()->property(property.coreIndex()); | - |
1017 | QVariant v = value; | - |
1018 | | - |
1019 | if (variantType == QVariant::DoubleTRUE | never evaluated | FALSE | evaluated 212 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
|
) { | 0-212 |
1020 | double integral; | - |
1021 | double fractional = std::modf(value.toDouble(), &integral); | - |
1022 | if (qFuzzyIsNull(fractional)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1023 | v.convert(QVariant::Int); never executed: v.convert(QVariant::Int); | 0 |
1024 | } never executed: end of block | 0 |
1025 | returnexecuted 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 == variantTypeTRUE | evaluated 138709 times by 82 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 302128 times by 68 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
|
&& !isUrlTRUE | evaluated 138517 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 192 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
|
&& propertyType != qMetaTypeId<QList<QUrl>>()TRUE | evaluated 138493 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | evaluated 24 times by 1 test |
&& !property.isQList()TRUE | evaluated 138493 times by 81 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- ...
| FALSE | never evaluated |
) { | 0-302128 |
1033 | returnexecuted 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()TRUE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | evaluated 301720 times by 68 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- ...
|
) { | 624-301720 |
1035 | QQmlMetaObject valMo = rawMetaObjectForType(enginePriv, variantType); | - |
1036 | if (valMo.isNull()TRUE | never evaluated | FALSE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
|
) | 0-624 |
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 (oTRUE | evaluated 624 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | never evaluated |
) | 0-624 |
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)TRUE | evaluated 616 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | evaluated 8 times by 1 test |
) { | 8-616 |
1045 | returnexecuted 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 (!oTRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
&& QQmlMetaObject::canConvert(propMo, valMo)TRUE | never evaluated | FALSE | never 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 | returnexecuted 8 times by 1 test: return false; false;executed 8 times by 1 test: return false; | 8 |
1053 | } | - |
1054 | } else if (value.canConvert(propertyType)TRUE | evaluated 273849 times by 54 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- ...
| FALSE | evaluated 27871 times by 43 testsEvaluated by:- tst_examples
- tst_qjsonbinding
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- ...
|
&& !isUrlTRUE | evaluated 273411 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| FALSE | evaluated 438 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
&& variantType != QVariant::StringTRUE | evaluated 192591 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | evaluated 80820 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
|
&& propertyType != qMetaTypeId<QList<QUrl>>()TRUE | evaluated 192567 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | evaluated 24 times by 1 test |
&& !property.isQList()TRUE | evaluated 192567 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickparticlegroup
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspritesequence
- ...
| FALSE | never evaluated |
) { | 0-273849 |
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 | caseexecuted 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 | returnexecuted 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 | caseexecuted 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 | returnexecuted 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 | caseexecuted 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 | returnexecuted 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 | defaultexecuted 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 | returnexecuted 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>()TRUE | evaluated 27439 times by 37 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
| FALSE | evaluated 81714 times by 44 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickgridview
- ...
|
) { | 27439-81714 |
1084 | returnexecuted 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 (isUrlTRUE | evaluated 458 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | evaluated 81256 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
) { | 458-81256 |
1086 | QUrl u; | - |
1087 | if (variantType == QVariant::UrlTRUE | evaluated 192 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
| FALSE | evaluated 266 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
) { | 192-266 |
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::ByteArrayTRUE | evaluated 20 times by 1 test | FALSE | evaluated 246 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
|
) { | 20-246 |
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 else if (variantType == QVariant::StringTRUE | evaluated 246 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-246 |
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 (contextTRUE | evaluated 412 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
| FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qqmlproperty
- tst_qqmltypeloader
|
&& u.isRelative()TRUE | evaluated 206 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
| FALSE | evaluated 206 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlsettings
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquicktextedit
|
&& !u.isEmpty()TRUE | evaluated 162 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimatedsprite
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
- tst_qquickstates
| FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickloader
|
) | 44-412 |
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 | returnexecuted 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>>()TRUE | evaluated 32 times by 1 test | FALSE | evaluated 81224 times by 34 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
) { | 32-81224 |
1107 | QList<QUrl> urlSeq = resolvedUrlSequence(value, context).value<QList<QUrl>>(); | - |
1108 | returnexecuted 32 times by 1 test: return property.writeProperty(object, &urlSeq, flags); property.writeProperty(object, &urlSeq, flags);executed 32 times by 1 test: return property.writeProperty(object, &urlSeq, flags); | 32 |
1109 | } else if (property.isQList()TRUE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 81176 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
|
) { | 48-81176 |
1110 | QQmlMetaObject listType; | - |
1111 | | - |
1112 | if (enginePrivTRUE | evaluated 44 times by 8 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 4 times by 1 test |
) { | 4-44 |
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()TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 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 | 4 |
1120 | if (listType.isNull()TRUE | never evaluated | FALSE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
) | 0-48 |
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.clearTRUE | never evaluated | FALSE | evaluated 48 times by 9 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
) | 0-48 |
1127 | return never executed: return false; false;never executed: return false; | 0 |
1128 | | - |
1129 | prop.clear(&prop); | - |
1130 | | - |
1131 | if (variantType == qMetaTypeId<QQmlListReference>()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 44 times by 8 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
) { | 4-44 |
1132 | QQmlListReference qdlr = value.value<QQmlListReference>(); | - |
1133 | | - |
1134 | for (int ii = 0; ii < qdlr.count()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
|
; ++ii) { | 4-8 |
1135 | QObject *o = qdlr.at(ii); | - |
1136 | if (oTRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | never evaluated |
&& !QQmlMetaObject::canConvert(o, listType)TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated 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 *> >()TRUE | evaluated 20 times by 6 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 24 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
|
) { | 4-24 |
1141 | const QList<QObject *> &list = qvariant_cast<QList<QObject *> >(value); | - |
1142 | | - |
1143 | for (int ii = 0; ii < list.count()TRUE | evaluated 42 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 20 times by 6 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
|
; ++ii) { | 20-42 |
1144 | QObject *o = list.at(ii); | - |
1145 | if (oTRUE | evaluated 36 times by 4 testsEvaluated by:- tst_qqmlproperty
- tst_qquickitem2
- tst_qquickpathview
- tst_qquickspritesequence
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickanimations
- tst_qquickitem2
|
&& !QQmlMetaObject::canConvert(o, listType)TRUE | never evaluated | FALSE | evaluated 36 times by 4 testsEvaluated 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 = enginePrivTRUE | evaluated 22 times by 4 testsEvaluated by:- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
| FALSE | evaluated 2 times by 1 test |
?enginePriv->toQObject(value):QQmlMetaType::toQObject(value); | 2-22 |
1151 | if (oTRUE | evaluated 24 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
| FALSE | never evaluated |
&& !QQmlMetaObject::canConvert(o, listType)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickitem
- tst_qquickitem2
|
) | 0-24 |
1152 | o = nullptr;executed 2 times by 1 test: o = nullptr; | 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::StringTRUE | evaluated 80866 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- ...
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
) | 310-80866 |
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 (!okTRUE | evaluated 360 times by 8 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickanimations
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 80816 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
- ...
|
) { | 360-80816 |
1164 | v = value; | - |
1165 | if (v.convert(propertyType)TRUE | evaluated 36 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickdroparea
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 324 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
) { | 36-324 |
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()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 318 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& value.isNull()TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) { | 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<TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 304 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
uint>(propertyType) >= QVariant::UserTypeTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 304 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& | 0-304 |
1174 | variantType == QVariant::StringTRUE | evaluated 2 times by 1 test | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlproperty
|
) { | 2-18 |
1175 | QQmlMetaType::StringConverter con = QQmlMetaType::customStringConverter(propertyType); | - |
1176 | if (conTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
1177 | v = con(value.toString()); | - |
1178 | if (v.userType() == propertyTypeTRUE | never evaluated | FALSE | never 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 | 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 (!okTRUE | evaluated 324 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
| FALSE | evaluated 80852 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
|
) { | 324-80852 |
1184 | | - |
1185 | | - |
1186 | | - |
1187 | if (variantType == QVariant::IntTRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& propertyType == qMetaTypeId<QList<int> >()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 10 times by 2 testsEvaluated 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 else if ((variantType == QVariant::DoubleTRUE | evaluated 134 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimations
| FALSE | evaluated 186 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
|| variantType == QVariant::IntTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 176 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
) | 4-186 |
1193 | && (TRUE | evaluated 4 times by 1 test | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimations
|
propertyType == qMetaTypeId<QList<qreal> >())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qquickanimations
|
) { | 4-140 |
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 else if (variantType == QVariant::BoolTRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
| FALSE | evaluated 304 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& propertyType == qMetaTypeId<QList<bool> >()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { | 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 else if (variantType == QVariant::StringTRUE | evaluated 14 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 298 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& propertyType == qMetaTypeId<QList<QString> >()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 12 times by 3 testsEvaluated 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 else if (variantType == QVariant::StringTRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
| FALSE | evaluated 298 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
&& propertyType == qMetaTypeId<QStringList>()TRUE | never evaluated | FALSE | evaluated 12 times by 3 testsEvaluated 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 (okTRUE | evaluated 80866 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlvaluetypeproviders
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickstates
- ...
| FALSE | evaluated 310 times by 4 testsEvaluated by:- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qquickanimations
|
) { | 310-80866 |
1217 | returnexecuted 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 | returnexecuted 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 | returnexecuted 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 | | - |
1226 | QQmlMetaObject QQmlPropertyPrivate::rawMetaObjectForType(QQmlEnginePrivate *engine, int userType) | - |
1227 | { | - |
1228 | QMetaType metaType(userType); | - |
1229 | if ((metaType.flags() & QMetaType::PointerToQObject) && metaType.metaObject()TRUE | evaluated 25196 times by 94 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- ...
| FALSE | evaluated 48 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickloader
|
) | 48-25196 |
1230 | returnexecuted 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 (engineTRUE | evaluated 50 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qquickloader
| FALSE | never evaluated |
) | 0-50 |
1232 | returnexecuted 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()TRUE | never evaluated | FALSE | never 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 | | - |
1244 | bool QQmlProperty::write(const QVariant &value) const | - |
1245 | { | - |
1246 | returnexecuted 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 | } | - |
1248 | bool QQmlProperty::write(QObject *object, const QString &name, const QVariant &value) | - |
1249 | { | - |
1250 | QQmlProperty p(object, name); | - |
1251 | returnexecuted 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 | } | - |
1253 | bool QQmlProperty::write(QObject *object, | - |
1254 | const QString &name, | - |
1255 | const QVariant &value, | - |
1256 | QQmlContext *ctxt) | - |
1257 | { | - |
1258 | QQmlProperty p(object, name, ctxt); | - |
1259 | returnexecuted 4 times by 1 test: return p.write(value); p.write(value);executed 4 times by 1 test: return p.write(value); | 4 |
1260 | } | - |
1261 | bool QQmlProperty::write(QObject *object, const QString &name, const QVariant &value, | - |
1262 | QQmlEngine *engine) | - |
1263 | { | - |
1264 | QQmlProperty p(object, name, engine); | - |
1265 | returnexecuted 2 times by 1 test: return p.write(value); p.write(value);executed 2 times by 1 test: return p.write(value); | 2 |
1266 | } | - |
1267 | | - |
1268 | | - |
1269 | | - |
1270 | | - |
1271 | | - |
1272 | | - |
1273 | bool QQmlProperty::reset() const | - |
1274 | { | - |
1275 | if (isResettable()TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
- tst_qquickdesignersupport
| FALSE | evaluated 14 times by 1 test |
) { | 10-14 |
1276 | void *args[] = { nullptr }; | - |
1277 | QMetaObject::metacall(d->object, QMetaObject::ResetProperty, d->core.coreIndex(), args); | - |
1278 | returnexecuted 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 | returnexecuted 14 times by 1 test: return false; false;executed 14 times by 1 test: return false; | 14 |
1281 | } | - |
1282 | } | - |
1283 | | - |
1284 | bool QQmlPropertyPrivate::write(const QQmlProperty &that, | - |
1285 | const QVariant &value, QQmlPropertyData::WriteFlags flags) | - |
1286 | { | - |
1287 | if (!that.dTRUE | evaluated 4 times by 1 test | FALSE | evaluated 122594 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) | 4-122594 |
1288 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
1289 | if (that.d->object && that.type() & QQmlProperty::PropertyTRUE | evaluated 122564 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 16 times by 1 test |
&& | 16-122564 |
1290 | that.d->core.isValid()TRUE | evaluated 122564 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | never evaluated |
&& that.isWritable()TRUE | evaluated 122550 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickflipable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlproperty
|
) | 0-122564 |
1291 | returnexecuted 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 | returnexecuted 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 | | - |
1299 | bool QQmlProperty::hasNotifySignal() const | - |
1300 | { | - |
1301 | if (type() & PropertyTRUE | evaluated 8 times by 1 test | FALSE | evaluated 18 times by 1 test |
&& d->object) { | 8-18 |
1302 | returnexecuted 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).hasNotifySignal(); d->object->metaObject()->property(d->core.coreIndex()).hasNotifySignal();executed 8 times by 1 test: return d->object->metaObject()->property(d->core.coreIndex()).hasNotifySignal(); | 8 |
1303 | } | - |
1304 | returnexecuted 18 times by 1 test: return false; false;executed 18 times by 1 test: return false; | 18 |
1305 | } | - |
1306 | bool QQmlProperty::needsNotifySignal() const | - |
1307 | { | - |
1308 | returnexecuted 26 times by 1 test: return type() & Property && !property().isConstant(); type() & Property && !property().isConstant();executed 26 times by 1 test: return type() & Property && !property().isConstant(); | 26 |
1309 | } | - |
1310 | bool QQmlProperty::connectNotifySignal(QObject *dest, int method) const | - |
1311 | { | - |
1312 | if (!(type() & Property)TRUE | evaluated 72 times by 1 test | FALSE | evaluated 32 times by 1 test |
|| !d->objectTRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
) | 0-72 |
1313 | returnexecuted 72 times by 1 test: return false; false;executed 72 times by 1 test: return false; | 72 |
1314 | | - |
1315 | QMetaProperty prop = d->object->metaObject()->property(d->core.coreIndex()); | - |
1316 | if (prop.hasNotifySignal()TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
) { | 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 | returnexecuted 32 times by 1 test: return false; false;executed 32 times by 1 test: return false; | 32 |
1320 | } | - |
1321 | } | - |
1322 | bool QQmlProperty::connectNotifySignal(QObject *dest, const char *slot) const | - |
1323 | { | - |
1324 | if (!(type() & Property)TRUE | evaluated 36 times by 1 test | FALSE | evaluated 938 times by 2 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
|
|| !d->objectTRUE | never evaluated | FALSE | evaluated 938 times by 2 testsEvaluated by:- tst_qqmllistmodelworkerscript
- tst_qqmlproperty
|
) | 0-938 |
1325 | returnexecuted 36 times by 1 test: return false; false;executed 36 times by 1 test: return false; | 36 |
1326 | | - |
1327 | QMetaProperty prop = d->object->metaObject()->property(d->core.coreIndex()); | - |
1328 | if (prop.hasNotifySignal()TRUE | evaluated 922 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| FALSE | evaluated 16 times by 1 test |
) { | 16-922 |
1329 | QByteArray signal('2' + prop.notifySignal().methodSignature()); | - |
1330 | returnexecuted 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 | returnexecuted 16 times by 1 test: return false; false;executed 16 times by 1 test: return false; | 16 |
1333 | } | - |
1334 | } | - |
1335 | | - |
1336 | | - |
1337 | | - |
1338 | | - |
1339 | int QQmlProperty::index() const | - |
1340 | { | - |
1341 | returnexecuted 26 times by 1 test: return d ? d->core.coreIndex() : -1; d ? d->core.coreIndex() : -1;executed 26 times by 1 test: return d ? d->core.coreIndex() : -1; | 26 |
1342 | } | - |
1343 | | - |
1344 | QQmlPropertyIndex QQmlPropertyPrivate::propertyIndex(const QQmlProperty &that) | - |
1345 | { | - |
1346 | returnexecuted 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 | | - |
1349 | QQmlProperty | - |
1350 | QQmlPropertyPrivate::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 = ctxtTRUE | evaluated 5678 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
| FALSE | evaluated 20 times by 3 testsEvaluated by:- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qquickitem2
|
? ctxt->engine : nullptr; | 20-5678 |
1359 | | - |
1360 | prop.d->core = data; | - |
1361 | if (valueTypeDataTRUE | evaluated 34 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickbehaviors
- tst_qquickitem2
| FALSE | evaluated 5664 times by 14 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquicksmoothedanimation
- tst_qquicktaphandler
|
) | 34-5664 |
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 | returnexecuted 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 | | - |
1370 | QMetaMethod 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 >= 2TRUE | evaluated 478 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 76 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
|
; --ii) { | 76-478 |
1375 | QMetaMethod method = mo->method(ii); | - |
1376 | | - |
1377 | if (method.name() == nameTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | evaluated 468 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlproperty
|
&& (TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | never evaluated |
method.methodType() & QMetaMethod::Signal)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlproperty
| FALSE | never evaluated |
) | 0-468 |
1378 | returnexecuted 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")TRUE | evaluated 74 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 2 times by 1 test |
) { | 2-74 |
1384 | QByteArray propName = name.mid(0, name.length() - 7); | - |
1385 | int propIdx = mo->indexOfProperty(propName.constData()); | - |
1386 | if (propIdx >= 0TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | evaluated 2 times by 1 test |
) { | 2-72 |
1387 | QMetaProperty prop = mo->property(propIdx); | - |
1388 | if (prop.hasNotifySignal()TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmlproperty
| FALSE | never evaluated |
) | 0-72 |
1389 | returnexecuted 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 | 2 |
1392 | | - |
1393 | returnexecuted 4 times by 1 test: return QMetaMethod(); QMetaMethod();executed 4 times by 1 test: return QMetaMethod(); | 4 |
1394 | } | - |
1395 | | - |
1396 | | - |
1397 | | - |
1398 | | - |
1399 | | - |
1400 | | - |
1401 | static inline void flush_vme_signal(const QObject *object, int index, bool indexInSignalRange) | - |
1402 | { | - |
1403 | QQmlData *data = QQmlData::get(object); | - |
1404 | if (dataTRUE | evaluated 705020 times by 122 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 1638 times by 24 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlpropertymap
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
&& data->propertyCacheTRUE | evaluated 631080 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 73940 times by 63 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- ...
|
) { | 1638-705020 |
1405 | QQmlPropertyData *property = indexInSignalRangeTRUE | evaluated 630290 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 790 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
? data->propertyCache->signal(index) | 790-630290 |
1406 | : data->propertyCache->method(index); | - |
1407 | | - |
1408 | if (propertyTRUE | evaluated 631078 times by 119 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- ...
| FALSE | evaluated 2 times by 1 test |
&& property->isVMESignal()TRUE | evaluated 47612 times by 60 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 583466 times by 113 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlmetaobject
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
|
) { | 2-631078 |
1409 | QQmlVMEMetaObject *vme; | - |
1410 | if (indexInSignalRangeTRUE | evaluated 47604 times by 59 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
| FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qqmlenginedebugservice
|
) | 8-47604 |
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 |
1418 | bool 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 | returnexecuted 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 | | - |
1433 | void 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 | | - |
| | |