OpenCoverage

qqmlcontext.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlcontext.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8QQmlContextPrivate::QQmlContextPrivate()-
9: data(nullptr), notifyIndex(-1)-
10{-
11}
executed 70442 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
70442
12QQmlContext::QQmlContext(QQmlEngine *e, bool)-
13: QObject(*(new QQmlContextPrivate))-
14{-
15 QQmlContextPrivate * const d = d_func();-
16 d->data = new QQmlContextData(this);-
17 ++d->data->refCount;-
18-
19 d->data->engine = e;-
20}
executed 7674 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
7674
21-
22-
23-
24-
25-
26QQmlContext::QQmlContext(QQmlEngine *engine, QObject *parent)-
27: QObject(*(new QQmlContextPrivate), parent)-
28{-
29 QQmlContextPrivate * const d = d_func();-
30 d->data = new QQmlContextData(this);-
31 ++d->data->refCount;-
32-
33 d->data->setParent(engine?QQmlContextData::get(engine->rootContext()):nullptr);-
34}
executed 40 times by 5 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmlproperty
  • tst_qqmlpropertymap
40
35-
36-
37-
38-
39-
40QQmlContext::QQmlContext(QQmlContext *parentContext, QObject *parent)-
41: QObject(*(new QQmlContextPrivate), parent)-
42{-
43 QQmlContextPrivate * const d = d_func();-
44 d->data = new QQmlContextData(this);-
45 ++d->data->refCount;-
46-
47 d->data->setParent(parentContext?QQmlContextData::get(parentContext):nullptr);-
48}
executed 2360 times by 27 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlmetatype
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • ...
2360
49-
50-
51-
52-
53QQmlContext::QQmlContext(QQmlContextData *data)-
54: QObject(*(new QQmlContextPrivate), nullptr)-
55{-
56 QQmlContextPrivate * const d = d_func();-
57 d->data = data;-
58-
59}
executed 60368 times by 66 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
60368
60QQmlContext::~QQmlContext()-
61{-
62 QQmlContextPrivate * const d = d_func();-
63-
64 d->data->publicContext = nullptr;-
65 if (!--d->data->refCount
!--d->data->refCountDescription
TRUEevaluated 8976 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
FALSEevaluated 60520 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • ...
)
8976-60520
66 d->data->destroy();
executed 8976 times by 148 tests: d->data->destroy();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
8976
67}
executed 69496 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
69496
68-
69-
70-
71-
72-
73-
74-
75bool QQmlContext::isValid() const-
76{-
77 const QQmlContextPrivate * const d = d_func();-
78 return
executed 195534 times by 55 tests: return d->data && d->data->isValid();
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • 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_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • ...
d->data && d->data->isValid();
executed 195534 times by 55 tests: return d->data && d->data->isValid();
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • 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_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • ...
195534
79}-
80-
81-
82-
83-
84-
85QQmlEngine *QQmlContext::engine() const-
86{-
87 const QQmlContextPrivate * const d = d_func();-
88 return
executed 158060 times by 45 tests: return d->data->engine;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
d->data->engine;
executed 158060 times by 45 tests: return d->data->engine;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • ...
158060
89}-
90-
91-
92-
93-
94-
95QQmlContext *QQmlContext::parentContext() const-
96{-
97 const QQmlContextPrivate * const d = d_func();-
98 return
executed 4592 times by 4 tests: return d->data->parent?d->data->parent->asQQmlContext():nullptr;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qquickgridview
  • tst_qquicklistview
d->data->parent?d->data->parent->asQQmlContext():nullptr;
executed 4592 times by 4 tests: return d->data->parent?d->data->parent->asQQmlContext():nullptr;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qquickgridview
  • tst_qquicklistview
4592
99}-
100-
101-
102-
103-
104QObject *QQmlContext::contextObject() const-
105{-
106 const QQmlContextPrivate * const d = d_func();-
107 return
executed 1390 times by 2 tests: return d->data->contextObject;
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
d->data->contextObject;
executed 1390 times by 2 tests: return d->data->contextObject;
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
1390
108}-
109-
110-
111-
112-
113void QQmlContext::setContextObject(QObject *object)-
114{-
115 QQmlContextPrivate * const d = d_func();-
116-
117 QQmlContextData *data = d->data;-
118-
119 if (data->isInternal
data->isInternalDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 920 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
) {
2-920
120 QMessageLogger(__FILE__, 275, __PRETTY_FUNCTION__).warning("QQmlContext: Cannot set context object for internal context.");-
121 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qqmlcontext
2
122 }-
123-
124 if (!isValid()
!isValid()Description
TRUEnever evaluated
FALSEevaluated 920 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
) {
0-920
125 QMessageLogger(__FILE__, 280, __PRETTY_FUNCTION__).warning("QQmlContext: Cannot set context object on invalid context.");-
126 return;
never executed: return;
0
127 }-
128-
129 data->contextObject = object;-
130 data->refreshExpressions();-
131}
executed 920 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
920
132-
133-
134-
135-
136void QQmlContext::setContextProperty(const QString &name, const QVariant &value)-
137{-
138 QQmlContextPrivate * const d = d_func();-
139 if (d->notifyIndex == -1
d->notifyIndex == -1Description
TRUEevaluated 1880 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
FALSEevaluated 17138 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlqt
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
)
1880-17138
140 d->notifyIndex = QMetaObjectPrivate::absoluteSignalCount(&QQmlContext::staticMetaObject);
executed 1880 times by 34 tests: d->notifyIndex = QMetaObjectPrivate::absoluteSignalCount(&QQmlContext::staticMetaObject);
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
1880
141-
142 QQmlContextData *data = d->data;-
143-
144 if (data->isInternal
data->isInternalDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 19014 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
4-19014
145 QMessageLogger(__FILE__, 300, __PRETTY_FUNCTION__).warning("QQmlContext: Cannot set property on internal context.");-
146 return;
executed 4 times by 1 test: return;
Executed by:
  • tst_qqmlcontext
4
147 }-
148-
149 if (!isValid()
!isValid()Description
TRUEnever evaluated
FALSEevaluated 19014 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
) {
0-19014
150 QMessageLogger(__FILE__, 305, __PRETTY_FUNCTION__).warning("QQmlContext: Cannot set property on invalid context.");-
151 return;
never executed: return;
0
152 }-
153-
154 QV4::IdentifierHash &properties = data->detachedPropertyNames();-
155 int idx = properties.value(name);-
156 if (idx == -1
idx == -1Description
TRUEevaluated 5146 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
FALSEevaluated 13868 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
) {
5146-13868
157 properties.add(name, data->idValueCount + d->propertyValues.count());-
158 d->propertyValues.append(value);-
159-
160 data->refreshExpressions();-
161 }
executed 5146 times by 34 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
else {
5146
162 d->propertyValues[idx] = value;-
163 QMetaObject::activate(this, d->notifyIndex, idx, nullptr);-
164 }
executed 13868 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlnotifier
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
13868
165}-
166-
167-
168-
169-
170-
171-
172void QQmlContext::setContextProperty(const QString &name, QObject *value)-
173{-
174 setContextProperty(name, QVariant::fromValue(value));-
175}
executed 5664 times by 25 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimationcontroller
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_quicktestmainwithsetup
  • tst_scenegraph
  • tst_testfiltering
5664
176void QQmlContext::setContextProperties(const QVector<PropertyPair> &properties)-
177{-
178 const QQmlContextPrivate * const d = d_func();-
179-
180 QQmlContextData *data = d->data;-
181-
182 QQmlJavaScriptExpression *expressions = data->expressions;-
183 QQmlContextData *childContexts = data->childContexts;-
184-
185 data->expressions = nullptr;-
186 data->childContexts = nullptr;-
187-
188 for (auto property : properties)-
189 setContextProperty(property.name, property.value);
executed 10 times by 1 test: setContextProperty(property.name, property.value);
Executed by:
  • tst_qqmlcontext
10
190-
191 data->expressions = expressions;-
192 data->childContexts = childContexts;-
193-
194 data->refreshExpressions();-
195}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
2
196QVariant QQmlContext::contextProperty(const QString &name) const-
197{-
198 const QQmlContextPrivate * const d = d_func();-
199 QVariant value;-
200 int idx = -1;-
201-
202 QQmlContextData *data = d->data;-
203-
204 const QV4::IdentifierHash &properties = data->propertyNames();-
205 if (properties.count()
properties.count()Description
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickrepeater
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
4-12
206 idx = properties.value(name);
executed 12 times by 2 tests: idx = properties.value(name);
Executed by:
  • tst_qqmlcontext
  • tst_qquickrepeater
12
207-
208 if (idx == -1
idx == -1Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickrepeater
) {
8
209 if (data->contextObject
data->contextObjectDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
) {
4
210 QObject *obj = data->contextObject;-
211 QQmlPropertyData local;-
212 QQmlPropertyData *property =-
213 QQmlPropertyCache::property(data->engine, obj, name, data, local);-
214-
215 if (property
propertyDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
) value = obj->metaObject()->property(property->coreIndex()).read(obj);
never executed: value = obj->metaObject()->property(property->coreIndex()).read(obj);
0-4
216 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
4
217 if (!value.isValid()
!value.isValid()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEnever evaluated
&& parentContext()
parentContext()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
0-8
218 value = parentContext()->contextProperty(name);
executed 4 times by 1 test: value = parentContext()->contextProperty(name);
Executed by:
  • tst_qqmlcontext
4
219 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
else {
8
220 if (idx >= d->propertyValues.count()
idx >= d->prop...Values.count()Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickrepeater
FALSEnever evaluated
)
0-8
221 value = QVariant::fromValue(data->idValues[idx - d->propertyValues.count()].data());
executed 8 times by 2 tests: value = QVariant::fromValue(data->idValues[idx - d->propertyValues.count()].data());
Executed by:
  • tst_qqmlcontext
  • tst_qquickrepeater
8
222 else-
223 value = d->propertyValues[idx];
never executed: value = d->propertyValues[idx];
0
224 }-
225-
226 return
executed 16 times by 2 tests: return value;
Executed by:
  • tst_qqmlcontext
  • tst_qquickrepeater
value;
executed 16 times by 2 tests: return value;
Executed by:
  • tst_qqmlcontext
  • tst_qquickrepeater
16
227}-
228QString QQmlContext::nameForObject(QObject *object) const-
229{-
230 const QQmlContextPrivate * const d = d_func();-
231-
232 return
executed 12 times by 1 test: return d->data->findObjectId(object);
Executed by:
  • tst_qqmlcontext
d->data->findObjectId(object);
executed 12 times by 1 test: return d->data->findObjectId(object);
Executed by:
  • tst_qqmlcontext
12
233}-
234-
235-
236-
237-
238-
239-
240-
241QUrl QQmlContext::resolvedUrl(const QUrl &src)-
242{-
243 QQmlContextPrivate * const d = d_func();-
244 return
executed 14 times by 1 test: return d->data->resolvedUrl(src);
Executed by:
  • tst_qqmlcontext
d->data->resolvedUrl(src);
executed 14 times by 1 test: return d->data->resolvedUrl(src);
Executed by:
  • tst_qqmlcontext
14
245}-
246-
247QUrl QQmlContextData::resolvedUrl(const QUrl &src)-
248{-
249 QQmlContextData *ctxt = this;-
250-
251 QUrl resolved;-
252 if (src.isRelative()
src.isRelative()Description
TRUEevaluated 756 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEevaluated 14 times by 4 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlqt
  • tst_qquickloader
&& !src.isEmpty()
!src.isEmpty()Description
TRUEevaluated 756 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEnever evaluated
) {
0-756
253 if (ctxt
ctxtDescription
TRUEevaluated 756 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEnever evaluated
) {
0-756
254 while(ctxt
ctxtDescription
TRUEevaluated 762 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlproperty
) {
8-762
255 if (ctxt->url().isValid()
ctxt->url().isValid()Description
TRUEevaluated 748 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlproperty
)
14-748
256 break;
executed 748 times by 22 tests: break;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
748
257 else-
258 ctxt = ctxt->parent;
executed 14 times by 2 tests: ctxt = ctxt->parent;
Executed by:
  • tst_qqmlcontext
  • tst_qqmlproperty
14
259 }-
260-
261 if (ctxt
ctxtDescription
TRUEevaluated 748 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlproperty
)
8-748
262 resolved = ctxt->url().resolved(src);
executed 748 times by 22 tests: resolved = ctxt->url().resolved(src);
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
748
263 else if (engine
engineDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlproperty
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
2-6
264 resolved = engine->baseUrl().resolved(src);
executed 6 times by 2 tests: resolved = engine->baseUrl().resolved(src);
Executed by:
  • tst_qqmlcontext
  • tst_qqmlproperty
6
265 }
executed 756 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
756
266 }
executed 756 times by 22 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
else {
756
267 resolved = src;-
268 }
executed 14 times by 4 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlqt
  • tst_qquickloader
14
269-
270 if (resolved.isEmpty()
resolved.isEmpty()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 768 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
)
2-768
271 return
executed 2 times by 1 test: return resolved;
Executed by:
  • tst_qqmlcontext
resolved;
executed 2 times by 1 test: return resolved;
Executed by:
  • tst_qqmlcontext
2
272-
273 if (engine
engineDescription
TRUEevaluated 765 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
FALSEevaluated 3 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlxmlhttprequest
&& engine->urlInterceptor()
engine->urlInterceptor()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmltypeloader
FALSEevaluated 761 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
)
3-765
274 resolved = engine->urlInterceptor()->intercept(resolved, QQmlAbstractUrlInterceptor::UrlString);
executed 4 times by 1 test: resolved = engine->urlInterceptor()->intercept(resolved, QQmlAbstractUrlInterceptor::UrlString);
Executed by:
  • tst_qqmltypeloader
4
275 return
executed 768 times by 22 tests: return resolved;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
resolved;
executed 768 times by 22 tests: return resolved;
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistreference
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickfontloader
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qtqmlmodules
768
276}-
277void QQmlContext::setBaseUrl(const QUrl &baseUrl)-
278{-
279 QQmlContextPrivate * const d = d_func();-
280-
281 d->data->baseUrl = baseUrl;-
282 d->data->baseUrlString = baseUrl.toString();-
283}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
8
284-
285-
286-
287-
288-
289QUrl QQmlContext::baseUrl() const-
290{-
291 const QQmlContextPrivate * const d = d_func();-
292 const QQmlContextData* data = d->data;-
293 while (data
dataDescription
TRUEevaluated 4368 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qqmltranslation
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextdocument
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1032 times by 4 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquicktext
  • tst_qquicktextedit
&& data->url().isEmpty()
data->url().isEmpty()Description
TRUEevaluated 2124 times by 7 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 2244 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextdocument
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1032-4368
294 data = data->parent;
executed 2124 times by 7 tests: data = data->parent;
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
2124
295-
296 if (data
dataDescription
TRUEevaluated 2244 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextdocument
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1032 times by 4 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquicktext
  • tst_qquicktextedit
)
1032-2244
297 return
executed 2244 times by 12 tests: return data->url();
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextdocument
  • tst_qquicktextedit
  • tst_qquicktextinput
data->url();
executed 2244 times by 12 tests: return data->url();
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextdocument
  • tst_qquicktextedit
  • tst_qquicktextinput
2244
298 else-
299 return
executed 1032 times by 4 tests: return QUrl();
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquicktext
  • tst_qquicktextedit
QUrl();
executed 1032 times by 4 tests: return QUrl();
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
  • tst_qquicktext
  • tst_qquicktextedit
1032
300}-
301-
302int QQmlContextPrivate::context_count(QQmlListProperty<QObject> *prop)-
303{-
304 QQmlContext *context = static_cast<QQmlContext*>(prop->object);-
305 QQmlContextPrivate *d = QQmlContextPrivate::get(context);-
306 int contextProperty = (int)(quintptr)prop->data;-
307-
308 if (d->propertyValues.at(contextProperty).userType() != qMetaTypeId<QList<QObject*> >()
d->propertyVal...<QObject*> >()Description
TRUEnever evaluated
FALSEevaluated 1696 times by 2 tests
Evaluated by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
) {
0-1696
309 return
never executed: return 0;
0;
never executed: return 0;
0
310 } else {-
311 return
executed 1696 times by 2 tests: return ((const QList<QObject> *)d->propertyValues.at(contextProperty).constData())->count();
Executed by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
((const QList<QObject> *)d->propertyValues.at(contextProperty).constData())->count();
executed 1696 times by 2 tests: return ((const QList<QObject> *)d->propertyValues.at(contextProperty).constData())->count();
Executed by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
1696
312 }-
313}-
314-
315QObject *QQmlContextPrivate::context_at(QQmlListProperty<QObject> *prop, int index)-
316{-
317 QQmlContext *context = static_cast<QQmlContext*>(prop->object);-
318 QQmlContextPrivate *d = QQmlContextPrivate::get(context);-
319 int contextProperty = (int)(quintptr)prop->data;-
320-
321 if (d->propertyValues.at(contextProperty).userType() != qMetaTypeId<QList<QObject*> >()
d->propertyVal...<QObject*> >()Description
TRUEnever evaluated
FALSEevaluated 440 times by 2 tests
Evaluated by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
) {
0-440
322 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
323 } else {-
324 return
executed 440 times by 2 tests: return ((const QList<QObject*> *)d->propertyValues.at(contextProperty).constData())->at(index);
Executed by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
((const QList<QObject*> *)d->propertyValues.at(contextProperty).constData())->at(index);
executed 440 times by 2 tests: return ((const QList<QObject*> *)d->propertyValues.at(contextProperty).constData())->at(index);
Executed by:
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
440
325 }-
326}-
327-
328-
329QQmlContextData::QQmlContextData()-
330 : QQmlContextData(nullptr)-
331{-
332}
executed 243429 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
243429
333-
334QQmlContextData::QQmlContextData(QQmlContext *ctxt)-
335 : engine(nullptr), isInternal(false), isJSContext(false),-
336 isPragmaLibraryContext(false), unresolvedNames(false), hasEmittedDestruction(false), isRootObjectInCreation(false),-
337 stronglyReferencedByParent(false), publicContext(ctxt), incubator(nullptr), componentObjectIndex(-1),-
338 contextObject(nullptr), nextChild(nullptr), prevChild(nullptr),-
339 expressions(nullptr), contextObjects(nullptr), idValues(nullptr), idValueCount(0),-
340 componentAttached(nullptr)-
341{-
342}
executed 253503 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
253503
343-
344void QQmlContextData::emitDestruction()-
345{-
346 if (!hasEmittedDestruction
!hasEmittedDestructionDescription
TRUEevaluated 253389 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
FALSEevaluated 582795 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
253389-582795
347 hasEmittedDestruction = true;-
348-
349-
350-
351 if (engine
engineDescription
TRUEevaluated 252237 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
FALSEevaluated 1152 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qmlcachegen
  • tst_qqmlecmascript
  • tst_qqmllistmodelworkerscript
  • tst_qquickworkerscript
) {
1152-252237
352 while (componentAttached
componentAttachedDescription
TRUEevaluated 4423 times by 58 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
FALSEevaluated 252237 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
4423-252237
353 QQmlComponentAttached *a = componentAttached;-
354 componentAttached = a->next;-
355 if (componentAttached
componentAttachedDescription
TRUEevaluated 18 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 4405 times by 58 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
) componentAttached->prev = &componentAttached;
executed 18 times by 1 test: componentAttached->prev = &componentAttached;
Executed by:
  • tst_examples
18-4405
356-
357 a->next = nullptr;-
358 a->prev = nullptr;-
359-
360 a->destruction();-
361 }
executed 4423 times by 58 tests: end of block
Executed 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_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • ...
4423
362-
363 QQmlContextData * child = childContexts;-
364 while (child
childDescription
TRUEevaluated 206110 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
FALSEevaluated 252237 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
206110-252237
365 child->emitDestruction();-
366 child = child->nextChild;-
367 }
executed 206110 times by 77 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
206110
368 }
executed 252237 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
252237
369 }
executed 253389 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
253389
370}
executed 836184 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
836184
371-
372void QQmlContextData::invalidate()-
373{-
374 emitDestruction();-
375-
376 while (childContexts
childContextsDescription
TRUEevaluated 206090 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
FALSEevaluated 384600 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
206090-384600
377 ((childContexts != this) ? static_cast<void>(0) : qt_assert("childContexts != this", __FILE__, 579));-
378 if (childContexts->stronglyReferencedByParent
childContexts-...rencedByParentDescription
TRUEevaluated 472 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 205618 times by 77 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
&& !--childContexts->refCount
!--childContexts->refCountDescription
TRUEevaluated 472 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEnever evaluated
)
0-205618
379 childContexts->destroy();
executed 472 times by 3 tests: childContexts->destroy();
Executed by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
472
380 else-
381 childContexts->invalidate();
executed 205618 times by 77 tests: childContexts->invalidate();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • ...
205618
382 }-
383-
384 if (prevChild
prevChildDescription
TRUEevaluated 244515 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
FALSEevaluated 140085 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
140085-244515
385 *prevChild = nextChild;-
386 if (nextChild
nextChildDescription
TRUEevaluated 132120 times by 55 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • ...
FALSEevaluated 112395 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
) nextChild->prevChild = prevChild;
executed 132120 times by 55 tests: nextChild->prevChild = prevChild;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • ...
112395-132120
387 nextChild = nullptr;-
388 prevChild = nullptr;-
389 }
executed 244515 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
244515
390-
391 importedScripts.clear();-
392-
393 engine = nullptr;-
394 parent = nullptr;-
395}
executed 384600 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
384600
396-
397void QQmlContextData::clearContextRecursively()-
398{-
399 clearContext();-
400-
401 for (auto ctxIt = childContexts; ctxIt
ctxItDescription
TRUEevaluated 13 times by 2 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
FALSEevaluated 211 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
; ctxIt = ctxIt->nextChild)
13-211
402 ctxIt->clearContextRecursively();
executed 13 times by 2 tests: ctxIt->clearContextRecursively();
Executed by:
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
13
403}
executed 211 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
211
404-
405void QQmlContextData::clearContext()-
406{-
407 emitDestruction();-
408-
409 QQmlJavaScriptExpression *expression = expressions;-
410 while (expression
expressionDescription
TRUEevaluated 111137 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquickvisualdatamodel
FALSEevaluated 232015 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
111137-232015
411 QQmlJavaScriptExpression *nextExpression = expression->m_nextExpression;-
412-
413 expression->m_prevExpression = nullptr;-
414 expression->m_nextExpression = nullptr;-
415-
416 expression->setContext(nullptr);-
417-
418 expression = nextExpression;-
419 }
executed 111137 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquickvisualdatamodel
111137
420 expressions = nullptr;-
421}
executed 232015 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
232015
422-
423void QQmlContextData::destroy()-
424{-
425 ((refCount == 0) ? static_cast<void>(0) : qt_assert("refCount == 0", __FILE__, 627));-
426 linkedContext = nullptr;-
427-
428-
429 ++refCount;-
430 if (engine
engineDescription
TRUEevaluated 9537 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
FALSEevaluated 199999 times by 134 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • ...
)
9537-199999
431 invalidate();
executed 9537 times by 148 tests: invalidate();
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
9537
432-
433 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 635));-
434 clearContext();-
435 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 637));-
436-
437 while (contextObjects
contextObjectsDescription
TRUEevaluated 29711 times by 80 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
FALSEevaluated 209536 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
29711-209536
438 QQmlData *co = contextObjects;-
439 contextObjects = contextObjects->nextContextObject;-
440-
441 co->context = nullptr;-
442 co->outerContext = nullptr;-
443 co->nextContextObject = nullptr;-
444 co->prevContextObject = nullptr;-
445 }
executed 29711 times by 80 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
29711
446 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 648));-
447-
448 QQmlGuardedContextData *contextGuard = contextGuards;-
449 while (contextGuard
contextGuardDescription
TRUEevaluated 6195 times by 106 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • ...
FALSEevaluated 209536 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
6195-209536
450 QQmlGuardedContextData *next = contextGuard->m_next;-
451 contextGuard->m_next = nullptr;-
452 contextGuard->m_prev = nullptr;-
453 contextGuard->m_contextData = nullptr;-
454 contextGuard = next;-
455 }
executed 6195 times by 106 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmoduleplugin
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmltranslation
  • ...
6195
456 contextGuards = nullptr;-
457 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 659));-
458-
459 delete [] idValues;-
460 idValues = nullptr;-
461-
462 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 664));-
463 if (publicContext
publicContextDescription
TRUEevaluated 59444 times by 63 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
FALSEevaluated 150092 times by 148 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
) {
59444-150092
464-
465 ++refCount;-
466 delete publicContext;-
467 }
executed 59444 times by 63 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • ...
59444
468-
469 ((refCount == 1) ? static_cast<void>(0) : qt_assert("refCount == 1", __FILE__, 671));-
470 --refCount;-
471 ((refCount == 0) ? static_cast<void>(0) : qt_assert("refCount == 0", __FILE__, 673));-
472-
473 delete this;-
474}
executed 209536 times by 148 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • ...
209536
475-
476void QQmlContextData::setParent(QQmlContextData *p, bool stronglyReferencedByParent)-
477{-
478 if (p == parent
p == parentDescription
TRUEnever evaluated
FALSEevaluated 244617 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
0-244617
479 return;
never executed: return;
0
480 if (p
pDescription
TRUEevaluated 244617 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
FALSEnever evaluated
) {
0-244617
481 ((!parent) ? static_cast<void>(0) : qt_assert("!parent", __FILE__, 683));-
482 parent = p;-
483 this->stronglyReferencedByParent = stronglyReferencedByParent;-
484 if (stronglyReferencedByParent
stronglyReferencedByParentDescription
TRUEevaluated 472 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 244145 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
472-244145
485 ++
executed 472 times by 3 tests: ++refCount;
Executed by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
refCount;
executed 472 times by 3 tests: ++refCount;
Executed by:
  • tst_examples
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
472
486 engine = p->engine;-
487 nextChild = p->childContexts;-
488 if (nextChild
nextChildDescription
TRUEevaluated 135259 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • ...
FALSEevaluated 109358 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
) nextChild->prevChild = &nextChild;
executed 135259 times by 64 tests: nextChild->prevChild = &nextChild;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsqldatabase
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • ...
109358-135259
489 prevChild = &p->childContexts;-
490 p->childContexts = this;-
491 }
executed 244617 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
244617
492}
executed 244617 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
244617
493-
494void QQmlContextData::refreshExpressionsRecursive(QQmlJavaScriptExpression *expression)-
495{-
496 QQmlJavaScriptExpression::DeleteWatcher w(expression);-
497-
498 if (expression->m_nextExpression
expression->m_nextExpressionDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmltranslation
FALSEevaluated 24 times by 3 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickdesignersupport
)
10-24
499 refreshExpressionsRecursive(expression->m_nextExpression);
executed 10 times by 1 test: refreshExpressionsRecursive(expression->m_nextExpression);
Executed by:
  • tst_qqmltranslation
10
500-
501 if (!w.wasDeleted()
!w.wasDeleted()Description
TRUEevaluated 34 times by 3 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickdesignersupport
FALSEnever evaluated
)
0-34
502 expression->refresh();
executed 34 times by 3 tests: expression->refresh();
Executed by:
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickdesignersupport
34
503}
executed 34 times by 3 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmltranslation
  • tst_qquickdesignersupport
34
504-
505QQmlContextData::~QQmlContextData()-
506{-
507}-
508-
509static inline bool expressions_to_run(QQmlContextData *ctxt, bool isGlobalRefresh)-
510{-
511 return
executed 12720 times by 42 tests: return ctxt->expressions && (!isGlobalRefresh || ctxt->unresolvedNames);
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • ...
ctxt->expressions && (!isGlobalRefresh || ctxt->unresolvedNames);
executed 12720 times by 42 tests: return ctxt->expressions && (!isGlobalRefresh || ctxt->unresolvedNames);
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • ...
12720
512}-
513-
514void QQmlContextData::refreshExpressionsRecursive(bool isGlobal)-
515{-
516-
517 if (expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEevaluated 24 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
FALSEevaluated 256 times by 6 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
&& (nextChild
nextChildDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 14 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
|| childContexts
childContextsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdesignersupport
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)) {
2-256
518 QQmlGuardedContextData guard(this);-
519-
520 if (childContexts
childContextsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdesignersupport
FALSEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
2-10
521 childContexts->refreshExpressionsRecursive(isGlobal);
executed 2 times by 1 test: childContexts->refreshExpressionsRecursive(isGlobal);
Executed by:
  • tst_qquickdesignersupport
2
522-
523 if (guard.isNull()
guard.isNull()Description
TRUEnever evaluated
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
) return;
never executed: return;
0-12
524-
525 if (nextChild
nextChildDescription
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdesignersupport
)
2-10
526 nextChild->refreshExpressionsRecursive(isGlobal);
executed 10 times by 1 test: nextChild->refreshExpressionsRecursive(isGlobal);
Executed by:
  • tst_qqmlcontext
10
527-
528 if (guard.isNull()
guard.isNull()Description
TRUEnever evaluated
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
) return;
never executed: return;
0-12
529-
530 if (expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
2-10
531 refreshExpressionsRecursive(expressions);
executed 10 times by 2 tests: refreshExpressionsRecursive(expressions);
Executed by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
10
532-
533 }
executed 12 times by 2 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qquickdesignersupport
else if (expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 256 times by 6 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
) {
12-256
534-
535 refreshExpressionsRecursive(expressions);-
536-
537 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
else if (nextChild
nextChildDescription
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickfontloader
FALSEevaluated 240 times by 6 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
&& childContexts
childContextsDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickfontloader
) {
4-240
538-
539 QQmlGuardedContextData guard(this);-
540-
541 childContexts->refreshExpressionsRecursive(isGlobal);-
542-
543 if (!guard.isNull()
!guard.isNull()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEnever evaluated
&& nextChild
nextChildDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEnever evaluated
)
0-4
544 nextChild->refreshExpressionsRecursive(isGlobal);
executed 4 times by 1 test: nextChild->refreshExpressionsRecursive(isGlobal);
Executed by:
  • tst_qqmlcontext
4
545-
546 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
else if (nextChild
nextChildDescription
TRUEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qquickfontloader
FALSEevaluated 240 times by 6 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
) {
4-240
547-
548 nextChild->refreshExpressionsRecursive(isGlobal);-
549-
550 }
executed 12 times by 2 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qquickfontloader
else if (childContexts
childContextsDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 232 times by 6 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
) {
8-232
551-
552 childContexts->refreshExpressionsRecursive(isGlobal);-
553-
554 }
executed 8 times by 1 test: end of block
Executed by:
  • tst_qqmlcontext
8
555}
executed 280 times by 6 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qqmltranslation
  • tst_qquickdesignersupport
  • tst_qquickfontloader
280
556-
557-
558-
559-
560void QQmlContextData::refreshExpressions()-
561{-
562 bool isGlobal = (parent == nullptr);-
563-
564-
565 if (expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmltranslation
FALSEevaluated 6078 times by 41 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • ...
&& childContexts
childContextsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmltranslation
FALSEnever evaluated
) {
0-6078
566 QQmlGuardedContextData guard(this);-
567-
568 childContexts->refreshExpressionsRecursive(isGlobal);-
569-
570 if (!guard.isNull()
!guard.isNull()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmltranslation
FALSEnever evaluated
&& expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmltranslation
FALSEnever evaluated
)
0-2
571 refreshExpressionsRecursive(expressions);
executed 2 times by 1 test: refreshExpressionsRecursive(expressions);
Executed by:
  • tst_qqmltranslation
2
572-
573 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmltranslation
else if (expressions_to_run(this, isGlobal)
expressions_to...his, isGlobal)Description
TRUEnever evaluated
FALSEevaluated 6078 times by 41 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • ...
) {
0-6078
574-
575 refreshExpressionsRecursive(expressions);-
576-
577 }
never executed: end of block
else if (childContexts
childContextsDescription
TRUEevaluated 238 times by 5 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickdesignersupport
  • tst_qquickfontloader
FALSEevaluated 5840 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • ...
) {
0-5840
578-
579 childContexts->refreshExpressionsRecursive(isGlobal);-
580-
581 }
executed 238 times by 5 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmllistmodel
  • tst_qquickdesignersupport
  • tst_qquickfontloader
238
582}
executed 6080 times by 42 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllocale
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypeproviders
  • tst_qqmlxmlhttprequest
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • ...
6080
583-
584void QQmlContextData::addObject(QObject *o)-
585{-
586 QQmlData *data = QQmlData::get(o, true);-
587-
588 ((data->context == nullptr) ? static_cast<void>(0) : qt_assert("data->context == nullptr", __FILE__, 790));-
589-
590 data->context = this;-
591 data->outerContext = this;-
592-
593 data->nextContextObject = contextObjects;-
594 if (data->nextContextObject
data->nextContextObjectDescription
TRUEevaluated 367222 times by 122 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
FALSEevaluated 157524 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
)
157524-367222
595 data->nextContextObject->prevContextObject = &data->nextContextObject;
executed 367222 times by 122 tests: data->nextContextObject->prevContextObject = &data->nextContextObject;
Executed 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_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • ...
367222
596 data->prevContextObject = &contextObjects;-
597 contextObjects = data;-
598}
executed 524746 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
524746
599-
600void QQmlContextData::setIdProperty(int idx, QObject *obj)-
601{-
602 idValues[idx] = obj;-
603 idValues[idx].context = this;-
604}
executed 218303 times by 114 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlmetatype
  • tst_qqmlmoduleplugin
  • tst_qqmlnativeconnector
  • tst_qqmlnotifier
  • ...
218303
605-
606QString QQmlContextData::findObjectId(const QObject *obj) const-
607{-
608 const QV4::IdentifierHash &properties = propertyNames();-
609 if (propertyNameCache.isEmpty()
propertyNameCache.isEmpty()Description
TRUEnever evaluated
FALSEevaluated 1094 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
)
0-1094
610 return
never executed: return QString();
QString();
never executed: return QString();
0
611-
612 for (int ii = 0; ii < idValueCount
ii < idValueCountDescription
TRUEevaluated 1018 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
FALSEevaluated 712 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
; ii++) {
712-1018
613 if (idValues[ii] == obj
idValues[ii] == objDescription
TRUEevaluated 382 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
FALSEevaluated 636 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
)
382-636
614 return
executed 382 times by 2 tests: return properties.findId(ii);
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
properties.findId(ii);
executed 382 times by 2 tests: return properties.findId(ii);
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
382
615 }
executed 636 times by 2 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
636
616-
617 if (publicContext
publicContextDescription
TRUEevaluated 712 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
FALSEnever evaluated
) {
0-712
618 QQmlContextPrivate *p = QQmlContextPrivate::get(publicContext);-
619 for (int ii = 0; ii < p->propertyValues.count()
ii < p->propertyValues.count()Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 708 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
; ++ii)
12-708
620 if (p->propertyValues.at(ii) == QVariant::fromValue(const_cast<QObject *>(obj))
p->propertyVal...bject *>(obj))Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmlcontext
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmlcontext
)
4-8
621 return
executed 4 times by 1 test: return properties.findId(ii);
Executed by:
  • tst_qqmlcontext
properties.findId(ii);
executed 4 times by 1 test: return properties.findId(ii);
Executed by:
  • tst_qqmlcontext
4
622 }
executed 708 times by 2 tests: end of block
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
708
623-
624 if (linkedContext
linkedContextDescription
TRUEnever evaluated
FALSEevaluated 708 times by 2 tests
Evaluated by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
)
0-708
625 return
never executed: return linkedContext->findObjectId(obj);
linkedContext->findObjectId(obj);
never executed: return linkedContext->findObjectId(obj);
0
626 return
executed 708 times by 2 tests: return QString();
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
QString();
executed 708 times by 2 tests: return QString();
Executed by:
  • tst_qqmlcontext
  • tst_qqmlenginedebugservice
708
627}-
628-
629QQmlContext *QQmlContextData::asQQmlContext()-
630{-
631 if (!publicContext
!publicContextDescription
TRUEevaluated 60368 times by 66 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
FALSEevaluated 1635028 times by 67 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • ...
)
60368-1635028
632 publicContext = new QQmlContext(this);
executed 60368 times by 66 tests: publicContext = new QQmlContext(this);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmlsettings
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • ...
60368
633 return
executed 1695396 times by 75 tests: return publicContext;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
publicContext;
executed 1695396 times by 75 tests: return publicContext;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmldiskcache
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmlmetaobject
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • ...
1695396
634}-
635-
636QQmlContextPrivate *QQmlContextData::asQQmlContextPrivate()-
637{-
638 return
executed 334097 times by 32 tests: return QQmlContextPrivate::get(asQQmlContext());
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
QQmlContextPrivate::get(asQQmlContext());
executed 334097 times by 32 tests: return QQmlContextPrivate::get(asQQmlContext());
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
334097
639}-
640-
641void QQmlContextData::initFromTypeCompilationUnit(const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &unit, int subComponentIndex)-
642{-
643 typeCompilationUnit = unit;-
644 componentObjectIndex = subComponentIndex == -1
subComponentIndex == -1Description
TRUEevaluated 58081 times by 139 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
FALSEevaluated 95035 times by 37 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • ...
? 0 : subComponentIndex;
58081-95035
645 ((!idValues) ? static_cast<void>(0) : qt_assert("!idValues", __FILE__, 847));-
646 idValueCount = typeCompilationUnit->data->objectAt(componentObjectIndex)->nNamedObjectsInComponent;-
647 idValues = new ContextGuard[idValueCount];-
648}
executed 153116 times by 139 tests: end of block
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qjsengine
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlfileselector
  • tst_qqmlimport
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • ...
153116
649-
650const QV4::IdentifierHash &QQmlContextData::propertyNames() const-
651{-
652 if (propertyNameCache.isEmpty()
propertyNameCache.isEmpty()Description
TRUEevaluated 225106 times by 84 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
FALSEevaluated 4576410 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
) {
225106-4576410
653 if (typeCompilationUnit
typeCompilationUnitDescription
TRUEevaluated 136373 times by 84 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
FALSEevaluated 88733 times by 77 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
)
88733-136373
654 propertyNameCache = typeCompilationUnit->namedObjectsPerComponent(componentObjectIndex);
executed 136373 times by 84 tests: propertyNameCache = typeCompilationUnit->namedObjectsPerComponent(componentObjectIndex);
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
136373
655 else-
656 propertyNameCache = QV4::IdentifierHash(engine->handle());
executed 88733 times by 77 tests: propertyNameCache = QV4::IdentifierHash(engine->handle());
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • ...
88733
657 }-
658 return
executed 4801516 times by 84 tests: return propertyNameCache;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
propertyNameCache;
executed 4801516 times by 84 tests: return propertyNameCache;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qmlcachegen
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlincubator
  • tst_qqmlinstantiator
  • tst_qqmlitemmodels
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmllistreference
  • tst_qqmllocale
  • tst_qqmlmetatype
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • ...
4801516
659}-
660-
661QV4::IdentifierHash &QQmlContextData::detachedPropertyNames()-
662{-
663 propertyNames();-
664 propertyNameCache.detach();-
665 return
executed 19014 times by 34 tests: return propertyNameCache;
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
propertyNameCache;
executed 19014 times by 34 tests: return propertyNameCache;
Executed by:
  • tst_examples
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlnotifier
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlqt
  • tst_qqmlstatemachine
  • tst_qqmlvaluetypeproviders
  • tst_qquickanimatedimage
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickflickable
  • tst_qquickfontloader
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • ...
19014
666}-
667-
668QUrl QQmlContextData::url() const-
669{-
670 if (typeCompilationUnit
typeCompilationUnitDescription
TRUEevaluated 8538 times by 46 tests
Evaluated by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • ...
FALSEevaluated 1316 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
)
1316-8538
671 return
executed 8538 times by 46 tests: return typeCompilationUnit->finalUrl();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • ...
typeCompilationUnit->finalUrl();
executed 8538 times by 46 tests: return typeCompilationUnit->finalUrl();
Executed by:
  • tst_examples
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistreference
  • tst_qqmlnotifier
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qqmltranslation
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • ...
8538
672 return
executed 1316 times by 14 tests: return baseUrl;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
baseUrl;
executed 1316 times by 14 tests: return baseUrl;
Executed by:
  • tst_examples
  • tst_qqmlcontext
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlinfo
  • tst_qqmllistmodel
  • tst_qqmllistmodelworkerscript
  • tst_qqmlproperty
  • tst_qqmlqt
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
1316
673}-
674-
675QString QQmlContextData::urlString() const-
676{-
677 if (typeCompilationUnit
typeCompilationUnitDescription
TRUEevaluated 36744 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_scenegraph
FALSEevaluated 18 times by 1 test
Evaluated by:
  • tst_qqmltranslation
)
18-36744
678 return
executed 36744 times by 16 tests: return typeCompilationUnit->finalUrlString();
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_scenegraph
typeCompilationUnit->finalUrlString();
executed 36744 times by 16 tests: return typeCompilationUnit->finalUrlString();
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmlenginedebugservice
  • tst_qqmlexpression
  • tst_qqmlstatemachine
  • tst_qqmltranslation
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_scenegraph
36744
679 return
executed 18 times by 1 test: return baseUrlString;
Executed by:
  • tst_qqmltranslation
baseUrlString;
executed 18 times by 1 test: return baseUrlString;
Executed by:
  • tst_qqmltranslation
18
680}-
681-
682-
683-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0